/* ===================================
   HAUPTSTADT AKADEMIE - ELEGANT CLASSIC DESIGN
   CSS Reset & Base Styles
   =================================== */

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

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.8;
  color: #2c2c2c;
  background-color: #fefefe;
  overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY - ELEGANT CLASSIC
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1A4D7C;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #3a3a3a;
}

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

li {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.7;
}

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

a:hover {
  color: #C9A961;
}

/* ===================================
   LAYOUT CONTAINERS
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
  background-color: #fff;
  border-bottom: 2px solid #E8DCC4;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(26, 77, 124, 0.08);
}

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

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

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

.main-nav a {
  font-size: 16px;
  color: #1A4D7C;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #C9A961;
  border-bottom-color: #C9A961;
}

/* ===================================
   MOBILE MENU - HAMBURGER
   =================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #1A4D7C;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #C9A961;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #1A4D7C;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

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

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

.mobile-nav a {
  display: block;
  padding: 16px;
  font-size: 18px;
  color: #1A4D7C;
  border-bottom: 1px solid #E8DCC4;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: #E8DCC4;
  padding-left: 24px;
}

/* ===================================
   HERO SECTIONS
   =================================== */

.hero {
  background: linear-gradient(135deg, #E8DCC4 0%, #f5f0e8 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 3px solid #C9A961;
  margin-bottom: 60px;
}

.hero h1 {
  color: #1A4D7C;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: #3a3a3a;
  max-width: 800px;
  margin: 0 auto 32px;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
}

.breadcrumb a {
  color: #1A4D7C;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.trust-indicator {
  font-size: 16px;
  color: #666;
  font-style: italic;
  margin-top: 24px;
}

/* ===================================
   BUTTONS & CTAs
   =================================== */

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

.cta-primary, .cta-secondary, .cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.cta-primary {
  background-color: #1A4D7C;
  color: #fff;
  border-color: #1A4D7C;
}

.cta-primary:hover {
  background-color: #C9A961;
  color: #fff;
  border-color: #C9A961;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 77, 124, 0.2);
}

.cta-secondary {
  background-color: transparent;
  color: #C9A961;
  border-color: #C9A961;
}

.cta-secondary:hover {
  background-color: #C9A961;
  color: #fff;
  transform: translateY(-2px);
}

.cta-button {
  background-color: #C9A961;
  color: #fff;
  border-color: #C9A961;
}

.cta-button:hover {
  background-color: #1A4D7C;
  border-color: #1A4D7C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.cta-link {
  font-size: 18px;
  color: #1A4D7C;
  font-weight: 600;
  border-bottom: 2px solid #C9A961;
  padding-bottom: 4px;
  display: inline-block;
  margin-top: 20px;
}

.cta-link:hover {
  color: #C9A961;
  border-bottom-color: #1A4D7C;
}

/* ===================================
   CARDS & GRID LAYOUTS - FLEXBOX ONLY
   =================================== */

.benefits-grid, .services-grid, .destinations-grid, .steps-grid,
.testimonials-grid, .stats-grid, .team-grid, .values-grid,
.featured-grid, .posts-grid, .options-grid, .info-grid,
.comparison-grid, .highlights-grid, .actions-grid, .links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: space-between;
}

.benefit, .service-card, .destination-card, .step,
.testimonial-card, .stat, .team-member, .value,
.featured-post, .post-card, .option, .info-item,
.plan, .highlight, .action-card, .link-card,
.capital-card, .course-card {
  background-color: #fff;
  border: 2px solid #E8DCC4;
  border-radius: 8px;
  padding: 32px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.benefit:hover, .service-card:hover, .destination-card:hover,
.post-card:hover, .option:hover, .capital-card:hover,
.course-card:hover, .action-card:hover, .link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 77, 124, 0.12);
  border-color: #C9A961;
}

.service-card h3, .destination-card h3, .benefit h3,
.capital-card h3, .course-card h3 {
  color: #1A4D7C;
  margin-bottom: 16px;
}

