/* ============ DJ Electric LLC — Site Styles ============ */

:root {
  --black: #16171a;
  --dark: #1e2129;
  --navy: #1c2b4a;
  --yellow: #f5c518;
  --yellow-dark: #d9ac00;
  --white: #ffffff;
  --gray-light: #f4f5f7;
  --gray-mid: #6b7280;
  --gray-border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--black);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--yellow-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 6px 16px rgba(245, 197, 24, 0.35);
}
.btn-primary:hover { background: var(--yellow-dark); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--black); }

.btn-call {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-call:hover { background: #14213a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon { font-size: 1.8rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-main { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--black); }
.logo-sub { font-weight: 700; font-size: 0.7rem; color: var(--yellow-dark); letter-spacing: 0.1em; }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--yellow-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 100px 0 90px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(28,43,74,0.88) 0%, rgba(22,23,26,0.90) 100%);
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 197, 24, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 24, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Services ---------- */
.services { padding: 90px 0; text-align: center; }
.services .eyebrow, .services h2 { text-align: center; }
.services h2 { max-width: 600px; margin-left: auto; margin-right: auto; }

.service-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--gray-border);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-mid); font-size: 0.95rem; }

/* ---------- About ---------- */
.about { padding: 90px 0; background: var(--gray-light); }

.about-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--black));
}
.photo-fallback span {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: var(--yellow);
}
.about-photo.no-photo img { display: none; }
.about-photo.no-photo .photo-fallback { display: flex; }

.about-text p { margin-bottom: 16px; color: var(--dark); }
.about-text a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.signoff { color: var(--black) !important; font-style: italic; }

/* ---------- Gallery ---------- */
.gallery { padding: 90px 0; text-align: center; }
.gallery-note { color: var(--gray-mid); margin-bottom: 36px; }

.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

/* ---------- Contact ---------- */
.contact { padding: 90px 0; background: var(--black); color: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info h2 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

.contact-list { list-style: none; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  font-weight: 600;
}
.contact-list a, .contact-list span:not(.contact-label) {
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-list a:hover { color: var(--yellow); }

.contact-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.contact-map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer-inner p { margin-top: 4px; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  font-weight: 700;
  padding: 14px;
  z-index: 200;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-call { display: none; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 60px; }
  .hero { padding: 70px 0 60px; }
  .services, .about, .gallery, .contact { padding: 60px 0; }
}
