/* =========================================================
   Mythische Reisen - Vintage Retro CSS Theme
   Brand: Elegant, inspiring, trustworthy, mystical
   Flexbox-only layouts, mobile-first, retro/vintage style
   ========================================================= */

/* 1. FONT IMPORTS (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans:wght@400;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #283E63;
  --secondary: #BDA472;
  --accent: #F4F7FB;
  --retro-red: #C1440E;
  --retro-green: #6C8E6B;
  --retro-yellow: #F6E27A;
  --retro-blue: #6A8D92;
  --retro-bg: #F9F6F1;
  --retro-brown: #8B6F47;
  --retro-orange: #E9A06B;
  --white: #fff;
  --black: #222;
  --shadow: 0 4px 24px 0 rgba(40,62,99,0.10);
  --border-radius: 18px;
  --section-pattern: repeating-linear-gradient(135deg, #F6E27A 0 8px, #F9F6F1 8px 16px);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  background: var(--retro-bg);
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  background: var(--retro-bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 #F6E27A, 0 4px 8px rgba(40,62,99,0.08);
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
p, ul, ol, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
strong {
  color: var(--retro-red);
  font-weight: 700;
}
a {
  color: var(--retro-red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--retro-brown);
  text-decoration: underline;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(189,164,114,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  filter: sepia(0.2) contrast(1.1);
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.cta-btn {
  background: var(--retro-red);
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  padding: 10px 28px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 8px 0 rgba(193,68,14,0.10);
  cursor: pointer;
  margin-left: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  box-shadow: 0 4px 16px 0 rgba(193,68,14,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger (mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-left: 12px;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}

/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--retro-yellow) 70%, var(--retro-orange) 100%);
  box-shadow: 0 8px 32px 0 rgba(40,62,99,0.18);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 28px 28px 28px;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,0,.3,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--retro-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 18px;
  align-self: flex-end;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px dashed var(--secondary);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  background: var(--accent);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =====================
   SECTIONS & SPACING
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-pattern);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}
section:nth-child(even) {
  background: var(--accent);
  box-shadow: 0 2px 12px 0 rgba(189,164,114,0.06);
}

/* =====================
   FLEXBOX LAYOUTS
   ===================== */
.feature-grid, .destination-grid, .offer-grid, .theme-list, .experience-list, .team-list, .gallery-slider, .experience-gallery, .blog-list, .testimonial-list, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item, .destination-item, .offer-item, .theme-item, .experience-item, .team-member-profile, .gallery-item, .experience-photo, .blog-post-preview, .testimonial-card, .address-block, .phone-block, .email-block, .hours-block {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2px solid var(--secondary);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.feature-item:hover, .destination-item:hover, .offer-item:hover, .theme-item:hover, .experience-item:hover, .team-member-profile:hover, .gallery-item:hover, .experience-photo:hover, .blog-post-preview:hover {
  box-shadow: 0 8px 32px 0 rgba(40,62,99,0.14);
  border-color: var(--retro-red);
  transform: translateY(-4px) scale(1.02);
}

/* =====================
   GALLERY SLIDER (simple flex)
   ===================== */
.gallery-slider, .experience-gallery {
  overflow-x: auto;
  flex-wrap: nowrap;
  gap: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--accent);
}
.gallery-item, .experience-photo {
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 auto;
  align-items: center;
  text-align: center;
}
.gallery-item img, .experience-photo img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px 0 rgba(40,62,99,0.10);
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary);
  min-width: 260px;
  max-width: 340px;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(40,62,99,0.14);
  border-color: var(--retro-red);
}
.customer-name {
  font-family: 'Merriweather', serif;
  color: var(--retro-red);
  font-size: 1rem;
  font-weight: 700;
}
.star-rating {
  color: var(--retro-yellow);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 0 #BDA472;
}

/* =====================
   BLOG PREVIEW
   ===================== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.blog-post-preview {
  min-width: 260px;
  max-width: 340px;
  align-items: flex-start;
  text-align: left;
}
.blog-post-preview img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px 0 rgba(40,62,99,0.10);
}
.blog-post-preview a {
  color: var(--retro-red);
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--transition);
}
.blog-post-preview a:hover {
  color: var(--retro-brown);
}

/* =====================
   TEAM LIST
   ===================== */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member-profile {
  min-width: 220px;
  max-width: 280px;
  align-items: center;
  text-align: center;
}
.team-member-profile img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--secondary);
  box-shadow: 0 2px 8px 0 rgba(189,164,114,0.12);
}

