/* ================================================================
   SPARK | سبارك — Fun & Colorful Redesign
   Fredoka + Nunito | Vibrant balloon energy
================================================================ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: #08080F; color: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --pink:   #FF1E8C;
  --purple: #9B4FFF;
  --blue:   #00AAFF;
  --yellow: #FFD500;
  --orange: #FF6B35;
  --green:  #00D97E;
  --bg:     #08080F;
  --dark:   #10101A;
  --card:   rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text:   #FFFFFF;
  --muted:  rgba(255,255,255,0.60);
  --grad:   linear-gradient(135deg, #FF1E8C 0%, #9B4FFF 50%, #00AAFF 100%);
  --grad90: linear-gradient(90deg, #FF1E8C, #9B4FFF, #00AAFF);
  --gradW:  linear-gradient(90deg, #FF6B35, #FFD500, #FF1E8C);
  --font-d: 'Fredoka', sans-serif;
  --font-b: 'Nunito', sans-serif;
  --r:      16px;
  --r-lg:   28px;
  --wrap:   min(1200px, 100% - 40px);
}

/* ── Aurora background ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 10% 15%, rgba(255,30,140,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 80%, rgba(155,79,255,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0,170,255,0.08) 0%, transparent 65%),
    #08080F;
  pointer-events: none;
}

/* ── Utilities ──────────────────────────────────────────────── */
.grad-text { background: var(--grad90); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-wrap { width: var(--wrap); margin-inline: auto; padding: 100px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-b); font-size: 11px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); margin-bottom: 16px;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--grad90); border-radius: 2px; }
.section-title {
  font-family: var(--font-d); font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 48px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 32px; border-radius: 50px;
  background: var(--grad90); color: #fff;
  font-family: var(--font-b); font-size: 15px; font-weight: 800;
  box-shadow: 0 0 28px rgba(255,30,140,0.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255,30,140,0.6); }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 50px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px); color: rgba(255,255,255,0.85);
  font-family: var(--font-b); font-size: 15px; font-weight: 700;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  background: transparent; border: 2px solid rgba(255,30,140,0.4);
  color: var(--pink); font-family: var(--font-b); font-size: 14px; font-weight: 800;
  transition: all .2s;
}
.btn-outline:hover { background: rgba(255,30,140,0.08); border-color: var(--pink); transform: translateY(-2px); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all .4s ease; }
#navbar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--grad90); opacity: 0; transition: opacity .4s; }
#navbar.scrolled::after { opacity: 0.5; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 48px;
  background: transparent; backdrop-filter: none; transition: all .4s ease;
}
#navbar.scrolled .nav-inner {
  background: rgba(8,8,15,0.85); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-spark { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(255,30,140,0.6)); }
.nav-brand { font-family: var(--font-d); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 0 20px rgba(255,30,140,0.4); }
.nav-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.2); margin: 0 2px; }
.nav-ar { font-family: var(--font-b); font-size: 15px; font-weight: 800; background: var(--grad90); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; direction: rtl; }
.nav-links { display: flex; list-style: none; gap: 0; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-family: var(--font-b); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.70); padding: 8px 18px; transition: color .2s; position: relative; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 18px; right: 18px; height: 2px; background: var(--grad90); transform: scaleX(0); border-radius: 2px; transition: transform .22s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 50px;
  background: var(--grad90); color: #fff;
  font-family: var(--font-b); font-size: 12px; font-weight: 800;
  letter-spacing: 0.5px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(255,30,140,0.35);
  flex-shrink: 0;
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 32px rgba(255,30,140,0.55); }

/* ── HERO ────────────────────────────────────────────────────── */
#hero { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
#hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(8,8,15,0.75) 0%, rgba(8,8,15,0.4) 55%, rgba(8,8,15,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 max(40px, calc((100% - 1200px)/2 + 40px)); }
.hero-tag {
  font-family: var(--font-b); font-size: 11px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase; color: var(--pink);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.hero-title { font-family: var(--font-d); font-size: clamp(52px, 7vw, 90px); font-weight: 700; line-height: 1.0; color: #fff; margin-bottom: 20px; }
.hero-accent { background: var(--grad90); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.hero-sub { font-family: var(--font-b); font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5)); animation: scroll-line 1.8s ease-in-out infinite; }
@keyframes scroll-line { 0%,100% { opacity:0.3; transform: scaleY(0.5); } 50% { opacity:1; transform: scaleY(1); } }
.scroll-text { font-family: var(--font-b); font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.40); }

