/* Alma Palma — Minimal Mediterranean */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg: #E3E1DC;
  --text: #1D1D1B;
  --gold: #C4A882;
  --terracotta: #8B4C39;
  --sage: #99A077;
  --white: #FAFAF8;
  --font-body: 'Fira Code', monospace;
  --font-heading: 'Playfair Display', serif;
  --radius: 15px;
  --pill: 999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }

/* ---- Buttons ---- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 20px; background: var(--text); color: var(--bg);
  border: 4px double var(--bg); border-radius: var(--pill);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn-pill:hover { background: var(--bg); color: var(--text); border-color: var(--text); }

/* ---- Header ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 40px; transition: all 0.4s var(--ease); background: rgba(227,225,220,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.scrolled { background: rgba(227,225,220,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 12px 40px; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.header-inner { max-width: 1800px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { grid-column: 2; display: flex; align-items: center; justify-content: center; padding: 4px 12px; }
.logo-img { height: 36px; width: auto; }
.header-nav { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.header-nav a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.3s; color: var(--text); }
.header-nav a:hover { opacity: 1; }
.header-nav a.btn-pill { color: var(--bg); opacity: 1; }
.header-nav a.btn-pill:hover { color: var(--text); }
.mobile-toggle { grid-column: 3; justify-self: end; display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s var(--ease); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ---- Mobile Nav ---- */
.mobile-nav { position: fixed; inset: 0; background: var(--bg); z-index: 998; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--font-heading); font-size: 1.8rem; }