/* =====================
   ICON LIST (About)
   ===================== */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.icon-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.05rem;
  color: var(--primary);
}
.icon-list li:before {
  content: '\2605';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--retro-red);
  font-size: 1.1em;
  opacity: 0.7;
}

/* =====================
   CONTACT DETAILS
   ===================== */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.address-block, .phone-block, .email-block, .hours-block {
  min-width: 180px;
  max-width: 240px;
  align-items: flex-start;
  background: var(--accent);
  border: 2px solid var(--secondary);
}

/* =====================
   PRICE TAG (Offers)
   ===================== */
.price-tag {
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 16px;
  margin-top: 8px;
  box-shadow: 0 1px 4px 0 rgba(189,164,114,0.10);
  border: 1px solid var(--secondary);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 18px 0;
  border-top: 4px solid var(--secondary);
  font-size: 0.98rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--retro-yellow);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-red);
}
footer address {
  color: var(--accent);
  font-style: normal;
  text-align: center;
}
footer a {
  color: var(--retro-yellow);
  text-decoration: underline;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--retro-yellow);
  color: var(--primary);
  box-shadow: 0 -2px 16px 0 rgba(189,164,114,0.18);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 3000;
  border-top: 3px solid var(--secondary);
  animation: cookieBannerIn 0.7s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px 0 rgba(189,164,114,0.10);
}
.cookie-banner .accept {
  background: var(--retro-green);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
}
.cookie-banner .reject {
  background: var(--retro-red);
  color: var(--white);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--retro-yellow);
  color: var(--retro-red);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,62,99,0.45);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 rgba(40,62,99,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.5s cubic-bezier(.7,0,.3,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.95) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--retro-red);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: var(--secondary);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  display: inline-block;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 19px;
  background: var(--retro-green);
}
.cookie-modal .cookie-category.essential label {
  color: var(--retro-brown);
  font-weight: 700;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--retro-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .destination-grid, .offer-grid, .theme-list, .experience-list, .team-list, .gallery-slider, .experience-gallery, .blog-list, .testimonial-list, .contact-details {
    gap: 18px;
  }
  .feature-item, .destination-item, .offer-item, .theme-item, .experience-item, .team-member-profile, .gallery-item, .experience-photo, .blog-post-preview, .testimonial-card, .address-block, .phone-block, .email-block, .hours-block {
    min-width: 180px;
    max-width: 100%;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .destination-grid, .offer-grid, .theme-list, .experience-list, .team-list, .gallery-slider, .experience-gallery, .blog-list, .testimonial-list, .contact-details {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .gallery-slider, .experience-gallery {
    flex-direction: row;
    gap: 14px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .team-list {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .contact-details {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 8px 6px;
  }
  footer .container {
    gap: 10px;
    padding: 0 6px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: 0.98rem; }
  .cta-btn, .cookie-banner button {
    font-size: 0.98rem;
    padding: 8px 14px;
  }
  .cookie-modal {
    padding: 18px 6px 14px 6px;
    min-width: 90vw;
  }
}

/* =====================
   RETRO/VINTAGE DECORATIVE ELEMENTS
   ===================== */
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 24px;
  width: 60px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-red) 0 8px, transparent 8px 16px);
  opacity: 0.18;
  border-radius: 8px;
  z-index: 0;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px; right: 24px;
  width: 60px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-green) 0 8px, transparent 8px 16px);
  opacity: 0.18;
  border-radius: 8px;
  z-index: 0;
}

/* =====================
   MICRO-INTERACTIONS
   ===================== */
.card, .feature-item, .destination-item, .offer-item, .theme-item, .experience-item, .team-member-profile, .gallery-item, .experience-photo, .blog-post-preview, .testimonial-card {
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .destination-item:hover, .offer-item:hover, .theme-item:hover, .experience-item:hover, .team-member-profile:hover, .gallery-item:hover, .experience-photo:hover, .blog-post-preview:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(40,62,99,0.14);
  border-color: var(--retro-red);
  transform: translateY(-4px) scale(1.02);
}

/* =====================
   UTILITY CLASSES
   ===================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* =====================
   ACCESSIBILITY
   ===================== */
:focus {
  outline: 2px dashed var(--retro-red);
  outline-offset: 2px;
}

/* =====================
   PRINT STYLES
   ===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
