/* ============================================================
   InkDraft — Premium Tattoo Studio CSS
   Font: Inter (Google Fonts)
   Themes: Dark (Night) + Light (Day) with toggle
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ── CSS Variables — DARK (Night) Mode ─────────────────── */
:root {
  --bg-primary:    #0f0e0b;
  --bg-secondary:  #171510;
  --bg-card:       #1c1a14;
  --bg-elevated:   #222018;
  --bg-nav:        rgba(15, 14, 11, 0.0);
  --bg-nav-scroll: rgba(15, 14, 11, 0.88);

  --gold:          #c9a84c;
  --gold-light:    #e2c06a;
  --gold-dark:     #a6852f;
  --gold-glow:     rgba(201, 168, 76, 0.15);

  --text-primary:  #f2ede4;
  --text-secondary:#a09080;
  --text-muted:    #6b5e50;
  --text-nav:      rgba(242, 237, 228, 0.75);

  --border:        rgba(201, 168, 76, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-nav:    rgba(255, 255, 255, 0.08);

  --font: 'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius:     10px;
  --radius-lg:  20px;
  --radius-full:9999px;

  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.12);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);

  --transition:      all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;

  /* Hero backdrop */
  --hero-overlay: linear-gradient(90deg, rgba(15,14,11,0.96) 0%, rgba(15,14,11,0.60) 55%, rgba(15,14,11,0.10) 100%);
}

/* ── Light (Day) Mode ──────────────────────────────────── */
body.day-mode {
  --bg-primary:    #f5f0e8;
  --bg-secondary:  #ede8de;
  --bg-card:       #ffffff;
  --bg-elevated:   #f0ebe2;
  --bg-nav:        rgba(245, 240, 232, 0.0);
  --bg-nav-scroll: rgba(245, 240, 232, 0.92);

  --text-primary:  #1a1208;
  --text-secondary:#5a4e3c;
  --text-muted:    #8c7c66;
  --text-nav:      rgba(26, 18, 8, 0.75);

  --border:        rgba(201, 168, 76, 0.3);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-nav:    rgba(0, 0, 0, 0.1);

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.1);
  --hero-overlay: linear-gradient(90deg, rgba(245,240,232,0.95) 0%, rgba(245,240,232,0.70) 55%, rgba(245,240,232,0.10) 100%);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
ul { list-style: none; }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Utility ───────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── Typography ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.heading-lg { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.heading-md { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.body-lg { font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.body-md { font-size: 0.95rem; line-height: 1.65; color: var(--text-secondary); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0a; font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }

.btn-outline {
  border: 1px solid var(--border); color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost { color: var(--gold); padding: 12px 0; }
.btn-ghost:hover { gap: 14px; }

.btn-sm  { padding: 9px 20px; font-size: 0.76rem; }
.btn-lg  { padding: 16px 44px; font-size: 0.88rem; }

/* ──────────────────────────────────────────────────────────
   NAVBAR — matches screenshot exactly
   ────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: var(--bg-nav);
  transition: background 0.45s ease, padding 0.35s ease,
              border-color 0.45s ease, backdrop-filter 0.45s ease,
              box-shadow 0.45s ease;
}

/* Scrolled state — solid/glass like screenshot 2 */
#navbar.scrolled {
  background: var(--bg-nav-scroll);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-nav);
  box-shadow: 0 4px 40px rgba(0,0,0,0.18);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary); flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #0a0a0a;
}

/* Nav Links */
.nav-links {
  display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 0.83rem; font-weight: 500;
  color: var(--text-nav);
  padding: 8px 14px; border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

/* Right CTA area */
.nav-cta {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}

/* Theme toggle button — icon circle like screenshot */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
body.day-mode .theme-toggle .icon-moon { display: none; }
body.day-mode .theme-toggle .icon-sun  { display: block; }

/* Nav Login link */
.nav-login {
  font-size: 0.83rem; font-weight: 500;
  color: var(--text-nav);
  padding: 8px 14px; border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.nav-login:hover { color: var(--text-primary); background: var(--border-subtle); }

/* Nav Get Started (gold pill) */
.nav-get-started {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0a !important; font-weight: 700;
  padding: 10px 22px; border-radius: var(--radius-full);
  font-size: 0.82rem; transition: var(--transition);
  display: flex; align-items: center;
}
.nav-get-started:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: var(--bg-primary); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-secondary); transition: var(--transition-fast);
}
.nav-mobile a:hover { color: var(--gold); }

/* ──────────────────────────────────────────────────────────
   HERO — Split layout: left content + right image
   ────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--text-secondary); margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border-subtle);
}
.hero-stat-number {
  display: block; font-size: 2rem; font-weight: 900;
  letter-spacing: -0.03em; color: var(--text-primary);
}
.hero-stat-number::after { content: '+'; color: var(--gold); font-size: 1.2rem; }
.hero-stat-label { font-size: 0.73rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* Hero Right Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.hero-visual.revealed { opacity: 1; transform: translateX(0); }
.hero-image-main {
  width: 100%; max-width: 520px;
  height: 600px; object-fit: cover; object-position: center;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.hero-badge {
  position: absolute; bottom: 32px; left: -24px;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 20px;
  box-shadow: var(--shadow-card);
}
.hero-badge-icon { font-size: 1.5rem; }
.hero-badge-text strong { display: block; font-size: 0.82rem; font-weight: 700; }
.hero-badge-text span  { font-size: 0.72rem; color: var(--text-muted); }

/* ── Marquee ───────────────────────────────────────────── */
.marquee-section {
  overflow: hidden; padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 32px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Section Header ────────────────────────────────────── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 24px; flex-wrap: wrap;
}

/* ── Categories Grid ───────────────────────────────────── */
.categories-grid {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: pointer; opacity: 0; transform: translateY(20px);
  transition: var(--transition);
}
.category-card.revealed { opacity: 1; transform: translateY(0); }
.category-circle {
  width: 100px; height: 100px; border-radius: 50%;
  overflow: hidden; border: 2px solid transparent;
  transition: var(--transition);
  background: var(--bg-card);
}
.category-circle img { width: 100%; height: 100%; object-fit: cover; }
.category-card:hover .category-circle {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.2);
}
.category-name { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-secondary); text-align: center; }
.category-card:hover .category-name { color: var(--gold); }