/* ---- Hero Slider ---- */
.hero-slider { position: relative; height: 85vh; margin: 5px; border-radius: var(--radius); overflow: hidden; }
.hero { height: 85vh; margin: 5px; border-radius: var(--radius); overflow: hidden; position: relative; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #E3E1DC, #cfcabf 45%, #99A077), url('/images/placeholder.svg') center/cover; }
.slider-track { display: flex; height: 100%; transition: transform 0.6s var(--ease); }
.slider-slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 50px; }
.slider-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,29,27,0.5) 0%, transparent 50%); }
.slider-content { position: relative; z-index: 2; color: #fff; max-width: 480px; }
.slider-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: #fff; margin-bottom: 6px; }
.slider-content p { font-size: 14px; opacity: 0.85; margin: 0; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.slider-dot.active { background: #fff; transform: scale(1.4); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* ---- Intro Text ---- */
.section-intro { max-width: 800px; margin: 0 auto; padding: 80px 40px; text-align: center; }
.section-intro p { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 400; line-height: 1.6; color: var(--text); opacity: 0.85; }

/* ---- Photo Grid ---- */
.section-photos { padding: 0 40px; max-width: 1800px; margin: 0 auto; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.photo-card { aspect-ratio: 3/4; border-radius: var(--radius); background: #d8d5ce url('/images/placeholder.svg') center/cover; background-size: cover; background-position: center; transition: transform 0.6s var(--ease); }
.photo-card:nth-child(2) { margin-top: 30px; }
.photo-card:nth-child(4) { margin-top: 30px; }
.photo-card:hover { transform: scale(1.015); }

/* ---- Content Split ---- */
.section-content { max-width: 1400px; margin: 0 auto; padding: 100px 40px; }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.content-left p { font-size: 14px; opacity: 0.7; line-height: 2; margin-bottom: 14px; }
.content-right h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; }
.content-right p { font-size: 14px; opacity: 0.7; line-height: 1.9; margin-bottom: 24px; }

/* ---- Contact ---- */
.section-contact { text-align: center; padding: 100px 40px; max-width: 600px; margin: 0 auto; }
.section-contact h2 { font-size: 2.2rem; margin-bottom: 12px; }
.contact-divider { width: 80px; height: 0; border-top: 4px double var(--text); margin: 16px auto 40px; }
.contact-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.contact-info { margin-bottom: 30px; opacity: 0.6; font-size: 14px; line-height: 2; }
.map-link { display: inline-block; background: var(--text); color: var(--bg); padding: 14px 28px; border-radius: var(--radius); font-size: 13px; transition: all 0.3s var(--ease); margin-bottom: 30px; }
.map-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.social-row { display: flex; justify-content: center; gap: 20px; font-size: 13px; opacity: 0.5; }
.social-row a:hover { opacity: 1; }

/* ---- FAQ ---- */
.section-faq { max-width: 700px; margin: 0 auto; padding: 80px 40px; }
.section-faq > h2 { font-size: 2rem; margin-bottom: 40px; text-align: center; }
.faq-list { border-top: 1px solid rgba(29,29,27,0.1); }
.faq-item { border-bottom: 1px solid rgba(29,29,27,0.1); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-family: var(--font-heading); font-size: 1rem; font-weight: 400; }
.faq-icon { font-size: 1.4rem; font-weight: 300; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-a { max-height: 200px; padding-bottom: 16px; }
.faq-a p { font-size: 13px; opacity: 0.6; line-height: 1.8; }

/* ---- Bottom Nav ---- */
.bottom-nav { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; background: var(--text); border-radius: var(--pill); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.bottom-nav a { padding: 14px 24px; color: var(--bg); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.3s; border-right: 1px solid rgba(227,225,220,0.12); }
.bottom-nav a:last-child { border-right: none; }
.bottom-nav a:hover { background: rgba(255,255,255,0.08); }
.bottom-nav a.shine::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent); animation: shine 3s infinite; }
.bottom-nav a.shine { position: relative; overflow: hidden; }
@keyframes shine { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }

/* ---- Footer ---- */
.site-footer { background: var(--text); color: var(--bg); padding: 60px 40px 96px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { padding: 0; background: none; }
.footer-brand .logo-img { height: 30px; filter: brightness(1.3); }
.footer-brand p { margin-top: 14px; font-size: 12px; opacity: 0.5; line-height: 1.8; }
.footer-col a { display: block; font-size: 12px; opacity: 0.5; margin-bottom: 10px; transition: opacity 0.3s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(227,225,220,0.1); display: flex; justify-content: space-between; font-size: 11px; opacity: 0.4; }

/* ---- Events ---- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 0 40px; max-width: 1400px; margin: 0 auto; }
.event-card { background: var(--text); border-radius: var(--radius); overflow: hidden; color: #fff; transition: transform 0.3s var(--ease); }
.event-card:hover { transform: translateY(-4px); }
.event-card-image { height: 180px; background-size: cover; background-position: center; position: relative; }
.event-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(29,29,27,0.8)); }
.event-card-badge { position: absolute; top: 12px; left: 12px; background: #c0392b; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: 600; text-transform: uppercase; z-index: 2; }
.event-card-body { padding: 24px; }
.event-card-title { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.event-card-date { font-size: 11px; color: var(--gold); margin-bottom: 10px; }
.event-card-desc { font-size: 12px; opacity: 0.7; line-height: 1.7; margin-bottom: 12px; }
.event-card-offer { background: var(--terracotta); border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 500; text-align: center; margin-bottom: 12px; }
.event-countdown { display: flex; gap: 8px; justify-content: center; }
.countdown-unit { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 8px 10px; text-align: center; min-width: 48px; }
.countdown-value { font-size: 1.1rem; font-weight: 600; font-family: var(--font-heading); color: #fff; }
.countdown-label { font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.5; }

/* ---- Animations ---- */
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ---- Menu Page ---- */
.menu-page { padding-top: 120px; min-height: 100vh; }
.menu-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; padding: 0 40px; }
.menu-filters .btn-pill { font-size: 11px; padding: 7px 18px; }
.menu-filters .btn-pill.active { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.menu-category { max-width: 800px; margin: 0 auto 50px; padding: 0 40px; }
.menu-category-title { font-size: 1.6rem; color: var(--terracotta); margin-bottom: 6px; }
.menu-category-divider { width: 40px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.menu-item { display: flex; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(29,29,27,0.06); }
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-size: 13px; font-weight: 500; }
.menu-item-dots { flex: 1; border-bottom: 1px dotted rgba(29,29,27,0.25); margin: 0 10px; min-width: 30px; position: relative; top: -3px; }
.menu-item-price { font-size: 13px; font-weight: 500; white-space: nowrap; }
.menu-item-desc { font-size: 11px; opacity: 0.5; margin-top: 2px; }

/* ---- Booking Page ---- */
.booking-page { padding-top: 120px; min-height: 100vh; }
.booking-container { max-width: 600px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.section-header p { font-size: 13px; opacity: 0.6; }
.section-header .divider { width: 60px; height: 0; border-top: 4px double var(--gold); margin: 14px auto; }
.quick-contact { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 24px; border: 1px solid rgba(29,29,27,0.08); border-radius: var(--radius); margin-bottom: 40px; }
.quick-contact-title { width: 100%; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; opacity: 0.6; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid rgba(29,29,27,0.12); border-radius: 10px; background: var(--white); font-size: 14px; font-family: var(--font-body); transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--terracotta); outline: none; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.gift-card-field { display: flex; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(29,29,27,0.08); }
.gift-card-field input { flex: 1; padding: 10px 14px; border: 1.5px solid rgba(29,29,27,0.12); border-radius: 10px; background: var(--white); font-size: 13px; }
.booking-confirmation { text-align: center; padding: 40px 0; }
/* Booking loading overlay with countdown */
.booking-loader { position: fixed; inset: 0; z-index: 5000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: rgba(227,225,220,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.booking-loader.show { display: flex; animation: confFade 0.25s ease both; }
.booking-loader .bl-card { position: relative; width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; }
.booking-loader .bl-ring { position: absolute; inset: 0; border: 4px solid rgba(139,76,57,0.18); border-top-color: var(--terracotta); border-radius: 50%; animation: blSpin 0.9s linear infinite; }
.booking-loader .bl-num { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--terracotta); }
.booking-loader .bl-text { font-size: 14px; letter-spacing: 0.04em; color: var(--text); opacity: 0.8; }
@keyframes blSpin { to { transform: rotate(360deg); } }
.booking-confirmation.show { animation: confFade 0.5s var(--ease) both; }
.booking-confirmation.show svg { animation: confPop 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.1s both; }
@keyframes confFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes confPop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-toggle { display: flex; }
  .site-header { padding: 14px 16px; }
  .site-header.scrolled { padding: 10px 16px; }
  .logo-img { height: 28px; }
  .hero-slider, .hero { height: 70vh; margin: 4px; border-radius: 12px; }
  .slider-slide { padding: 24px; }
  .slider-content h2 { font-size: 1.2rem; }
  .slider-content p { font-size: 12px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 18px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .section-intro { padding: 50px 20px; }
  .section-intro p { font-size: 1rem; }
  .section-photos { padding: 0 16px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .photo-card { border-radius: 8px; }
  .photo-card:nth-child(2), .photo-card:nth-child(4) { margin-top: 0; }
  .section-content { padding: 60px 20px; }
  .content-split { grid-template-columns: 1fr; gap: 40px; }
  .content-right h2 { font-size: 1.6rem; }
  .section-contact { padding: 60px 20px; }
  .section-contact h2 { font-size: 1.8rem; }
  .contact-buttons { flex-direction: column; align-items: center; }
  .contact-buttons .btn-pill { width: 100%; max-width: 200px; }
  .section-faq { padding: 50px 20px; }
  .faq-q { font-size: 0.9rem; }
  .bottom-nav { bottom: 10px; left: 10px; right: 10px; transform: none; border-radius: 12px; }
  .bottom-nav a { flex: 1; text-align: center; padding: 13px 0; font-size: 10px; }
  .site-footer { padding: 40px 20px 90px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .events-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .menu-page { padding-top: 90px; }
  .menu-filters { padding: 0 16px; gap: 6px; }
  .menu-category { padding: 0 20px; }
  .booking-page { padding-top: 90px; }
  .booking-container { padding: 0 20px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .gift-card-field { flex-direction: column; }
  .mobile-nav a { font-size: 1.5rem; }
}

@media (max-width: 380px) {
  .hero-slider, .hero { height: 60vh; }
  .section-intro p { font-size: 0.9rem; }
  .bottom-nav a { font-size: 9px; padding: 11px 0; }
}

/* ---- Utility ---- */
.mt-20 { margin-top: 20px; }
.divider--double { border-top: 4px double var(--gold); width: 60px; margin: 14px auto; }

/* ---- Motion & Effects ---- */

/* Staggered reveal */
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.animate.visible { opacity: 1; transform: translateY(0); }
.animate.delay-1 { transition-delay: 0.1s; }
.animate.delay-2 { transition-delay: 0.25s; }
.animate.delay-3 { transition-delay: 0.4s; }

/* Photo card reveal + hover */
.photo-card { opacity: 0; transform: scale(0.96); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 0.4s ease; }
.photo-card.visible { opacity: 1; transform: scale(1); }
.photo-card:hover { transform: scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,0.12); z-index: 2; }

/* Slider Ken Burns */
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.06); } }
.slider-slide.active-slide { animation: kenburns 8s ease-in-out forwards; }

/* Intro text fade */
.section-intro { opacity: 0; transform: translateY(20px); transition: opacity 1.2s ease 0.3s, transform 1.2s ease 0.3s; }
.section-intro.visible { opacity: 1; transform: translateY(0); }

/* Content left/right slide */
.content-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.content-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s; }
.content-split.visible .content-left { opacity: 1; transform: translateX(0); }
.content-split.visible .content-right { opacity: 1; transform: translateX(0); }

/* Contact section scale in */
.section-contact { opacity: 0; transform: scale(0.97); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.section-contact.visible { opacity: 1; transform: scale(1); }

/* Button hover lift */
.btn-pill { transition: all 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s ease; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,29,27,0.15); }

/* Map link pulse glow */
.map-link { position: relative; }
.map-link::after { content: ''; position: absolute; inset: -4px; border-radius: calc(var(--radius) + 4px); background: var(--text); opacity: 0; z-index: -1; transition: opacity 0.4s; }
.map-link:hover::after { opacity: 0.06; animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.06; } 50% { transform: scale(1.04); opacity: 0.03; } }

/* FAQ hover */
.faq-q { transition: color 0.3s; }
.faq-item:hover .faq-q { color: var(--terracotta); }

/* Header logo hover */
.logo { transition: transform 0.3s var(--ease), opacity 0.3s; }
.logo:hover { transform: scale(1.06); }

/* Smooth scroll indicator on slider */
.slider-dots .slider-dot { transition: all 0.4s var(--ease); }
.slider-dots .slider-dot.active { width: 24px; border-radius: 4px; }

/* Social links underline grow */
.social-row a { position: relative; }
.social-row a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--text); transition: width 0.3s var(--ease); }
.social-row a:hover::after { width: 100%; }

/* Footer links slide */
.footer-col a { transition: opacity 0.3s, transform 0.3s; }
.footer-col a:hover { opacity: 1; transform: translateX(3px); }

/* ---- Hero Overlay ---- */
.hero-overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px; pointer-events: none; }
.hero-overlay .btn-pill { pointer-events: auto; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase; opacity: 0; color: #fff; margin-bottom: 18px; animation: heroFade 1s ease 0.3s forwards; }
.hero-title { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1; color: #fff; margin-bottom: 12px; opacity: 0; text-shadow: 0 4px 30px rgba(0,0,0,0.3); animation: heroFade 1.1s ease 0.5s forwards; }
.hero-tag { font-size: clamp(13px, 2vw, 16px); letter-spacing: 0.15em; text-transform: uppercase; opacity: 0; color: rgba(255,255,255,0.9); margin-bottom: 34px; animation: heroFade 1.1s ease 0.7s forwards; }
.hero-cta { opacity: 0; border-color: #fff; background: transparent; color: #fff; padding: 12px 34px; font-size: 13px; animation: heroFade 1.1s ease 0.9s forwards; }
.hero-cta:hover { background: #fff; color: var(--text); border-color: #fff; }
@keyframes heroFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-slider .slider-slide::after { background: linear-gradient(to top, rgba(29,29,27,0.55) 0%, rgba(29,29,27,0.25) 50%, rgba(29,29,27,0.4) 100%); }
.hero-slider .slider-content { display: none; }

/* ---- Eyebrow Labels ---- */
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px; font-weight: 500; }
.eyebrow.light { color: var(--gold); }

/* ---- Intro Refined ---- */
.section-intro { max-width: 820px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.intro-statement { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.45; color: var(--text); }

/* ---- Content Right heading bigger ---- */
.content-right h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 24px; }

/* ---- Visit Band ---- */
.section-visit { background: var(--text); color: var(--bg); margin: 40px 5px; border-radius: var(--radius); padding: 70px 40px; }
.visit-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 40px; }
.visit-block { text-align: center; }
.visit-big { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.visit-sub { font-size: 13px; opacity: 0.6; }
.visit-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--gold); transition: opacity 0.3s; }
.visit-link:hover { opacity: 0.7; }
.visit-divider { width: 1px; height: 60px; background: rgba(227,225,220,0.15); }

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .section-visit { padding: 50px 24px; margin: 24px 4px; }
  .visit-inner { grid-template-columns: 1fr; gap: 28px; }
  .visit-divider { width: 60px; height: 1px; margin: 0 auto; }
  .intro-statement { font-size: 1.2rem; }
  .section-intro { padding: 60px 20px; }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--terracotta)); z-index: 2000; transition: width 0.1s linear; }

