/* =============================================================
   Lush Trail Riviera - Vintage Retro CSS
   Brand: Élégant, inspirant, haut de gamme, Côte d’Azur
   Style: Vintage Retro (retro colors, vintage fonts, nostalgic elements)
   ============================================================= */

/* --------------------
   FONT IMPORTS
--------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  /* Brand Colors */
  --primary: #275D8B;
  --secondary: #FFD166;
  --accent: #FFFFFF;
  /* Vintage Retro Palette */
  --retro-red: #C44536;
  --retro-blue: #275D8B;
  --retro-yellow: #FFD166;
  --retro-cream: #F9F6F2;
  --retro-green: #6A994E;
  --retro-brown: #B08968;
  --retro-orange: #E07A5F;
  --retro-shadow: rgba(39, 93, 139, 0.08);
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  /* Spacing */
  --section-margin: 60px;
  --section-padding: 40px 20px;
  --card-gap: 24px;
  --card-margin-bottom: 20px;
  --container-max: 1200px;
  /* Border radius */
  --radius: 12px;
  /* Shadows */
  --shadow: 0 4px 24px var(--retro-shadow);
  /* Transition */
  --transition: all 0.25s cubic-bezier(.4,1,.7,1);
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  background: var(--retro-cream);
  color: #3B2C1A;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  position: relative;
}

/* --------------------
   LAYOUT CONTAINERS
--------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* Vintage pattern overlay for sections */
section:before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.07;
  background: repeating-linear-gradient(135deg, var(--retro-yellow) 0 2px, transparent 2px 20px), repeating-linear-gradient(-45deg, var(--retro-brown) 0 1.5px, transparent 1.5px 18px);
  border-radius: var(--radius);
  z-index: 0;
}
section > .container, section > .container > .content-wrapper {
  position: relative;
  z-index: 1;
}

/* --------------------
   TYPOGRAPHY
--------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--retro-blue);
  margin: 0 0 12px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 var(--retro-yellow), 2px 2px 0 var(--retro-shadow);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  color: var(--retro-red);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-family: var(--font-body);
  color: #3B2C1A;
  margin: 0 0 12px 0;
  font-size: 1rem;
}
strong {
  color: var(--retro-blue);
  font-weight: 700;
}
a {
  color: var(--retro-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--retro-red);
  text-decoration: underline wavy var(--retro-yellow);
}

/* --------------------
   HEADER & NAVIGATION
--------------------- */
header {
  background: var(--retro-blue);
  color: var(--accent);
  box-shadow: 0 2px 12px var(--retro-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
  filter: drop-shadow(0 2px 0 var(--retro-yellow));
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-blue);
  text-decoration: none;
}
.btn-primary {
  background: var(--retro-yellow);
  color: var(--retro-blue);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 8px var(--retro-shadow);
  cursor: pointer;
  margin-left: 16px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--retro-red);
  color: var(--accent);
  box-shadow: 0 4px 16px var(--retro-shadow);
}
.btn-secondary {
  background: var(--retro-blue);
  color: var(--retro-yellow);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 8px 22px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 8px var(--retro-shadow);
  cursor: pointer;
  margin-top: 10px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--retro-yellow);
  color: var(--retro-blue);
  box-shadow: 0 4px 16px var(--retro-shadow);
}

