/* ═══════════════════════════════════════════════════════════
   Familie Fritz — Dark Gold Theme
   ═══════════════════════════════════════════════════════════ */

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

/* ─── Variables ────────────────────────────────────────── */
:root {
  --bg-main: #0A0A0A;
  --bg-card: #141414;
  --bg-surface: #1A1A1A;
  --bg-elevated: #1E1E1E;
  --gold: #AF7A0C;
  --gold-light: #CA8F14;
  --gold-dark: #91650A;
  --gold-glow: rgba(175, 122, 12, 0.18);
  --text-main: #F0EDE6;
  --text-light: #9A9590;
  --text-muted: #6B6560;
  --accent: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── Preloader ────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeOutCover 0.8s ease-in-out 1.5s forwards;
  pointer-events: none;
}
.page-transition img {
  height: 80px;
  opacity: 0;
  animation: pulseLogo 1.8s ease-in-out forwards;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
}
@keyframes fadeOutCover { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes pulseLogo {
  0% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}

/* ─── Hamburger Button ─────────────────────────────────── */
.hamburger-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}
.hamburger-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── Scroll Nav ───────────────────────────────────────── */
.scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px; /* Perfectly covers hamburger button area (20px + 48px + 20px) */
  z-index: 900;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: navFadeIn 0.8s ease 2.4s forwards;
}
.scroll-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 30px;
  padding: 0 85px; /* Keeps text away from hamburger button area */
  width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  pointer-events: auto;
  justify-content: center;
}
@media (max-width: 900px) {
  .scroll-nav-inner { 
    justify-content: flex-start; 
  }
  .scroll-nav-inner::after {
    content: '';
    padding-right: 40px; /* Extra space at the end for mobile scrolling */
  }
}
.scroll-nav-inner::-webkit-scrollbar { display: none; }
.scroll-nav-inner a {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: var(--transition);
  opacity: 0.85;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 10px rgba(0,0,0,0.5);
}
.scroll-nav-inner a.active, .scroll-nav-inner a:hover {
  color: var(--gold);
  opacity: 1;
  transform: scale(1.05);
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* ─── Menu Overlay Redesign ──────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.menu-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
}
.menu-close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.4s ease, color 0.3s ease;
  padding: 10px;
}
.menu-close-btn:hover {
  color: var(--gold);
  transform: rotate(90deg);
}
.menu-overlay-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.menu-header {
  text-align: center;
  margin-bottom: 40px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}
.menu-overlay.active .menu-header {
  transform: translateY(0);
  opacity: 1;
}
.menu-logo {
  height: 80px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.menu-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.menu-nav a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 1px;
  padding: 8px 20px;
  transition: var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.active .menu-nav a {
  animation: menuItemIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.menu-overlay.active .menu-nav a:nth-child(1) { animation-delay: 0.15s; }
.menu-overlay.active .menu-nav a:nth-child(2) { animation-delay: 0.20s; }
.menu-overlay.active .menu-nav a:nth-child(3) { animation-delay: 0.25s; }
.menu-overlay.active .menu-nav a:nth-child(4) { animation-delay: 0.30s; }
.menu-overlay.active .menu-nav a:nth-child(5) { animation-delay: 0.35s; }
.menu-overlay.active .menu-nav a:nth-child(6) { animation-delay: 0.40s; }
.menu-overlay.active .menu-nav a:nth-child(7) { animation-delay: 0.45s; }
.menu-overlay.active .menu-nav a:nth-child(n+8) { animation-delay: 0.50s; }

@keyframes menuItemIn {
  to { opacity: 1; transform: translateY(0); }
}

.menu-nav a:hover {
  color: var(--gold);
  transform: translateX(10px) !important;
}

.menu-footer {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.6s;
}
.menu-overlay.active .menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.menu-download {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  transition: var(--transition);
  background: rgba(255,255,255,0.03);
}
.menu-download:hover {
  background: var(--gold-glow);
  border-color: rgba(175, 122, 12, 0.4);
  color: var(--gold);
}

.menu-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.menu-admin {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.menu-admin:hover { color: var(--gold); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
}
.hero-bg {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.95) contrast(1.02) saturate(0.95);
  animation: kenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.05) 0%,
    rgba(5, 5, 5, 0.0) 35%,
    rgba(5, 5, 5, 0.45) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hero-logo-img {
  height: 220px;
  margin-bottom: 25px;
  animation: fadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.5s both;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7));
}
.hero-subtitle-top {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: #FFFFFF;
  letter-spacing: 4px;
  margin-bottom: 12px;
  animation: fadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.7s both;
  text-shadow: 0 2px 15px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 10vw, 90px);
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 30px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.9s both;
}
.hero-scroll {
  position: absolute;
  bottom: 110px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 3;
  animation: fadeUp 1s ease 2.5s both;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.scroll-line {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  33%  { transform: scale(1.06) translateX(-1%) translateY(-0.5%); }
  66%  { transform: scale(1.04) translateX(1%)  translateY(0.5%); }
  100% { transform: scale(1.08) translateX(-0.5%) translateY(-1%); }
}
@keyframes navFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Split Sections ───────────────────────────────────── */
.split-section {
  display: flex;
  width: 100%;
  min-height: auto;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.split-section.image-left { flex-direction: row; }
.split-section.image-right { flex-direction: row-reverse; }

.split-image-col {
  flex: 0 0 40%;
  width: 40%;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}
.split-image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) saturate(0.95);
}
.split-image-col:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
/* Fade-in for images when section enters viewport */
.split-section .split-image-col {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.split-section.image-right .split-image-col {
  transform: translateX(20px);
}
.split-section.in-view .split-image-col {
  opacity: 1;
  transform: translateX(0);
}

.split-content-col {
  flex: 0 0 60%;
  width: 60%;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--bg-main);
}
.split-content-inner {
  max-width: 850px;
  width: 100%;
}

