@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Raleway:wght@300;400;500;700&display=swap');

/* ============================================
   RESET
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-card: #1a1a1a;
  --color-accent: #c5e600;
  --color-accent-dim: #9ab800;
  --color-text-primary: #ffffff;
  --color-text-secondary: #b0b0b0;
  --color-overlay: rgba(0, 0, 0, 0.92);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --section-padding: 5rem 1.5rem;
  --gap-gallery: 0.4rem;
  --container-max: 1200px;
  --transition-default: 0.3s ease;
  --header-height: 70px;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 1rem;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  transition: background var(--transition-default);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  height: 40px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--transition-default);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-default);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}

/* Hamburger Menu */
.nav__toggle {
  display: none;
}

.nav__toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.nav__toggle-label span,
.nav__toggle-label span::before,
.nav__toggle-label span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  position: absolute;
  transition: all var(--transition-default);
}

.nav__toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav__toggle-label span::before {
  content: '';
  top: -8px;
}

.nav__toggle-label span::after {
  content: '';
  top: 8px;
}

.nav__toggle:checked ~ .nav__toggle-label span {
  background: transparent;
}

.nav__toggle:checked ~ .nav__toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--color-accent);
}

.nav__toggle:checked ~ .nav__toggle-label span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  padding-top: var(--header-height);
  background: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 230, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__logo {
  max-width: 900px;
  width: 92%;
  margin-bottom: 2rem;
  position: relative;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.hero__edition {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(197, 230, 0, 0.3);
  padding: 0.6rem 2rem;
  display: inline-block;
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */

.section {
  padding: var(--section-padding);
}

.section--alt {
  background: var(--color-bg-secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__highlight {
  color: var(--color-accent);
  font-weight: 400;
}

/* ============================================
   EDITION 2026 SECTION
   ============================================ */

.edition {
  text-align: center;
}

.edition__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.edition__card {
  background: var(--color-bg-card);
  border: 1px solid rgba(197, 230, 0, 0.1);
  padding: 2.5rem 2rem;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  transition: border-color var(--transition-default);
}

.edition__card:hover {
  border-color: rgba(197, 230, 0, 0.3);
}

.edition__card-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.edition__card-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--color-text-primary);
  line-height: 1.4;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-section {
  padding: var(--section-padding);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.gallery-section--alt {
  background: var(--color-bg-secondary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-gallery);
  margin-top: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-card);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-overlay);
  place-items: center;
  cursor: pointer;
}

.lightbox:target {
  display: grid;
}

.lightbox__img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
  cursor: default;
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  z-index: 201;
  transition: color var(--transition-default);
  cursor: pointer;
}

.lightbox__close:hover {
  color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 3rem 1.5rem;
  background: #050505;
  text-align: center;
  border-top: 1px solid rgba(197, 230, 0, 0.08);
}

.footer__credits {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer__credits strong {
  color: var(--color-accent);
  font-weight: 400;
}

.footer__copyright {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(176, 176, 176, 0.5);
  margin-bottom: 1rem;
}

.footer__top-link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dim);
  transition: color var(--transition-default);
}

.footer__top-link:hover {
  color: var(--color-accent);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
  .nav__toggle-label {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav__toggle:checked ~ .nav {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .nav__link {
    font-size: 1rem;
  }

  .hero__logo {
    max-width: 90%;
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .edition__details {
    flex-direction: column;
    align-items: center;
  }

  .edition__card {
    max-width: 100%;
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.3rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --section-padding: 5rem 2rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 1025px) {
  :root {
    --section-padding: 6rem 2rem;
    --gap-gallery: 0.5rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .hero__logo {
    max-width: 900px;
    width: 92%;
  }

  .hero__tagline {
    font-size: 1.5rem;
  }

  .header__logo {
    height: 45px;
  }
}

@media (min-width: 1440px) {
  :root {
    --container-max: 1300px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