/* ---- Scroll Hint on Hero ---- */
.scroll-hint { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 6; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 12px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-hint span { width: 3px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---- Section number accents ---- */
.section-intro .eyebrow, .content-left .eyebrow, .section-contact .eyebrow { position: relative; display: inline-block; }
.section-intro .eyebrow::before, .section-contact .eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--terracotta); vertical-align: middle; margin-right: 10px; }
.section-intro .eyebrow::after, .section-contact .eyebrow::after { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--terracotta); vertical-align: middle; margin-left: 10px; }

/* ---- Photo grid caption on hover ---- */
.photo-card { position: relative; cursor: pointer; }
.photo-card.swapping { animation: photoSwap 0.35s var(--ease); }
@keyframes photoSwap { 0% { opacity: 0.25; transform: scale(0.97); } 100% { opacity: 1; transform: scale(1); } }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,29,27,0.4), transparent 50%); opacity: 0; transition: opacity 0.4s ease; border-radius: var(--radius); }
.photo-card:hover::after { opacity: 1; }

/* ---- Refined intro statement ---- */
.intro-statement { position: relative; }

/* ---- Section reveal stagger for visit blocks ---- */
.visit-block { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.section-visit.visible .visit-block:nth-child(1) { transition-delay: 0.05s; }
.section-visit.visible .visit-block:nth-child(3) { transition-delay: 0.2s; }
.section-visit.visible .visit-block:nth-child(5) { transition-delay: 0.35s; }
.section-visit.visible .visit-block { opacity: 1; transform: translateY(0); }

/* ---- Heading underline accent on content ---- */
.content-right h2 { position: relative; }

/* ---- Smoother button shine on hero CTA ---- */
.hero-cta { position: relative; overflow: hidden; }
.hero-cta::before { content: ''; position: absolute; top: 0; left: -120%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transition: left 0.6s ease; }
.hero-cta:hover::before { left: 120%; }

@media (max-width: 768px) {
  .scroll-hint { bottom: 50px; }
}

/* ============================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
  body { font-size: 14px; }

  /* Header */
  .site-header { padding: 12px 16px; }
  .site-header.scrolled { padding: 10px 16px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .logo { grid-column: 2; padding: 2px 8px; }
  .logo-img { height: 30px; }
  .header-nav { display: none; }
  .mobile-toggle { display: flex; grid-column: 3; }

  /* Hero — comfortable height, readable title */
  .hero-slider, .hero { height: 78vh; min-height: 480px; margin: 4px; border-radius: 14px; }
  .hero-overlay { padding: 24px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.25em; margin-bottom: 12px; }
  .hero-title { font-size: clamp(2.5rem, 14vw, 4rem); margin-bottom: 10px; }
  .hero-tag { font-size: 11px; letter-spacing: 0.1em; margin-bottom: 26px; }
  .hero-cta { padding: 11px 28px; font-size: 12px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 18px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dots { bottom: 18px; }
  .scroll-hint { display: none; }

  /* Intro */
  .section-intro { padding: 56px 22px; }
  .intro-statement { font-size: 1.15rem; line-height: 1.5; }
  .eyebrow { font-size: 10px; }

  /* Photo grid — 2 columns, clean */
  .section-photos { padding: 0 12px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photo-card { aspect-ratio: 1/1; border-radius: 10px; }
  .photo-card:nth-child(2), .photo-card:nth-child(4) { margin-top: 0; }

  /* Content split — stacked */
  .section-content { padding: 56px 22px; }
  .content-split { grid-template-columns: 1fr; gap: 32px; }
  .content-right h2 { font-size: 1.8rem; }
  .content-left p, .content-right p { font-size: 13px; }

  /* Visit band — stacked */
  .section-visit { padding: 44px 24px; margin: 24px 4px; }
  .visit-inner { grid-template-columns: 1fr; gap: 26px; }
  .visit-divider { width: 50px; height: 1px; margin: 0 auto; }
  .visit-big { font-size: 1.4rem; }

  /* Contact — centered buttons */
  .section-contact { padding: 56px 22px; }
  .section-contact h2 { font-size: 1.7rem; }
  .contact-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .contact-buttons .btn-pill { width: 100%; max-width: 260px; padding: 14px; font-size: 13px; }
  .contact-booknow { max-width: 260px; }
  .contact-address { text-align: center; }
  .takeme-card { margin-left: auto; margin-right: auto; }
  .social-row { flex-wrap: wrap; }
  .map-link { display: block; text-align: center; }

  /* FAQ */
  .section-faq { padding: 50px 22px; }
  .section-faq > h2 { font-size: 1.6rem; margin-bottom: 30px; }
  .faq-q { font-size: 0.92rem; padding: 18px 0; }

  /* Events */
  .events-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; }

  /* Bottom nav — full width, easy tap */
  .bottom-nav { bottom: 10px; left: 10px; right: 10px; transform: none; border-radius: 14px; }
  .bottom-nav a { flex: 1; text-align: center; padding: 15px 0; font-size: 11px; }

  /* Footer */
  .site-footer { padding: 44px 22px 86px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Forms — prevent iOS zoom */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }

  /* Disable heavy hover transforms on touch */
  .photo-card:hover, .btn-pill:hover, .map-link:hover { transform: none; }
}

@media (max-width: 400px) {
  .hero-slider, .hero { height: 70vh; min-height: 420px; }
  .hero-title { font-size: clamp(2.2rem, 13vw, 3.2rem); }
  .photo-grid { gap: 6px; }
  .intro-statement { font-size: 1.05rem; }
  .bottom-nav a { font-size: 10px; padding: 13px 0; }
  .section-intro, .section-content, .section-contact { padding: 44px 18px; }
}

/* ============================================
   GALLERY MARQUEE — auto-scrolling dishes
   ============================================ */
.section-gallery { padding: 90px 0; overflow: hidden; }
.gallery-header { text-align: center; margin-bottom: 50px; padding: 0 40px; }
.gallery-header h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marqueeScroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { position: relative; flex-shrink: 0; width: 320px; height: 420px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; cursor: pointer; }
.marquee-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,29,27,0.6), transparent 50%); opacity: 0; transition: opacity 0.4s; }
.marquee-item:hover::after { opacity: 1; }
.marquee-item .caption { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; font-family: var(--font-heading); font-size: 1.1rem; opacity: 0; transform: translateY(10px); transition: all 0.4s; z-index: 2; }
.marquee-item:hover .caption { opacity: 1; transform: translateY(0); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.marquee-item:hover img { transform: scale(1.06); }

/* Second row scrolls opposite direction (optional richer look) */
.marquee.reverse .marquee-track { animation-direction: reverse; }

@media (max-width: 768px) {
  .section-gallery { padding: 56px 0; }
  .gallery-header { margin-bottom: 32px; padding: 0 22px; }
  .gallery-header h2 { font-size: 1.7rem; }
  .marquee-track { gap: 12px; animation-duration: 30s; }
  .marquee-item { width: 200px; height: 270px; }
  .marquee-item .caption { font-size: 0.9rem; bottom: 14px; left: 14px; }
}

/* =====================================================================
   ENJOYGINGER-STYLE SECTIONS — Groups, Cashback, Contact upgrade
   ===================================================================== */

/* ---- Contact upgrade ---- */
.contact-booknow {
  display: block; width: 100%; max-width: 520px; margin: 0 auto 32px;
  padding: 15px; font-size: 14px; letter-spacing: 0.05em;
}
.contact-address {
  font-family: var(--font-body); font-size: 15px; line-height: 1.9;
  color: var(--text); opacity: 0.85; margin-bottom: 30px; letter-spacing: 0.02em;
}
.takeme-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--text); color: var(--bg); border-radius: 16px;
  padding: 22px 46px; margin-bottom: 36px;
}
.takeme-label { font-family: var(--font-body); font-size: 15px; letter-spacing: 0.04em; }
.takeme-icons { display: flex; gap: 30px; }
.takeme-icons a { color: var(--bg); display: inline-flex; transition: transform 0.25s var(--ease), opacity 0.25s; }
.takeme-icons a:hover { transform: translateY(-2px) scale(1.08); opacity: 0.85; }

