/* ── VARIABLES ── */
:root {
  --navy:#0a192f; --blue:#1e88e5; --ice:#e8f4fd;
  --bg:#f0f4f8; --bg2:#e4ecf4; --white:#fff;
  --gray:#5a7a99; --text:#0d2137;
  --card-shadow: 0 4px 20px rgba(10,25,47,.1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--text); }

/* ── NAV ── */
.g-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,25,47,.08);
  box-shadow: 0 2px 12px rgba(10,25,47,.06);
}
.g-nav-logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--navy);
}
.g-logo-icon { font-size: 1.4rem; }
.g-logo-text { font-size: 1rem; font-weight: 600; }
.g-logo-text strong { color: var(--blue); }
.g-nav-right { display: flex; align-items: center; gap: 1.2rem; }
.g-back {
  font-size: .85rem; color: var(--blue); text-decoration: none; font-weight: 500;
}
.g-back:hover { text-decoration: underline; }

/* Lang switcher (reuse from main) */
.lang-switcher { display: flex; gap: .25rem; }
.lang-btn {
  background: none; border: 1px solid #c8d8e8; color: var(--gray);
  font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  cursor: pointer; transition: all .2s;
}
.lang-btn.active,
.lang-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── HERO ── */
.g-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
  padding: 5rem 2rem 4rem;
  text-align: center; color: #fff;
}
.g-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #7ec8f7; margin-bottom: .8rem;
}
.g-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1; margin-bottom: 1rem;
}
.g-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* ── YEAR TABS ── */
.g-tabs-wrap {
  background: var(--white);
  border-bottom: 2px solid var(--bg2);
  padding: 0 2rem;
  position: sticky; top: 60px; z-index: 90;
}
.g-tabs { display: flex; gap: 0; max-width: 1200px; margin: 0 auto; }
.g-tab {
  padding: 1rem 1.5rem;
  font-size: .9rem; font-weight: 600; color: var(--gray);
  background: none; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; transition: all .2s; margin-bottom: -2px;
}
.g-tab.active,
.g-tab:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ── GALLERY SECTION ── */
.g-section { padding: 3rem 2rem 5rem; }
.g-container { max-width: 1280px; margin: 0 auto; }

.g-year-header { margin-bottom: 2rem; }
.g-year-header h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem;
  color: var(--navy); margin-bottom: .4rem;
}
.g-year-header h2 span { font-size: 1.2rem; color: var(--gray); font-family: 'Inter',sans-serif; font-weight: 400; }
.g-year-sub { font-size: .85rem; color: var(--gray); }

/* ── MASONRY GRID ── */
.g-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
}
.g-item {
  position: relative; overflow: hidden;
  border-radius: 14px; cursor: pointer;
  background: var(--navy);
  box-shadow: var(--card-shadow);
}
.g-item.g-tall  { grid-row: span 2; }
.g-item.g-wide  { grid-column: span 2; }

.g-item img,
.g-item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.g-item:hover img,
.g-item:hover video { transform: scale(1.06); }

.g-hover {
  position: absolute; inset: 0;
  background: rgba(10,25,47,0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.g-item:hover .g-hover { background: rgba(10,25,47,.38); }
.g-zoom { font-size: 2rem; opacity: 0; transition: opacity .3s; }
.g-item:hover .g-zoom { opacity: 1; }

/* Video play button */
.g-play-wrap { background: rgba(10,25,47,.3); }
.g-item:hover .g-play-wrap { background: rgba(10,25,47,.55); }
.g-play {
  font-size: 1.6rem; color: #fff;
  width: 68px; height: 68px;
  background: rgba(30,136,229,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  transition: transform .25s, background .25s;
}
.g-item:hover .g-play { transform: scale(1.1); background: var(--blue); }

/* Badge */
.g-badge {
  position: absolute; bottom: 11px; left: 11px;
  font-size: .7rem; font-weight: 700;
  background: rgba(10,25,47,.65); color: #fff;
  padding: 3px 10px; border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ── LIGHTBOX ── */
.lb-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,15,30,.92);
  align-items: center; justify-content: center; padding: 1rem;
}
.lb-overlay.open { display: flex; }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  font-size: 1.3rem; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; z-index: 10;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.3); }
.lb-img-wrap { max-width: 92vw; max-height: 90vh; }
.lb-img-wrap img { max-width: 92vw; max-height: 90vh; border-radius: 10px; display: block; }

/* ── VIDEO MODAL ── */
.vm-overlay {
  display: none; position: fixed; inset: 0; z-index: 2100;
  background: rgba(5,15,30,.88);
  align-items: center; justify-content: center; padding: 1rem;
}
.vm-overlay.open { display: flex; }
.vm-dialog {
  position: relative; width: 100%; max-width: 960px;
  background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.vm-close {
  position: absolute; top: 10px; right: 14px; z-index: 10;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  font-size: 1.2rem; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; transition: background .2s;
}
.vm-close:hover { background: rgba(255,255,255,.3); }

/* ── FOOTER ── */
.g-footer {
  background: var(--navy); color: rgba(255,255,255,.5);
  text-align: center; padding: 2rem;
  font-size: .82rem;
}
.g-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.g-footer a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .g-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .g-item.g-tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .g-nav { padding: .7rem 1rem; }
  .g-hero { padding: 3.5rem 1rem 3rem; }
  .g-section { padding: 2rem 1rem 3rem; }
  .g-masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-item.g-tall, .g-item.g-wide { grid-row: span 1; grid-column: span 1; }
}
