:root {
  --bg: #070707;
  --surface: #121212;
  --surface-soft: #1a1a1a;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f7f7f7;
  --text-muted: #b9b9b9;
  --gold: #d4af37;
  --gold-soft: #f0d77c;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(var(--max-width), calc(100% - 2.4rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(7, 7, 7, 0.9);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 18px; }
.brand-link { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.07em; }
.brand-mark { color: var(--gold); font-size: 0.82rem; }
.nav-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-link.active, .nav-link:hover { color: var(--text); }
.nav-cta {
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.3rem; }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.9rem 1.2rem; text-decoration: none; border-top: 1px solid rgba(255,255,255,0.06); }

.hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.78)),
    var(--hero-image, url('/assets/logos/HeroImage/Eran.Visuals-Logo.png')) center / cover no-repeat;
}
.hero-content { padding: 5.2rem 0 4.6rem; max-width: 760px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; margin-bottom: 0.8rem; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 5.5rem); font-family: 'Cormorant Garamond', serif; line-height: 0.95; }
.hero p { color: #e0e0e0; max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.72rem 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}
.btn-primary { background: var(--gold); color: #111; font-weight: 600; border: 1px solid var(--gold); }
.btn-secondary { border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-disabled { opacity: 0.6; pointer-events: none; }

.section { padding: 4.4rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.9rem, 4vw, 3.4rem); font-family: 'Cormorant Garamond', serif; line-height: 1; }
.section-copy { color: var(--text-muted); max-width: 64ch; margin: 0; }

.grid-3 { margin-top: 1.6rem; display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0; }
.gallery-collection-toolbar { margin-top: -0.65rem; }
.gallery-collection-toolbar .filter-btn { font-size: 0.68rem; }
.filter-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-btn.active { border-color: var(--gold); color: var(--gold); }

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-category-group { margin-top: 2.5rem; }
.gallery-category-group:first-child { margin-top: 0; }
.gallery-category-group > h2,
.gallery-collection-group > h3 {
  margin: 0;
  text-transform: uppercase;
}
.gallery-category-group > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}
.gallery-collection-group { margin-top: 1.4rem; }
.gallery-collection-group > h3 {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.gallery-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 5; }
.gallery-meta { padding: 0.7rem; }
.gallery-title { margin: 0; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.gallery-category { margin: 0.25rem 0 0; color: var(--text-muted); font-size: 0.72rem; }

.contact-layout { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.contact-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin: 0 0 0.9rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.social-links a { text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.78rem; color: var(--text-muted); }

.form-group { margin-bottom: 0.9rem; }
label { display: block; margin-bottom: 0.38rem; font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
input, textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.65rem 0.72rem;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.form-status { min-height: 20px; margin-top: 0.45rem; font-size: 0.82rem; color: var(--text-muted); }
.form-status.error { color: #f99090; }
.form-status.success { color: #8be3a2; }

.site-footer { border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-wrap { display: grid; gap: 16px; grid-template-columns: 1fr auto; align-items: center; padding: 1.4rem 0; }
.footer-title { font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; font-size: 0.8rem; }
.footer-sub { color: var(--text-muted); font-size: 0.8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.76rem; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 120;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: 92vw; max-height: 92vh; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; display: block; }
.lightbox-caption { color: #ddd; margin-top: 0.6rem; text-align: center; font-size: 0.85rem; }
.lightbox-close {
  position: fixed;
  right: 1rem;
  top: 1rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.page-hero { padding: 3rem 0 1rem; }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 6vw, 4rem); font-family: 'Cormorant Garamond', serif; }
.page-hero p { margin-top: 0.7rem; color: var(--text-muted); max-width: 64ch; }

@media (max-width: 900px) {
  .grid-3, .contact-layout { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .hero { min-height: 72vh; }
}
