/* =========================
   Renegade Removal & Hauling
   styles.css (FULL FILE)
   - Single background.webp
   - Adjustable background position (up/down)
   - Desktop fixed background (mobile smooth)
   - Smoky solid cards (match screenshot)
   - Kicker pill badge (match screenshot)
   - Orange system unified
   - Recent Work BIG on mobile
   - Header logo WITHOUT a box
========================= */

/* ---------- Tokens ---------- */
:root{
  --bg:#0b0f14;

  /* Brand orange (matches your kicker screenshot) */
  --brand-orange: #ff8a1f;
  --brand-orange-soft: #ffb066;
  --brand-glow: rgba(255,138,31,.35);
  --brand-outline: rgba(255,138,31,.45);

  /* Card background (matches your screenshot) */
  --card-bg: rgba(13,16,20,.78);
  --card-border: rgba(255,138,31,.22);
  --card-inner: rgba(255,255,255,.06);

  --text:#e9eef5;
  --muted:#a9b5c6;

  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.08);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.60);
  --shadow2: 0 12px 30px rgba(0,0,0,.35);

  --wrap: 1140px;

  /* ✅ Adjust background image up/down here */
  --bg-y: 29%;
}

/* Prevent sideways scrolling */
html, body { width:100%; overflow-x:hidden; }
*{ box-sizing:border-box; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

/* ---------- Background (single file) ---------- */
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color: var(--text);
  background-color: var(--bg);

  background-image:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,138,31,.18), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(255,176,102,.12), transparent 55%),
    url("/images/Background.webp");

  background-size: cover, cover, cover;

  /* ✅ Only move the image layer up/down */
  background-position:
    center,
    center,
    center var(--bg-y);

  background-repeat: no-repeat, no-repeat, no-repeat;

  /* Mobile default: smooth scrolling */
  background-attachment: scroll;
}

/* Desktop: keep only the image fixed (gradients scroll) */
@media (min-width: 1025px){
  body{
    background-attachment: scroll, scroll, fixed;
  }
}

/* Optional: slightly different bg position on phones (feel free to tweak) */
@media (max-width: 768px){
  :root{ --bg-y: 55%; }
}

/* ---------- Layout ---------- */
.wrap{
  max-width: var(--wrap);
  margin:0 auto;
  padding: 0 18px;
}

.section-title{
  margin: 0 0 14px;
}
.section-title h3{
  margin:0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .2px;
}
.section-title p{
  margin: 6px 0 0;
  color: rgba(233,238,245,.72);
  font-size: 13px;
  line-height: 1.4;
}

/* ---------- Topbar ---------- */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(8,12,18,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar .row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

/* ✅ Header logo: NO box, no border, no background */
.logo{
  width: 64px;
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.logo img{
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

/* Brand text beside logo */
.brand h1{
  margin:0;
  font-size: 16px;
  font-weight: 950;
  letter-spacing:.2px;
  line-height: 1.15;
}
.brand p{
  margin:2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  color: rgba(233,238,245,.90);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 950;
  font-size: 13px;
  cursor:pointer;
  user-select:none;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); transition: .12s; }
.btn:active{ transform: translateY(0); }

.btn.primary{
  border-color: var(--brand-outline);
  background: rgba(0,0,0,.28);
  color: var(--brand-orange);
  box-shadow:
    0 12px 26px rgba(0,0,0,.45),
    0 0 18px rgba(255,138,31,.18);
}
.btn.primary:hover{
  box-shadow:
    0 18px 36px rgba(0,0,0,.55),
    0 0 26px rgba(255,138,31,.24);
}

.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.14);
}

/* ---------- Cards (match screenshot) ---------- */
.card,
.step,
.stat,
.badge,
.form-card{
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card::before,
.step::before,
.stat::before,
.badge::before,
.form-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--card-inner), transparent 42%);
  opacity: .9;
}

/* Optional: subtle orange outline on hero card like your screenshot */
.hero-copy{
  border-color: var(--card-border);
}

/* ---------- Hero ---------- */
.hero{
  padding: 28px 0 14px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 900px){
  .hero{ padding-top: 34px; }
}

.hero-copy{ padding: 18px; }
.hero-side{ padding: 18px; }

/* Hero logo (bigger logo inside hero card if you’re using it) */
.hero-logo{
  width: 92px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.60));
}
@media (max-width: 768px){
  .hero-logo{ width: 80px; }
}

