/*
Theme Name: Service Custom
Description: Entertainment/event business template. Dark mood, bold energy.
Version: 2.0
*/

/* ========================================
   CSS VARIABLES - Per-site override at top of index.php
   ======================================== */
:root {
  --brand: #7c3aed;
  --brand-dark: #5b21b6;
  --brand-light: #ede9fe;
  --brand-accent: #ec4899;
  --accent-glow: rgba(236,72,153,0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-elevated: #334155;
  --bg-light: #f8fafc;
  --border: rgba(255,255,255,0.08);
  --border-light: #e2e8f0;
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth;   overflow-x: hidden;
}
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-accent); text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================================
   UTILITY BAR
   ======================================== */
#util-bar { background: #020617; padding: 0.4rem 1.5rem; font-size: 0.78rem; color: var(--text-muted); display: flex; justify-content: flex-end; gap: 1.5rem; align-items: center; }
#util-bar a { color: var(--text-muted); transition: color 0.2s; }
#util-bar a:hover { color: #fff; }
#util-bar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ========================================
   NAV
   ======================================== */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(15,23,42,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 1.5rem; }
.nav-logo { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.93); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; letter-spacing: 0.02em; }
.nav-links a:hover { color: #fff; }
.nav-phone { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }
.nav-phone svg { width: 14px; height: 14px; }
.nav-cta { background: var(--brand-accent); color: #fff !important; padding: 10px 24px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 0 20px rgba(236,72,153,0.3); }
.nav-cta:hover { background: #db2777; transform: translateY(-1px); box-shadow: 0 0 30px rgba(236,72,153,0.5); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: rgba(15,23,42,0.98); flex-direction: column; padding: 1rem 1.5rem; gap: 0; backdrop-filter: blur(12px); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
}

/* ========================================
   HERO
   ======================================== */
#hero { position: relative; min-height: 600px; display: flex; align-items: center; background: center center / cover no-repeat; margin-top: 60px; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(91,33,182,0.4) 50%, rgba(15,23,42,0.75) 100%); z-index: 1; }
#hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, var(--bg), transparent); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 4rem 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(236,72,153,0.15); border: 1px solid rgba(236,72,153,0.3); color: var(--brand-accent); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: 0.03em; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-content h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.03em; background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.93); margin-bottom: 2rem; max-width: 520px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brand-accent); color: #fff; padding: 16px 36px; border-radius: 10px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 24px rgba(236,72,153,0.35); }
.btn-primary:hover { background: #db2777; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(236,72,153,0.5); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: #fff; padding: 16px 36px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  #hero { min-height: 520px; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.4rem; }
}

/* ========================================
   TRUST BAR
   ======================================== */
#trust { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.trust-item { display: flex; align-items: center; gap: 0.4rem; }
.trust-icon { color: var(--brand-accent); font-size: 1rem; }

@media (max-width: 768px) {
  .trust-inner { gap: 1rem; font-size: 0.75rem; }
}

/* ========================================
   SECTION BASE
   ======================================== */
section { padding: 5rem 1.5rem; }
.section-label { color: var(--brand-accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; margin-bottom: 0.75rem; }
section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
section p.section-desc { color: var(--text-muted); max-width: 600px; font-size: 1rem; }

/* Light sections */
section.light { background: var(--bg-light); color: var(--text-dark); }
section.light h2 { color: var(--text-dark); }
section.light .section-desc { color: #64748b; }

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-accent)); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.service-price { color: var(--brand-accent); font-weight: 700; font-size: 0.9rem; margin-top: 0.75rem; }

/* ========================================
   PRICING (Tables)
   ======================================== */
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; margin-bottom: 2rem; background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.pricing-table thead tr { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.pricing-table th { padding: 0.85rem 1rem; text-align: left; color: #fff; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-table th:not(:first-child) { text-align: right; }
.pricing-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pricing-table td:not(:first-child) { text-align: right; }
.pricing-table td:first-child { color: #fff; font-weight: 600; }
.pricing-table .price-main { color: var(--brand-accent); font-weight: 700; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(124,58,237,0.05); }

.table-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
@media (max-width: 768px) { .table-pair { grid-template-columns: 1fr; } }

.mini-table { width: 100%; font-size: 0.9rem; background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.mini-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); }
.mini-table td:first-child { color: var(--text-muted); }
.mini-table td:last-child { text-align: right; font-weight: 700; color: #fff; }
.mini-table tr:last-child td { border-bottom: none; }

/* ========================================
   PRICING (Cards)
   ======================================== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.price-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-2px); }
.price-card.featured { border-color: var(--brand-accent); box-shadow: 0 0 24px rgba(236,72,153,0.15); }
.price-card h3 { color: var(--text-muted); margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .price { font-size: 2rem; font-weight: 800; color: #fff; }
.price-card .price-unit { color: var(--text-muted); font-size: 0.82rem; }

/* ========================================
   ABOUT
   ======================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img { border-radius: 16px; height: 380px; object-fit: cover; width: 100%; border: 1px solid var(--border); }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 240px; }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.gallery-grid img { border-radius: 12px; width: 100%; height: 200px; object-fit: cover; transition: all 0.3s; border: 1px solid var(--border); }
.gallery-grid img:hover { transform: scale(1.03); border-color: rgba(124,58,237,0.3); }
.gallery-grid img.contain { object-fit: contain; background: var(--bg-card); padding: 0.75rem; }

/* ========================================
   AREAS
   ======================================== */
.area-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.area-pill { background: var(--bg-card); color: var(--text-muted); padding: 0.55rem 1.25rem; border-radius: 50px; font-size: 0.88rem; font-weight: 500; border: 1px solid var(--border); transition: all 0.2s; }
.area-pill:hover { border-color: var(--brand-accent); color: var(--brand-accent); }

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width: 800px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; cursor: pointer; font-weight: 600; font-size: 1rem; color: #fff; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--brand-accent); font-weight: 300; transition: 0.2s; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ========================================
   CTA BOTTOM
   ======================================== */
#cta-bottom { background: linear-gradient(135deg, var(--brand-dark), #7c3aed, #9333ea); text-align: center; padding: 5rem 1.5rem; position: relative; overflow: hidden; }
#cta-bottom::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
#cta-bottom h2 { color: #fff; font-size: 2.2rem; position: relative; }
#cta-bottom p { color: rgba(255,255,255,0.8); max-width: 550px; margin: 1rem auto 2rem; position: relative; }
#cta-bottom .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 4px 24px rgba(0,0,0,0.2); position: relative; }
#cta-bottom .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* ========================================
   FOOTER
   ======================================== */
#site-footer { background: #020617; border-top: 1px solid var(--border); color: var(--text-muted); text-align: center; padding: 1.5rem; font-size: 0.82rem; }
#site-footer a { color: rgba(255,255,255,0.6); }
#site-footer a:hover { color: #fff; }

/* ========================================
   LEAD FORM MODAL
   ======================================== */
.lf-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lf-overlay.open { opacity: 1; pointer-events: auto; }
.lf-modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; max-width: 520px; width: 92%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.lf-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.lf-steps-bar { display: flex; align-items: center; gap: 0.5rem; }
.lf-step-pill { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elevated); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; transition: 0.3s; }
.lf-step-pill.active { background: var(--brand-accent); color: #fff; box-shadow: 0 0 12px rgba(236,72,153,0.4); }
.lf-step-pill.done { background: #22c55e; color: #fff; }
.lf-step-line { width: 24px; height: 2px; background: var(--bg-elevated); transition: 0.3s; }
.lf-step-line.done { background: #22c55e; }
.lf-step-label { font-weight: 600; font-size: 0.95rem; color: #fff; }
.lf-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); padding: 4px; }
.lf-step { display: none; padding: 1.5rem; }
.lf-step.active { display: block; }
.lf-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.lf-services { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lf-service { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 1rem; border: 2px solid var(--border); border-radius: 14px; background: var(--bg); cursor: pointer; transition: 0.2s; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.lf-service:hover { border-color: rgba(124,58,237,0.4); color: #fff; }
.lf-service.selected { border-color: var(--brand-accent); background: rgba(236,72,153,0.08); color: #fff; }
.lf-service-icon { font-size: 1.5rem; }
.lf-service-check { display: none; color: var(--brand-accent); font-weight: 700; }
.lf-service.selected .lf-service-check { display: block; }
.lf-field { margin-bottom: 1rem; }
.lf-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-muted); }
.lf-field .required { color: var(--brand-accent); }
.lf-optional { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }
.lf-input-wrap { position: relative; }
.lf-input-wrap input, .lf-field textarea { width: 100%; padding: 0.75rem 0.75rem 0.75rem 2.5rem; border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.95rem; font-family: var(--font); transition: 0.2s; background: var(--bg); color: #fff; }
.lf-input-wrap input:focus, .lf-field textarea:focus { outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 3px rgba(236,72,153,0.1); }
.lf-input-wrap input::placeholder, .lf-field textarea::placeholder { color: var(--text-muted); }
.lf-input-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); font-size: 1rem; }
.lf-field textarea { padding-left: 0.75rem; min-height: 80px; resize: vertical; }
.lf-trust-strip { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--text-muted); margin: 1rem 0; flex-wrap: wrap; }
.lf-btn-row { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.lf-btn-back { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
.lf-btn-back:hover { border-color: rgba(255,255,255,0.2); }
.lf-btn-next { flex: 1; background: var(--brand-accent); color: #fff; border: none; padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 0.95rem; transition: all 0.3s; box-shadow: 0 2px 12px rgba(236,72,153,0.3); }
.lf-btn-next:hover { background: #db2777; transform: translateY(-1px); }
.lf-what-next { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2); border-radius: 10px; padding: 1rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.lf-what-next strong { color: #fff; display: block; margin-bottom: 0.25rem; }
.lf-error { display: none; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #ef4444; padding: 0.75rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 0.75rem; }
.lf-success { display: none; text-align: center; padding: 2rem 1.5rem; }
.lf-success.show { display: block; }
.lf-success-icon svg { width: 56px; height: 56px; stroke: #22c55e; stroke-width: 2.5; }
.lf-success h3 { margin: 1rem 0 0.5rem; font-size: 1.3rem; color: #fff; }
.lf-success p { color: var(--text-muted); }
.lf-next-steps { text-align: left; margin-top: 1.5rem; }
.lf-next-step { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-muted); }
.lf-ns-num { width: 26px; height: 26px; border-radius: 50%; background: rgba(124,58,237,0.15); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; flex-shrink: 0; }
.lf-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; margin-right: 0.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lf-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.lf-shake { animation: lf-shake 0.4s ease; }
.lf-field-phone .lf-input-wrap input { font-size: 1.15rem; letter-spacing: 0.5px; }

@media (max-width: 400px) { .nav-cta { display: none !important; } }
