/* ==========================================================================
   DESIGN SYSTEM & STYLES - LA TANIÈRE DE BILBO
   ========================================================================== */

/* Importations Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette de Couleurs (Thème Marron Moyen chaleureux) */
  --color-forest-deep: #3d281f; /* Medium-dark warm wood brown */
  --color-forest-dark: #2c1c15; /* Darker chocolate wood contrast */
  --color-forest-mid: #2c593b;  /* Forest green accents */
  --color-forest-light: #3e7a52;
  
  --color-gold-bright: #ffc857; /* Radiant gold */
  --color-gold-warm: #d4af37;
  --color-gold-dark: #aa7c11;
  --color-gold-glow: rgba(212, 175, 55, 0.35);
  
  --color-wood-dark: #1b110b;   /* Deep wood brown */
  --color-wood-mid: #2c1d12;
  --color-wood-light: #442d1e;
  
  --color-text-light: #fcfaf7;  /* High contrast warm white text, readable in daylight */
  --color-text-muted: #ebd9c8;  /* Soft sand/cream text */
  --color-text-dark: #121c15;   /* Dark forest green for light elements */
  
  /* Effets et Translucidité (Glassmorphism) */
  --glass-bg: rgba(44, 28, 21, 0.65);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-border-hover: rgba(212, 175, 55, 0.45);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  /* Typographie */
  --font-title-decorative: 'Cinzel Decorative', serif;
  --font-title-classic: 'Cinzel', serif;
  --font-body: 'Lora', serif;
  --font-ui: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & STYLES GÉNERAUX
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-forest-deep);
  color: var(--color-text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, var(--color-forest-deep) 0%, #20140f 100%);
  background-attachment: fixed;
}

/* Sélection & Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-forest-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--color-wood-mid);
  border: 2px solid var(--color-forest-deep);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-warm);
}

::selection {
  background-color: var(--color-gold-warm);
  color: var(--color-wood-dark);
}

/* Typographie de base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title-classic);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Conteneurs */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-family: var(--font-title-decorative);
  color: var(--color-gold-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-warm), transparent);
  margin: 0.5rem auto 0 auto;
}

/* Decorative leaf icons above sections */
.section-icon-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.section-icon-divider svg {
  fill: var(--color-gold-warm);
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px var(--color-gold-glow));
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(44, 28, 21, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background: rgba(44, 28, 21, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 5%;
}

.logo {
  font-family: var(--font-title-decorative);
  font-size: 1.4rem;
  color: var(--color-gold-bright);
  text-shadow: 0 0 10px var(--color-gold-glow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--color-gold-warm);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-gold-warm);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-gold-bright);
  text-shadow: 0 0 8px var(--color-gold-glow);
}

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

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-gold-warm);
  border-radius: 50px;
  color: var(--color-gold-bright);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--color-gold-warm);
  color: var(--color-wood-dark);
  box-shadow: 0 0 15px var(--color-gold-glow);
  transform: translateY(-2px);
}

/* Navigation Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dropdown-toggle .arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  min-width: 220px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--glass-shadow);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
  text-align: left;
}

.dropdown-menu a:hover {
  color: var(--color-gold-bright) !important;
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 8px var(--color-gold-glow);
}

/* Hover behaviors for Desktop */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
  }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ==========================================================================
   SECTION HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
  background-color: #050a06;
  background-image: linear-gradient(to bottom, rgba(8, 16, 10, 0.15) 0%, rgba(8, 16, 10, 0.25) 50%, var(--color-forest-deep) 100%), url('https://static.wixstatic.com/media/d0e70d_a04dff7918884d5fa9fbdedd3b2927e6.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Background parallax overlay simulation */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, rgba(5, 10, 6, 0.6) 0%, rgba(5, 10, 6, 0.95) 100%),
    radial-gradient(circle at center, rgba(24, 51, 32, 0.3) 0%, transparent 70%);
  z-index: 1;
}

/* Stylized tree vectors in background */
.hero-bg-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' fill='%23183320'%3E%3Cpath d='M0,288L60,266.7C120,245,240,203,360,192C480,181,600,203,720,213.3C840,224,960,224,1080,202.7C1200,181,1320,139,1380,117.3L1440,96L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold-bright);
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  animation: floatBadge 3s ease-in-out infinite;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold-bright);
}

