/* ===== AURELIA GALLERY CSS ===== */
/* Aesthetic: Moody magazine grid — dark, high contrast, editorial hover reveals */

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

:root {
  --obsidian: #0d0c0b; --deep: #141210; --surface: #1a1714; --card: #201d19;
  --gold: #c9a96e; --gold-light: #e2c895;
  --cream: #f5ede0; --cream-muted: #d4c4ae; --text: #c8b99a; --text-dim: #7a6e60;
  --border: rgba(201,169,110,0.15);
  --ff-display: 'Cormorant Garamond', serif; --ff-body: 'Montserrat', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html { scroll-behavior: smooth; }
body { background: var(--obsidian); color: var(--cream); font-family: var(--ff-body); font-size: 15px; line-height: 1.7; overflow-x: hidden; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 20px 60px; transition: var(--transition); }
.nav.scrolled { background: rgba(13,12,11,0.95); backdrop-filter: blur(20px); padding: 14px 60px; border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-text { font-family: var(--ff-display); font-size: 28px; font-weight: 600; letter-spacing: 8px; color: var(--gold); line-height: 1; }
.logo-sub { font-size: 9px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--gold); color: var(--obsidian); text-decoration: none; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 28px; transition: var(--transition); }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--gold); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--deep); z-index: 999; display: flex; align-items: center; justify-content: center; transition: right 0.5s cubic-bezier(0.77,0,0.175,1); }
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 20px 0; }
.mobile-menu ul li a { text-decoration: none; font-family: var(--ff-display); font-size: 36px; font-weight: 300; color: var(--cream); transition: color 0.3s; }
.mobile-menu ul li a:hover { color: var(--gold); }
.mobile-menu .mob-cta { display: inline-block; margin-top: 20px; background: var(--gold); color: var(--obsidian) !important; font-family: var(--ff-body) !important; font-size: 12px !important; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 14px 40px; }