/* ─── Section Headers ──────────────────────────────────── */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 20px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ─── Items ────────────────────────────────────────────── */
.items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
}
@media (min-width: 1200px) {
  .items-list { grid-template-columns: 1fr 1fr; gap: 0 40px; }
}

.item-row {
  padding: 10px 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius);
  position: relative;
}
.item-row:last-child { border-bottom: none; }
.item-row:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-bottom-color: transparent;
}

.item-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.item-price {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.item-price::before {
  content: '$ ';
  font-size: 12px;
  opacity: 0.7;
  margin-right: 2px;
}
.item-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 95%;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-dark);
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ─── Subsection Labels ────────────────────────────────── */
.subsection-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 30px auto 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 250px;
}

/* ─── Guarniciones Grid ────────────────────────────────── */
.guarniciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 15px;
  width: 100%;
  justify-items: center;
}
@media (max-width: 600px) { .guarniciones-grid { grid-template-columns: 1fr; } }

.guarnicion-item {
  padding: 8px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  width: 100%;
  max-width: 280px;
  gap: 2px;
  border-radius: var(--radius);
}
.guarnicion-item:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
  border-bottom-color: transparent;
}
.guarnicion-item .g-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--text-main);
}
.guarnicion-item .g-price {
  font-size: 14px;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
}

/* ─── Beverage Rows ────────────────────────────────────── */
.beb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 600px) { .beb-grid { grid-template-columns: 1fr; } }

.beb-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  gap: 3px;
  transition: var(--transition);
  text-align: center;
  border-radius: var(--radius);
}
.beb-row:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
  border-bottom-color: transparent;
}
.beb-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--text-main);
}
.beb-sub {
  font-size: 11px;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
}
.beb-price {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

/* ─── Commitment Section ───────────────────────────────── */
.commitment-section {
  position: relative;
  padding: 120px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: #050505;
}
.commitment-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  opacity: 0.7;
  filter: brightness(0.6) contrast(1.1) saturate(0.8);
}
.commitment-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.commitment-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 25px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.commitment-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 25px;
}
.commitment-sub {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ─── Footer ───────────────────────────────────────────── */
footer {
  position: relative;
  padding: 80px 40px 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: #050505;
}
.footer-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: left center;
  background-attachment: fixed;
  z-index: 0;
  filter: brightness(0.65) saturate(0.8);
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.38);
  z-index: 1;
}
.footer-logo {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-logo.in-view {
  opacity: 1;
  transform: translateY(0);
}
.footer-logo img {
  height: 160px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
}
.footer-info {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  letter-spacing: 1px;
}

/* ─── Liquid Glass Bar ─────────────────────────────────── */
.glass-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: calc(100% - 40px);
  max-width: 800px;
  z-index: 100;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  opacity: 1;
  pointer-events: auto;
}
.glass-bar.hidden {
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.glass-bar-inner {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
/* Background layer to contain shimmer without clipping dropdowns */
.glass-bar-bg {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.65);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
/* Subtle highlight on top */
.glass-bar-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}
/* Shimmer effect */
.glass-bar-bg::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) translateY(-100%);
  animation: shimmer 6s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { transform: rotate(30deg) translateY(-100%); }
  20% { transform: rotate(30deg) translateY(100%); }
  100% { transform: rotate(30deg) translateY(100%); }
}