/* ── Journey Steps ─────────────────────────────────────── */
.journey-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px;
}
.journey-step {
  padding: 36px 28px; background: var(--bg-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  transition: var(--transition); position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
}
.journey-step.revealed { opacity: 1; transform: translateY(0); }
.journey-step::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), transparent);
  opacity: 0; transition: var(--transition);
}
.journey-step:hover { border-color: var(--border); transform: translateY(-4px); }
.journey-step:hover::before { opacity: 1; }
.journey-number {
  font-size: 3rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--gold); opacity: 0.25; margin-bottom: 20px; line-height: 1;
}
.journey-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.journey-step p { font-size: 0.83rem; line-height: 1.7; color: var(--text-secondary); }

/* ── Order Form ────────────────────────────────────────── */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 48px;
  max-width: 860px; margin: 0 auto;
  opacity: 0; transform: scale(0.97);
  transition: var(--transition);
}
.form-card.revealed { opacity: 1; transform: scale(1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-control {
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 13px 16px;
  font-size: 0.88rem; color: var(--text-primary); font-family: var(--font);
  transition: var(--transition-fast); width: 100%;
  outline: none; resize: vertical; min-height: 44px;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }
.form-submit { margin-top: 28px; text-align: center; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 14px; }

/* ── Designs Grid ──────────────────────────────────────── */
.designs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.design-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/5;
  cursor: pointer;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.design-card.revealed { opacity: 1; transform: translateY(0); }
.design-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.design-card:hover img { transform: scale(1.06); }
.design-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: var(--transition);
}
.design-card:hover .design-overlay { opacity: 1; }
.design-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.design-category { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.design-action-btn {
  display: inline-block; padding: 8px 18px;
  background: var(--gold); color: #0a0a0a;
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700;
  align-self: flex-start;
}

/* ── CTA Banner ────────────────────────────────────────── */
#cta-banner {
  position: relative; overflow: hidden;
  padding: 120px 0; background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-banner-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cta-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cta-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.cta-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-image-stack { position: relative; height: 480px; }
.cta-img-main {
  width: 75%; height: 100%; object-fit: cover; border-radius: var(--radius-lg);
  position: absolute; right: 0; top: 0;
}
.cta-img-accent {
  width: 45%; height: 58%; object-fit: cover; border-radius: var(--radius-lg);
  position: absolute; left: 0; bottom: 0;
  border: 4px solid var(--bg-secondary);
}
.cta-glow {
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Artists Grid ──────────────────────────────────────── */
.artists-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.artist-card {
  text-align: center; cursor: pointer;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.artist-card.revealed { opacity: 1; transform: translateY(0); }
.artist-photo {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; margin-bottom: 16px;
  background: var(--bg-card);
}
.artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.artist-card:hover .artist-photo img { transform: scale(1.05); }
.artist-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; opacity: 0; transition: var(--transition);
}
.artist-card:hover .artist-photo-overlay { opacity: 1; }
.artist-instagram { font-size: 0.72rem; color: rgba(255,255,255,0.9); }
.artist-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.artist-specialty { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.artist-rating { font-size: 0.75rem; color: var(--text-muted); }
.star { color: var(--gold); }

/* ── Testimonials ──────────────────────────────────────── */
.testimonials-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.testimonial-card.revealed { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { border-color: var(--border); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-text { font-size: 0.9rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; overflow: hidden; }
.testimonial-name { font-size: 0.83rem; font-weight: 700; }
.testimonial-location { font-size: 0.72rem; color: var(--text-muted); }

/* ── Gallery Grid ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  opacity: 0; transform: scale(0.97); transition: var(--transition);
}
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item.revealed { opacity: 1; transform: scale(1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 36px 32px;
  position: relative; transition: var(--transition);
  opacity: 0; transform: translateY(20px);
}
.pricing-card.revealed { opacity: 1; transform: translateY(0); }
.pricing-card.popular { border-color: var(--gold); background: var(--bg-elevated); transform: scale(1.03) translateY(0); }
.pricing-card.popular.revealed { transform: scale(1.03); }
.pricing-card:hover { border-color: var(--border); box-shadow: var(--shadow-card); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0a; font-size: 0.66rem; font-weight: 800;
  padding: 5px 16px; border-radius: var(--radius-full); letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.pricing-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 8px; }
.pricing-currency { font-size: 1.3rem; font-weight: 700; color: var(--gold); align-self: flex-start; margin-top: 8px; }
.pricing-amount { font-size: 3.2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.pricing-desc { font-size: 0.83rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-secondary); }
.feature-check { color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px; margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.83rem; color: var(--text-muted); line-height: 1.8; margin-top: 16px; max-width: 280px;
}
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition-fast);
}
.social-link:hover { border-color: var(--gold); background: var(--gold-glow); }
.footer-heading {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.83rem; color: var(--text-secondary); transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: var(--transition-fast); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Scroll Reveal ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── Loader ────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.done { opacity: 0; visibility: hidden; }
.loader-inner {
  text-align: center;
}
.loader-logo {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: 20px;
}
.loader-logo span { color: var(--gold); }
.loader-bar {
  width: 160px; height: 2px;
  background: var(--border-subtle); border-radius: 2px; margin: 0 auto; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px; animation: load-fill 1.2s ease forwards;
}
@keyframes load-fill { from { width: 0% } to { width: 100% } }

/* ── Toast ─────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 14px 20px;
  font-size: 0.83rem; color: var(--text-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(20px); opacity: 0;
  transition: var(--transition); pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { border-color: rgba(76,175,110,0.4); }
#toast.error { border-color: rgba(224,92,92,0.4); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  /* 1. Header Fix */
  .nav-links { display: none; }
  .nav-cta { gap: 6px; flex-wrap: nowrap; }
  .nav-login {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem; padding: 6px 12px; white-space: nowrap;
    border-radius: var(--radius-full);
  }
  .nav-get-started {
    font-size: 0.75rem; padding: 6px 14px; white-space: nowrap;
  }
  .nav-hamburger { display: flex; margin-left: 2px; }

  /* 2. Hero Stats 1 Single Line Row Fix */
  #hero { grid-template-columns: 1fr; padding-top: 100px; text-align: left; }
  .hero-visual { display: block; margin-top: 24px; width: 100%; }
  .hero-img { height: 260px; object-fit: cover; }
  .hero-title { font-size: clamp(2.1rem, 7.5vw, 3.2rem); }
  .hero-stats {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none; gap: 14px;
    padding-bottom: 6px; border-top: 1px solid var(--border-subtle);
    padding-top: 20px; -webkit-overflow-scrolling: touch;
    justify-content: space-between;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stat-item { flex: 0 0 auto; min-width: max-content; }
  .stat-number { font-size: 1.35rem; }
  .stat-label { font-size: 0.65rem; letter-spacing: 0.04em; }

  /* 3. Featured Designs Touch Slider */
  .designs-grid {
    display: flex !important; overflow-x: auto !important;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    -ms-overflow-style: none; gap: 16px; padding: 8px 4px 20px;
    -webkit-overflow-scrolling: touch; grid-template-columns: none !important;
  }
  .designs-grid::-webkit-scrollbar { display: none; }
  .design-card {
    flex: 0 0 85% !important; min-width: 270px; max-width: 320px;
    scroll-snap-align: center; margin: 0;
  }

  /* 4. Testimonials Touch Slider */
  .testimonials-track {
    display: flex !important; overflow-x: auto !important;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    -ms-overflow-style: none; gap: 16px; padding: 8px 4px 20px;
    -webkit-overflow-scrolling: touch; grid-template-columns: none !important;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 88% !important; min-width: 280px; max-width: 340px;
    scroll-snap-align: center; margin: 0;
  }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3), .gallery-item:nth-child(6) { grid-column: span 1; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .form-card { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .categories-grid { gap: 16px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.1rem; }
  .nav-get-started { font-size: 0.72rem; padding: 5px 10px; }
  .nav-login { font-size: 0.72rem; padding: 5px 8px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ── User Profile & Auth Modal ─────────────────────────── */
.user-profile-menu { position: relative; }
.user-profile-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-full);
  color: var(--text-primary); font-size: 0.83rem; font-weight: 600;
  transition: var(--transition-fast);
}
.user-profile-btn:hover { border-color: var(--gold); }
.user-avatar-small {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; font-weight: 800; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.user-dropdown-content {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); width: 220px;
  box-shadow: var(--shadow-card); z-index: 100; overflow: hidden;
  animation: fadeIn 0.2s ease;
}
.user-dropdown-content.show { display: block; }
.user-dropdown-header { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }
.user-dropdown-item {
  display: block; padding: 10px 16px; font-size: 0.85rem;
  color: var(--text-primary); transition: var(--transition-fast);
}
.user-dropdown-item:hover { background: rgba(255,255,255,0.05); }
.user-dropdown-item.logout-item { color: #e05c5c; }
.user-dropdown-item.logout-item:hover { background: rgba(224,92,92,0.1); }

/* User Auth Modal */
.user-auth-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 20px;
}
.user-auth-backdrop.open { opacity: 1; pointer-events: auto; }
.user-auth-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px 28px;
  width: 100%; max-width: 440px; position: relative;
  box-shadow: var(--shadow-gold); transform: translateY(20px);
  transition: transform 0.3s ease;
}
.user-auth-backdrop.open .user-auth-card { transform: translateY(0); }
.user-auth-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition-fast);
}
.user-auth-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.user-auth-header { text-align: center; margin-bottom: 24px; }
.auth-logo {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px; color: #000; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.auth-title { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.auth-title span { color: var(--gold); }
.auth-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

.user-auth-tabs {
  display: flex; background: var(--bg-elevated); padding: 4px;
  border-radius: var(--radius); margin-bottom: 20px; border: 1px solid var(--border-subtle);
}
.auth-tab {
  flex: 1; padding: 9px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); border-radius: var(--radius-sm);
  transition: var(--transition-fast); text-align: center;
}
.auth-tab.active { background: var(--bg-card); color: var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-group { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }
.auth-input {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text-primary);
  font-family: var(--font); font-size: 0.88rem; transition: var(--transition-fast);
}
.auth-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.auth-error-msg { font-size: 0.8rem; color: #e05c5c; min-height: 18px; }
.auth-submit-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; font-weight: 700; padding: 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; margin-top: 4px; transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(201,168,76,0.25);
}
.auth-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }
.auth-footer-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 18px; }
.auth-footer-note .admin-link { color: var(--gold); text-decoration: underline; }

/* ============================================================
   CATEGORY GALLERY SYSTEM — SWIPEFLOW / NATIONAL PARKS DESIGN
   ============================================================ */
/* ============================================================
   CATEGORY GALLERY SYSTEM — SWIPEFLOW / NATIONAL PARKS DESIGN
   ============================================================ */
.cgal-page {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding-top: 100px;
  padding-bottom: 80px;
  box-sizing: border-box;
  transition: background 0.35s ease, color 0.35s ease;
}

/* Page Top Control Bar */
.cgal-top-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cgal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cgal-back-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--gold);
  transform: translateX(-3px);
}

