:root {
  --bg: #1f1f1f;
  --panel: #252525;
  --panel-dark: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f3;
  --muted: #c6c6c6;
  --red: #ff1a1a;
  --blue: #174792;
  --blue-dark: #102f61;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

img {
  display: block;
  width: 100%;
}

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

button {
  font: inherit;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 56px;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-brand {
  position: absolute;
  left: 24px;
  width: 36px;
  height: 36px;
}

.site-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.section-tag,
.page-title,
.section-title,
.slider-caption {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.site-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #f3f3f3;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
}

/* ── Page hero ── */
.page-hero {
  padding: 52px 20px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-dark);
}

.page-hero-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-tag {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--text);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
}

/* ── Content sections ── */
.content-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 24px;
  color: var(--text);
}

/* ── Featured slider ── */
.slider-wrap {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}

[data-slider] {
  position: relative;
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}

.slider-caption {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}

.slider-buttons {
  display: flex;
  gap: 8px;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* ── Photo grid ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  cursor: pointer;
}

.photo-item img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s;
  display: flex;
  align-items: flex-end;
}

.photo-item:hover .photo-overlay {
  background: rgba(0,0,0,0.35);
}

.photo-label {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.photo-item:hover .photo-label {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section divider ── */
.section-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
}

.lightbox-inner img {
  max-height: calc(100vh - 80px);
  width: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}

.lightbox-close:hover {
  color: #fff;
}

/* ── Footer ── */
.site-footer {
  padding: 22px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(243, 243, 243, 0.3);
  border-top: 1px solid var(--line);
}

/* ── Responsive ── */
@media (max-width: 920px) {
  .site-header {
    justify-content: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 72px;
  }

  .site-nav {
    display: grid;
    gap: 10px;
  }

  .slide img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .site-brand {
    left: 18px;
  }

  .slide img {
    height: 240px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-item img {
    height: 160px;
  }
}
