/* ===========================================================
   DJ Site — shared stylesheet
   Colors --hero and --accent are injected from PHP settings.
   =========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:  #0d0d1a;
  --card:  #141428;
  --text:  #e8e8f0;
  --muted: #9090aa;
  /* --hero and --accent come from header.php inline <style> */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

a   { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }

main { min-height: 60vh; }

/* ---------- Logo ---------- */
.nav-logo {
  height: 38px; width: auto;
  display: block;
}
.footer-logo {
  height: 48px; width: auto;
  display: block; margin-bottom: .75rem;
}

/* ---------- Icon images (services / features) ---------- */
.icon-img {
  width: 64px; height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}
.icon-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.feature-icon-img {
  width: 28px; height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.feature-icon-emoji { font-size: 1.2rem; }

/* Center the service-icon-img on service cards */
.service-card { text-align: center; }
.service-card h3, .service-card p { text-align: left; }
.service-card > .icon-img, .service-card > .icon-emoji { margin-left: auto; margin-right: auto; }

/* Feature accordion header — flex layout for icon + title */
.accordion-head { gap: 1rem; }
.accordion-head .title-wrap {
  display: flex; align-items: center; gap: .75rem; flex: 1;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,26,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .9rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand { font-size: 1.4rem; font-weight: 800; color: var(--accent); letter-spacing: .5px; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  color: #ccc; font-size: .85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px;
  transition: .2s; padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover         { color: var(--accent); }
.nav-links a.active        { color: var(--accent); border-bottom-color: var(--accent); }
.nav-social                { display: flex; gap: .5rem; }
.nav-social a {
  color: #aaa; font-size: .85rem; font-weight: 700;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.nav-social a:hover { color: var(--accent); border-color: var(--accent); }

.hamburger {
  display: none; background: none; border: none;
  color: var(--accent); font-size: 1.5rem; cursor: pointer;
}
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 62px; z-index: 99;
  background: rgba(13,13,26,.98); padding: 2rem;
  flex-direction: column; gap: 1.25rem;
}
.mobile-menu a {
  color: #ccc; font-size: 1.1rem;
  border-bottom: 1px solid #1a1a2e; padding: .75rem 0;
}

@media (max-width: 900px) {
  .nav-links, .nav-social { display: none; }
  .hamburger              { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .75rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: .25s; border: none; text-align: center;
}
.btn-primary         { background: var(--accent); color: #0d0d1a; }
.btn-primary:hover   { filter: brightness(1.15); transform: translateY(-1px); }
.btn-outline         { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover   { background: var(--accent); color: #0d0d1a; }

/* ---------- Layout / Containers ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

section          { padding: 5rem 0; }
.section-header  { text-align: center; margin-bottom: 3rem; }
.section-header h1,
.section-header h2 { font-size: 2.3rem; color: var(--accent); margin-bottom: .5rem; }
.section-header p  { color: var(--muted); max-width: 600px; margin: 0 auto; }
.divider { width: 60px; height: 3px; background: var(--accent); margin: .75rem auto 0; }

/* ---------- Page hero (for non-home pages) ---------- */
/* ============================================================
   Hero sections — page-hero (inner pages) & #home-hero (home)
   Both use the same media+overlay+content layer stack.
   ============================================================ */

/* The hero containers establish a stacking context with isolation,
   guarantee min-height so they always feel like real heroes,
   and use flex to vertically center their content. */
.page-hero,
#home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Inner page heroes — substantial but not full-screen */
.page-hero {
  min-height: 55vh;
  padding: 7rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--hero) 0%, #0a0520 100%);
}

/* Home hero — full viewport */
#home-hero {
  min-height: 100vh;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--hero) 0%, #0a0520 50%, #120a30 100%);
}

/* Subtle gold radial accent — only visible behind everything else */
.page-hero::before,
#home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,.12) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* Background media (image or video) — fills the entire hero section */
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
}

/* Subtle Ken Burns zoom on still images for a "living" feel.
   Videos are already moving, so this only applies to <img>. */
img.hero-bg-media {
  animation: heroKenBurns 30s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Tint overlay — sits above media, below content.
   Vertical gradient: darker at top (clears nav contrast) and bottom (text legibility),
   lighter in the middle (lets image breathe). The inline `opacity` attribute
   scales the whole overlay so admins can tune it per page. */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(13, 13, 26, 0.55) 0%,
      rgba(13, 13, 26, 0.25) 30%,
      rgba(13, 13, 26, 0.40) 60%,
      rgba(13, 13, 26, 0.85) 100%
    ),
    linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
  z-index: 2;
  pointer-events: none;
}

/* All hero content sits on top of media + overlay */
.hero-content,
.page-hero > h1,
.page-hero > p {
  position: relative;
  z-index: 3;
}
.hero-content { max-width: 800px; }

/* Strong text-shadows as a safety net — guarantees legibility over ANY
   image, even bright ones. Subtle enough to not look amateurish. */
.page-hero h1,
#home-hero h1 {
  text-shadow:
    0 2px 24px rgba(0,0,0,0.75),
    0 1px 4px rgba(0,0,0,0.55);
}
.page-hero p,
#home-hero p,
.hero-cities {
  text-shadow: 0 1px 14px rgba(0,0,0,0.7);
}
.hero-badge {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero text styles */
.page-hero h1     { font-size: clamp(2rem, 5vw, 3rem);   color: #fff; margin-bottom: .75rem; }
.page-hero h1 span{ color: var(--accent); }
.page-hero p      { color: #e8e8f0; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
#home-hero h1     { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; color: #fff; margin-bottom: 1rem; }

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--accent);
  font-size: .8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: .4rem 1.25rem; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-cities {
  color: #c0c0d0;
  font-size: .9rem; letter-spacing: 1px;
  margin: 1.5rem 0 2.5rem;
}
.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

/* Reduce-motion users: disable the Ken Burns animation */
@media (prefers-reduced-motion: reduce) {
  img.hero-bg-media { animation: none; }
}

/* ---------- Rating strip ---------- */
.rating-strip {
  background: rgba(201,168,76,.08);
  border-top:    1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 1.25rem 0; text-align: center;
}
.rating-inner   { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.rating-stars   { color: var(--accent); font-size: 1.4rem; letter-spacing: 2px; }
.rating-text    { color: #fff; font-weight: 700; font-size: 1.1rem; }
.rating-sub     { color: var(--muted); font-size: .85rem; }

/* ---------- Video wrap ---------- */
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(201,168,76,.2);
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 2rem;
  transition: .25s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--accent); margin-bottom: .75rem; font-size: 1.15rem; }
.service-card p  { color: var(--muted); font-size: .9rem; }

/* ---------- Accordion (about features, FAQ) ---------- */
.accordion       { max-width: 760px; margin: 0 auto; }
.accordion-item  { border: 1px solid rgba(255,255,255,.07); border-radius: 10px; margin-bottom: .75rem; overflow: hidden; }
.accordion-head  {
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; background: var(--card); transition: .2s;
}
.accordion-head:hover { background: #1a1a30; }
.accordion-head h3    { color: #fff; font-size: 1rem; font-weight: 600; }
.accordion-arrow      { color: var(--accent); font-size: 1.4rem; transition: .3s; flex-shrink: 0; }
.accordion-body       { max-height: 0; overflow: hidden; transition: .35s ease; }
.accordion-body.open  { max-height: 400px; }
.accordion-body p     { padding: .5rem 1.5rem 1.25rem; color: var(--muted); font-size: .9rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 1.75rem;
}
.review-stars  { color: var(--accent); font-size: 1.1rem; margin-bottom: .75rem; }
.review-body   { color: #c0c0d0; font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.review-meta   { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #0d0d1a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.review-name { color: #fff; font-weight: 600; font-size: .9rem; }
.review-type { color: var(--muted); font-size: .78rem; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; gap: 1rem; }
@media (max-width: 700px) { .gallery-grid { columns: 2; } }
@media (max-width: 400px) { .gallery-grid { columns: 1; } }
.gallery-grid figure {
  break-inside: avoid; margin-bottom: 1rem; border-radius: 8px;
  overflow: hidden; cursor: pointer; position: relative;
}
.gallery-grid figure img { width: 100%; transition: .3s; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; padding: .5rem .75rem; font-size: .78rem;
  opacity: 0; transition: .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
#lightbox.show       { display: flex; }
#lightbox img        { max-width: 90%; max-height: 90vh; border-radius: 8px; }
#lightbox-close      { position: absolute; top: 1rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
@media (max-width: 700px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h2 { color: var(--accent); font-size: 2rem; margin-bottom: 1rem; }
.contact-info p  { color: var(--muted); margin-bottom: 2rem; }
.contact-detail  { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.contact-detail span:first-child { font-size: 1.3rem; }
.contact-detail span:last-child  { color: #ccc; }

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group        { margin-bottom: 1rem; }
.form-group label  { display: block; color: #bbb; font-size: .82rem; margin-bottom: .35rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; color: #fff;
  font-size: .9rem; font-family: inherit; transition: .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(201,168,76,.06);
}
.form-group select option { background: #1a1a2e; }
.form-group textarea      { resize: vertical; min-height: 110px; }

.success-msg {
  background: rgba(46,125,50,.2);
  border: 1px solid #388e3c;
  border-radius: 8px; padding: 1.25rem;
  color: #81c784; text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050510;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { color: var(--accent); font-size: 1.3rem; margin-bottom: .75rem; }
.footer-brand p  { color: var(--muted); font-size: .85rem; }
.footer-col h4   { color: #fff; margin-bottom: 1rem; font-size: .95rem; }
.footer-col ul   { list-style: none; }
.footer-col li   { margin-bottom: .5rem; }
.footer-col a    { color: var(--muted); font-size: .85rem; transition: .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: .85rem; font-weight: 700; transition: .2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { color: var(--muted); font-size: .8rem; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 3rem; color: var(--muted); }
.alt-bg      { background: #080812; }
.cta-row     { text-align: center; margin-top: 2.5rem; }