.hero h1 {
  font-family: var(--font-title-decorative);
  font-size: 4rem;
  line-height: 1.1;
  color: #fcfaf7; /* Keep title white/light on photo backdrop */
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(205, 162, 80, 0.4);
}

.hero h1 span {
  display: block;
  font-size: 2.2rem;
  font-family: var(--font-title-classic);
  color: var(--color-gold-bright);
  margin-top: 0.8rem;
  letter-spacing: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: 1.25rem;
  color: #ebd9c8; /* Warm parchment for clear readability on photo */
  max-width: 650px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* BOUTONS SPECIAUX (Easter egg) */
.btn-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  background: linear-gradient(135deg, var(--color-wood-mid) 0%, var(--color-wood-dark) 100%);
  color: var(--color-text-light);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  border: 2px solid var(--color-gold-warm);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 0 0px rgba(212, 175, 55, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-ring-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition-fast);
}

.btn-ring-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--color-gold-bright) 0%, transparent 70%);
  opacity: 0;
  z-index: 1;
  transition: all 0.5s ease;
  pointer-events: none;
}

.btn-ring::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  z-index: 2;
  transition: 0.75s;
}

/* Hover effects */
.btn-ring:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--color-gold-bright);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.6),
    0 0 25px var(--color-gold-glow),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.btn-ring:hover::after {
  left: 150%;
}

/* Cet effet est activé par JS ou CSS pour faire briller comme les lettres de feu */
.btn-ring.fiery-glow .btn-ring-inner {
  color: var(--color-gold-bright);
  text-shadow: 
    0 0 5px #ff5500,
    0 0 10px #ffaa00,
    0 0 20px var(--color-gold-bright);
  animation: fieryPulse 1.5s infinite alternate;
}

.btn-ring.fiery-glow {
  border-color: #ff5500;
  box-shadow: 
    0 0 30px rgba(255, 85, 0, 0.5),
    inset 0 0 15px rgba(255, 170, 0, 0.3);
}

/* MELLON SECRET INTERACTIVE DOOR IN HERO */
.door-widget-container {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hobbit-door-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  cursor: pointer;
  perspective: 600px;
}

.hobbit-door-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid var(--color-wood-mid);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.7),
    inset 0 0 15px rgba(0,0,0,0.5);
  background: var(--color-forest-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hobbit-door {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-forest-light) 0%, var(--color-forest-dark) 100%);
  border: 4px solid var(--color-wood-light);
  position: absolute;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
  z-index: 2;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wood panels inside the door */
.hobbit-door::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: 
    linear-gradient(90deg, transparent 48%, rgba(27,17,11,0.2) 49%, rgba(27,17,11,0.2) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(27,17,11,0.2) 49%, rgba(27,17,11,0.2) 51%, transparent 52%);
  opacity: 0.7;
}

.door-knob {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #ffeaa7 0%, var(--color-gold-warm) 80%);
  border: 2px solid var(--color-gold-dark);
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 7px); /* Central knob like Bilbo's door */
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 3;
  transition: var(--transition-fast);
}

.hobbit-door-inside {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 211, 48, 0.4) 0%, transparent 80%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.hobbit-door-inside svg {
  width: 32px;
  height: 32px;
  fill: var(--color-gold-bright);
  filter: drop-shadow(0 0 5px var(--color-gold-glow));
}

.hobbit-door-inside span {
  font-family: var(--font-title-classic);
  font-size: 0.65rem;
  color: var(--color-gold-bright);
  margin-top: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Door active / open state */
.hobbit-door-wrapper.open .hobbit-door {
  transform: rotateY(-110deg);
  box-shadow: 10px 0 20px rgba(0,0,0,0.8);
}

.door-widget-container .door-hint {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ebd9c8; /* Contrast on dark part of photo */
  cursor: pointer;
  transition: var(--transition-fast);
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.door-widget-container .door-hint:hover {
  color: var(--color-gold-bright);
}

.door-secret-msg {
  max-width: 250px;
  background: var(--glass-bg);
  border: 1px solid var(--color-gold-warm);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.8rem;
  color: var(--color-gold-bright);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}

.door-secret-msg.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--color-gold-bright);
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  animation: bounceScroll 2s infinite;
}

/* ==========================================================================
   SECTION PRÉSENTATION / ESSENCE
   ========================================================================== */
.presentation {
  background: linear-gradient(180deg, var(--color-forest-deep) 0%, var(--color-forest-dark) 100%);
  position: relative;
}

