/* ============================================
   VINNY ALLISON SEALCOATING — style.css
   Asphalt-themed, mobile-first design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Barlow:wght@400;500;600;700;900&family=Barlow+Condensed:wght@400;600;700;900&display=swap');

/* ── CSS Variables ───────────────────────────── */
:root {
  --black:       #0d0d0d;
  --asphalt:     #1a1a1a;
  --asphalt-mid: #222222;
  --asphalt-lt:  #2e2e2e;
  --yellow:      #f5c800;
  --yellow-dark: #d4a800;
  --yellow-glow: rgba(245, 200, 0, 0.18);
  --white:       #f4f4f0;
  --gray:        #aaaaaa;
  --gray-lt:     #cccccc;
  --red:         #d42b2b;
  --stripe-h:    6px;
  --radius:      6px;
  --font-head:   'Black Ops One', serif;
  --font-body:   'Barlow', sans-serif;
  --font-cond:   'Barlow Condensed', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Asphalt Texture Overlay ─────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ── Road-Stripe Divider ─────────────────────── */
.road-stripe {
  position: relative;
  height: var(--stripe-h);
  background: var(--yellow);
  overflow: visible;
  z-index: 2;
}
.road-stripe::before,
.road-stripe::after {
  content: '';
  position: absolute;
  top: 0; height: 100%;
  width: 4px;
  background: var(--black);
}
.road-stripe::before { left: 0; }
.road-stripe::after  { right: 0; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  min-height: 54px;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 18px rgba(245,200,0,0.35);
}
.btn-yellow:hover {
  background: #ffe033;
  box-shadow: 0 6px 28px rgba(245,200,0,0.55);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.btn-outline:hover {
  background: var(--yellow-glow);
  box-shadow: 0 4px 18px rgba(245,200,0,0.2);
  color: var(--yellow);
}

.btn-lg {
  font-size: 1.35rem;
  padding: 1.05rem 2.2rem;
  min-height: 62px;
}

/* ── Section Wrapper ─────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--yellow);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.section-sub {
  text-align: center;
  color: var(--gray-lt);
  font-size: 1.05rem;
  margin-bottom: 2.8rem;
}

/* ── TOP BANNER ──────────────────────────────── */
#top-banner {
  background: var(--yellow);
  padding: 0.65rem 1rem;
  text-align: center;
  z-index: 100;
  position: relative;
}

#top-banner p {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#top-banner a {
  color: var(--black);
  font-weight: 900;
  font-size: 1.2rem;
  white-space: nowrap;
  text-decoration: none;
  margin-left: 0.5rem;
}
#top-banner a:hover { text-decoration: underline; }

/* ── NAVIGATION (sticky) ─────────────────────── */
#main-nav {
  background: rgba(13,13,13,0.97);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--yellow); text-decoration: none; }

.nav-cta {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: background 0.15s;
}
.nav-cta:hover { background: #ffe033 !important; color: var(--black) !important; }

/* ── HERO ────────────────────────────────────── */
#hero {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Road line decoration behind hero */
#hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 40px,
    var(--yellow) 40px, var(--yellow) 80px,
    transparent 80px, transparent 120px
  );
  opacity: 0.06;
}

.hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  background: var(--asphalt-lt);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245,200,0,0.2);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-placeholder-text {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.3;
  padding: 0.5rem;
}

#hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

#hero h1 span { color: var(--yellow); }

#hero .hero-sub {
  font-family: var(--font-cond);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--gray-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

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

/* ── SERVICES ────────────────────────────────── */
#services {
  background: var(--asphalt);
}

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

.service-card {
  background: var(--asphalt-lt);
  border: 1px solid #333;
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--yellow);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-lt);
  line-height: 1.55;
}

/* ── BEFORE & AFTER ──────────────────────────── */
#before-after {
  background: var(--black);
}

.slider-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.slide-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--asphalt-lt);
  aspect-ratio: 4/3;
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.72);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem;
}

.slide-label.after-label { background: rgba(245,200,0,0.82); color: var(--black); }

.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--gray);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}
.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.slider-btn {
  background: var(--asphalt-lt);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.slider-btn:hover { background: var(--yellow-glow); }

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
  transition: background 0.15s;
}
.dot.active { background: var(--yellow); }

