/* 
 * Main stylesheet for Calorivestuna.com
 * Financial audit company website
 */

/* ===== BASE STYLES ===== */
:root {
  /* Color palette */
  --color-background: #1C1F26;
  --color-primary: #00C2A8;
  --color-secondary: #FF6B57;
  --color-text-secondary: #A8B3C1;
  --color-text-primary: #FFFFFF;
  --color-overlay: rgba(28, 31, 38, 0.8);
  --transition-default: all 0.3s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 8px rgba(0, 194, 168, 0.5);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

/* Adjust section padding for fixed header */
section[id] {
  scroll-margin-top: 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-default);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text-primary);
  box-shadow: 0 4px 15px rgba(0, 194, 168, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 194, 168, 0.6);
  color: var(--color-text-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 31, 38, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 179, 193, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: lowercase;
  letter-spacing: -1px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text-primary);
  font-weight: 600;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  transition: var(--transition-default);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--color-background);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.1;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1s ease-out;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-text {
  animation: fadeIn 1s ease-out;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: rgba(168, 179, 193, 0.05);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition-default);
  border: 1px solid rgba(168, 179, 193, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--color-primary);
}

.service-icon {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-default);
}

.service-card:hover .service-icon img {
  transform: scale(1.05);
}

.service-title {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-text-secondary);
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  color: var(--color-primary);
  font-size: 2rem;
  min-width: 2rem;
}

.benefit-text h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.benefit-text p {
  color: var(--color-text-secondary);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  position: relative;
  overflow: hidden;
  background-color: rgba(168, 179, 193, 0.05);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.testimonial-slides {
  width: 300%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  width: calc(100% / 3);
  padding: 2rem;
}

.testimonial-card {
  background-color: rgba(28, 31, 38, 0.8);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(168, 179, 193, 0.1);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: -20px;
  top: -10px;
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-info h4 {
  margin-bottom: 0;
}

.testimonial-author-info p {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.testimonial-nav {
  text-align: center;
  margin-top: 2rem;
}

.testimonial-nav input {
  display: none;
}

.testimonial-nav label {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(168, 179, 193, 0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition-default);
}

.testimonial-nav label:hover {
  background-color: var(--color-primary);
}

#slide1:checked ~ .testimonial-slides {
  transform: translateX(0);
}

#slide2:checked ~ .testimonial-slides {
  transform: translateX(-33.33%);
}

#slide3:checked ~ .testimonial-slides {
  transform: translateX(-66.66%);
}

#slide1:checked ~ .testimonial-nav label[for="slide1"],
#slide2:checked ~ .testimonial-nav label[for="slide2"],
#slide3:checked ~ .testimonial-nav label[for="slide3"] {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* ===== CONTACT FORM ===== */
.form-section {
  background-color: rgba(168, 179, 193, 0.05);
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 179, 193, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.1;
  z-index: -1;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: rgba(28, 31, 38, 0.8);
  border: 1px solid rgba(168, 179, 193, 0.2);
  border-radius: 8px;
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: var(--transition-default);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 194, 168, 0.3);
}

.form-control::placeholder {
  color: rgba(168, 179, 193, 0.6);
}

.form-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  pointer-events: none;
  color: rgba(168, 179, 193, 0.6);
  transition: var(--transition-default);
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-25px) scale(0.8);
  color: var(--color-primary);
  background-color: var(--color-background);
  padding: 0 0.5rem;
  left: 10px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A8B3C1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background-color: rgba(28, 31, 38, 0.8);
  border: 1px solid rgba(168, 179, 193, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-default);
  flex-shrink: 0;
  margin-top: 3px;
}

.form-check input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check input[type="checkbox"]:checked::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-background);
  font-size: 12px;
  font-weight: bold;
}

.form-check input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0, 194, 168, 0.3);
}

.form-check label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
}

.form-check a {
  text-decoration: underline;
}

.form-button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* ===== PROCESS SECTION ===== */
.process {
  background-color: rgba(28, 31, 38, 0.9);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.process-step {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-steps .process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -35px;
  width: 70px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), rgba(168, 179, 193, 0.3));
}

.process-step-title {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.process-step-text {
  color: var(--color-text-secondary);
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(rgba(28, 31, 38, 0.9), rgba(28, 31, 38, 0.9)), url('img/cta-background.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 5rem 0;
}

.cta-title {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 3rem;
}

.cta-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--color-text-secondary);
}

/* ===== FOOTER ===== */
.footer {
  background-color: rgba(20, 22, 28, 0.95);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.footer-heading {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.footer-links {
  list-style: none;
}

.footer-links li:not(:last-child) {
  margin-bottom: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
  min-width: 1.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid rgba(168, 179, 193, 0.1);
}

.footer-bottom p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(28, 31, 38, 0.95);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(168, 179, 193, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  margin-right: 2rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 120px 0;
}

.policy-container {
  background-color: rgba(168, 179, 193, 0.05);
  border-radius: 10px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(168, 179, 193, 0.1);
}

.policy-title {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(168, 179, 193, 0.1);
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.policy-section p, .policy-section ul {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.policy-section ul {
  padding-left: 2rem;
}

.policy-section ul li:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .process-steps .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .nav {
    position: relative;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(28, 31, 38, 0.95);
    padding: 1rem;
    gap: 1rem;
    border-top: 1px solid rgba(168, 179, 193, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  
  .nav-list.show {
    transform: scaleY(1);
  }
  
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .cookie-text {
    margin-right: 0;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .policy-container {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .form-section {
    padding: 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}
