/* ============================================================
   The Holy Moly Yard Guy — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #060d06;
  --card:      #0c180c;
  --surface:   #101e10;
  --border:    #1a2e1a;
  --gold:      #4caf50;
  --gold-light:#66bb6a;
  --gold-dark: #388e3c;
  --text:      #d4e8d4;
  --muted:     #7a9a7a;
  --white:     #ffffff;
  --ff-head:   'Playfair Display', serif;
  --ff-body:   'Inter', sans-serif;
  --radius:    8px;
  --transition: 0.22s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--gold);
  line-height: 1.2;
}

p { margin-bottom: 1rem; }
ul { list-style: none; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--sm {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.text-center { text-align: center; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 6, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo span {
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--gold);
  color: var(--bg) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav__cta:hover {
  background: var(--gold-light) !important;
  color: var(--bg) !important;
}

.nav__cta::after { display: none !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn--gold {
  background: var(--gold);
  color: var(--bg);
}

.btn--gold:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.card:hover::before {
  opacity: 1;
}

/* ── Stars ────────────────────────────────────────────────── */
.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.stars--lg {
  font-size: 2rem;
  letter-spacing: 4px;
}

/* ── Hero (homepage) ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      to bottom,
      rgba(6,13,6,0.60) 0%,
      rgba(6,13,6,0.88) 100%
    ),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1400&q=80') center/cover no-repeat;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(76,175,80,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  margin-bottom: 0.4rem;
  font-weight: 900;
}

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

.hero__tagline {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.hero__sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero__sub .dot {
  color: var(--gold);
}

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

/* ── Why cards grid ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-card {
  text-align: center;
}

.why-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--ff-head);
}

.why-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Rating badge ─────────────────────────────────────────── */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 0.8rem 1.8rem;
}

.rating-badge__score {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.rating-badge__label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.3;
}

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  background:
    linear-gradient(to bottom, rgba(6,13,6,0.72), var(--bg)),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1400&q=80') center/cover no-repeat;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero--services {
  background:
    linear-gradient(to bottom, rgba(6,13,6,0.72), var(--bg)),
    url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?w=1400&q=80') center/cover no-repeat;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-hero__sub {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__name {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.service-card__price {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 600;
}

.service-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ── About ────────────────────────────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.about-text .lead {
  font-size: 1.2rem;
  color: var(--text);
  font-family: var(--ff-head);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.about-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.about-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition);
}

.about-badge:hover {
  border-color: var(--gold);
}

.about-badge__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.about-badge__label {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ── Service Area ─────────────────────────────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.area-card {
  text-align: center;
}

.area-card__name {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.area-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 100px;
  padding: 0.2rem 0.8rem;
  margin-bottom: 0.75rem;
}

.area-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.area-note {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.area-note p {
  color: var(--muted);
  margin: 0;
}

.area-note a {
  color: var(--gold);
  font-weight: 600;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__block {
  margin-bottom: 2rem;
}

.contact-info__label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.contact-info__value a {
  color: var(--text);
}

.contact-info__value a:hover {
  color: var(--gold);
}

.contact-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-area-tag {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
}

/* ── Form ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  outline: none;
}

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

.form-group select option {
  background: var(--card);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__logo {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer__address a {
  color: var(--muted);
}

.footer__address a:hover {
  color: var(--gold);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__copy {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

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

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

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.cta-banner__sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ── Photo strip (homepage) ───────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 280px;
  overflow: hidden;
}

.photo-strip__item {
  position: relative;
  overflow: hidden;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(0.75) saturate(0.8);
}

.photo-strip__item:hover img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1);
}

/* ── Nextdoor badge ───────────────────────────────────────── */
.nextdoor-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nextdoor-badge__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.nextdoor-badge__text {
  text-align: left;
}

.nextdoor-badge__title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.1rem;
}

.nextdoor-badge__sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__logo {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-badge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }

  .hero__sub {
    flex-direction: column;
    gap: 0.3rem;
  }

  .hero__sub .dot {
    display: none;
  }

  .photo-strip {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
  .about-badge-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .photo-strip__item { height: 200px; }
  .area-grid { grid-template-columns: 1fr; }
}
