/* ============================================================
   GLC Junk & Haul — style.css
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --blue:       #1C6EF2;
  --blue-dark:  #1251B5;
  --blue-light: #EEF4FF;
  --navy:       #0D1B2A;
  --charcoal:   #1E293B;
  --gray:       #64748B;
  --light:      #F8FAFC;
  --white:      #FFFFFF;

  --radius-btn:  6px;
  --radius-card: 12px;

  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

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

.section-sub.light { color: rgba(255,255,255,0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.nav-logo span { color: var(--blue); }

#site-nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

#site-nav.scrolled .nav-links a { color: var(--charcoal); }
#site-nav.scrolled .nav-links a:hover { color: var(--blue); }

.nav-cta {
  font-size: 0.85rem;
  padding: 10px 20px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
#site-nav.scrolled .hamburger span { background: var(--charcoal); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 20px 24px;
  border-top: 1px solid #eee;
  gap: 4px;
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 8px; text-align: center; justify-content: center; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .mobile-nav { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(to right, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.72) 55%, rgba(13,27,42,0.45) 100%),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 88px;
}

.hero-content {
  max-width: 680px;
  padding: 60px 0 40px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(28,110,242,0.15);
  border: 1px solid rgba(28,110,242,0.3);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Trust Bar */
.trust-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.trust-pill svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--light);
  padding: 88px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-sub { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--gray);
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--white);
  padding: 88px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  display: block;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(28,110,242,0.1);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  background: var(--blue-light);
  padding: 88px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.price-tier {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.price-desc {
  font-size: 0.88rem;
  color: var(--gray);
  margin-top: 10px;
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Quote Tool Placeholder */
.quote-placeholder {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}

.quote-placeholder-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.quote-placeholder-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.quote-placeholder-desc {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 440px;
}

.quote-mock {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: none;
  opacity: 0.4;
}

.quote-mock input,
.quote-mock select {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray);
  background: var(--light);
}

.quote-mock .btn {
  width: 100%;
  justify-content: center;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(238,244,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-coming-soon {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(28,110,242,0.15);
}

/* ============================================================
   BEFORE & AFTER
   ============================================================ */
#before-after {
  background: var(--light);
  padding: 88px 0;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}

.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Before clips from the left — handle controls clip-path width */
.ba-before {
  clip-path: inset(0 50% 0 0);
}

/* Handle */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.ba-line {
  flex: 1;
  width: 2px;
  background: var(--white);
  opacity: 0.9;
}

.ba-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  color: var(--blue);
}

/* Labels */
.ba-label {
  position: absolute;
  top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.45);
  border-radius: 4px;
  padding: 4px 10px;
  pointer-events: none;
  z-index: 5;
}

.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews {
  background: var(--white);
  padding: 88px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background: var(--light);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border: 1.5px solid #E2E8F0;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.stars svg { color: var(--blue); }

.review-text {
  font-size: 0.97rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 20px;
}

.reviewer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray);
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--navy);
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.contact-info-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail svg { color: var(--blue); flex-shrink: 0; }
.contact-detail a,
.contact-detail span {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--white); }

.contact-area {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 28px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.contact-form select { color: rgba(255,255,255,0.7); }
.contact-form select option { color: var(--charcoal); background: var(--white); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(28,110,242,0.08);
}

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

.contact-form .btn {
  align-self: flex-start;
  min-width: 180px;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
  text-align: center;
}

.footer-logo-img {
  height: 160px;
  width: auto;
  margin: 0 auto 12px;
  opacity: 0.92;
}

.footer-meta {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}
.footer-meta a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-meta a:hover { color: var(--white); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 20px auto;
  max-width: 320px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--white); }

.goldmark-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
}
