/* ════════════════════════════════════════════════════════
   Eagle Express Dumpster Service — Main Stylesheet
   ════════════════════════════════════════════════════════ */

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

:root {
  --accent:      #FBBF24;
  --accent-dark: #C8A200;
  --black:       #0D0D0D;
  --dark:        #1C1C1C;
  --mid:         #374151;
  --muted:       #6B7280;
  --light:       #F9FAFB;
  --white:       #FFFFFF;
  --border:      #E5E7EB;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.18);
  --font:        -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, Roboto, sans-serif;
  --max-w:       1140px;
  --header-h:    70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Layout Utilities ── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section     { padding: 80px 0; }
.text-center { text-align: center; }
.accent        { color: var(--accent); }

/* ── Typography ── */
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--mid); }

.brand-text-yellow { color: var(--accent); }
/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.5);
}

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

#final-cta .btn-outline { color: var(--black); border-color: var(--black); }
#final-cta .btn-outline:hover { background: var(--black); color: var(--white); }

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

.btn-lg   { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo          { display: flex; align-items: center; }
.logo img      { height: 48px; width: auto; }
.logo-text     { font-size: 1.2rem; font-weight: 900; color: var(--black); line-height: 1.1; }
.logo-text-inverted     { font-size: 1.2rem; font-weight: 900; color: var(--white); line-height: 1.1; }
.logo-text span { color: var(--black); }

.header-contact             { display: flex; align-items: center; gap: 10px; }
.header-contact .label      { font-size: 0.78rem; color: var(--muted); display: block; }
.header-contact .number     { font-size: 1.2rem; font-weight: 800; color: var(--black); transition: color 0.2s; }
.header-contact .number:hover { color: var(--dark); }
.phone-icon                 { color: var(--black); font-size: 1.5rem; }

/* ── Header Nav ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.header-nav a:hover {
  color: var(--black);
  background: rgba(251, 191, 36, 0.15);
}

.header-nav a.active {
  color: var(--black);
  background: rgba(251, 191, 36, 0.25);
}

@media (max-width: 960px) {
  .header-nav { display: none; }
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  background: var(--black);
  /* To use a real photo, replace the line below with:
     background-image: url('../images/hero.jpg');
     background-size: cover;
     background-position: center; */
  background-image: linear-gradient(135deg, #0D0D0D 0%, #1a1a2e 100%);
  color: var(--white);
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.93) 0%, rgba(251, 191, 36, 0.06) 100%);
}

.hero-inner { position: relative; z-index: 1; }
.hero-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero-title       { color: var(--accent); margin-bottom: 16px; }
.hero-white       { color: var(--white); }
.hero-sub   { font-size: 1.1rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 32px; max-width: 500px; }
.hero-ctas  { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }

.trust-item        { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.trust-item .check { color: var(--accent); }

/* Hero Card (right column, hidden on mobile) */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}

.hero-card h3     { font-size: 1.25rem; color: var(--black); margin-bottom: 6px; }
.hero-card .sub   { font-size: 0.9rem; margin-bottom: 20px; }
.review-stars     { color: #FBBF24; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 4px; }
.review-count     { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.card-divider     { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.card-feature     { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.93rem; color: var(--mid); }
.card-feature .icon { font-size: 1.2rem; flex-shrink: 0; }

/* ════════════════════════════════
   TRUST BAR
════════════════════════════════ */
#trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-pill      { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.trust-pill .icon { font-size: 1.1rem; }

/* ════════════════════════════════
   SHARED SECTION HEADER
════════════════════════════════ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }

.section-tag {
  display: inline-block;
  background: rgba(251, 191, 36, 0.25);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.section-tag-inverse {
  display: inline-block;
  background: rgba(251, 191, 36, 0.25);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 12px; }

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
#services { background: var(--white); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  border: none;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-icon                   { font-size: 3rem; margin-bottom: 16px; }
.service-card h3                { color: var(--black); margin-bottom: 12px; }

.service-list {
  list-style: none;
  text-align: left;
  margin: 0 auto;
  max-width: 220px;
}

.service-list li {
  font-size: 0.92rem;
  color: var(--mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '✓';
  color: var(--black);
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
#how-it-works { background: var(--light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::after {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  z-index: 0;
}

.step-card { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
}

.step-card h3 { color: var(--black); margin-bottom: 8px; }

/* ════════════════════════════════
   DUMPSTER SIZES
════════════════════════════════ */
#sizes { background: var(--white); }

.sizes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.size-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}

.size-card:hover        { border-color: var(--accent); box-shadow: var(--shadow-md); }
.size-card.popular      { border-color: var(--accent); }

.popular-tag {
  background: var(--accent);
  color: var(--black);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px;
}

.empty-tag { background: transparent; padding: 7px; visibility: hidden; }

.size-body   { padding: 28px; }
.size-yards  { font-size: 3rem; font-weight: 900; color: var(--black); line-height: 1; }
.size-yards span { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.size-dim    { font-size: 0.82rem; color: var(--muted); margin: 8px 0 18px; }
.size-uses   { list-style: none; margin-bottom: 24px; }

.size-uses li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.size-uses li:last-child  { border-bottom: none; }
.size-uses li::before     { content: '✓'; color: var(--black); font-weight: 700; flex-shrink: 0; }

/* ════════════════════════════════
   SERVICE AREA
════════════════════════════════ */
#service-area { background: var(--black); color: var(--white); }

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

/* ── Content panel ── */
.service-area-content {
  padding: 72px 48px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: auto;
}

#service-area .section-tag {
  background: var(--accent);
  color: var(--black);
  border: none;
  align-self: flex-start;
}

#service-area h2   { color: var(--white); margin-bottom: 12px; }
#service-area > .service-area-grid .service-area-content > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }

.cities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  margin-bottom: 28px;
}

.cities-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cities-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.area-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

/* ── Map panel ── */
.map-panel {
  position: relative;
  overflow: hidden;
  /* Fallback color while image loads */
  background: #1a1a1a;
}

.map-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient blends map into the dark content panel on the left */
.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(13, 13, 13, 0.5) 35%, transparent 70%);
}

