/* ============================================
   LA SKOLA — Premium Restaurant Demo
   Inspired by Diodona.it aesthetic
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg: #F7F5F1;
  --color-bg-dark: #1a1a18;
  --color-bg-cream: #EDE8E0;
  --color-primary: #00382C;
  --color-green: #5E995E;
  --color-green-light: #C8E4C8;
  --color-gold: #C9A96E;
  --color-gold-light: #E2D1A8;
  --color-text: #2B2B2B;
  --color-text-light: #6B6B6B;
  --color-white: #FFFFFF;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Transition & Divider Variables */
  --color-primary-dim: rgba(184, 140, 61, 0.45);  /* Rich gold with 45% opacity for solid visibility */
  --color-accent: #B88C3D;                        /* Deep, warm, saturated gold (high contrast on light/dark) */
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* --- Section Titles (Diodona style) --- */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--color-green);
}

/* CSS Ornament Line (replaces broken ornament.webp) */
.ornament-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 0 1.5rem;
  position: relative;
}
.ornament-line::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.5rem;
  color: var(--color-gold);
  background: var(--color-bg);
  padding: 0 0.5rem;
}
.ornament-line--light::before {
  background: var(--color-primary);
  color: var(--color-gold-light);
}
.ornament-line--light {
  background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-light);
  max-width: 600px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.8s ease, padding 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.navbar.scrolled {
  padding: 0.2rem 3rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}
.navbar.navbar-hidden {
  transform: translateY(-100%);
}
/* Navbar theme transitions */
.navbar.scrolled.theme-light {
  background: rgba(247, 245, 241, 0.97);
}
.navbar.scrolled.theme-light .navbar-links a { color: var(--color-primary); }
.navbar.scrolled.theme-light .hamburger span { background: var(--color-primary); }

.navbar.scrolled.theme-dark {
  background: rgba(26, 26, 24, 0.97);
}
.navbar.scrolled.theme-dark .navbar-links a { color: rgba(255,255,255,0.85); }
.navbar.scrolled.theme-dark .hamburger span { background: var(--color-white); }

/* Theme inverse for white pages when NOT scrolled */
.navbar.theme-inverse .navbar-links a { color: var(--color-primary); }
.navbar.theme-inverse .hamburger span { background: var(--color-primary); }
.navbar.theme-inverse.scrolled .navbar-links a { color: var(--color-primary); }
.navbar.theme-inverse.scrolled .hamburger span { background: var(--color-primary); }

.navbar.scrolled.theme-green {
  background: rgba(0, 56, 44, 0.97);
}
.navbar.scrolled.theme-green .navbar-links a { color: rgba(255,255,255,0.85); }
.navbar.scrolled.theme-green .hamburger span { background: var(--color-white); }
.navbar-logo {
  display: flex;
  align-items: center;
}
.navbar-logo img {
  height: 100px;
  width: auto;
  transition: height 0.4s ease;
}
.navbar.scrolled .navbar-logo img {
  height: 75px;
}
.navbar-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.navbar-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.navbar.scrolled .navbar-links a {
  color: var(--color-primary);
  transition: color 0.6s ease;
}
.navbar.scrolled .hamburger span {
  transition: background 0.6s ease;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.4s var(--transition-smooth);
}
.navbar-links a:hover::after {
  width: 100%;
}
.navbar-links a:hover {
  color: var(--color-gold);
}
.nav-cta {
  background: var(--color-gold) !important;
  color: var(--color-white) !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: 50px;
  font-size: 0.75rem !important;
  letter-spacing: 2px;
  transition: background 0.3s ease, transform 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--color-primary) !important;
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.4s ease;
  display: block;
}
.navbar.scrolled .hamburger span {
  background: var(--color-primary);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/header2.jpeg') center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(201, 169, 110, 0.4);
  border-radius: 50%;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
  padding: 0 2rem;
}
.hero-badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
}
.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.8s forwards;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,56,44,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-dark:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,110,0.3);
}