/* ── STORY / SPARK SCROLL ────────────────────────────────────── */
#story-container { height: calc(100vh + 220px); position: relative; }
#story-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#sbg-0 { opacity: 1 !important; }
.sbg, .sbg-overlay { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sbg img, .sbg video { width: 100%; height: 100%; object-fit: cover; }
.sp { position: absolute; z-index: 2; opacity: 0; pointer-events: none; max-width: 600px; }
.sp.sp-center { left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; }
.sp-title { font-family: var(--font-d); font-size: clamp(42px, 6vw, 80px); font-weight: 700; line-height: 1.0; color: #fff; margin-bottom: 16px; }
.sp-title em { font-style: normal; background: var(--grad90); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sp-sub { font-family: var(--font-b); font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.sp-btns { display: flex; justify-content: center; gap: 12px; pointer-events: auto; }
.sp-btn-ghost { display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 40px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); font-family: var(--font-b); font-size: 14px; font-weight: 700; backdrop-filter: blur(10px); transition: all .2s; }
.sp-btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }
#scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--font-b); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.40); transition: opacity .4s; pointer-events: none; }
.sh-arrow { font-size: 18px; animation: sh-bounce 1.6s ease-in-out infinite; }
@keyframes sh-bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(7px); } }

/* ── GALLERY ─────────────────────────────────────────────────── */
#gallery { background: var(--dark); }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.gf-btn { padding: 9px 22px; border-radius: 50px; font-family: var(--font-b); font-size: 13px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(8px); transition: all .2s; }
.gf-btn:hover { color: #fff; background: rgba(255,255,255,0.10); }
.gf-btn.active { color: #fff; background: var(--grad90); border-color: transparent; box-shadow: 0 0 18px rgba(255,30,140,0.35); }
.photo-grid { columns: 4; column-gap: 12px; margin-bottom: 40px; }
.pg-item { break-inside: avoid; margin-bottom: 12px; border-radius: var(--r); overflow: hidden; cursor: pointer; position: relative; }
.pg-item.hidden { display: none; }
.pg-item img { display: block; width: 100%; transition: transform .5s ease; }
.pg-item:hover img { transform: scale(1.05); }
.pg-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,15,0.85) 0%, transparent 55%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 12px; }
.pg-item:hover .pg-overlay { opacity: 1; }
.pg-overlay span { font-family: var(--font-b); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.9); }
.gallery-more { display: flex; justify-content: center; }