/* Elegant foliage patterns on the background sides */
.presentation::before, .presentation::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 300px;
  opacity: 0.05;
  background-repeat: no-repeat;
  pointer-events: none;
}

.presentation::before {
  top: 10%;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200' fill='%23d4af37'%3E%3Cpath d='M0,0 Q50,50 0,100 Q80,120 20,200 L0,200 Z'/%3E%3C/svg%3E");
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.presentation-text h3 {
  font-size: 2rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-title-classic);
}

.presentation-text h3 span {
  color: var(--color-gold-warm);
}

.presentation-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-wrapper {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold-warm);
}

.feature-item-text h4 {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold-bright);
  margin-bottom: 0.2rem;
}

.feature-item-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Bento representation card style for visual section */
.presentation-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.visual-image-wrapper {
  position: relative;
  width: 100%;
}

.visual-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.visual-image-wrapper:hover .visual-image {
  border-color: var(--color-gold-warm);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
}

.visual-main-card {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.visual-main-card.floating-card {
  border-color: var(--color-gold-warm);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.visual-main-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.08);
}

/* Wood ring design ornament */
.visual-ornament {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 2px dashed rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: rotateOrnament 20s linear infinite;
}

.card-accent-badge {
  color: var(--color-gold-bright);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: inline-block;
}

.visual-main-card h3 {
  font-size: 1.8rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.visual-main-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visual-main-card li {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.visual-main-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-gold-warm);
  font-size: 0.8rem;
}

.visual-main-card .price-badge {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-title {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.price-amount {
  font-size: 2.2rem;
  font-family: var(--font-title-classic);
  color: var(--color-gold-bright);
  font-weight: bold;
}

.price-amount span {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-weight: normal;
}

/* ==========================================================================
   SECTION GALERIE INTERACTIVE
   ========================================================================== */
.gallery-section {
  background: var(--color-forest-dark);
}

/* Modern responsive gallery layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

/* Grid span variations for Bento layout */
.gallery-item.large-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.large-2 {
  grid-column: span 2;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-warm);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 20px var(--color-gold-glow);
}

/* Simulated gold border overlay */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
  z-index: 3;
  transition: var(--transition-fast);
}

.gallery-item:hover::before {
  border-color: rgba(212, 175, 55, 0.35);
}

/* Premium image background gallery logic */
.gallery-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-bg {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 16, 10, 0.95) 0%, rgba(8, 16, 10, 0.4) 60%, rgba(8, 16, 10, 0.1) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  color: #fcfaf7; /* Explicit light text */
}

.gallery-title {
  font-family: var(--font-title-classic);
  font-size: 1.3rem;
  color: #fcfaf7; /* Explicit light text */
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.gallery-desc {
  font-size: 0.85rem;
  color: #ebd9c8; /* Warm gold/cream text */
  line-height: 1.45;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.gallery-item:hover .gallery-desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 0.4rem;
}

/* ==========================================================================
   SECTION AVIS CLIENTS / REASSURANCE
   ========================================================================== */
.reviews-section {
  background: linear-gradient(180deg, var(--color-forest-dark) 0%, var(--color-forest-deep) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Quote icon */
.review-card::after {
  content: "“";
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
  pointer-events: none;
}

.review-rating {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

/* Rating leaf icons (Lorien) */
.review-rating svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold-warm);
  filter: drop-shadow(0 0 2px var(--color-gold-glow));
}

.review-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-warm);
  background: var(--color-wood-mid);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-title-classic);
  font-size: 1rem;
  color: var(--color-gold-bright);
  font-weight: bold;
}

.author-info h4 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.author-info span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.trust-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: rgba(25, 45, 30, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold-warm);
}

/* ==========================================================================
   SECTION FORMULAIRE / CONTACT
   ========================================================================== */
.booking-section {
  background: var(--color-forest-deep);
  position: relative;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}

.booking-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-info h3 {
  font-size: 2.2rem;
  color: var(--color-gold-bright);
  font-family: var(--font-title-classic);
  margin-bottom: 1.5rem;
}

.booking-info p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-gold-warm);
}

.meta-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.meta-text span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.meta-text a, .meta-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin: 0;
}

.meta-text a:hover {
  color: var(--color-gold-bright);
}

/* Booking Form Elements */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-bright);
}

