@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0a;
  color: #ede9e3;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #3a3530; border-radius: 0; }

/* Typography */
.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Nav links */
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #78716c;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c4a870;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #ede9e3;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #c4a870;
}

.nav-link.active::after {
  width: 100%;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}

/* Section label */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #57534e;
}

/* Gold accent */
.text-gold {
  color: #c4a870;
}

/* Gallery grid - masonry columns */
.gallery-grid {
  columns: 2;
  column-gap: 3px;
}

@media (min-width: 640px) {
  .gallery-grid {
    columns: 3;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    columns: 4;
  }
}

.gallery-grid img {
  display: block;
  width: 100%;
  margin-bottom: 3px;
  break-inside: avoid;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-grid img:hover {
  opacity: 0.75;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #78716c;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

#lightbox-close:hover {
  color: #ede9e3;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #57534e;
  font-size: 22px;
  cursor: pointer;
  padding: 20px 24px;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-nav:hover {
  color: #ede9e3;
}

#lightbox-prev { left: 0; }
#lightbox-next { right: 0; }

/* Social links */
.social-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #57534e;
  text-decoration: none;
  transition: color 0.25s ease;
}

.social-link:hover {
  color: #c4a870;
}

/* Logo filter for dark background (SVG has black default fills) */
.logo-img {
  filter: brightness(0) invert(1);
}

/* Content links */
a.content-link {
  color: #c4a870;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 168, 112, 0.3);
  transition: border-color 0.25s;
}

a.content-link:hover {
  border-color: #c4a870;
}