/* --- SECTION DIVIDERS & TRANSITIONS --- */
/* Type 1: LA LIGNE DE TRANSITION COMPLÈTE */
.transition-line {
  display: block;
  width: 100%;
  height: 3px; /* Solid 3px height for clear visibility */
  background: linear-gradient(90deg, transparent, #004b3a 15%, #b5893d 40%, #e8c374 50%, #b5893d 60%, #004b3a 85%, transparent);
  margin: 0;
  position: relative;
  z-index: 10;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,228,200,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}
.about-image:hover img {
  transform: scale(1.05);
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  z-index: -1;
}
.about-content {
  padding: 1rem 0;
}
.about-content .section-text {
  margin-bottom: 2rem;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-green-light), var(--color-bg));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- MENU CARD SECTION (Interactive Clickable Card) --- */
.menu-section {
  padding: 8rem 0;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}
.menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(94,153,94,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.menu-section .section-subtitle,
.menu-section .section-title {
  text-align: center;
  color: var(--color-white);
}
.menu-section .section-subtitle { color: var(--color-gold); }
.menu-section .section-text {
  text-align: center;
  margin: 0 auto 3.5rem;
  color: rgba(255,255,255,0.7);
}
.menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.menu-card {
  perspective: 1200px;
  cursor: pointer;
  position: relative;
}
.menu-card-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
  transition: transform 0.6s var(--transition-smooth), box-shadow 0.6s ease;
  transform-style: preserve-3d;
}
.menu-card:hover .menu-card-inner {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.15);
}
.menu-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}
.menu-card:hover img {
  transform: scale(1.05);
}
.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s ease;
}
.menu-card:hover .menu-card-overlay {
  background: linear-gradient(180deg, rgba(0,56,44,0.2) 0%, rgba(0,0,0,0.85) 100%);
}
.menu-card-label {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.menu-card-hint {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-card-hint .arrow {
  display: inline-block;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-card-hint .arrow {
  transform: translateX(5px);
}
/* Shine effect on card */
.menu-card-inner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.menu-card:hover .menu-card-inner::after {
  transform: rotate(30deg) translateX(100%);
}

/* --- MENU MODAL --- */
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.menu-modal.active {
  opacity: 1;
  visibility: visible;
}
.menu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.menu-modal-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s var(--transition-smooth);
}
.menu-modal.active .menu-modal-content {
  transform: scale(1) translateY(0);
}
.menu-modal-content img {
  width: 100%;
  border-radius: 12px;
}
.menu-modal-pages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.menu-modal-pages img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.menu-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  z-index: 2;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.menu-modal-close:hover {
  background: var(--color-gold);
  transform: rotate(90deg);
}

/* --- DAILY SPECIALS / LUNCHS --- */
.lunchs {
  padding: 8rem 0;
  position: relative;
}
.lunchs-header {
  text-align: center;
  margin-bottom: 4rem;
}
.lunchs-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.lunchs-period {
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 1px;
}
.lunchs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.lunch-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.lunch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-green));
  transform: scaleX(0);
  transition: transform 0.5s var(--transition-smooth);
  transform-origin: left;
}
.lunch-card:hover::before {
  transform: scaleX(1);
}
.lunch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.lunch-day {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.lunch-dish {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.lunch-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* --- RACLETTE / CROQUE SECTION --- */
.raclette {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #004d3b 100%);
  position: relative;
  overflow: hidden;
}
.raclette::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.raclette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.raclette-collage-container {
  position: relative;
  width: 100%;
}
.creations-collage {
  position: relative;
  width: 100%;
  height: 420px;
}
.collage-item {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 3px solid rgba(195, 163, 101, 0.4);
  transition: all 0.6s var(--transition-smooth);
  background: var(--color-green-dark);
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-item.c-1 {
  width: 55%;
  height: 60%;
  top: 5%;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}
.collage-item.c-2 {
  width: 60%;
  height: 65%;
  bottom: 5%;
  right: 0;
  transform: rotate(4deg);
  z-index: 2;
  border-color: rgba(195, 163, 101, 0.8);
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
}
.collage-item.c-3 {
  width: 48%;
  height: 52%;
  top: 15%;
  left: 30%;
  transform: rotate(10deg);
  z-index: 0;
  opacity: 0.85;
}
.collage-item:hover {
  z-index: 10 !important;
  transform: scale(1.08) rotate(0deg) !important;
  border-color: var(--color-gold-light);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 1;
}
.raclette-content .section-subtitle { color: var(--color-gold-light); }
.raclette-content .section-title { color: var(--color-white); }
.raclette-content .section-text { color: rgba(255,255,255,0.8); }

/* --- EVENTS SECTION --- */
.events {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.events-content { order: 2; }
.events-images { order: 1; }
.events-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.events-image-grid .img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.events-image-grid .img-wrapper:first-child {
  grid-row: span 2;
}
.events-image-grid .img-wrapper:not(:first-child) {
  aspect-ratio: 4/3;
}
.events-image-grid .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.events-image-grid .img-wrapper:hover img {
  transform: scale(1.08);
}
.events-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.events-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.events-list li::before {
  content: '◆';
  color: var(--color-gold);
  font-size: 0.5rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-brand img {
  height: 90px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 0.35rem 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.4s ease;
}
.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0;
}
.neodastes-link {
  display: inline-flex;
  align-items: center;
}
.neodastes-link a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
  margin-left: 0.15rem;
}
.neodastes-link a:hover {
  color: var(--color-gold);
}
.neodastes-logo {
  height: 18px;
  width: auto;
  vertical-align: middle;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,56,44,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}
.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--color-gold); }

/* --- CURSOR GLOW (desktop only) --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-grid, .raclette-grid, .events-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .events-content { order: 1; }
  .events-images { order: 2; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .menu-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .lunchs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cursor-glow { display: none; }
  .navbar { padding: 1rem 1.5rem; }
  .navbar.scrolled { padding: 0.7rem 1.5rem; }
  .creations-collage {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .lunchs-grid {
    grid-template-columns: 1fr;
  }
  .events-image-grid {
    grid-template-columns: 1fr;
  }
  .events-image-grid .img-wrapper:first-child {
    grid-row: span 1;
  }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* --- NOS CRÉATIONS GALLERY --- */
.gallery-section {
  padding: 8rem 0;
  background: var(--color-bg);
}
.gallery-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-bounce);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,56,44,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.4s var(--transition-smooth);
}
.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.8rem;
  }
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- BOOKING SECTION --- */
.booking-section {
  padding: 8rem 0;
  background: var(--color-bg-dark);
  position: relative;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.booking-contact-details p {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--color-white);
}
.booking-form-wrapper {
  background: rgba(255,255,255,0.03);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.form-group select option {
  background: var(--color-bg-dark);
  color: var(--color-white);
}
.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem;
  font-weight: 700;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(201,169,110,0.3);
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .booking-form-wrapper {
    padding: 2rem;
  }
}

