/* =========================
   Vintage Retro Brand Colors
   ========================= */
:root {
  --primary: #20405a;
  --secondary: #f4d35e;
  --accent: #ffffff;
  --retro-red: #c1440e;
  --retro-green: #6c8e3b;
  --retro-blue: #3b6ea5;
  --retro-orange: #e07a5f;
  --retro-brown: #a68a64;
  --retro-bg: #f9f6f1;
  --retro-card: #fff8e1;
  --retro-shadow: 0 4px 16px rgba(32, 64, 90, 0.08);
  --retro-border: #e0c097;
  --retro-pattern: repeating-linear-gradient(135deg, #f4d35e 0 4px, #fff8e1 4px 8px);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Futura', Arial, sans-serif;
  --font-body: 'Roboto', 'Georgia', serif;
  --font-vintage: 'Montserrat', 'Roboto Slab', 'Georgia', serif;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* =========================
   Base & Reset
   ========================= */
html {
  box-sizing: border-box;
  font-size: 18px;
  background: var(--retro-bg);
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--retro-bg);
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: var(--retro-red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--retro-blue);
  text-decoration: underline;
}

/* =========================
   Typography
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 1px 2px 0 #f4d35e, 2px 4px 0 #e0c097;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  border-bottom: 3px double var(--retro-brown);
  display: inline-block;
  padding-bottom: 0.2em;
  background: var(--retro-pattern);
  border-radius: 0 0 12px 12px;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--retro-red);
  margin-bottom: 0.3em;
}
.subheadline {
  font-family: var(--font-vintage);
  font-size: 1.1rem;
  color: var(--retro-brown);
  margin-bottom: 1.2em;
  letter-spacing: 0.04em;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-card);
  border-radius: 18px;
  box-shadow: var(--retro-shadow);
  border: 2px solid var(--retro-border);
  position: relative;
}

/* =========================
   Header & Navigation
   ========================= */
header {
  background: var(--secondary);
  border-bottom: 4px solid var(--retro-brown);
  box-shadow: 0 2px 12px rgba(32,64,90,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--retro-orange);
  color: var(--accent);
}
.primary-cta {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--retro-red);
  color: var(--accent);
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(32,64,90,0.10);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 0 #a68a64;
  outline: none;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--retro-blue);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(32,64,90,0.18);
}

/* =========================
   Mobile Navigation
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(32,64,90,0.10);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-blue);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--secondary) 60%, var(--retro-orange) 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 1px dashed var(--retro-brown);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  background: var(--retro-card);
  border-radius: 8px;
}

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

/* =========================
   Main Content & Sections
   ========================= */
main {
  margin-top: 0;
  margin-bottom: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-card);
  border-radius: 18px;
  box-shadow: var(--retro-shadow);
  border: 2px solid var(--retro-border);
  position: relative;
}

/* =========================
   Card & Grid Patterns
   ========================= */
.card-container, .feature-grid, .destination-grid, .gallery, .blog-list, .service-list, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .feature-grid > div, .destination-grid > div, .gallery > div, .blog-list > div, .service-list > div, .team-section > div {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(32,64,90,0.08);
  border: 1.5px solid var(--retro-border);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px 18px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-grid > div:hover, .destination-grid > div:hover, .gallery > div:hover, .blog-list > div:hover, .service-list > div:hover, .team-section > div:hover {
  box-shadow: 0 8px 32px rgba(32,64,90,0.16);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}

/* =========================
   Flexbox Content Patterns
   ========================= */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--retro-bg);
  border-radius: 14px;
  border: 1.5px solid var(--retro-border);
  box-shadow: 0 2px 8px rgba(32,64,90,0.08);
  margin-bottom: 20px;
  color: #222;
  font-family: var(--font-body);
  font-size: 1.05rem;
  position: relative;
  min-width: 220px;
  max-width: 540px;
}
.testimonial-card p {
  margin: 0 0 0.5em 0;
  font-style: italic;
  color: #222;
}
.testimonial-card span {
  font-size: 0.98em;
  color: var(--retro-brown);
  font-family: var(--font-display);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   Lists & Highlights
   ========================= */
.value-list, .highlight-list, .tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.value-list li, .highlight-list li, .tip-list li {
  background: var(--retro-bg);
  border-left: 6px solid var(--retro-red);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(32,64,90,0.04);
}
.value-list span, .highlight-list span, .tip-list span {
  font-size: 1.3em;
}

/* =========================
   Gallery
   ========================= */
.gallery > div {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  min-width: 180px;
  max-width: 320px;
  text-align: center;
}
.gallery img {
  border-radius: 12px;
  border: 2px solid var(--retro-border);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(32,64,90,0.08);
}
.gallery p {
  font-size: 0.98em;
  color: var(--retro-brown);
  margin: 0;
}

/* =========================
   Footer
   ========================= */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 20px 0;
  border-top: 4px solid var(--retro-brown);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--secondary) !important;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  padding: 0;
  background: none;
  border-radius: 0;
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-orange);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98em;
  color: var(--accent);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* =========================
   Cookie Consent Banner
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--retro-brown);
  color: var(--accent);
  font-family: var(--font-body);
  z-index: 99999;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -2px 16px rgba(32,64,90,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide-in 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 0 8px 0;
  font-size: 1.05em;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  cursor: pointer;
  margin: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px rgba(32,64,90,0.08);
}
.cookie-btn.accept {
  background: var(--retro-green);
  color: var(--accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--retro-blue);
}
.cookie-btn.reject {
  background: var(--retro-red);
  color: var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--retro-orange);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--retro-brown);
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,64,90,0.65);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--retro-card);
  color: var(--primary);
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 32px rgba(32,64,90,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-pop 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
  color: var(--retro-red);
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal-content label {
  font-size: 1.05em;
  font-family: var(--font-body);
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--retro-green);
  width: 20px;
  height: 20px;
}
.cookie-modal-content .cookie-category.essential label {
  color: var(--retro-brown);
  font-weight: 600;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--retro-blue);
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .card, .feature-grid > div, .destination-grid > div, .gallery > div, .blog-list > div, .service-list > div, .team-section > div {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    font-size: 0.95em;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 4vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  section {
    padding: 28px 6vw;
    margin-bottom: 36px;
  }
  .card-container, .feature-grid, .destination-grid, .gallery, .blog-list, .service-list, .team-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-modal-content {
    min-width: 90vw;
    padding: 24px 8vw 18px 8vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  .primary-cta {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .cookie-banner {
    padding: 16px 6px 12px 6px;
    font-size: 0.98em;
  }
}

/* =========================
   Micro-Interactions
   ========================= */
.card, .feature-grid > div, .destination-grid > div, .gallery > div, .blog-list > div, .service-list > div, .team-section > div, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:active, .feature-grid > div:active, .destination-grid > div:active, .gallery > div:active, .blog-list > div:active, .service-list > div:active, .team-section > div:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* =========================
   Decorative Retro Elements
   ========================= */
section:before {
  content: '';
  display: block;
  position: absolute;
  left: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  background: var(--retro-pattern);
  opacity: 0.18;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 36px;
  background: var(--retro-pattern);
  opacity: 0.12;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   Miscellaneous
   ========================= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--retro-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--retro-brown);
  border-radius: 8px;
}

/* =========================
   Utility Classes
   ========================= */
.hide {
  display: none !important;
}

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

/* =========================
   End of CSS
   ========================= */
