
/* ── TOKENS ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --deep: #0D0B10;
  --surface: #13111A;
  --surface2: #1C1925;
  --purple: #6B3FA0;
  --text: #F0EDE8;
  --text-muted: #A89E90;
  --border: rgba(255,255,255,0.08);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,11,16,0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center;
  gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--deep) !important;
  padding: 10px 24px !important; border-radius: 40px !important;
  font-weight: 500 !important; text-transform: none !important;
  letter-spacing: 0 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: var(--transition); }

/* ── HERO ── */
.gallery-hero {
  min-height: 56vh; position: relative;
  display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 140px 5% 80px; overflow: hidden;
}
.gallery-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(107,63,160,0.42) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 80% 80%, rgba(201,168,76,0.1) 0%, transparent 60%),
    linear-gradient(160deg, #0D0B10 0%, #130E1E 60%, #0D0B10 100%);
}
.gallery-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.gallery-hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  padding: 7px 18px; border: 1px solid rgba(201,168,76,0.25);
  border-radius: 40px; background: rgba(201,168,76,0.06);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.5); }
}
.gallery-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 1.25rem;
}
.gallery-hero h1 em { font-style: italic; color: var(--gold); }
.gallery-hero p {
  font-size: 1rem; color: var(--text-muted);
  font-weight: 300; max-width: 480px;
  margin: 0 auto; line-height: 1.8;
}
.breadcrumb-bar {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 2.5rem; font-size: 0.78rem;
  color: var(--text-muted); align-items: center;
  position: relative; z-index: 2;
}
.breadcrumb-bar a { color: var(--gold); text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ── FILTER TABS ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 5%;
  position: sticky; top: 72px; z-index: 100;
}
.filter-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 7px 20px;
  border-radius: 40px; font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 400; cursor: pointer;
  transition: var(--transition); letter-spacing: 0.04em;
}
.filter-btn:hover { border-color: rgba(201,168,76,0.3); color: var(--text); }
.filter-btn.active {
  background: var(--gold); border-color: var(--gold);
  color: var(--deep); font-weight: 500;
}

/* ── MASONRY GALLERY ── */
.gallery-section { background: var(--deep); padding: 60px 5% 100px; }
.gallery-inner { max-width: 1300px; margin: 0 auto; }

/* CSS masonry using columns */
.masonry-grid {
  column-count: 3;
  column-gap: 16px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.masonry-item img {
  width: 100%; height: auto;
  display: block;
  filter: brightness(0.88);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.masonry-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.masonry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,11,16,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.25rem;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.3rem;
  line-height: 1.2;
}
.masonry-overlay span {
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}

/* Zoom icon on hover */
.masonry-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,11,16,0.7); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 0.9rem;
  opacity: 0; transition: opacity 0.3s;
}
.masonry-item:hover .masonry-zoom { opacity: 1; }

/* Featured wide item */
.masonry-item.wide {
  /* handled naturally by tall images in column layout */
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(7,5,10,0.96);
  z-index: 9999; display: flex;
  align-items: center; justify-content: center;
  padding: 24px; opacity: 0;
  pointer-events: none; transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-inner {
  position: relative; max-width: 1000px; width: 100%;
  transform: scale(0.9); transition: transform 0.35s;
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-img {
  width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 12px;
  display: block;
}
.lightbox-caption {
  text-align: center; margin-top: 1rem;
  font-size: 0.875rem; color: var(--text-muted); font-weight: 300;
}
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none;
  color: rgba(255,255,255,0.6); font-size: 2rem;
  cursor: pointer; transition: color 0.2s; line-height: 1;
}
.lightbox-close:hover { color: #fff; }

.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 1.1rem;
  transition: var(--transition); backdrop-filter: blur(6px);
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.4); color: var(--gold); }

/* ── CTA STRIP ── */
.gallery-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 5%; text-align: center;
}
.gallery-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; margin-bottom: 0.8rem;
}
.gallery-cta h2 em { font-style: italic; color: var(--gold); }
.gallery-cta p {
  color: var(--text-muted); font-size: 0.95rem;
  font-weight: 300; max-width: 460px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--deep);
  padding: 13px 32px; border-radius: 40px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }
.btn-outline {
  display: inline-block; padding: 12px 28px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 40px;
  color: var(--gold); font-size: 0.9rem; text-decoration: none;
  transition: var(--transition); background: transparent;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }

/* ── FOOTER ── */
.footer { background: var(--deep); border-top: 1px solid var(--border); padding: 80px 5% 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600; color: var(--text); margin-bottom: 1rem;
}
.footer-brand-name span { color: var(--gold); }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; transition: var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 300; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto 2rem; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.8rem; font-weight: 300; max-width: 1200px; margin: 0 auto; }
.footer-bottom span { color: var(--gold); }

/* ── FADE UP ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lightbox-prev { left: -52px; }
  .lightbox-next { right: -52px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; background: var(--deep);
    flex-direction: column; justify-content: center;
    align-items: center; gap: 2.5rem;
    transform: translateX(100%); transition: transform 0.4s ease; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .masonry-grid { column-count: 2; }
  .lightbox-prev { left: -44px; }
  .lightbox-next { right: -44px; }
}
@media (max-width: 640px) {
  .gallery-hero { padding: 120px 5% 60px; }
  .gallery-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .masonry-grid { column-count: 1; }
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .filter-inner { gap: 0.35rem; }
  .filter-btn { padding: 6px 14px; font-size: 0.75rem; }
}