/* --- PREMIUM HTML MENU CARD IN MODAL --- */
.menu-modal-content.has-html-menu {
  max-width: 900px;
  background: #00221a;
  border: 1.5px solid var(--color-gold);
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--color-white);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  position: relative;
  width: 95%;
}
.skola-menu-wrapper {
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
}
.skola-menu-inner-border {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  right: 12px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
}
.skola-menu-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-gold);
  pointer-events: none;
  z-index: 0;
}
.skola-menu-corner-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.skola-menu-corner-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.skola-menu-corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.skola-menu-corner-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.skola-menu-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.skola-menu-logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.8rem;
}
.skola-menu-title {
  font-family: var(--font-heading);
  color: var(--color-gold-light);
  font-size: 2.4rem;
  letter-spacing: 0.15rem;
  margin: 0;
}
.skola-menu-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.25rem;
  margin: 0.6rem 0 0;
}
.skola-menu-header-ornament {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
  margin: 1.2rem auto 0;
}

.skola-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}
.skola-menu-section {
  position: relative;
}
.skola-menu-section-title {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  letter-spacing: 0.05rem;
}
.skola-menu-section-divider {
  width: 40px;
  height: 1px;
  background: rgba(201, 169, 110, 0.4);
  margin: 0 auto 1.5rem;
}

.skola-menu-item {
  margin-bottom: 1.4rem;
}
.skola-menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.skola-menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.25;
}
.skola-menu-item-spacer {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(201, 169, 110, 0.35);
  position: relative;
  top: -4px;
}
.skola-menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-light);
}
.skola-menu-item-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.3rem 0 0;
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 800px) {
  .skola-menu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .menu-modal-content.has-html-menu {
    padding: 2.5rem 1rem;
    max-height: 95vh;
  }
  .skola-menu-wrapper {
    padding: 2rem 1rem;
  }
  .skola-menu-title {
    font-size: 2rem;
  }
}

