/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A4D2E;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #2c3e50;
}

a {
  color: #1A4D2E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #C8A882;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 600;
  color: #1A4D2E;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #1A4D2E;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #C8A882;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C8A882;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2000;
  background-color: #1A4D2E;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #C8A882;
  transform: scale(1.05);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 1999;
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  color: #1A4D2E;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: #C8A882;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: #1A4D2E;
  padding: 12px 0;
  border-bottom: 1px solid #E8DCC4;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #C8A882;
  padding-left: 8px;
}

/* Hero Sections */
.hero, .error-hero, .legal-hero, .thank-you-hero {
  background: linear-gradient(135deg, #E8DCC4 0%, #ffffff 100%);
  padding: 80px 20px;
  margin-bottom: 60px;
  text-align: center;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.subheadline {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Buttons */
.cta-button, .cta-buttons a {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  margin: 8px;
}

.cta-button.primary, .cta-buttons .primary {
  background-color: #1A4D2E;
  color: #ffffff;
  border-color: #1A4D2E;
}

.cta-button.primary:hover {
  background-color: #C8A882;
  border-color: #C8A882;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary, .cta-buttons .secondary {
  background-color: transparent;
  color: #1A4D2E;
  border-color: #1A4D2E;
}

.cta-button.secondary:hover {
  background-color: #1A4D2E;
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-button:not(.primary):not(.secondary) {
  background-color: #C8A882;
  color: #ffffff;
  border-color: #C8A882;
}

.cta-button:not(.primary):not(.secondary):hover {
  background-color: #1A4D2E;
  border-color: #1A4D2E;
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

/* Trust Indicators */
.trust-indicators, .stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.trust-indicators span, .stat {
  font-size: 16px;
  color: #1A4D2E;
  font-weight: 600;
  padding: 12px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

.stat strong {
  font-size: 32px;
  color: #1A4D2E;
}

/* Sections */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 32px;
}

/* Grid Layouts */
.benefits-grid, .steps-grid, .services-grid, .districts-grid, .categories-grid,
.guides-grid, .links-grid, .options-grid, .values-grid, .team-grid,
.testimonials-grid, .numbers-grid, .indicators-grid, .contacts-grid,
.suggestions-grid, .articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

/* Cards */
.benefit-card, .step-card, .service-card, .district-card, .category-card,
.guide-card, .link-card, .option-card, .value-card, .team-member,
.number-card, .indicator, .contact-person, .suggestion-card, .article-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  flex: 1 1 280px;
  max-width: 380px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.benefit-card:hover, .service-card:hover, .district-card:hover,
.guide-card:hover, .value-card:hover, .suggestion-card:hover,
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #1A4D2E;
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.service-card.featured {
  border: 3px solid #C8A882;
  background: linear-gradient(135deg, #ffffff 0%, #E8DCC4 100%);
}

.service-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #C8A882;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card .price, .price {
  font-size: 24px;
  font-weight: 700;
  color: #1A4D2E;
  margin: 16px 0;
  display: block;
}

.service-card ul, .district-card ul, .step-detail ul {
  margin: 16px 0;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 8px;
  color: #2c3e50;
}

/* Testimonials */
.testimonial-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  flex: 1 1 320px;
  max-width: 500px;
  margin-bottom: 20px;
  border-left: 4px solid #C8A882;
}

.testimonial-card p {
  font-style: italic;
  color: #2c3e50;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-card strong {
  display: block;
  color: #1A4D2E;
  font-weight: 600;
  font-style: normal;
  margin-top: 16px;
}

.rating {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background-color: #E8DCC4;
  border-radius: 12px;
}

.rating strong {
  font-size: 32px;
  color: #1A4D2E;
  display: block;
  margin-bottom: 8px;
}

.rating span {
  color: #2c3e50;
  font-size: 14px;
}

/* Timeline & Process */
.timeline, .process-timeline .container {
  max-width: 900px;
  margin: 0 auto;
}

.phase, .step-detail {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  border-left: 4px solid #C8A882;
}

.phase h3, .step-detail h2 {
  color: #1A4D2E;
  margin-bottom: 12px;
}

.phase p {
  color: #2c3e50;
}

/* District Profiles */
.district-card h2 {
  text-align: left;
  margin-bottom: 8px;
  font-size: 28px;
}

.district-card .tagline {
  font-size: 18px;
  font-style: italic;
  color: #C8A882;
  margin-bottom: 16px;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 60px auto;
}

.faq-item {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  border-left: 4px solid #1A4D2E;
}

.faq-item h3 {
  color: #1A4D2E;
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-item p {
  color: #2c3e50;
  margin-bottom: 0;
}

/* CTA Banners */
.cta-banner {
  background: linear-gradient(135deg, #1A4D2E 0%, #C8A882 100%);
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 16px;
  text-align: center;
  margin: 60px auto;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-banner .cta-button {
  background-color: #ffffff;
  color: #1A4D2E;
  border-color: #ffffff;
}

.cta-banner .cta-button:hover {
  background-color: #E8DCC4;
  border-color: #E8DCC4;
}

/* Footer */
footer {
  background-color: #1A4D2E;
  color: #ffffff;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h3, .footer-col h4 {
  color: #C8A882;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-col p, .footer-col a {
  color: #E8DCC4;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 168, 130, 0.3);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: #E8DCC4;
  font-size: 14px;
  margin: 0;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.show {
  display: block;
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cookie-text {
  flex: 1 1 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: #2c3e50;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#accept-all {
  background-color: #1A4D2E;
  color: #ffffff;
}

#accept-all:hover {
  background-color: #C8A882;
}

#reject-all {
  background-color: #E8DCC4;
  color: #1A4D2E;
}

#reject-all:hover {
  background-color: #C8A882;
  color: #ffffff;
}

#cookie-settings {
  background-color: transparent;
  color: #1A4D2E;
  border: 2px solid #1A4D2E;
}

#cookie-settings:hover {
  background-color: #1A4D2E;
  color: #ffffff;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

#cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-modal-content h2 {
  color: #1A4D2E;
  margin-bottom: 24px;
}

.cookie-category {
  padding: 20px;
  background-color: #E8DCC4;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cookie-category h3 {
  color: #1A4D2E;
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-category p {
  color: #2c3e50;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #1A4D2E;
}

.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-category input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cookie-modal-buttons button {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#save-preferences {
  background-color: #1A4D2E;
  color: #ffffff;
}

#save-preferences:hover {
  background-color: #C8A882;
}

#close-modal {
  background-color: #E8DCC4;
  color: #1A4D2E;
}

#close-modal:hover {
  background-color: #C8A882;
  color: #ffffff;
}

/* 404 & Thank You Pages */
.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #C8A882;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #1A4D2E;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
}

/* Contact & Form Sections */
.contact-info {
  background-color: #E8DCC4;
  padding: 24px;
  border-radius: 12px;
  margin: 24px 0;
}

.contact-info p {
  margin-bottom: 12px;
  color: #2c3e50;
}

.form-info {
  background-color: #E8DCC4;
  padding: 32px;
  border-radius: 12px;
  margin: 24px 0;
}

.form-fields-info {
  margin-top: 16px;
}

.form-fields-info ul {
  margin-left: 24px;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h2 {
  text-align: left;
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
}

.legal-content h3 {
  text-align: left;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px;
}

/* Location & Business Info */
.location-info {
  background-color: #E8DCC4;
  padding: 32px;
  border-radius: 12px;
  margin: 24px 0;
}

.location-info ul {
  margin-left: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero, .error-hero, .legal-hero, .thank-you-hero {
    padding: 60px 20px;
  }

  .subheadline {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .benefits-grid, .steps-grid, .services-grid, .districts-grid,
  .testimonials-grid, .footer-content {
    flex-direction: column;
  }

  .benefit-card, .step-card, .service-card, .district-card,
  .testimonial-card, .footer-col {
    max-width: 100%;
  }

  .trust-indicators, .stats {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .cookie-modal-content {
    padding: 24px;
    margin: 20px;
  }

  .error-code {
    font-size: 80px;
  }

  section {
    padding: 32px 16px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .container {
    padding: 0 16px;
  }

  .hero, .error-hero, .legal-hero, .thank-you-hero {
    padding: 40px 16px;
  }

  .benefit-card, .service-card, .district-card, .testimonial-card {
    padding: 24px;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 14px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card, .service-card, .district-card, .testimonial-card {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

/* Print Styles */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, #cookie-banner, #cookie-modal {
    display: none !important;
  }

  body {
    background-color: #ffffff;
  }

  .container {
    max-width: 100%;
  }
}