:root {
  --bg: #08130f;
  --bg-soft: rgba(13, 30, 23, 0.72);
  --card: rgba(18, 40, 31, 0.72);
  --card-border: rgba(130, 255, 196, 0.12);
  --text: #effaf4;
  --muted: #c4dfd1;
  --accent: #57d98c;
  --accent-2: #9bf3c1;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #123226 0%, #07100d 42%, #050808 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(87, 217, 140, 0.22), transparent 18%),
    radial-gradient(circle at 85% 15%, rgba(155, 243, 193, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(87, 217, 140, 0.12), transparent 24%);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(4, 12, 9, 0.58);
  border-bottom: 1px solid rgba(155, 243, 193, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.event-date {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}


.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(155, 243, 193, 0.08);
  color: var(--text);
  border: 1px solid rgba(155, 243, 193, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #042112;
  box-shadow: 0 14px 30px rgba(87, 217, 140, 0.28);
}

.hero {
  padding: 40px 0 14px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(17, 39, 30, 0.86), rgba(10, 21, 17, 0.76));
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(155, 243, 193, 0.12);
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: minmax(140px, 180px);
  gap: 14px;
  align-content: start;
  justify-content: end;
}

.stat-box {
  padding: 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.stat-box span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-2);
}

.stat-box small {
  color: var(--muted);
}

.gallery-section {
  padding: 22px 0 60px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 360px);
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder {
  color: rgba(239, 250, 244, 0.55);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 243, 193, 0.35);
}

.photo-button {
  appearance: none;
  border: 0;
  width: 100%;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

.photo-thumb-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(87, 217, 140, 0.12), rgba(255, 255, 255, 0.03));
}

.photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-card:hover .photo-thumb {
  transform: scale(1.05);
}

.photo-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.photo-name {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-tag {
  flex-shrink: 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(87, 217, 140, 0.14);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.empty-state {
  margin-top: 18px;
  padding: 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 0 0 28px;
  color: rgba(239, 250, 244, 0.66);
}

.lightbox {
  width: min(1120px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: rgba(2, 5, 4, 0.94);
  color: var(--text);
  border-radius: 26px;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  min-height: min(82vh, 820px);
}

.lightbox figure {
  margin: 0;
  padding: 34px 12px 22px;
}

.lightbox img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 2px 0;
  color: var(--muted);
}

.lightbox figcaption span {
  font-weight: 700;
  color: var(--text);
}

.lightbox figcaption a {
  color: var(--accent-2);
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
}

.lightbox-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}

.lightbox-nav {
  justify-self: center;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(155, 243, 193, 0.18);
}

@media (max-width: 860px) {
  .header-inner,
  .section-head,
  .hero-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    align-items: start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: minmax(140px, 180px);
    justify-content: start;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 26px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .lightbox {
    width: calc(100% - 16px);
    border-radius: 18px;
  }

  .lightbox-content {
    grid-template-columns: 1fr;
    padding: 56px 12px 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox figcaption {
    flex-direction: column;
    align-items: flex-start;
  }
}


.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.album-card {
  position: relative;
  display: block;
  min-height: 350px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 243, 193, 0.18);
  background: linear-gradient(180deg, rgba(10, 28, 21, 0.88), rgba(4, 12, 10, 0.94));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 243, 193, 0.34);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
}

.album-media,
.album-overlay,
.album-content {
  position: absolute;
  inset: 0;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.02);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.album-card:hover .album-cover {
  transform: scale(1.06);
  opacity: 0.68;
}

.album-overlay {
  background:
    linear-gradient(180deg, rgba(8, 19, 15, 0.02) 0%, rgba(8, 19, 15, 0.07) 38%, rgba(3, 9, 7, 0.56) 100%),
    radial-gradient(circle at 82% 10%, rgba(155, 243, 193, 0.04), transparent 18%),
    radial-gradient(circle at 22% 82%, rgba(87, 217, 140, 0.03), transparent 20%);
}

.album-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.album-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.album-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(87, 217, 140, 0.14);
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.album-pill-count {
  background: rgba(255, 255, 255, 0.08);
}

.album-bottom h3 {
  margin-bottom: 8px;
  font-size: 1.75rem;
  line-height: 1.1;
}

.album-bottom p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 680px) {
  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-card {
    min-height: 300px;
  }

  .album-bottom h3 {
    font-size: 1.45rem;
  }
}