/* View Toggle Switch */
.cgal-view-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}
.cgal-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.25s ease;
}
.cgal-toggle-btn.active {
  background: var(--gold);
  color: #0d0c0a;
  box-shadow: 0 2px 12px var(--gold-glow);
}
.cgal-toggle-btn:not(.active):hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* Category Title Section (National Parks Style) */
.cgal-hero-header {
  text-align: center;
  max-width: 800px;
  margin: 20px auto 40px;
  padding: 0 20px;
}
.cgal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0 0 12px;
}
.cgal-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 10px;
  font-weight: 300;
}
.cgal-meta {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: var(--gold-glow);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ── 3D SLIDER VIEW (PREMIUM CENTER SPOTLIGHT) ────────── */
.cgal-slider-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 0 70px;
  overflow: hidden;
  user-select: none;
}
.cgal-slider-track {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(450px, 62vh, 600px);
}

/* Vertical Slide Card — Crisper 6px Border Radius */
.cgal-slide {
  position: absolute;
  width: clamp(260px, 26vw, 370px);
  height: clamp(400px, 55vh, 540px);
  border-radius: 6px; /* Sleeker, smaller border radius */
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.6s ease,
              filter 0.6s ease,
              box-shadow 0.6s ease;
  cursor: pointer;
  will-change: transform, filter, opacity;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Active Center Slide — BADI (LARGER) & PREMIUM SPOTLIGHT */
.cgal-slide.active {
  border-color: var(--gold);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 60px var(--gold-glow);
}
.cgal-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 6px;
  transition: transform 0.6s ease;
}
.cgal-slide.active:hover .cgal-slide-img {
  transform: scale(1.05);
}