.price {
  font-size: 32px;
  font-weight: bold;
  color: #C9A961;
  margin-top: 20px;
  font-family: 'Georgia', serif;
}

.service-card.featured, .plan.featured {
  border-color: #C9A961;
  border-width: 3px;
  background: linear-gradient(135deg, #fff 0%, #fefcf8 100%);
  position: relative;
}

.badge {
  display: inline-block;
  background-color: #C9A961;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ===================================
   TESTIMONIALS - READABLE TEXT
   =================================== */

.testimonial-card {
  background-color: #fff;
  border-left: 4px solid #C9A961;
  padding: 28px;
  font-style: italic;
  position: relative;
}

.testimonial-card p {
  color: #2c2c2c;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-style: normal;
  font-weight: 600;
  color: #1A4D7C;
  font-size: 16px;
  margin-top: 16px;
}

.rating {
  text-align: center;
  font-size: 20px;
  color: #C9A961;
  font-weight: 600;
  margin-top: 32px;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
  background: linear-gradient(135deg, #E8DCC4 0%, #f5f0e8 100%);
  padding: 60px 20px;
  margin: 60px 0;
}

.stat {
  text-align: center;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #1A4D7C;
  margin-bottom: 12px;
  font-family: 'Georgia', serif;
}

.stat p {
  font-size: 18px;
  color: #3a3a3a;
  margin: 0;
}

/* ===================================
   STEPS / PROCESS
   =================================== */

.step {
  text-align: center;
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #C9A961;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
  font-family: 'Georgia', serif;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.value-proposition, .services, .destinations, .how-it-works,
.mission-vision, .story, .team, .values, .credentials,
.courses, .regions, .featured-capitals, .categories, .facts,
.membership-overview, .pricing-comparison, .included-content,
.benefits, .guarantee, .featured-posts, .blog-posts,
.popular-posts, .contact-options, .contact-info,
.consultation, .team-contacts, .legal-content,
.learning-outcomes, .faq, .error-help, .popular-links,
.confirmation, .next-actions, .next-steps {
  padding: 60px 20px;
}

.value-proposition h2, .services h2, .destinations h2 {
  text-align: center;
  margin-bottom: 16px;
}

.value-proposition p, .services > p, .destinations > p {
  text-align: center;
  font-size: 20px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* ===================================
   CONTENT GRID - TEXT + IMAGE
   =================================== */

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.mission, .vision {
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
  background-color: #fff;
  padding: 32px;
  border: 2px solid #E8DCC4;
  border-radius: 8px;
}

/* ===================================
   REGIONS & CATEGORIES
   =================================== */

.region {
  margin-bottom: 32px;
  padding: 24px;
  background-color: #fff;
  border-left: 4px solid #C9A961;
  border-radius: 4px;
}

.region h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
}

.region p {
  color: #3a3a3a;
  line-height: 1.8;
}

.courses-count {
  color: #C9A961;
  font-weight: 600;
  font-size: 16px;
  margin-top: 12px;
}

/* ===================================
   TIMELINE
   =================================== */

.timeline {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.milestone {
  padding: 20px;
  background-color: #fff;
  border-left: 4px solid #C9A961;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.milestone strong {
  color: #1A4D7C;
  font-size: 20px;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-item {
  margin-bottom: 24px;
  padding: 24px;
  background-color: #fff;
  border: 2px solid #E8DCC4;
  border-radius: 8px;
}

.faq-item h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
}

.faq-item p {
  color: #3a3a3a;
  margin: 0;
}

/* ===================================
   FORMS
   =================================== */

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border: 2px solid #E8DCC4;
  border-radius: 8px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: #1A4D7C;
  margin-bottom: 8px;
  font-size: 16px;
}

.field-placeholder {
  padding: 14px;
  border: 2px solid #E8DCC4;
  border-radius: 4px;
  background-color: #fefefe;
  color: #666;
  font-style: italic;
}

.form-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.form-actions {
  text-align: center;
  margin-top: 32px;
}

/* ===================================
   CTA SECTIONS
   =================================== */

.cta-section, .cta-banner, .cta-urgent {
  background: linear-gradient(135deg, #1A4D7C 0%, #2a5d8c 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  margin: 60px 0;
  border-radius: 8px;
}

.cta-section h2, .cta-banner h2, .cta-urgent h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p, .cta-banner p, .cta-urgent p {
  color: #E8DCC4;
  font-size: 20px;
  margin-bottom: 32px;
}

.price-display {
  font-size: 42px;
  font-weight: bold;
  color: #C9A961;
  margin: 24px 0;
  font-family: 'Georgia', serif;
}

/* ===================================
   THANK YOU / ERROR PAGES
   =================================== */

.thank-you-hero, .error-hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #E8DCC4 0%, #f5f0e8 100%);
}

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

.error-code {
  font-size: 120px;
  font-weight: bold;
  color: #C9A961;
  line-height: 1;
  margin-bottom: 24px;
  font-family: 'Georgia', serif;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background-color: #1A4D7C;
  color: #E8DCC4;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

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

.footer-col {
  flex: 1 1 calc(25% - 40px);
  min-width: 220px;
}

.footer-col h3 {
  color: #C9A961;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col p {
  color: #E8DCC4;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: #E8DCC4;
  font-size: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 220, 196, 0.3);
}

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

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1A4D7C;
  color: #fff;
  padding: 24px 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner p {
  color: #E8DCC4;
  margin: 0;
  flex: 1 1 300px;
}

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

.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: #C9A961;
  color: #fff;
}

.cookie-accept:hover {
  background-color: #b89551;
}

.cookie-reject {
  background-color: transparent;
  color: #E8DCC4;
  border: 2px solid #E8DCC4;
}

.cookie-reject:hover {
  background-color: rgba(232, 220, 196, 0.1);
}

.cookie-settings {
  background-color: transparent;
  color: #C9A961;
  border: 2px solid #C9A961;
}

.cookie-settings:hover {
  background-color: rgba(201, 169, 97, 0.1);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: #fff;
  border-radius: 8px;
  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: #1A4D7C;
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border-left: 4px solid #C9A961;
}

.cookie-category h3 {
  color: #1A4D7C;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #ccc;
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-toggle.active {
  background-color: #C9A961;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all 0.3s ease;
}

.cookie-toggle.active::after {
  left: 27px;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.last-updated {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.meta, .date, .category {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
}

.category {
  display: inline-block;
  background-color: #E8DCC4;
  color: #1A4D7C;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.total-value {
  font-size: 24px;
  font-weight: bold;
  color: #C9A961;
  text-align: center;
  margin-top: 32px;
}

.trust-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-badges span {
  background-color: #E8DCC4;
  color: #1A4D7C;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  p, li {
    font-size: 16px;
  }
  
  /* Navigation */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  /* Cards - Stack on mobile */
  .benefit, .service-card, .destination-card, .step,
  .stat, .team-member, .value, .featured-post,
  .post-card, .option, .info-item, .plan,
  .capital-card, .course-card, .action-card, .link-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .mission, .vision {
    flex: 1 1 100%;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-primary, .cta-secondary, .cta-button {
    width: 100%;
  }
  
  /* Footer */
  .footer-col {
    flex: 1 1 100%;
  }
  
  /* Cookie Banner */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-accept, .cookie-reject, .cookie-settings {
    width: 100%;
  }
  
  /* Stats */
  .stat-number {
    font-size: 36px;
  }
  
  /* Error page */
  .error-code {
    font-size: 80px;
  }
  
  /* Forms */
  .form-wrapper {
    padding: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablets */
  .benefit, .service-card, .destination-card,
  .post-card, .capital-card, .course-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .stat, .team-member {
    flex: 1 1 calc(50% - 24px);
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

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

.hero, .section {
  animation: fadeIn 0.6s ease;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus, button:focus {
  outline: 2px solid #C9A961;
  outline-offset: 2px;
}

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

/* ===================================
   END OF STYLESHEET
   =================================== */