/* ════════════════════════════════
   REVIEWS
════════════════════════════════ */
#reviews { background: var(--light); }

.reviews-score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.reviews-score-big { font-size: 4rem; font-weight: 900; color: var(--black); line-height: 1; }
.reviews-stars-lg  { font-size: 2rem; color: #FBBF24; margin-bottom: 4px; }
.reviews-label     { font-size: 0.88rem; color: var(--muted); }

.google-g-link { display: flex; align-items: center; flex-shrink: 0; }
.google-g-logo { width: 48px; height: 48px; object-fit: contain; transition: transform 0.2s; }
.google-g-link:hover .google-g-logo { transform: scale(1.1); }

.reviews-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  cursor: grab;
}

.reviews-grid:active { cursor: grabbing; }

.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-grid { -ms-overflow-style: none; scrollbar-width: none; }

.reviews-grid .review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-card .stars       { color: #FBBF24; font-size: 1rem; margin-bottom: 12px; }
.review-card blockquote   { font-size: 0.93rem; color: var(--mid); font-style: italic; margin-bottom: 18px; line-height: 1.7; flex-grow: 1; }
.reviewer                 { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-name { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.reviewer-name a { color: inherit; text-decoration: none; }
.reviewer-name a:hover { text-decoration: underline; }
.reviewer-loc  { font-size: 0.8rem; color: var(--muted); }

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.review-skeleton {
  min-height: 200px;
  background: linear-gradient(90deg, var(--border) 25%, #eee 50%, var(--border) 75%);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
  pointer-events: none;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 36px;
  transition: box-shadow 0.2s;
}

.google-badge { transition: box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.google-badge:hover { box-shadow: var(--shadow-md); background: var(--accent); border-color: var(--accent); }

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
#faq { background: var(--white); }

.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.faq-icon             { font-size: 1.4rem; color: var(--black); flex-shrink: 0; transition: transform 0.25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }

.faq-a            { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s; }
.faq-a.open       { max-height: 480px; padding-bottom: 18px; }
.faq-a p          { font-size: 0.95rem; margin-bottom: 8px; }

.faq-bullets {
  list-style: none;
  margin: 4px 0 12px 4px;
}

.faq-bullets li {
  font-size: 0.93rem;
  color: var(--mid);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════
   FINAL CTA
════════════════════════════════ */
#final-cta {
  background: var(--accent);
  background-image: linear-gradient(135deg, #FBBF24 0%, #C8A200 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

#final-cta h2 { color: var(--black); margin-bottom: 12px; }

#final-cta p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-phone {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -1px;
  margin-bottom: 24px;
  transition: opacity 0.2s;
}

.final-phone:hover { opacity: 0.7; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer { background: var(--dark); color: var(--white); padding: 54px 0 28px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-col ul              { list-style: none; }
.footer-col li              { margin-bottom: 10px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.footer-divider             { border: none; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 22px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p    { font-size: 0.78rem; color: rgba(255, 255, 255, 0.35); }
.footer-phone       { color: rgba(255, 255, 255, 0.55) !important; transition: color 0.2s; }
.footer-phone:hover { color: var(--accent) !important; }

/* ════════════════════════════════
   FLOATING CALL BUTTON (mobile only)
════════════════════════════════ */
.float-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: calc(100% - 36px);
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-sm);
}

/* ════════════════════════════════
   RESPONSIVE — Tablet
════════════════════════════════ */
@media (max-width: 960px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 36px; }
  .hero-card     { display: none; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps-grid    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps-grid::after { display: none; }
  .sizes-grid    { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .service-area-grid { grid-template-columns: 1fr; }
  .service-area-content { max-width: 100%; margin: 0; padding: 56px 24px; order: 2; }
  .map-panel { min-height: 280px; order: 1; }
  .map-overlay { background: linear-gradient(to bottom, transparent 30%, var(--black) 100%); }

  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .float-cta     { display: block; }
}

/* ════════════════════════════════
   RESPONSIVE — Mobile
════════════════════════════════ */
@media (max-width: 600px) {
  .section              { padding: 56px 0; }
  .hero-ctas            { flex-direction: column; }
  .hero-ctas .btn       { width: 100%; }
  .trust-bar-inner      { gap: 14px; }
  .cities-list          { grid-template-columns: 1fr 1fr; }
  .reviews-score-row    { flex-direction: column; gap: 6px; text-align: center; }
  .footer-bottom        { flex-direction: column; text-align: center; }
}
