/* ==========================================================================
   SIBERIA CLUB - HOME PAGE SECTIONS
   Hero, marquee, feature tiles, expanding food gallery, menu cards.
   Loaded by Views/Home/Index.cshtml on top of theme.css (no Bootstrap here).
   ========================================================================== */

* { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h2 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
section { padding: 110px 0; }
.eyebrow { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 12px; }
.section-heading { text-align: center; max-width: 600px; margin: 0 auto 50px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 34px; font-weight: 600; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: 1px solid var(--color-ink); transition: var(--transition); font-family: var(--font-body); background: transparent; color: var(--color-ink); }
.btn--dark { background: var(--color-ink); color: var(--color-bg); }
.btn--dark:hover { opacity: 0.8; }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: #17171a; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; padding: 0; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,0.55); }
.hero__content { position: relative; z-index: 2; color: #fff; padding: 0 24px; }
.hero__logo { width: clamp(150px, 22vw, 230px); height: auto; margin: 0 auto 14px; filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5)); }
.hero__heading { font-size: clamp(3.5rem, 12vw, 8rem); letter-spacing: 10px; margin-bottom: 12px; }
.hero__subheading { font-size: 1.05rem; opacity: 0.9; max-width: 460px; margin: 0 auto 34px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 54px; }
.hero__scroll::after { content: ''; display: block; width: 1px; height: 54px; background: #fff; animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; opacity: 1; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--color-ink); color: var(--color-bg); overflow: hidden; padding: 18px 0; white-space: nowrap; direction: ltr; }
.marquee__track { display: inline-flex; gap: 40px; animation: scrollMarquee 26s linear infinite; }
.marquee__item { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.85; }
.marquee__item::after { content: '\2744'; margin-inline-start: 40px; color: var(--color-accent); opacity: 0.9; }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature tiles ---------- */
.tiles { padding: 100px 0 0; }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.05) 55%); }
.tile__label { position: absolute; inset-inline: 24px; bottom: 24px; z-index: 1; }
.tile__label h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tile__label span { display: block; margin-top: 6px; font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.tile__label span::after { content: ' \2192'; }
[dir="rtl"] .tile__label span::after { content: ' \2190'; }

/* ---------- Gallery (expanding panels) ---------- */
.gallery__hint { display: none; }
.gallery__panels { display: flex; gap: 6px; height: 560px; }
.gallery-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer; border-radius: 3px; outline: none; transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-panel.expanded { flex: 7; }
.gallery-panel:focus-visible { box-shadow: 0 0 0 2px var(--color-accent); }
.gallery-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter 0.9s ease; }
.gallery-panel.expanded img { filter: grayscale(0); }
.gallery-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.15) 100%); }
.gallery-panel__tag { position: absolute; inset-inline-start: 18px; bottom: 20px; z-index: 1; color: #fff; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); transition: writing-mode 0s 0.35s, transform 0.5s ease; white-space: nowrap; }
.gallery-panel.expanded .gallery-panel__tag { writing-mode: horizontal-tb; transform: none; bottom: 70px; transition: bottom 0.5s ease; }
.gallery-panel__name { position: absolute; inset-inline: 18px; bottom: 20px; z-index: 1; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s; }
.gallery-panel.expanded .gallery-panel__name { opacity: 1; transform: translateY(0); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox__content { max-width: 880px; width: 100%; }
.lightbox__content img { width: 100%; max-height: 75vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: 32px; font-size: 2.2rem; background: none; border: none; color: #fff; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; }
.lightbox__nav:hover { background: var(--color-accent); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__caption { color: #ddd; margin-top: 16px; font-size: 0.9rem; }

/* ---------- Menu (category tabs + food cards) ---------- */
.menu { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.menu__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.menu__tab { background: none; border: 1px solid var(--color-border); border-radius: 40px; padding: 10px 24px; color: var(--color-muted); cursor: pointer; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; transition: var(--transition); }
.menu__tab:hover { color: var(--color-ink); border-color: var(--color-ink); }
.menu__tab.active { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-bg); }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.menu__grid[hidden] { display: none; }
.dish { animation: fadeIn 0.5s ease both; }
.dish__image { aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; margin-bottom: 14px; }
.dish__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.dish:hover .dish__image img { transform: scale(1.06); }
.dish__row { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--color-border); height: 1px; }
.dish__price { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-accent); }
.menu__cta { text-align: center; margin-top: 54px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }


/* ---------- Responsive (home sections) ---------- */
@media (max-width: 960px) {
  .tiles__grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16/10; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__panels { height: 460px; }
}
@media (max-width: 640px) {
  /* The expanding-panel gallery runs top-to-bottom instead of side-to-side. */
  .gallery__panels { flex-direction: column; height: auto; gap: 8px; }
  .gallery-panel { flex: none; height: 76px; transition: height 0.6s ease; }
  .gallery-panel.expanded { height: 380px; }
  .gallery-panel__tag { writing-mode: horizontal-tb; transform: none; bottom: 16px; }
  .gallery-panel.expanded .gallery-panel__tag { bottom: 64px; }
}
@media (max-width: 560px) {
  section { padding: 70px 0; }
  .tiles { padding-top: 70px; }
  .hero__heading { letter-spacing: 5px; }
  .menu__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__scroll::after { animation: none; }
}

/* ---------- Menus (restaurant + cafe PDF cards) ---------- */
.menus__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.menu-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.16); }
.menu-card__cover { display: block; position: relative; height: 300px; overflow: hidden; background: #111; }
.menu-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1); }
.menu-card:hover .menu-card__cover img { transform: scale(1.05); }
.menu-card__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--color-surface) 0%, var(--color-surface) 6%, rgba(0,0,0,0) 55%); }
.menu-card__body { position: relative; padding: 14px 32px 34px; text-align: center; z-index: 1; }
.menu-card__kicker { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 6px; }
.menu-card__body h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 20px; }
.menu-card__hint { color: var(--color-muted); font-size: 0.88rem; margin-bottom: 18px; }