.social-row { display: flex; justify-content: center; gap: 26px; opacity: 1; }
.social-row a { color: var(--text); opacity: 0.55; display: inline-flex; transition: opacity 0.25s, transform 0.25s var(--ease); }
.social-row a:hover { opacity: 1; transform: translateY(-2px); }

/* ---- Groups section ---- */
.section-groups { max-width: 1400px; margin: 0 auto; padding: 90px 40px; }
.groups-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.groups-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 6px; }
.groups-sub { font-family: var(--font-heading); font-size: 1.1rem; color: var(--terracotta); margin-bottom: 22px; }
.groups-text p { font-size: 14px; line-height: 1.9; opacity: 0.78; margin-bottom: 14px; }
.groups-text .btn-pill { margin-top: 12px; }
.groups-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.groups-photo {
  aspect-ratio: 3 / 4; border-radius: 14px; background: #d8d5ce center/cover no-repeat;
  background-image: linear-gradient(135deg, #c9c5bd, #b3aea4);
}

/* ---- Cashback section ---- */
.section-cashback { max-width: 1400px; margin: 0 auto; padding: 60px 40px 90px; }
.cashback-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cashback-banner {
  display: flex; align-items: center; gap: 30px; min-height: 230px;
  border-radius: 16px; padding: 34px 40px; color: #fff;
  background: linear-gradient(125deg, #1b1b19 0%, #232320 40%, #2e2a24 70%, #1b1b19 100%);
  position: relative; overflow: hidden;
}
.cashback-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: linear-gradient(115deg, transparent 20%, rgba(196,168,130,0.35) 38%, rgba(153,160,119,0.3) 50%, rgba(139,76,57,0.3) 62%, transparent 80%);
  mix-blend-mode: screen;
}
.cashback-banner::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  border: 1px solid rgba(196,168,130,0.4);
}
.cashback-banner .cb-left { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; position: relative; z-index: 1; }
.cashback-banner .cb-group { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.cashback-banner .cb-fam { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }
.cashback-banner .cb-divider { width: 1px; align-self: stretch; background: linear-gradient(transparent, rgba(196,168,130,0.6), transparent); flex-shrink: 0; }
.cashback-banner .cb-right { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.cashback-banner .cb-lead { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.cashback-banner .cb-big { display: flex; align-items: baseline; gap: 8px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.cashback-banner .cb-big b { font-size: 3rem; color: var(--gold); }
.cashback-banner .cb-big span { font-size: 1.5rem; }
.cashback-banner .cb-small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.cashback-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
.cashback-text p { font-size: 14px; line-height: 1.9; opacity: 0.78; margin-bottom: 14px; }
.cashback-text .btn-pill { margin-top: 10px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .section-groups, .section-cashback { padding: 56px 22px; }
  .groups-split, .cashback-split { grid-template-columns: 1fr; gap: 34px; }
  .cashback-banner { order: -1; min-height: 190px; }
  .groups-text h2, .cashback-text h2 { font-size: 1.7rem; }
  .takeme-card { padding: 20px 40px; }
  .social-row { gap: 22px; }
  .contact-booknow { max-width: 100%; }
}

/* ---- Language switcher ---- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.lang-switch button {
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.08em; color: var(--text); opacity: 0.5;
  padding: 4px 6px; transition: opacity 0.2s;
}
.lang-switch button:hover { opacity: 0.85; }
.lang-switch button.active { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lang-switch-mobile { margin-top: 28px; gap: 6px; }
.lang-switch-mobile button { font-size: 15px; padding: 8px 14px; border: 1px solid rgba(29,29,27,0.2); border-radius: 20px; }
.lang-switch-mobile button.active { background: var(--text); color: var(--bg); text-decoration: none; opacity: 1; }
@media (max-width: 760px) {
  .lang-switch { margin-left: 0; }
}