/* ── OCCASIONS ───────────────────────────────────────────────── */
#occasions { background: var(--bg); }
.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 0; }
.occ-card { position: relative; height: 420px; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all .35s ease; }
.occ-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.occ-card.active { border-color: var(--card-color, var(--pink)); box-shadow: 0 0 0 1px var(--card-color, var(--pink)); }
.occ-photo { position: absolute; inset: 0; transition: transform .6s ease; }
.occ-card:hover .occ-photo { transform: scale(1.06); }
.occ-overlay { position: absolute; inset: 0; z-index: 1; }
.occ-badge { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 5px 14px; border-radius: 40px; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); font-family: var(--font-b); font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.occ-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 20px; }
.occ-name { font-family: var(--font-d); font-size: 26px; font-weight: 600; color: #fff; line-height: 1; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.occ-desc { font-family: var(--font-b); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); line-height: 1.5; }
.occ-tap { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; text-align: center; padding: 8px; font-family: var(--font-b); font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0); background: rgba(0,0,0,0); transition: all .25s; backdrop-filter: blur(0px); }
.occ-card:hover .occ-tap { color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); }
/* Inline panel */
.occ-panel { margin-top: 24px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .55s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.occ-panel.open { max-height: 900px; opacity: 1; }
.occ-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r); backdrop-filter: blur(12px); margin-bottom: 16px; }
.oph-left { display: flex; align-items: center; gap: 12px; }
.oph-bar { display: block; width: 4px; height: 24px; border-radius: 4px; background: var(--grad90); }
.oph-title { font-family: var(--font-d); font-size: 20px; font-weight: 600; color: #fff; }
.oph-close { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: 14px; display: grid; place-items: center; transition: all .2s; }
.oph-close:hover { background: rgba(255,30,140,0.12); color: #fff; }
.occ-panel-grid { columns: 4; column-gap: 10px; margin-bottom: 18px; }
.occ-panel-grid .pg-item { margin-bottom: 10px; }
.occ-panel-footer { display: flex; justify-content: center; padding-bottom: 8px; }

/* ── CONTACT ─────────────────────────────────────────────────── */
#contact { position: relative; overflow: hidden; background: var(--dark); }
.contact-wrap { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.contact-sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cs { position: absolute; border-radius: 50%; filter: blur(70px); }
.cs1 { width: 380px; height: 380px; background: rgba(255,30,140,0.18); top: -100px; left: -60px; animation: csf 14s ease-in-out infinite alternate; }
.cs2 { width: 300px; height: 300px; background: rgba(155,79,255,0.15); bottom: -80px; right: -40px; animation: csf 18s ease-in-out infinite alternate; }
.cs3 { width: 250px; height: 250px; background: rgba(0,170,255,0.12); top: 30%; left: 60%; animation: csf 16s ease-in-out infinite alternate-reverse; }
@keyframes csf { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px,-20px) scale(1.1); } }
.contact-content { position: relative; z-index: 1; text-align: center; padding: 80px 40px; max-width: 640px; }
.contact-title { font-family: var(--font-d); font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: 16px; }
.contact-sub { font-family: var(--font-b); font-size: 17px; font-weight: 600; color: var(--muted); line-height: 1.65; margin-bottom: 36px; }
.contact-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 50px; background: #25D366; color: #fff; font-family: var(--font-b); font-size: 15px; font-weight: 800; transition: transform .2s, box-shadow .2s; box-shadow: 0 0 24px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(37,211,102,0.55); }
.btn-instagram { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 50px; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; font-family: var(--font-b); font-size: 15px; font-weight: 800; transition: transform .2s, box-shadow .2s; box-shadow: 0 0 24px rgba(220,39,67,0.35); }
.btn-instagram:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(220,39,67,0.55); }
.contact-location { font-family: var(--font-b); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.40); letter-spacing: 0.5px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer { background: #07070f; }
.footer-gradient-line { height: 2px; background: var(--grad90); }
.footer-body { width: var(--wrap); margin-inline: auto; padding: 56px 0 28px; }
.footer-main { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 56px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; }
.footer-spark-icon { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(255,30,140,0.5)); }
.footer-name { display: flex; flex-direction: column; gap: 2px; }
.fn-spark { font-family: var(--font-d); font-size: 24px; font-weight: 700; letter-spacing: 3px; color: #fff; line-height: 1; text-transform: uppercase; }
.fn-ar { font-family: var(--font-b); font-size: 14px; font-weight: 800; direction: rtl; background: var(--grad90); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.footer-desc { font-family: var(--font-b); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.45); line-height: 1.65; }
.footer-socials { display: flex; gap: 10px; }
.fsoc { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: grid; place-items: center; color: rgba(255,255,255,0.50); transition: all .2s; }
.fsoc svg { width: 17px; height: 17px; }
.fsoc:hover { background: rgba(255,30,140,0.12); border-color: rgba(255,30,140,0.4); color: var(--pink); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col-title { font-family: var(--font-b); font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 4px; }
.footer-link { font-family: var(--font-b); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.50); transition: color .2s; line-height: 1; }
.footer-link:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-b); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.50); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-copy, .footer-made { font-family: var(--font-b); font-size: 12px; color: rgba(255,255,255,0.22); }

/* ── LIGHTBOX ────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,8,15,0.95); backdrop-filter: blur(16px); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
#lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-nav { cursor: pointer; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; color: rgba(255,255,255,0.75); display: grid; place-items: center; transition: all .2s; user-select: none; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,30,140,0.2); color: #fff; }
.lightbox-close { position: absolute; top: 20px; right: 28px; width: 42px; height: 42px; font-size: 18px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 26px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) { .occ-grid { grid-template-columns: repeat(2,1fr); } .occ-panel-grid { columns: 3; } .photo-grid { columns: 3; } }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 24px; }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(38px, 10vw, 60px); }
  .occ-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .occ-card { height: 300px; }
  .occ-panel-grid { columns: 2; }
  .photo-grid { columns: 2; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 480px) { .occ-grid { grid-template-columns: 1fr; } .photo-grid { columns: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