/* Language / PDF buttons (shared by menu cards and brand panels) */
.lang-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lang-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border: 1px solid var(--color-ink); border-radius: 40px; font-size: 0.9rem; font-weight: 600; color: var(--color-ink); transition: var(--transition); }
.lang-link small { font-size: 0.62rem; letter-spacing: 1.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px; background: var(--color-accent); color: #fff; }
.lang-link:hover { background: var(--color-ink); color: var(--color-bg); transform: translateY(-2px); }
.lang-link--wide { padding-inline: 34px; }

/* ---------- New brands (always dark, in both themes) ---------- */
.brands { position: relative; overflow: hidden; background: #0d0d0f; color: #f3f2ee; }
.brands::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(188,140,76,0.22), transparent 70%); pointer-events: none; }
.brands .site-container { position: relative; }
.section-heading--wide { max-width: 760px; }
.brands__badge { display: inline-block; margin-bottom: 18px; padding: 6px 20px; border-radius: 40px; background: linear-gradient(120deg, #c89a5a, #f0d28a, #c89a5a); background-size: 200% 100%; color: #1a1408; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; animation: badgeShine 3.5s linear infinite; }
@keyframes badgeShine { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.brands__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.brand { --brand-accent: #d4af37; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 420px; padding: 40px 34px; border: 1px solid color-mix(in srgb, var(--brand-accent) 45%, transparent); border-radius: 6px; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.brand::before { content: ''; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, transparent); border-radius: 3px; pointer-events: none; }
.brand:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(0,0,0,0.55), 0 0 40px color-mix(in srgb, var(--brand-accent) 18%, transparent); }
.brand--expensive { --brand-accent: #d4af37; background: radial-gradient(90% 80% at 85% 10%, rgba(212,175,55,0.16), transparent 60%), linear-gradient(145deg, #050505, #17120a); }
.brand--lokma { --brand-accent: #f2b632; background: radial-gradient(90% 80% at 85% 10%, rgba(242,182,50,0.16), transparent 60%), linear-gradient(145deg, #0a1124, #14233f); }
.brand__content { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
.brand .lang-links { flex-direction: column; align-items: stretch; width: 100%; max-width: 190px; }
.brand .lang-link { justify-content: space-between; }
.brand__logo { width: 124px; height: 124px; margin-bottom: 18px; border: 2px solid var(--brand-accent); border-radius: 14px; overflow: hidden; box-shadow: 0 0 28px color-mix(in srgb, var(--brand-accent) 35%, transparent); background: #000; }
.brand__logo--round { border-radius: 50%; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: 2px; color: var(--brand-accent); margin-bottom: 6px; }
.brand__tagline { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; opacity: 0.9; margin-bottom: 22px; }
.brand__hint { font-size: 0.8rem; opacity: 0.65; margin-bottom: 14px; }
.brand .lang-link { border-color: var(--brand-accent); color: #f3f2ee; padding: 10px 18px; font-size: 0.85rem; }
.brand .lang-link small { background: var(--brand-accent); color: #14100a; }
.brand .lang-link:hover { background: var(--brand-accent); color: #14100a; }
.brand .lang-link:hover small { background: #14100a; color: var(--brand-accent); }
.brand__cover { position: relative; z-index: 1; flex: 0 0 38%; max-width: 210px; border: 1px solid var(--brand-accent); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.6); transform: rotate(4deg); transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
[dir="rtl"] .brand__cover { transform: rotate(-4deg); }
.brand:hover .brand__cover { transform: rotate(0) scale(1.04); }
.brand__cover { aspect-ratio: 612 / 792; background: #000; }
.brand__cover img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .menus__grid, .brands__grid { grid-template-columns: 1fr; }
  .menu-card__cover { height: 260px; }
}
@media (max-width: 560px) {
  .menu-card__body { padding-inline: 20px; }
  .brand { flex-direction: column; padding: 34px 20px; min-height: 0; }
  .brand__cover { flex: none; width: 56%; max-width: 220px; }
  .brand__content { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__badge { animation: none; }
  .brand, .brand__cover, .menu-card { transition: none; }
}
