/* Allen & Sons Handy Services — Digital Mayhem Demo */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #080a0d;
  --gold: #e8a030;
  --gold-light: #f0c060;
  --gold-dark: #c07818;
  --text: #d8dce8;
  --muted: #707888;
  --card: #0f1218;
  --surface: #141822;
  --border: #20283a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text); }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1400');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 160, 48, 0.15);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 1.15rem;
  color: #a0a8b8;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: #080a0d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: #080a0d;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(232, 160, 48, 0.1);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── PHOTO STRIP ── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}

.photo-strip img:hover {
  transform: scale(1.02);
  border-color: var(--gold-dark);
}

/* ── WHY CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.why-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* ── NEXTDOOR BADGE ── */
.nextdoor-badge {
  background: var(--surface);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 2rem 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.badge-icon { font-size: 2.5rem; }

.badge-text h3 {
  color: var(--gold);
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
}

.badge-text p { color: var(--muted); font-size: 0.9rem; }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { color: #fff; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; }

.service-note {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-note p { color: var(--muted); }
.service-note strong { color: var(--gold); }

/* ── ABOUT LAYOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.about-text h2 { color: #fff; margin-bottom: 1.5rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.badge {
  background: rgba(232, 160, 48, 0.1);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
}

/* ── REVIEWS ── */
.score-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.score-number {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.score-stars { font-size: 2rem; margin: 0.5rem 0; }

.score-label {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.score-platform {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(232, 160, 48, 0.12);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
}

.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; }
.review-text { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.review-author { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.review-platform { color: var(--muted); font-size: 0.8rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  align-items: start;
}

.contact-info h3 { color: var(--gold); margin-bottom: 1.5rem; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.info-label { color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.info-value { color: var(--text); font-size: 1rem; }
.info-value a { color: var(--gold); }

/* ── FORM ── */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}

.contact-form h3 { color: #fff; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-dark); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  border: none;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ── HOURS TABLE ── */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.4rem 0; font-size: 0.9rem; color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--text); }
.hours-table tr td:first-child { color: var(--text); font-weight: 500; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  padding: 9rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #a0a8b8; font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── DIVIDER ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.divider-left {
  margin-left: 0;
  margin-right: auto;
}

/* ── FOOTER ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

footer p { color: var(--muted); font-size: 0.9rem; margin: 0.25rem 0; }
footer a { color: var(--gold); }

.footer-dm {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer-dm a { color: var(--gold-dark); }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── AREA CHIPS ── */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { height: 320px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(8, 10, 13, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 99;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    padding: 0 1rem 3rem;
  }

  .photo-strip img { height: 220px; }

  .nextdoor-badge {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .form-row { grid-template-columns: 1fr; }

  section { padding: 3.5rem 1.5rem; }

  .score-number { font-size: 3.5rem; }
}

@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .nav-logo { font-size: 1rem; }
}