/* Slide Caption Overlay */
.cgal-slide-caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cgal-slide-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  font-weight: 600;
}
.cgal-slide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.cgal-slide-divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.cgal-slide.active:hover .cgal-slide-divider {
  width: 54px;
}

/* Circular Orange Navigation Arrow Buttons (Matches Screenshot 2!) */
.cgal-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f97316; /* Vibrant Orange */
  border: none;
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 30;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}
.cgal-slider-nav:hover {
  background: #ea580c;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.6);
}
.cgal-slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}
.cgal-slider-nav svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.5;
}
.cgal-slider-prev { left: 40px; }
.cgal-slider-next { right: 40px; }

/* Slider Dots & Progress */
.cgal-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.cgal-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.cgal-slider-dot.active {
  background: #f97316;
  width: 24px;
  border-radius: 999px;
}

/* ── GRID / MASONRY VIEW ───────────────────────────────────── */
.cgal-masonry {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 32px 60px;
  columns: 4 240px;
  column-gap: 16px;
}
.cgal-masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #161512;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cgal-masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.4);
}
.cgal-masonry-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}
.cgal-masonry-item:hover .cgal-masonry-img {
  transform: scale(1.05);
}
.cgal-masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}
.cgal-masonry-item:hover .cgal-masonry-overlay {
  opacity: 1;
}
.cgal-masonry-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.cgal-masonry-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── FULLSCREEN LIGHTBOX MODAL ────────────────────────────── */
.cgal-lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 5, 0.96);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.cgal-lb-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100001;
}
.cgal-lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}
.cgal-lb-prev, .cgal-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: #f97316;
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 100001;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}
.cgal-lb-prev:hover, .cgal-lb-next:hover {
  background: #ea580c;
  transform: translateY(-50%) scale(1.1);
}
.cgal-lb-prev { left: 24px; }
.cgal-lb-next { right: 24px; }
.cgal-lb-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 180px);
}
.cgal-lb-img {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  border-radius: 12px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.cgal-lb-caption {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-top: 14px;
  text-align: center;
}
.cgal-lb-counter {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  margin-top: 4px;
}
.cgal-lb-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  overflow-x: auto;
  z-index: 100001;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cgal-lb-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  opacity: 0.45;
}
.cgal-lb-thumb.active {
  border-color: #f97316;
  opacity: 1;
  transform: scale(1.1);
}
.cgal-lb-thumb:hover { opacity: 0.85; }
.cgal-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .cgal-slider-nav { width: 44px; height: 44px; }
  .cgal-slider-prev { left: 16px; }
  .cgal-slider-next { right: 16px; }
  .cgal-masonry { padding: 20px 20px 40px; columns: 3 180px; }
}
@media (max-width: 600px) {
  .cgal-top-bar { padding: 0 16px; }
  .cgal-title { font-size: 2.2rem; }
  .cgal-slide { width: clamp(220px, 78vw, 300px); height: clamp(340px, 54vh, 440px); }
  .cgal-slider-prev { left: 8px; width: 40px; height: 40px; }
  .cgal-slider-next { right: 8px; width: 40px; height: 40px; }
  .cgal-masonry { columns: 2 140px; column-gap: 10px; padding: 16px; }
  .cgal-lb-prev { left: 8px; width: 42px; height: 42px; }
  .cgal-lb-next { right: 8px; width: 42px; height: 42px; }
}