/* ✅ Kicker pill badge (match screenshot) */
.kicker{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 18px;
  border-radius: 999px;

  color: var(--brand-orange);
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.1;

  background: rgba(0,0,0,.38);
  border: 1px solid var(--brand-outline);

  box-shadow:
    0 0 0 1px rgba(255,138,31,.08),
    0 12px 30px rgba(0,0,0,.45),
    0 0 26px var(--brand-glow);

  text-shadow: 0 1px 0 rgba(0,0,0,.55);
  max-width: 100%;
}

.hero h2{
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: .2px;
}
.hero p{
  margin: 0 0 14px;
  color: rgba(233,238,245,.72);
  line-height: 1.55;
  font-size: 14px;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.fineprint{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(233,238,245,.70);
}

/* Hero right card elements */
.badge{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
}
.badge .pill{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-outline);
  background: rgba(0,0,0,.28);
  color: var(--brand-orange);
  font-weight: 950;
  font-size: 12px;
  box-shadow: 0 0 18px rgba(255,138,31,.14);
}

.stat{
  padding: 12px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.stat b{ display:block; font-weight: 950; }
.stat span{ display:block; color: rgba(233,238,245,.70); font-size: 13px; line-height: 1.4; margin-top: 4px; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero h2{ font-size: 30px; }
}

/* ---------- How it works ---------- */
#how{
  padding: 22px 0 18px;
}

/* ✅ Fix title styling/spacing */
#how .section-title{
  margin-bottom: 14px;
}
#how .section-title h3{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 1000;
  color: var(--text);
}
#how .section-title p{
  margin: 0;
  color: rgba(233,238,245,.72);
  font-size: 13px;
}

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

.step{
  padding: 16px;
}

/* ✅ Orange number badge matches kicker orange */
.step .num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;

  border: 1px solid var(--brand-outline);
  background: rgba(0,0,0,.28);
  color: var(--brand-orange);
  font-weight: 950;

  box-shadow:
    0 10px 22px rgba(0,0,0,.45),
    0 0 18px rgba(255,138,31,.20);

  margin-bottom: 10px;
}

.step b{ display:block; font-size: 15px; font-weight: 950; }
.step span{ display:block; margin-top: 6px; color: rgba(233,238,245,.70); font-size: 13px; line-height: 1.45; }

@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Recent Work ---------- */
#areas{
  padding: 16px 0 22px;
}

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

.photo{
  width:100%;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow2);
}
.photo img{
  width:100%;
  height:100%;
  object-fit: cover;
}

/* ✅ BIG on phones + remove “double padding” that shrinks images */
@media (max-width: 768px){
  #areas .card{
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  #areas .section-title{
    padding: 0 16px 10px;
  }
  #recentWorkGrid{
    padding: 0 12px 14px;
  }

  .photo-grid{
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .photo{
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }
}

/* tablets */
@media (min-width: 769px) and (max-width: 1024px){
  .photo-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Quote Form ---------- */
#quote{
  padding: 18px 0 34px;
}
.form-card{ padding: 18px; }

form label{
  display:block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
  color: rgba(233,238,245,.92);
}

input, textarea, select{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: var(--text);
  outline:none;
  font-size: 15px;
}

textarea{
  min-height: 120px;
  resize: vertical;
}

input:focus, textarea:focus, select:focus{
  border-color: rgba(255,138,31,.90);
  box-shadow: 0 0 0 2px rgba(255,138,31,.18);
}

/* Dropdown polish */
select{
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-orange) 50%),
    linear-gradient(135deg, var(--brand-orange) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 20px) calc(50% - 4px),
    calc(100% - 15px) calc(50% - 4px),
    100% 0;
  background-size:
    6px 6px,
    6px 6px,
    2.5em 2.5em;
  background-repeat: no-repeat;
}

.row2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px){
  .row2{ grid-template-columns: 1fr; }
}

.form-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-top: 12px;
}
.note{
  color: rgba(233,238,245,.70);
  font-size: 12px;
}

.status{
  display:none;
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  font-weight: 900;
  font-size: 13px;
}
.status.ok{
  border-color: rgba(80,255,160,.25);
  background: rgba(80,255,160,.10);
}
.status.err{
  border-color: rgba(255,80,80,.30);
  background: rgba(255,80,80,.10);
}

/* ---------- Footer (match header vibe) ---------- */
footer{
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(8,12,18,.88);
  backdrop-filter: blur(10px);
}
footer .wrap{
  padding: 18px 18px 26px;
}
footer p, footer a, footer div, footer span{
  color: rgba(233,238,245,.78);
  font-size: 12px;
  line-height: 1.6;
}
footer a{
  color: var(--brand-orange);
  font-weight: 800;
}

/* ---------- Motion/Perf ---------- */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}
