/* ── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:            #0a0a0a;
  --surface:       #111111;
  --card:          #181818;
  --card-hover:    #202020;
  --border:        #242424;
  --border-light:  #303030;

  --red:           #cc0000;
  --red-hover:     #e60000;
  --red-dim:       rgba(204, 0, 0, 0.15);
  --red-glow:      rgba(204, 0, 0, 0.4);

  --silver:        #a8a8a8;
  --silver-light:  #d0d0d0;
  --white:         #f0f0f0;
  --text:          #e0e0e0;
  --muted:         #666;

  --nav-h:         68px;
  --radius:        4px;
  --radius-lg:     8px;
  --transition:    0.2s ease;

  --font-display:  'Bebas Neue', sans-serif;
  --font-ui:       'Rajdhani', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  background: transparent;
}

/* ── UTILITY ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-red { color: var(--red); }
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.gallery-page-section { padding-top: 32px; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid var(--border-light);
  color: var(--silver-light);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--silver); color: var(--white); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-accent {
  font-size: 0.65rem;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-cta:hover { background: var(--red); color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 50%, #111 100%);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-bg img.loaded,
.hero-bg img.active { opacity: 0.5; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.4) 60%,
    rgba(10,10,10,0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 700px;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-title-red { color: var(--red); }
.hero-tagline {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--silver);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ── SECTION HEADER ─────────────────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
}
.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ── GALLERY GRID ───────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}
.gallery-grid.view-large {
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--silver-light);
  text-transform: uppercase;
}
.gallery-skeleton {
  aspect-ratio: 3 / 2;
  background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 50%, var(--card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.gallery-meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.gallery-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px;
}
.gallery-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 1rem;
}
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ── ABOUT SECTION ──────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.about-photo-wrap {
  position: relative;
  padding-bottom: 24px;
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}
.about-photo-badge {
  position: absolute;
  bottom: 0;
  right: -12px;
  background: var(--red);
  padding: 16px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(204,0,0,0.4);
}
.about-badge-line1 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.about-badge-line2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-body {
  color: var(--silver);
  margin-top: 20px;
  max-width: 600px;
  line-height: 1.8;
}
.about-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  padding: 20px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 160px;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
}
.stat-card-accent { border-color: var(--red); }
.stat-card-accent::before { width: 100%; opacity: 0.05; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}
.stat-plus { color: var(--red); }
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--silver);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── CONTACT SECTION ────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.contact-intro {
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--silver-light);
}
.contact-icon { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.contact-social { margin-top: 40px; }
.social-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  transition: border-color var(--transition), color var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { border-color: var(--red); color: var(--white); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: var(--card); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-footer { display: flex; flex-direction: column; gap: 12px; }
.form-status {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-align: center;
}
.form-status.success { color: #4caf50; }
.form-status.error { color: var(--red); }

/* ── PAGE HEADER (gallery.html) ─────────────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 48px) 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ── FILTER BAR ─────────────────────────────────────────────────────────── */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.filter-albums {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--silver); color: var(--white); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-view { display: flex; gap: 4px; }
.view-btn {
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: all var(--transition);
}
.view-btn svg { width: 16px; height: 16px; display: block; }
.view-btn.active,
.view-btn:hover { color: var(--white); border-color: var(--silver); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

/* ── LIGHTBOX ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[aria-hidden="true"] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(8px);
}
.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--red); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--silver);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    align-items: flex-start;
  }
  .nav-toggle { display: flex; }

  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(48px, 12vw, 80px); }

  .section-head { flex-direction: column; align-items: flex-start; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { max-width: 320px; }
  .about-photo-badge { right: 0; }
  .stat-card { min-width: 140px; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero-actions { flex-direction: column; }
}
