:root {
  /* --- Color Palette --- */
  --bg: #0e0c12;               /* Deep twilight purple background */
  --panel: #181320;            /* Slightly lighter panel purple */
  --text: #f2f2f2;             /* Soft white text */
  --muted: #b6b0c3;            /* Muted lavender-gray for secondary text */
  --accent: #7fff8a;           /* Bright green accent (buttons, highlights) */
  --accent-dark: #3ec76a;      /* Darker green for hover states */
  --chip: #211b2d;             /* Purple chip background */
  --chip-active: #2f2540;      /* Active purple chip */
  --shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* --- Base Styles --- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(24, 19, 32, .9), rgba(24, 19, 32, .6) 70%, transparent);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .3px;
}

.brand-mark { font-size: 1.3rem; }
.brand-name { font-size: 1.05rem; }

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  transition: color .2s ease;
}
.nav a:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  background: url('../assets/photos/hero.jpg') center/cover no-repeat;
  border-bottom: 1px solid #241b33;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 10, 25, .45), rgba(20, 10, 25, .75) 60%, rgba(10, 5, 15, .9));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 6rem 0;
}

.hero h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: .4px;
  color: var(--accent);
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.btn {
  display: inline-block;
  padding: .8rem 1.1rem;
  background: var(--accent);
  color: #0e0c12;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--accent);
  color: var(--bg);
}

/* --- Chips / Filters --- */
.filters { padding: 1.25rem 0 0; }
.filter-group { display: flex; gap: .6rem; flex-wrap: wrap; }

.chip {
  border: 1px solid #3a324d;
  background: var(--chip);
  padding: .45rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .2px;
  transition: all .2s ease;
}
.chip.active {
  background: var(--chip-active);
  color: var(--accent);
  border-color: var(--accent);
}
.chip:hover { color: var(--accent); }

/* --- Gallery Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .9rem;
  padding: 1.25rem 0 3rem;
}

.card {
  grid-column: span 4;
  background: var(--panel);
  border: 1px solid #2a2236;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateZ(0);
}
.card:hover img { transform: scale(1.02); }
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .3s ease;
}

.card video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: none;
  outline: none;
  display: block;
}


.card .meta {
  padding: .85rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tag {
  color: var(--accent);
  font-size: .9rem;
}
.caption {
  color: var(--text);
  font-weight: 600;
  font-size: .98rem;
}

/* --- About --- */
.about {
  padding: 1rem 0 3rem;
}
.about-card {
  background: linear-gradient(180deg, #191328, #14101f);
  border: 1px solid #2a2236;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.about-card strong {
  color: var(--accent);
}

/* --- Contact --- */
.contact {
  padding: .5rem 0 4rem;
  text-align: center;
}
.contact h2 {
  color: var(--accent);
}
.contact .links {
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(15, 10, 20, .9);
  z-index: 100;
}
.lightbox.open { display: grid; }

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  border-radius: 12px;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.lightbox-caption {
  margin-top: .6rem;
  color: var(--accent);
  text-align: center;
  font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 20, 45, .7);
  color: var(--accent);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: var(--shadow);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  transform: none;
  font-size: 2rem;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #2a2236;
  padding: 1.2rem 0;
  color: var(--muted);
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .card { grid-column: span 6; }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .card { grid-column: span 12; }
  .card img { height: 240px; }
}
