/* Comptalis - Main Stylesheet
-------------------------------------------------- */

/* ======= Base Styles ======= */
:root {
  --primary-color: #4B0082; /* Indigo - brand color */
  --secondary-color: #FF6F00; /* Orange - accent color */
  --text-color: #333333;
  --text-light: #777777;
  --background-color: #ffffff;
  --background-alt: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 6px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ======= Header ======= */
.site-header {
  background-color: var(--background-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-small {
  display: flex;
  align-items: center;
}

.logo-small a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-small .logo-icon {
  height: 40px;
  margin-right: 0.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover:after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.nav-cta:hover {
  background-color: var(--secondary-color);
}

/* ======= Hero Section ======= */
.hero {
  background: 
    linear-gradient(
      rgba(75, 0, 130, 0.85), 
      rgba(106, 17, 203, 0.85)
    ),
    url('./img/aKi0Y9.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero .slogan {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.logo {
  height: 80px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background-color: #ff8f00;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  color: white;
}

/* ======= About Section ======= */
.about {
  background-color: var(--background-alt);
}

.about h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

/* ======= Services Section ======= */
.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin: 1rem 0;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.service-link:hover {
  color: var(--secondary-color);
}

/* ======= Benefits Section ======= */
.benefits {
  background-color: var(--background-alt);
}

.benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(75, 0, 130, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* ======= Testimonials Section ======= */
.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-content {
  position: relative;
  padding-top: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-content:before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
}

.client-info {
  margin-top: 1.5rem;
}

.client-info h4 {
  margin-bottom: 0.25rem;
}

.client-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======= FAQ Section ======= */
.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.toggle-icon:before,
.toggle-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.toggle-icon:before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.toggle-icon:after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .toggle-icon:after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1rem;
}

/* ======= Contact Section ======= */
.contact {
  background-color: var(--background-alt);
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-info h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 1.5rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.contact-details i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control, input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

textarea, textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit, .submit-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit:hover, .submit-button:hover {
  background-color: var(--secondary-color);
}

.form-check {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ======= Thank You Page ======= */
.thank-you {
  padding: 6rem 0;
  text-align: center;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.thank-you h1 {
  margin-bottom: 2rem;
}

.message {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.message.success {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--success-color);
}

.message.warning {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--warning-color);
}

.next-steps {
  margin: 3rem 0;
  text-align: left;
}

.next-steps h2 {
  margin-bottom: 1.5rem;
}

.next-steps ol {
  padding-left: 1.5rem;
}

.next-steps li {
  margin-bottom: 1rem;
}

.return-home {
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ======= Footer ======= */
.site-footer {
  background-color: #2c2c2c;
  color: white;
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-content h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-content p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-content ul {
  list-style: none;
}

.footer-content ul li {
  margin-bottom: 0.75rem;
}

.footer-content ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-content ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ======= Cookie Consent ======= */
.cookie-consent, .cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.3s ease-in-out;
}

.cookie-consent.show, .cookie-popup.show {
  bottom: 0;
}

.cookie-text, .cookie-content {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.cookie-btn, .cookie-button {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.accept-cookies, .cookie-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.accept-cookies:hover, .cookie-button:hover {
  background-color: var(--secondary-color);
}

.cookie-popup {
  padding: 1rem;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

/* ======= Mobile Menu Toggle ======= */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ======= Responsive Styles ======= */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content {
    padding: 2rem 1.5rem;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 2rem 2rem;
    z-index: 1000;
    transition: right 0.3s ease;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  
  .services-grid,
  .benefits-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
}

/* ======= Animations ======= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation: fadeIn 0.8s ease forwards;
} 