/* ===== Home page layout ===== */

.home-page {
  background: var(--color-bg);
}

/* ----- Home sections ----- */
.home-page .home-stack {
  position: relative;
}

.home-page .home-stack .hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
}

.home-page .home-stack .visit {
  position: relative;
  background-color: #121212;
  overflow: visible;
}

.home-page .site-footer {
  position: relative;
  background-color: #121212;
}

@supports (-webkit-touch-callout: none) {
  .home-page .home-stack .hero {
    min-height: -webkit-fill-available;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(12, 11, 10, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-brand:hover {
  opacity: 0.88;
}

.site-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-brand span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .site-brand span { display: none; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.header-link {
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--color-text);
}

@media (min-width: 640px) {
  .header-link {
    display: inline-block;
  }
}

.home-page .lang-select {
  position: static;
}

.home-page #lang-dropdown {
  appearance: none;
  color-scheme: dark;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-page #lang-dropdown option {
  background: #1b1815;
  color: #f8f4ee;
}

.home-page #lang-dropdown:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-color: var(--color-gold);
}

.home-page #lang-dropdown:hover {
  border-color: var(--color-gold);
}

.home-page .lang-select {
  position: relative;
}

.home-page .lang-select::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 32px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-video { object-fit: cover; border: 0; opacity: 0; pointer-events: none; transition: opacity 400ms ease; }
.hero-video:is(iframe) { inset: auto; top: 50%; left: 50%; width: max(100%, 177.78vh); height: 100%; transform: translate(-50%, -50%); }
.hero-bg.is-playing .hero-video { opacity: 1; }
.hero-overlay { z-index: 2; pointer-events: none; }
.hero-content { text-shadow: 0 2px 18px rgba(0,0,0,.75); }
.hero-delivery-link { align-self: center; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .hero-content { max-width: 100%; } .hero-cta { flex-wrap: wrap; } .hero-video:is(iframe) { width: max(100%, 56.25vh); clip-path: none; } }
@media (prefers-reduced-motion: reduce) { .hero-video { transition: none; } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, rgba(12, 11, 10, 0.15) 40%, rgba(12, 11, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.5) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-brand {
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 600;
}

.hero-headline {
  font-size: clamp(1.35rem, 4.2vw, 2.5rem);
  font-weight: 500;
  color: rgba(248, 244, 238, 0.92);
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-cta .btn {
  border-radius: 3px;
  min-height: 52px;
  padding: 14px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-cta .btn-primary {
  background: #e9d4aa;
  color: #17120e;
  box-shadow: none;
}

.hero-cta .btn-primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.hero-cta .btn-ghost { background: rgba(12,11,10,.24); border-color: #e9d4aa; backdrop-filter: none; }

/* ----- Visit section ----- */
.visit {
  position: relative;
  padding: clamp(72px, 12vh, 120px) clamp(20px, 5vw, 64px);
}

.visit-bg {
  position: absolute;
  inset: 0;
  background: url("../info-bg.jpg") center / cover no-repeat;
  z-index: 0;
}

.visit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #121212 0%, rgba(18, 18, 18, 0.92) 18%, rgba(18, 18, 18, 0.96) 100%);
}

.visit-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 40px;
  max-width: 560px;
}

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.section-desc {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.hours-status {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hours-status--open {
  background: rgba(76, 175, 80, 0.18);
  color: #8fd694;
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.hours-status--closing_soon {
  background: rgba(255, 193, 7, 0.15);
  color: #ffd666;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.hours-status--closed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.visit-minimal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.visit-map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #141312;
  box-shadow: var(--shadow-soft);
}

.visit-map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(12, 11, 10, 0.35);
}

.visit-map {
  display: block;
  width: 100%;
  height: clamp(220px, 48vw, 400px);
  border: 0;
  filter: grayscale(30%) contrast(1.08) brightness(0.82) saturate(0.85);
}

.visit-map-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visit-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.visit-map-link:hover,
.visit-map-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  background: rgba(212, 165, 116, 0.12);
}

@media (max-width: 480px) {
  .visit-map-links {
    grid-template-columns: 1fr;
  }
}

.visit-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  background: var(--color-surface-hover);
}

.social-row img {
  width: 22px;
  height: 22px;
}

@media (min-width: 1024px) {
  .visit-inner {
    max-width: 720px;
  }

  .section-head {
    max-width: none;
  }
}

/* ----- Footer ----- */
.site-footer {
  padding: 28px clamp(20px, 5vw, 64px) calc(40px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-footer-credit {
  margin-top: 8px !important;
  font-size: 0.75rem !important;
}

.site-footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.8;
}