/* --------------------
   MOBILE NAVIGATION
--------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-yellow);
  color: var(--retro-blue);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--retro-shadow);
  transition: background var(--transition), color var(--transition);
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-red);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--retro-yellow) 60%, var(--retro-blue) 100%);
  color: var(--retro-blue);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px 24px 24px;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,1,.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(--accent);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--retro-shadow);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-blue);
  color: var(--retro-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--retro-blue);
  padding: 10px 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-yellow);
}

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

/* --------------------
   FOOTER
--------------------- */
footer {
  background: var(--retro-blue);
  color: var(--accent);
  padding: 32px 0 16px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px var(--retro-shadow);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--retro-yellow);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-red);
}
footer p {
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------
   FLEXBOX LAYOUTS
--------------------- */
.feature-grid, .service-cards, .service-list, .destination-grid, .experience-grid, .gallery-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 12px;
}
.feature-grid > div, .service-cards > div, .service-list > div, .destination-grid > div, .experience-grid > div {
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--retro-shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  border: 2px solid var(--retro-yellow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .service-cards > div:hover, .service-list > div:hover, .destination-grid > div:hover, .experience-grid > div:hover {
  box-shadow: 0 8px 24px var(--retro-shadow);
  border-color: var(--retro-red);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.gallery-grid > div {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--retro-shadow);
  background: var(--retro-yellow);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery-grid > div:hover {
  box-shadow: 0 8px 24px var(--retro-shadow);
  transform: scale(1.04) rotate(-1deg);
}
.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section > div {
  flex: 1 1 320px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  background: var(--retro-yellow);
  color: #2D2A26;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--retro-shadow);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  border: 2px solid var(--retro-blue);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--retro-shadow);
  border-color: var(--retro-red);
  transform: scale(1.03) rotate(1deg);
}
.testimonial-card p {
  color: #2D2A26;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--retro-blue);
  font-weight: 600;
  font-size: 0.98rem;
}

/* --------------------
   MAP PLACEHOLDER
--------------------- */
.map {
  width: 100%;
  max-width: 420px;
  margin: 18px 0 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--retro-shadow);
}
.map img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* --------------------
   COOKIE CONSENT BANNER
--------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--retro-brown);
  color: var(--accent);
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -2px 16px var(--retro-shadow);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieBannerIn 0.7s cubic-bezier(.7,1,.3,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  cursor: pointer;
  margin: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px var(--retro-shadow);
}
.cookie-banner .accept {
  background: var(--retro-green);
  color: var(--accent);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--retro-blue);
  color: var(--retro-yellow);
}
.cookie-banner .reject {
  background: var(--retro-red);
  color: var(--accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--retro-yellow);
  color: var(--retro-red);
}
.cookie-banner .settings {
  background: var(--retro-yellow);
  color: var(--retro-blue);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--retro-blue);
  color: var(--retro-yellow);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,93,139,0.25);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--retro-cream);
  color: #3B2C1A;
  border-radius: 18px;
  box-shadow: 0 8px 32px var(--retro-shadow);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: modalIn 0.5s cubic-bezier(.7,1,.3,1);
}
@keyframes modalIn {
  from { transform: scale(0.8) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--retro-blue);
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #3B2C1A;
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: var(--retro-yellow);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  margin-right: 8px;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--retro-blue);
  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-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--retro-red);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--retro-blue);
  color: var(--retro-yellow);
}

/* --------------------
   RESPONSIVE DESIGN
--------------------- */
@media (max-width: 1024px) {
  .feature-grid, .service-cards, .service-list, .destination-grid, .experience-grid, .gallery-grid, .testimonial-slider {
    gap: 18px;
  }
  .feature-grid > div, .service-cards > div, .service-list > div, .destination-grid > div, .experience-grid > div {
    min-width: 180px;
    padding: 22px 14px 16px 14px;
  }
  .gallery-grid > div {
    min-width: 120px;
    max-width: 220px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .container {
    padding: 0 8px;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-cards, .service-list, .destination-grid, .experience-grid, .gallery-grid, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div, .service-list > div, .destination-grid > div, .experience-grid > div {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
    padding: 18px 10px 12px 10px;
  }
  .gallery-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 14px;
  }
  .gallery-grid img {
    aspect-ratio: 16/10;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 16px 10px;
    margin-bottom: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 8px;
  }
  footer {
    padding: 18px 0 8px 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* --------------------
   MICRO-INTERACTIONS
--------------------- */
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal .close-modal {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active, .cookie-modal .close-modal:active {
  transform: scale(0.97);
}
.feature-grid > div:active, .service-cards > div:active, .service-list > div:active, .destination-grid > div:active, .experience-grid > div:active, .gallery-grid > div:active, .testimonial-card:active {
  transform: scale(0.98) rotate(-1deg);
}

/* --------------------
   UTILITY CLASSES
--------------------- */
.hide {
  display: none !important;
}

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

/* --------------------
   MISC
--------------------- */
ul, ol {
  padding-left: 1.2em;
}

/* Ensure no elements overlap and all have spacing */
section > .container > .content-wrapper > * + * {
  margin-top: 18px;
}

/* Prevent absolute positioning for content cards (only decorative overlays allowed) */
/* All cards and content blocks use only flexbox and margin/gap for spacing */

/* END OF CSS */
