/* ── Fonts ─────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'KronaOne';
  src: url('../../_assets/fonts/KronaOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../../_assets/fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../../_assets/fonts/Manrope-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────────────────────── */

:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.60);
  --text-dim: rgba(255, 255, 255, 0.40);
  --border: rgba(255, 255, 255, 0.18);
  --card-bg: #0d0d0d;
  --card-border: rgba(255, 255, 255, 0.12);

  --bg-secondary: #1a1a1a;
  --text-secondary: #7b7b7b;

  --font-display: 'KronaOne', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --nav-h: 64px;
  --section-px: 80px;  /* floor padding; auto-grows to maintain 1160px max content */
  --max-w: 1160px;

  /* Shorthand: grows beyond --section-px to keep content ≤ 1160px wide */
  --cx: max(var(--section-px), calc((100% - var(--max-w)) / 2));
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Cardess visibility helper */
.hidden-default { display: none !important; }

/* ── Navbar ────────────────────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--cx);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-tabs {
  display: flex;
  gap: 32px;
}

.model-tab {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.model-tab:hover { color: var(--text); }

.model-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.navbar-logo {
  display: flex;
  justify-content: center;
}

.navbar-logo img {
  height: 28px;
  width: auto;
}

.lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.lang-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

/* Fixed bg — sections scroll over it */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.50) 100%);
  pointer-events: none;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--max-w);
  padding: calc(var(--nav-h) + 120px) var(--section-px) 0;
  animation: hero-enter 0.5s ease-out both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  max-width: 800px;
}

/* ── Pill / outline button ─────────────────────────────────────────────────── */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* ── Features ──────────────────────────────────────────────────────────────── */

.features {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 96px var(--cx);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap, 24px);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.feature-img-wrap {
  margin-top: 8px;
  border-radius: 15px;
  overflow: hidden;
}

.features .feature-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1) !important;
  will-change: transform;
  transition: transform 800ms ease !important;
}

.features .feature:hover .feature-img-wrap img {
  transform: scale(1.2) !important;
}

/* ── Gallery ───────────────────────────────────────────────────────────────── */

.gallery-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding-top: 80px;
  padding-bottom: 100px;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--cx) 32px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.1;
}

.gallery-arrows {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 22px;
  transition: border-color 0.2s, background 0.2s;
}

.gallery-arrow:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.06);
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Spacer aligns first image with the section title — more reliable than padding-left on scroll containers */
.gallery-spacer {
  flex: 0 0 var(--cx);
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track img {
  /* Each image ≈ half the 1160px container width minus half the gap */
  flex: 0 0 calc(min(100vw, var(--max-w)) / 2 - 10px);
  height: 480px;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 20px;
}

/* ── Event CTA ─────────────────────────────────────────────────────────────── */

.event-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 96px var(--cx);
}

.event-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.event-badge-logo {
  height: 48px;
  width: auto;
}

.event-divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border);
}

.event-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
}

.event-date {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: -8px;
}

.event-card > p:last-of-type {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px var(--cx);
  border-top: 1px solid var(--border);
}

.footer-logo img {
  height: 22px;
  width: auto;
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  justify-self: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* ── Scroll fade-in ────────────────────────────────────────────────────────── */

.scroll-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.scroll-fade.scroll-fade-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ───────────────────────────────────────────────────────────── */

.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #000;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu-header {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-px);
}

.mobile-menu-header img { height: 28px; width: auto; }

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.mmenu-divider {
  width: 100%;
  height: 1px;
  background: #656565;
  border: none;
  margin: 0;
}

.mmenu-tab {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  padding: 20px 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.mmenu-tab.active { opacity: 1; }

.mmenu-langs {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 0;
}

.mmenu-lang {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.2s;
  min-width: 60px;
  text-align: center;
}

.mmenu-lang.active { opacity: 1; }

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root { --section-px: 40px; }

  .gallery-track img {
    flex: 0 0 calc(min(100vw, var(--max-w)) / 2 - 10px);
    height: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-px: 20px;
    --nav-h: 56px;
  }

  /* Navbar: logo left, hamburger right */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-tabs,
  .lang-switcher { display: none; }

  .mobile-hamburger { display: flex; }

  .mobile-menu,
  .mobile-menu-backdrop { display: block; }

  .hero-content {
    padding-top: calc(var(--nav-h) + 80px);
    gap: 28px;
  }

  .features-grid { grid-template-columns: 1fr; gap: 48px; }

  .gallery-section { padding-top: 56px; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gallery-track img { flex: 0 0 80vw; height: 240px; }

  .event-section { padding-top: 56px; padding-bottom: 56px; }
  .event-card { padding: 40px 24px; gap: 20px; }

  .footer {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-logo { display: flex; justify-content: center; }
  .footer-links { justify-content: center; }
}

/* ── PLP ─────────────────────────────────────────────────────────────────── */

.section-container {
    position: relative;
    margin: 58px auto 50px auto;
    max-width: 1184px;  /* 1136px + padding */
}
.section-container,
.header {
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
  .section-container,
  .indent-container,
  .header {
    padding-left: 32px;
    padding-right: 32px;
  }
  .section-container {
    margin-top: 80px;
    margin-bottom: 50px;
    max-width: 1200px;  /* 1136px + padding */
  }
}

@media (min-width: 1024px) {
  .section-container,
  .indent-container  {
    padding-left: 64px;
    padding-right: 64px;
  }
  .section-container {
    max-width: 1264px;  /* 1136px + padding */
  }
}

@media (min-width: 768px) {
    .section-container .heading-container {
        margin-bottom: 36px;
    }
}