.glass-bar-schedule {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 130px;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.schedule-status {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.schedule-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.schedule-status.open { color: #4ADE80; }
.schedule-status.open::before { background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }
.schedule-status.closed { color: #F87171; }
.schedule-status.closed::before { background: #F87171; box-shadow: 0 0 8px #F87171; }
.schedule-hours {
  font-size: 11px;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

.glass-bar-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.glass-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.glass-field label {
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.glass-field input,
.glass-field-custom {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  width: 100%;
}
.glass-field input:focus,
.glass-field-custom.active {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.06);
}

/* Custom Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}
.glass-field-custom {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glass-field-custom::after {
  content: '';
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
.glass-field-custom.active::after {
  transform: rotate(180deg);
}
.custom-options {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.custom-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-options::-webkit-scrollbar { width: 4px; }
.custom-options::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
.custom-option {
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.custom-option:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold); }
.custom-option.selected { color: var(--gold); background: rgba(255,255,255,0.05); }

/* ─── Custom Date Picker Panel ─────────────────────────── */
.date-picker-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 0.5px rgba(255,255,255,0.05) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
  z-index: 300;
}
.date-picker-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dp-month-label {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.5px;
}
.dp-nav-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 16px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.dp-nav-btn:hover { color: var(--gold); background: rgba(212,175,55,0.1); }
.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}
.dp-weekday {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 0;
}
.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.dp-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
}
.dp-day:hover:not(.dp-day-disabled):not(.dp-day-other) {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}
.dp-day-today {
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
}
.dp-day-selected {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #0A0A0A !important;
  font-weight: 600;
}
.dp-day-disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.dp-day-other {
  opacity: 0.25;
  cursor: not-allowed;
}
.dp-day-closed {
  color: rgba(248, 113, 113, 0.5);
}

.reserve-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0A;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}
.reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.reserve-btn svg {
  width: 16px;
  height: 16px;
}

/* ─── Scroll Animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Staggered delay for items in a list */
.items-list .reveal:nth-child(1) { transition-delay: 0ms; }
.items-list .reveal:nth-child(2) { transition-delay: 50ms; }
.items-list .reveal:nth-child(3) { transition-delay: 100ms; }
.items-list .reveal:nth-child(4) { transition-delay: 150ms; }
.items-list .reveal:nth-child(5) { transition-delay: 200ms; }
.items-list .reveal:nth-child(n+6) { transition-delay: 250ms; }

/* ─── Content Loaded State ─────────────────────────────── */
#content-container { min-height: 100vh; }
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .split-section, .split-section.image-left, .split-section.image-right {
    flex-direction: column !important;
    min-height: auto;
  }
  .split-image-col, .split-content-col {
    width: 100% !important;
    flex: none !important;
  }
  /* Reset fade-in direction for mobile (from bottom instead of sides) */
  .split-section .split-image-col,
  .split-section.image-right .split-image-col {
    transform: translateY(15px);
  }
  .split-section.in-view .split-image-col {
    transform: translateY(0);
  }
  .split-image-col {
    width: 92% !important;
    margin: 24px auto 0 !important;
    height: auto !important;
    aspect-ratio: 16/9;
    max-height: 280px;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  }
  .split-image-col img {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
  }
  .split-content-col {
    padding: 30px 20px 40px;
  }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .hero-logo-img { height: 140px; }
  .hero-subtitle-top { font-size: 15px; }
  .commitment-section { padding: 80px 20px; }
  .commitment-bg, .footer-bg {
    background-attachment: scroll !important;
    background-position: center !important;
  }
}

/* Glass bar responsive */
@media (max-width: 700px) {
  .glass-bar {
    width: calc(100% - 24px);
    bottom: 12px;
  }
  .glass-bar-inner {
    flex-direction: column;
    padding: 14px 16px;
    border-radius: 22px;
    gap: 10px;
  }
  .glass-bar-schedule {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 10px;
    min-width: auto;
  }
  .glass-bar-form {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .glass-field {
    flex: 1 1 calc(50% - 4px);
    min-width: 100px;
  }
  .reserve-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 14px;
  }
  footer { padding-bottom: 180px; }
  .hero-scroll { bottom: 160px; }
}

@media (max-width: 400px) {
  .glass-field { flex: 1 1 100%; }
}

/* ─── Print ────────────────────────────────────────────── */
@media print {
  @page { margin: 1cm; size: A4 portrait; }
  body { background: #fff !important; color: #000 !important; }
  .page-transition, .hero, footer, .glass-bar, .hamburger-btn, .menu-overlay, .split-image-col, .commitment-bg { display: none !important; }
  .split-section { display: block !important; border: none !important; }
  .split-content-col { width: 100% !important; flex: none !important; padding: 10px 0 !important; background: transparent !important; }
  .section-title { color: #000 !important; font-size: 20px !important; }
  .item-name { color: #000 !important; font-size: 14px !important; }
  .item-price { color: #333 !important; }
  .item-desc { color: #444 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