/* GALLERY HERO */
.gallery-hero {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 80px 80px;
  gap: 80px;
  background: var(--deep);
  overflow: hidden;
}
.ph-breadcrumb { font-size: 11px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin-bottom: 20px; }
.ph-breadcrumb span { color: var(--gold); }
.gh-title { font-family: var(--ff-display); font-size: clamp(70px,10vw,140px); font-weight: 300; line-height: 1; color: var(--cream); margin-bottom: 20px; }
.gh-title em { font-style: italic; color: var(--gold); display: block; }
.gh-sub { font-size: 14px; color: var(--text-dim); letter-spacing: 2px; max-width: 350px; line-height: 1.8; }
.gh-grid-preview { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 480px; }
.ghp-item { overflow: hidden; }
.ghp-1 { grid-row: span 2; background: linear-gradient(135deg, #1e1814 0%, #2b2218 100%); }
.ghp-2 { background: linear-gradient(135deg, #1a1c1e 0%, #242629 100%); }
.ghp-3 { background: linear-gradient(135deg, #1c1a1e 0%, #28242c 100%); }
.img-placeholder { width: 100%; height: 100%; position: relative; overflow: hidden; }
.img-placeholder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%); }

/* REVEALS */
.reveal-up { opacity: 0; transform: translateY(40px); animation: revealUp 0.9s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* FILTER BAR */
.filter-bar { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 72px; z-index: 900; }
.filter-inner { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 80px; gap: 4px; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; background: none; border: none; color: var(--text-dim);
  font-family: var(--ff-body); font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 20px 24px; cursor: pointer;
  border-bottom: 2px solid transparent; transition: var(--transition);
}
.filter-btn:hover { color: var(--gold); }
.filter-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 6px;
  padding: 6px 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.gallery-item.size-tall { grid-row: span 2; }
.gallery-item.size-wide { grid-column: span 2; }
.gallery-item.hidden { display: none; }

.gi-img { width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.gallery-item:hover .gi-img { transform: scale(1.06); }

/* Colour palettes for placeholder images */
.g-hair-1 { background: linear-gradient(160deg, #1e1814 0%, #2b2218 50%, #1a1410 100%); }
.g-hair-2 { background: linear-gradient(160deg, #201a14 0%, #2c2216 100%); }
.g-hair-3 { background: linear-gradient(160deg, #1c1814 0%, #261e16 100%); }
.g-hair-4 { background: linear-gradient(160deg, #1e1812 0%, #2c2218 100%); }
.g-bridal-1 { background: linear-gradient(160deg, #1e1a14 0%, #2c2418 100%); }
.g-bridal-2 { background: linear-gradient(160deg, #201c14 0%, #2e2618 100%); }
.g-bridal-3 { background: linear-gradient(160deg, #221e16 0%, #30281a 100%); }
.g-studio-1 { background: linear-gradient(160deg, #181614 0%, #221e18 100%); }
.g-studio-2 { background: linear-gradient(160deg, #181614 0%, #201c18 100%); }
.g-nails-1 { background: linear-gradient(160deg, #1c1a1e 0%, #28242c 100%); }
.g-nails-2 { background: linear-gradient(160deg, #1a1a1e 0%, #26262c 100%); }
.g-nails-3 { background: linear-gradient(160deg, #1e1a1e 0%, #2c242c 100%); }
.g-skin-1 { background: linear-gradient(160deg, #1a1c1e 0%, #242628 100%); }
.g-skin-2 { background: linear-gradient(160deg, #1c1c1e 0%, #26262a 100%); }
.g-body-1 { background: linear-gradient(160deg, #1a1e1c 0%, #242c28 100%); }
.g-body-2 { background: linear-gradient(160deg, #1c201e 0%, #282e2c 100%); }
.ig-m-1 { background: linear-gradient(160deg, #1e1814 0%, #2b2218 100%); }
.ig-m-2 { background: linear-gradient(160deg, #1c1a1e 0%, #28242c 100%); }
.ig-m-3 { background: linear-gradient(160deg, #1a1e1c 0%, #242c28 100%); }
.ig-m-4 { background: linear-gradient(160deg, #1e1a14 0%, #2c2418 100%); }

/* Gallery Item Overlay */
.gi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-cat {
  font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px; display: block;
}
.gi-overlay h3 { font-family: var(--ff-display); font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 4px; line-height: 1.2; }
.gi-overlay p { font-size: 11px; color: rgba(213,196,174,0.7); }

/* SECTION TAG */
.section-tag { font-size: 10px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; position: relative; padding-left: 30px; }
.section-tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 1px; background: var(--gold); }

/* INSTAGRAM CTA */
.ig-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 80px;
  background: var(--surface);
}
.ig-cta-text h2 { font-family: var(--ff-display); font-size: clamp(36px,4vw,60px); font-weight: 300; color: var(--cream); margin-bottom: 20px; line-height: 1.15; }
.ig-cta-text h2 em { font-style: italic; color: var(--gold); }
.ig-cta-text p { color: var(--text); font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
.btn-ig {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; background: var(--gold); color: var(--obsidian);
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 32px; transition: var(--transition);
}
.btn-ig:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(201,169,110,0.3); }
.ig-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ig-mini { height: 200px; overflow: hidden; transition: transform 0.5s ease; }
.ig-mini:hover { transform: scale(1.03); }

/* FOOTER */
.footer { background: var(--deep); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 60px; padding: 80px 80px 60px; max-width: 1400px; margin: 0 auto; }
.footer-logo { font-family: var(--ff-display); font-size: 32px; font-weight: 600; letter-spacing: 8px; color: var(--gold); margin-bottom: 14px; }
.footer-brand p { font-size: 12px; color: var(--text-dim); line-height: 1.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border: 1px solid var(--border); color: var(--text-dim); text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--transition); }
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links h4, .footer-contact h4 { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { text-decoration: none; color: var(--text-dim); font-size: 13px; transition: color 0.3s, padding-left 0.3s; }
.footer-links ul li a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--text-dim); margin-bottom: 14px; line-height: 1.6; }
.footer-contact p i { color: var(--gold); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 80px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav { padding: 20px 40px; } .nav.scrolled { padding: 14px 40px; }
  .gallery-hero { grid-template-columns: 1fr; padding: 120px 40px 60px; }
  .gh-grid-preview { height: 300px; }
  .filter-inner { padding: 0 40px; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .ig-cta { grid-template-columns: 1fr; padding: 80px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 40px 40px; }
  .footer-bottom { padding: 20px 40px; }
}
@media (max-width: 768px) {
  .nav { padding: 18px 24px; } .nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; } .hamburger { display: flex; }
  .gallery-hero { padding: 110px 24px 50px; }
  .gh-title { font-size: 60px; }
  .filter-inner { padding: 0 24px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.size-wide { grid-column: span 1; }
  .ig-mini { height: 150px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
