/* ═══════════════════════════════════════════════════════
   AVENTRA INTERIORS — CATALOGUE CSS
   Palette: Charcoal #1A1A1A | Off-white #F8F5F0 | Gold #C9A84C | Sage #8A9E8C
   Type: Playfair Display (display) · Inter (body) · Cormorant Garamond (accent)
═══════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coal:     #1A1A1A;
  --coal-mid: #2D2D2D;
  --coal-lt:  #444444;
  --gold:     #C9A84C;
  --gold-lt:  #E2C97E;
  --gold-dk:  #A07832;
  --cream:    #F8F5F0;
  --cream-dk: #EDE9E2;
  --sage:     #8A9E8C;
  --white:    #FFFFFF;
  --border:   rgba(201,168,76,0.2);
  --shadow:   0 4px 24px rgba(0,0,0,0.12);
  --radius:   4px;
  --nav-h:    72px;
  --cat-h:    52px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--coal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ───────────────────────────────────── */
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  display: block;
  line-height: 1;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--gold-lt);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* ─── HEADER ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { display: flex; flex-direction: column; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav .nav-cta {
  background: var(--gold);
  color: var(--coal);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 2px;
  margin-left: 8px;
  transition: background 0.2s;
}
.main-nav .nav-cta:hover { background: var(--gold-lt); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.55) 0%,
    rgba(26,26,26,0.72) 60%,
    rgba(26,26,26,0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 44px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}
.hero-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--coal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}
.hero-btn:hover { background: var(--gold-lt); transform: translateY(-2px); }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── CATEGORY PILL NAV ────────────────────────────── */
.cat-nav-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;
  background: var(--coal);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-wrap::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  gap: 0;
  padding: 0 24px;
  min-width: max-content;
}
.cat-pill {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 0 18px;
  height: var(--cat-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ─── CATALOGUE MAIN ───────────────────────────────── */
.catalogue-main { }

/* ─── CATEGORY SECTION ─────────────────────────────── */
.cat-section {
  margin-bottom: 0;
}

/* ─── CATEGORY HERO BANNER ─────────────────────────── */
.cat-hero-banner {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,26,0.90) 0%,
    rgba(26,26,26,0.42) 55%,
    rgba(26,26,26,0.12) 100%
  );
}
.cat-banner-content {
  position: relative;
  z-index: 2;
  padding: 48px 64px;
  max-width: 800px;
}
.cat-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.cat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.cat-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 560px;
}

/* ─── SUB-CATEGORY ─────────────────────────────────── */
.subcat {
  padding: 56px 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dk);
}
.subcat:nth-child(even) { background: var(--white); }
.subcat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.subcat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--coal);
  line-height: 1.2;
  margin-bottom: 6px;
}
.subcat-sub {
  font-size: 0.85rem;
  color: var(--coal-lt);
  letter-spacing: 0.02em;
}
.subcat-count {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 4px;
}

/* ─── PHOTO GRID ───────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.photo-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* ─── PHOTO CARD ───────────────────────────────────── */
.photo-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--coal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  z-index: 2;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85), transparent);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 20px 12px 10px;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-card:hover .photo-label { opacity: 1; }

/* ─── BLANK / UPLOAD CARD ──────────────────────────── */
.photo-card--blank {
  cursor: default;
  background: var(--cream-dk);
  border: 2px dashed rgba(201,168,76,0.3);
}
.photo-card--blank:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.blank-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  padding: 16px;
}
.blank-upload .plus {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}
.blank-upload p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--coal-lt);
  text-align: center;
  letter-spacing: 0.04em;
}
.blank-upload small {
  font-size: 0.65rem;
  color: rgba(26,26,26,0.4);
  text-align: center;
  line-height: 1.4;
}

/* ─── LIGHTBOX ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(201,168,76,0.2); }

/* ─── CTA STRIP ────────────────────────────────────── */
.cta-strip {
  background: var(--coal);
  padding: 72px 64px;
}
.cta-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--coal);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--coal-mid);
  padding: 64px 64px 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main { font-size: 1.1rem; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-links h4, .footer-contact h4 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a:hover { color: var(--gold); }

/* ─── WHATSAPP FAB ─────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* ─── SCROLL ANIMATIONS ────────────────────────────── */
.subcat {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.subcat.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .subcat { padding: 48px 40px; }
  .cat-banner-content { padding: 40px 40px; }
  .cta-strip { padding: 56px 40px; }
  .site-footer { padding: 56px 40px 0; }
}
@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--coal);
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .main-nav.open a { padding: 12px 8px; font-size: 0.88rem; }
  .hamburger { display: flex; }
  .subcat { padding: 40px 24px; }
  .cat-banner-content { padding: 32px 24px; }
  .cat-hero-banner { height: 320px; }
  .cat-title { font-size: clamp(2rem, 6vw, 3rem); }
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }
  .cta-strip { padding: 48px 24px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .site-footer { padding: 48px 24px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
}
@media (max-width: 520px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .subcat-header { flex-direction: column; gap: 12px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-gold, .btn-outline { text-align: center; width: 100%; }
  .hero-title { font-size: 2.4rem; }
}
