/* dentwistle.online - Theme Overhaul 2026
   Professional + Fun | Tropical Florida + Cars | Red accents | Fully responsive */

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --red-soft: #ff6b6b;
  --bg-deep: #0b1420;
  --bg-mid: #132a3a;
  --teal: #1a5f6a;
  --sand: #f4a261;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --card: rgba(15, 30, 45, 0.82);
  --card-border: rgba(230, 57, 70, 0.35);
  --glass: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  line-height: 1.6;
  /* Tropical + cars feel: deep night gradient + race track image */
  background-image:
    linear-gradient(160deg, rgba(11, 20, 32, 0.88) 0%, rgba(19, 42, 58, 0.82) 45%, rgba(26, 95, 106, 0.55) 100%),
    url('../sebring-dex.JPEG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 20, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo span { color: var(--red); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--red);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.nav-links a.external::after {
  content: ' ↗';
  font-size: 0.75em;
  opacity: 0.8;
}

/* Mobile nav */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 20, 32, 0.98);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--red);
    gap: 0.35rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.page-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-title span { color: var(--red); }

/* Cards / panels */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-soft {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}
.btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--red);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat-box {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(230, 57, 70, 0.25);
}
.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Project / content grids */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0;
}
.project-card, .content-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.project-card:hover, .content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(230, 57, 70, 0.22);
}
.project-card-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(230,57,70,0.15), rgba(26,95,106,0.2));
}
.project-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card h3 {
  margin: 0 0 0.5rem;
  color: var(--red-soft);
  font-size: 1.15rem;
}
.project-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.tags span {
  background: rgba(230, 57, 70, 0.15);
  color: var(--red-soft);
  border: 1px solid rgba(230, 57, 70, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Timeline (About) */
.timeline {
  position: relative;
  padding: 0.5rem 0 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--red), var(--teal));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--red);
  border: 3px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
}
.timeline-content {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
}
.timeline-content .year {
  color: var(--sand);
  font-weight: 700;
  font-size: 0.95rem;
}
.timeline-content .role {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.25rem 0;
}
.timeline-content .company {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.timeline-content ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.timeline-content li { margin: 0.3rem 0; }

@media (min-width: 769px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { padding-left: 0; width: 50%; }
  .timeline-item:nth-child(odd) {
    margin-left: 0;
    padding-right: 2.5rem;
    text-align: right;
  }
  .timeline-item:nth-child(odd)::before { right: -10px; left: auto; }
  .timeline-item:nth-child(odd) ul { text-align: left; }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 2.5rem;
  }
  .timeline-item:nth-child(even)::before { left: -10px; }
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.skill-cat {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.1rem;
}
.skill-cat h4 {
  margin: 0 0 0.6rem;
  color: var(--sand);
  font-size: 1rem;
}
.skill-cat ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.skill-cat li { margin: 0.25rem 0; }

/* Profile */
.profile-block {
  text-align: center;
  margin-bottom: 2rem;
}
.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--red);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
  margin-bottom: 1rem;
}
.bio {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: rgba(8, 14, 22, 0.95);
  border-top: 2px solid var(--red);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red-soft); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s, background 0.2s;
}
.footer-socials a:hover {
  background: var(--red-dark);
  transform: scale(1.1);
}

.footer-copy {
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}
.footer-copy a { color: var(--red-soft); text-decoration: none; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== DJ Services page ===== */
.dj-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 2rem;
}
.dj-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--sand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.65rem;
}
.dj-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.dj-hero .lead { margin: 0 0 1.25rem; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.dj-photo-card {
  overflow: hidden;
  padding: 0;
}
.dj-photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.dj-photo-meta { padding: 1.15rem 1.25rem 1.3rem; }
.dj-photo-meta h3 { margin: 0 0 0.35rem; color: var(--red-soft); }
.dj-photo-meta p { margin: 0 0 0.9rem; color: var(--text-muted); font-size: 0.95rem; }

.dj-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.dj-pills span {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: var(--red-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.section-head {
  text-align: center;
  margin: 2.5rem 0 1.25rem;
}
.section-head h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.section-head p { margin: 0; color: var(--text-muted); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 12px 36px rgba(230, 57, 70, 0.28);
  transform: translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 0.35rem; color: var(--red-soft); }
.price-amt {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1.1;
}
.price-amt span { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.price-card ul {
  margin: 0.9rem 0 1.15rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}
.price-card li { margin: 0.32rem 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.step h3 { margin: 0 0 0.4rem; }

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  float: right;
  color: var(--sand);
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details p {
  margin: 0.65rem 0 0.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dj-form {
  display: grid;
  gap: 0.75rem;
}
.dj-form label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.dj-form input,
.dj-form select,
.dj-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 14, 22, 0.65);
  color: #fff;
  font: inherit;
}
.dj-form input:focus,
.dj-form select:focus,
.dj-form textarea:focus {
  outline: 2px solid var(--red);
  border-color: transparent;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}
.thanks-banner {
  display: none;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  text-align: center;
  font-weight: 600;
}
.thanks-banner.show { display: block; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 900px) {
  .dj-hero, .pricing-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .dj-photo-card img { height: 260px; }
}