/* Single-photo slide (after-only) */
.slide-full {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.slider-count {
  font-family: var(--font-cond);
  color: var(--gray);
  font-size: 0.95rem;
  min-width: 52px;
  text-align: center;
}

/* Single-image slides (after-only) */
.slide-single {
  grid-template-columns: 1fr;
}
.slide-img-full {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

/* ── WHY CHOOSE US ───────────────────────────── */
#why-us {
  background: var(--asphalt);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--asphalt-lt);
  border-left: 5px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
}

.trust-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.trust-item h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--gray-lt);
}

/* ── FREE ESTIMATE FORM ──────────────────────── */
#estimate {
  background: linear-gradient(180deg, #111 0%, #181818 100%);
}

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--asphalt-lt);
  border: 2px solid #333;
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

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

.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gray-lt);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-group label .req { color: var(--yellow); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--asphalt);
  border: 1.5px solid #3a3a3a;
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

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

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

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

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1.25rem;
}

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

#form-success {
  display: none;
  background: #1a3a1a;
  border: 2px solid #3a8a3a;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}
#form-success h3 { color: #5fc85f; font-family: var(--font-cond); font-size: 1.4rem; margin-bottom: 0.4rem; }
#form-success p { color: var(--gray-lt); }

/* ── SERVICE AREA ────────────────────────────── */
#service-area {
  background: var(--asphalt);
}

.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.map-placeholder {
  background: var(--asphalt-lt);
  border: 2px solid #333;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-cond);
}
.map-placeholder .map-icon { font-size: 3.5rem; opacity: 0.35; }
.map-placeholder p { font-size: 0.85rem; line-height: 1.5; }

.area-info h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.county-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.county-list li {
  background: var(--asphalt-lt);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.area-caption {
  font-size: 0.88rem;
  color: var(--gray);
  font-style: italic;
  border-left: 3px solid var(--yellow);
  padding-left: 0.75rem;
  line-height: 1.6;
}

.commercial-note {
  margin-top: 1.2rem;
  background: var(--asphalt-lt);
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--gray-lt);
}
.commercial-note strong { color: var(--yellow); }

/* ── FOOTER ──────────────────────────────────── */
#footer {
  background: var(--black);
  border-top: 4px solid var(--yellow);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.9rem;
  color: var(--gray-lt);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--yellow); text-decoration: none; }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-lt);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--yellow); text-decoration: none; }
.footer-contact .f-icon { font-size: 1.1rem; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── STICKY CALL BUTTON (mobile) ─────────────── */
#sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--yellow);
  padding: 0;
}

#sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {

  .nav-links { display: none; }

  .section { padding: 52px 0; }

  .hero-logo { width: 130px; height: 130px; }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 340px; }

  .slide { grid-template-columns: 1fr; }

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

  .area-layout { grid-template-columns: 1fr; }

  #sticky-call { display: block; }

  body { padding-bottom: 64px; }

  .section-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  #top-banner p { font-size: 0.88rem; }
  #top-banner a  { font-size: 1rem; }
  .form-wrap { padding: 1.6rem 1.1rem; }
}

/* ── Scroll Animation ────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   AUDIT FIXES — appended
════════════════════════════════════════ */

/* ── Skip to main content (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Focus styles (keyboard navigation) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Mobile hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Form field error styles ── */
.field-error {
  display: block;
  font-size: 0.82rem;
  color: #ff6b6b;
  margin-top: 0.3rem;
  min-height: 1.1rem;
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.15) !important;
}
.optional { font-weight:400; color:#888; font-size:0.85em; }

/* ── Service area city keywords ── */
.area-cities {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

/* ── Footer address block ── */
.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.footer-address {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: normal;
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* ── Mobile nav overrides ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,13,13,0.99);
    border-bottom: 3px solid var(--yellow);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    z-index: 88;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
    min-height: 44px;
  }
  .nav-links .nav-cta {
    margin: 0.5rem 1.5rem 0;
    text-align: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    line-height: normal;
  }
}

@media (max-width: 480px) {
  .btn { min-height: 48px; }
}
