/* ======= GLOBAL STYLES ======= */
:root {
  --color-primary: #1a1b2f; /* Dark indigo */
  --color-accent: #ff6f61; /* Coral */
  --color-bg-light: #f7f7f7; /* Light background */
  --color-bg-medium: #ececec; /* Medium background */
  --color-text-secondary: #5d6d7e; /* Secondary text */
  --color-heading: #2c3e50; /* Headings */
  --font-primary: "Roboto", Arial, sans-serif;
  --shadow-standard: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
  --transition-standard: all 0.3s ease;
  --border-radius: 8px;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: var(--font-primary);
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-standard);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-standard);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background-color: #e8655a;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-3px);
}

.btn-cookie {
  background-color: white;
  color: var(--color-primary);
  padding: 8px 20px;
}

.btn-cookie:hover {
  background-color: #f5f5f5;
}

/* ======= HEADER & NAVIGATION ======= */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
}

.logo-link {
  color: var(--color-accent);
  letter-spacing: 1px;
}

.logo-link:hover {
  color: var(--color-accent);
  opacity: 0.9;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
  z-index: 100;
}

.menu-icon-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  margin: 6px 0;
  transition: var(--transition-standard);
}

.nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  color: var(--color-primary);
  font-weight: 500;
  padding: 8px 15px;
  border-radius: var(--border-radius);
  transition: var(--transition-standard);
}

.nav-link:hover {
  color: var(--color-accent);
}

.cta-button {
  background-color: var(--color-accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

.cta-button:hover {
  background-color: #e8655a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-standard);
}

/* ======= COOKIE CONSENT ======= */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  color: white;
  padding: 15px 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  color: white;
  flex: 1;
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  align-items: center;
}

.cookie-link {
  margin-left: 15px;
  color: white;
  text-decoration: underline;
}

.cookie-link:hover {
  color: var(--color-bg-light);
}

/* ======= HERO SECTION ======= */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(
      rgba(26, 27, 47, 0.7),
      rgba(26, 27, 47, 0.7)
    ),
    url("./img/a3DGM.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  margin-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======= ABOUT SECTION ======= */
.about {
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  transition: var(--transition-standard);
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ======= ADVANTAGES SECTION ======= */
.advantages {
  background-color: var(--color-bg-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-item {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  text-align: center;
  transition: var(--transition-standard);
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======= SERVICES SECTION ======= */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-standard);
  transition: var(--transition-standard);
  background-color: white;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-standard);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-top: 0;
}

.service-content .btn {
  margin-top: 15px;
}

/* ======= WHY CHOOSE US SECTION ======= */
.why-us {
  background-color: var(--color-bg-light);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.why-us-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
}

.why-us-list {
  list-style-type: none;
}

.why-us-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.why-us-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  transition: var(--transition-standard);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  left: -15px;
  top: -20px;
  opacity: 0.2;
  color: var(--color-accent);
}

.testimonial-author {
  text-align: right;
}

/* ======= FAQ SECTION ======= */
.faq {
  background-color: var(--color-bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-standard);
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.faq-question {
  display: block;
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--color-heading);
  transition: var(--transition-standard);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: var(--transition-standard);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
}

.faq-toggle:checked + .faq-question::after {
  transform: rotate(45deg);
}

.faq-toggle:checked + .faq-question {
  background-color: rgba(255, 111, 97, 0.05);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* ======= ORDER FORM SECTION ======= */
.order {
  background-color: white;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  background-color: white;
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-standard);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235D6D7E%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
  padding-right: 30px;
}

/* Custom styling for option background */
option {
  background-color: #f5f5f5;
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

/* ======= CONTACT SECTION ======= */
.contact {
  background-color: var(--color-bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item h3 {
  margin-bottom: 10px;
  color: var(--color-accent);
}

.contact-map {
  height: 100%;
  min-height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-standard);
}

.contact-map iframe {
  border-radius: var(--border-radius);
}

/* ======= FOOTER ======= */
.site-footer {
  background-color: var(--color-primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: white;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-contact,
.footer-links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-contact a,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-standard);
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ======= THANK YOU PAGE ======= */
.thank-you-page {
  padding: 150px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thank-you-container {
  max-width: 700px;
}

.thank-you-content {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  text-align: center;
}

.thank-you-actions {
  margin-top: 30px;
}

/* ======= POLICY PAGES ======= */
.policy-page {
  padding: 150px 0 80px;
}

.policy-container {
  max-width: 768px;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.policy-section h2::after {
  left: 0;
  transform: none;
  width: 40px;
}

.policy-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.policy-section ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* ======= ERROR PAGE ======= */
.error-container {
  max-width: 700px;
  margin: 150px auto 100px;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-standard);
  text-align: center;
}

.error-message {
  background-color: #ffeeee;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border-left: 4px solid #ff6f61;
}

.error-message ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.error-message li {
  margin-bottom: 10px;
  color: #e74c3c;
}

.error-message li:last-child {
  margin-bottom: 0;
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .about-content,
  .why-us-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding-right: 0;
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }

  .why-us-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .menu-icon {
    display: block;
  }

  .menu-toggle:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition-standard);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .nav-item {
    width: 100%;
    margin: 5px 0;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 12px 20px;
  }

  .cta-button {
    width: 100%;
    margin-top: 10px;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .policy-container,
  .thank-you-content,
  .form-container {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 25px;
  }

  section {
    padding: 40px 0;
  }

  .contact-map {
    height: 250px;
  }

  .testimonial-card {
    padding: 20px;
  }
}
