/* Angel Light Studio — Photography Portfolio & Storefront */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --border: #2a2a2a;
  --text: #f0ede8;
  --text-2: #9a9590;
  --text-3: #5a5550;
  --accent: #c9a86c;
  --accent-dim: rgba(201, 168, 108, 0.08);
  --accent-border: rgba(201, 168, 108, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.15) 0%,
    rgba(10,10,10,0.05) 40%,
    rgba(10,10,10,0.6) 70%,
    rgba(10,10,10,1) 100%
  ), url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_164651/448f525d-dff6-452f-878c-40c2af8d4002.jpg');
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Category filter */
.gallery-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}
.gallery-title {
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.filter-bar {
  display: flex;
  gap: 4px;
  align-items: center;
}
.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
}
.filter-btn:hover { color: var(--text); border-color: var(--text-3); }
.filter-btn.active {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  font-weight: 600;
}

/* Gallery grid */
.gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.photo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}
.photo-card:hover { border-color: var(--text-3); }
.photo-img-wrap {
  position: relative;
  padding-bottom: 120%;
  overflow: hidden;
}
.photo-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.photo-card:hover .photo-img-wrap img { transform: scale(1.04); }
.photo-info {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.photo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.photo-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.buy-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}
.buy-btn:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,10,0.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 900px;
  max-height: 75vh;
  width: 100%;
  object-fit: contain;
  border: 1px solid var(--border);
}
.lightbox-info {
  text-align: center;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lightbox-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}
.lightbox-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 24px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-close:hover { color: var(--text); border-color: var(--text-3); }

/* About */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}
.about-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.about-heading {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 32px;
}
.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 24px;
}
.about-text:last-of-type { margin-bottom: 0; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-2); }

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  .nav-inner { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; }
  .gallery-header { padding: 80px 24px 32px; }
  .gallery-grid { padding: 0 24px 60px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .about-inner { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; padding: 40px 24px; }
  .lightbox { padding: 24px; }
  .lightbox-img { max-height: 60vh; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; }
  .lightbox-info { flex-direction: column; gap: 12px; }
}