.form-control {
  background: rgba(27, 17, 11, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold-warm);
  background: rgba(27, 17, 11, 0.85);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Styles pour les selects et dates */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(50%) saturate(1000%) hue-rotate(5deg);
  cursor: pointer;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-footer-terms {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* Sparkle effect on form submission */
.btn-submit {
  width: 100%;
}

/* SUCCESS / POPUP DE RESERVATION (Easter egg JS) */
.magical-alert {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-wood-mid);
  border: 2px solid var(--color-gold-warm);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 350px;
  z-index: 2000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px var(--color-gold-glow);
  transform: translateY(150%) scale(0.9);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.magical-alert.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-gold-bright);
  font-family: var(--font-title-classic);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.alert-header svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.alert-body {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #1b110b; /* Deep dark wood brown */
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 5rem 0 3rem 0;
  font-size: 0.9rem;
  color: #ebd9c8; /* Warm light sand text */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  font-family: var(--font-title-decorative);
  font-size: 1.2rem;
  color: var(--color-gold-bright);
  margin-bottom: 1.2rem;
}

.footer-brand p {
  line-height: 1.7;
}

.footer-brand .quote-hobbit {
  font-style: italic;
  border-left: 2px solid var(--color-gold-warm);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.footer-links h5 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-warm);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-gold-bright);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-easter-egg {
  font-size: 0.75rem;
  color: #5c6e62;
  font-style: italic;
  font-family: var(--font-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-credits {
  font-size: 0.8rem;
}

.footer-credits a {
  color: var(--color-gold-warm);
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
  }
}

@keyframes bounceScroll {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes rotateOrnament {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fieryPulse {
  0% {
    text-shadow: 
      0 0 4px #ff5500,
      0 0 8px #ffaa00,
      0 0 15px var(--color-gold-bright);
  }
  100% {
    text-shadow: 
      0 0 8px #ff3300,
      0 0 16px #ff8800,
      0 0 30px var(--color-gold-bright),
      0 0 40px #ff3300;
  }
}

/* Scroll reveal helper classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* Booking Engine Box - Left Column Widget */
.booking-engine-box {
  background: rgba(27, 17, 11, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.booking-engine-box h3 {
  font-size: 1.3rem !important;
  color: var(--color-gold-bright) !important;
  font-family: var(--font-title-classic);
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 0.5rem;
}

.booking-engine-form .form-group label {
  font-size: 0.7rem !important;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h1 span {
    font-size: 1.8rem;
  }
  
  .presentation-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .visual-image {
    height: 260px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  
  .gallery-item.large-1 {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .gallery-item.large-2 {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .review-card:last-child {
    grid-column: span 2;
  }
  
  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(44, 28, 21, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  body.theme-adventure .nav-menu {
    background: rgba(28, 38, 30, 0.98);
    border-bottom: 1px solid rgba(197, 141, 83, 0.15);
  }

  /* Mobile Dropdown Overrides */
  .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none; /* Toggled on click via JS */
    min-width: auto;
    padding: 0;
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 4px;
  }
  
  .dropdown-menu a {
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown.active .dropdown-toggle .arrow {
    transform: rotate(180deg);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h1 span {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .features-list {
    grid-template-columns: 1fr; /* Stack des équipements sur smartphone et tablette */
    gap: 1.5rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .review-card:last-child {
    grid-column: span 1;
  }
  
  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1.2rem; /* Marges intérieures réduites pour maximiser la largeur de saisie */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .trust-badge-container {
    gap: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 3rem 0; /* Padding vertical réduit sur petit écran */
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }
  
  .btn-ring {
    padding: 1rem 1.8rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
  
  .door-widget-container {
    margin-top: 2.5rem;
  }
  
  .hobbit-door-wrapper {
    width: 110px;
    height: 110px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr; /* Galerie sur 1 colonne pour une clarté totale sur smartphone */
    grid-template-rows: auto;
    gap: 1rem;
  }
  
  .gallery-item.large-1, .gallery-item.large-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-item {
    height: 240px; /* Hauteur harmonisée pour l'empilement */
  }
  
  .magical-alert {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

/* ==========================================================================
   THEME ADVENTURE OVERRIDES
   ========================================================================== */
body.theme-adventure {
  /* Palette de Couleurs Aventure (Vert Khaki & Bois Bruni) */
  --color-forest-deep: #1c261e;  /* Deep pine forest green background */
  --color-forest-dark: #121913;  /* Very dark evergreen contrast */
  --color-forest-mid: #4a6b53;   /* Khaki explorer green */
  --color-forest-light: #6a9475;
  
  --color-gold-bright: #d4a373;  /* Compass bronze/brass */
  --color-gold-warm: #c58d53;
  --color-gold-dark: #a16c34;
  --color-gold-glow: rgba(197, 141, 83, 0.3);
  
  --color-wood-dark: #120e0b;    /* Burnt wood brown */
  --color-wood-mid: #1d1814;
  --color-wood-light: #322820;
  
  --font-title-classic: 'Montserrat', sans-serif;
  --font-title-decorative: 'Montserrat', sans-serif;
  
  --glass-bg: rgba(29, 24, 20, 0.7);
  --glass-border: rgba(197, 141, 83, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --glass-border-hover: rgba(197, 141, 83, 0.3);
}

body.theme-adventure .hero {
  background-image: linear-gradient(to bottom, rgba(28, 38, 30, 0.35) 0%, rgba(28, 38, 30, 0.6) 60%, var(--color-forest-deep) 100%), url('img.png');
}

/* Rounded buttons to explorer rectangular-style with slight border-radius */
body.theme-adventure .nav-cta, 
body.theme-adventure .btn-ring {
  border-radius: 8px; 
}

body.theme-adventure .btn-ring::after {
  display: none; /* Disable ring text flame effect in explorer theme */
}

/* Adjust compass styles for the adventure interactive widget */
body.theme-adventure .hobbit-door-wrapper {
  background: radial-gradient(circle, #2d3b2d 0%, #172217 100%);
  border: 4px solid var(--color-gold-warm);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 15px rgba(0,0,0,0.8);
  perspective: none; /* Disable 3D perspective */
}

body.theme-adventure .hobbit-door-wrapper.open .hobbit-door {
  transform: none; /* Do not flip the compass body */
  box-shadow: none;
}

body.theme-adventure .hobbit-door {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 50%;
  position: relative;
  border: none;
  transform: none;
  transition: none;
}

body.theme-adventure .hobbit-door::after {
  display: none; /* Hide hobbit door pattern */
}

/* Compass dial markings */
body.theme-adventure .hobbit-door::before {
  content: "N";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-gold-bright);
}

/* Compass needle */
body.theme-adventure .hobbit-door-inner {
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, var(--color-gold-bright) 50%, #888 50%);
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg); /* Start off-center */
  transform-origin: 50% 50%;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  border: none;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

body.theme-adventure .hobbit-door-wrapper.open .hobbit-door-inner {
  transform: translateX(-50%) rotate(360deg); /* Spins and points North */
}

body.theme-adventure .hobbit-door-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--color-wood-dark);
  border: 2px solid var(--color-gold-warm);
  border-radius: 50%;
}

/* ==========================================================================
   LEGAL PAGE (CGV.HTML) STYLES
   ========================================================================== */
.legal-hero {
  padding-top: 10rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero h1 {
  font-size: 3rem;
  font-family: var(--font-title-decorative);
  color: var(--color-gold-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.legal-hero p {
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legal-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.legal-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: var(--glass-shadow);
  color: var(--color-text-light);
  line-height: 1.8;
}

body.theme-adventure .legal-card {
  border-radius: 8px;
}

.legal-card h2 {
  font-size: 1.6rem;
  color: var(--color-gold-bright);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 0.5rem;
  position: relative;
}

.legal-card h3 {
  font-size: 1.2rem;
  color: var(--color-gold-warm);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-card p {
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.legal-card ul, .legal-card ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-card li {
  margin-bottom: 0.8rem;
  position: relative;
}

.legal-card strong {
  color: #fff;
}

.legal-intro-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--color-gold-warm);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.legal-intro-box p {
  margin-bottom: 0.5rem;
}

.legal-intro-box p:last-child {
  margin-bottom: 0;
}

/* Theme adventure specifics for legal */
body.theme-adventure .legal-card h2 {
  border-bottom-color: rgba(197, 141, 83, 0.15);
}

/* Responsiveness for legal page */
@media (max-width: 768px) {
  .legal-hero {
    padding-top: 8rem;
    padding-bottom: 2rem;
  }
  
  .legal-hero h1 {
    font-size: 2.2rem;
  }
  
  .legal-card {
    padding: 1.8rem;
  }
  
  .legal-card h2 {
    font-size: 1.3rem;
  }
  
  .legal-card h3 {
    font-size: 1.1rem;
  }
}
