/* ═══════════════════════════════════════════════════════
   JunkFit Hauling — Premium Design System
   Shared styles across all pages
   ═══════════════════════════════════════════════════════ */

:root {
  --green-50: #f0fdf4; --green-100: #dcfce7; --green-200: #bbf7d0;
  --green-300: #86efac; --green-400: #4ade80; --green-500: #22c55e;
  --green-600: #16a34a; --green-700: #15803d; --green-800: #166534;
  --green-900: #14532d; --green-950: #052e16;

  --primary: #1B8A3D; --primary-dark: #14532d; --primary-light: #22c55e;
  --accent: #F59E0B; --accent-light: #FCD34D;

  --gray-50: #fafafa; --gray-100: #f5f5f5; --gray-200: #e5e5e5;
  --gray-300: #d4d4d4; --gray-400: #a3a3a3; --gray-500: #737373;
  --gray-600: #525252; --gray-700: #404040; --gray-800: #262626;
  --gray-900: #171717; --gray-950: #0a0a0a;

  --white: #ffffff; --black: #0a0a0a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.12);
  --shadow-green: 0 8px 30px rgba(27,138,61,0.25);
  --shadow-green-lg: 0 12px 40px rgba(27,138,61,0.35);

  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-2xl: 32px; --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms; --duration: 300ms; --duration-slow: 500ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans); color: var(--gray-700);
  line-height: 1.6; background: var(--white); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--gray-900); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Scroll Reveal ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-spring); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 120ms); }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; transition: all var(--duration) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
}
/* Subpage nav starts light by default */
.nav.nav-light { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav.nav-light .nav-logo .logo-text { color: var(--primary-dark); }
.nav.nav-light .nav-links a { color: var(--gray-600); }
.nav.nav-light .nav-links a:hover { color: var(--primary); background: var(--green-50); }
.nav.nav-light .nav-links a.active { color: var(--primary); font-weight: 600; }
.nav.nav-light .nav-cta-btn { background: var(--primary) !important; color: var(--white) !important; box-shadow: var(--shadow-green); }
.nav.nav-light .nav-cta-btn:hover { background: var(--primary-dark) !important; box-shadow: var(--shadow-green-lg) !important; }
.nav.nav-light .mobile-toggle span { background: var(--gray-800); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; transition: height var(--duration) var(--ease);
}
.nav.scrolled .nav-inner { height: 64px; }
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; z-index: 1001;
}
.nav-logo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav-logo .logo-text { color: var(--white); transition: color var(--duration) var(--ease); }
.nav.scrolled .nav-logo .logo-text { color: var(--primary-dark); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: all var(--duration) var(--ease);
}
.nav.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav.scrolled .nav-links a:hover { color: var(--primary); background: var(--green-50); }
.nav-links a.active { color: var(--white); font-weight: 600; }
.nav.scrolled .nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta-btn {
  background: var(--white) !important; color: var(--primary-dark) !important;
  font-weight: 700 !important; padding: 10px 24px !important;
  box-shadow: var(--shadow-sm); transition: all var(--duration) var(--ease) !important;
}
.nav.scrolled .nav-cta-btn { background: var(--primary) !important; color: var(--white) !important; box-shadow: var(--shadow-green); }
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md) !important; }
.nav.scrolled .nav-cta-btn:hover { background: var(--primary-dark) !important; box-shadow: var(--shadow-green-lg) !important; }

/* Mobile */
.mobile-toggle { display: none; z-index: 1001; width: 28px; height: 20px; position: relative; }
.mobile-toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
  position: absolute; left: 0; transition: all var(--duration) var(--ease); border-radius: 2px;
}
.nav.scrolled .mobile-toggle span, .nav.nav-light .mobile-toggle span { background: var(--gray-800); }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { bottom: 0; }
.mobile-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); background: var(--white); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); background: var(--white); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--primary-dark) 50%, var(--green-800) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white);
  padding: 12px 32px; border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover { background: rgba(255,255,255,0.1); }
.mobile-menu .mobile-phone {
  margin-top: 32px; font-size: 20px; font-weight: 700; color: var(--green-300);
  opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease) 0.4s;
}
.mobile-menu.open .mobile-phone { opacity: 1; transform: translateY(0); }

/* ─── Section Styles ─── */
.section { padding: 120px 0; }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px;
}
.section-label::before, .section-label::after { content: ''; width: 24px; height: 1px; background: var(--primary); opacity: 0.4; }
.section-dark .section-label { color: var(--green-400); }
.section-dark .section-label::before, .section-dark .section-label::after { background: var(--green-400); }
.section-header h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-dark .section-header h2 { color: var(--white); }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--white);
  padding: 16px 36px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 16px;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-green); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15));
  opacity: 0; transition: opacity var(--duration) var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-green-lg); }
.btn-primary:hover::before { opacity: 1; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 2px solid var(--gray-300); color: var(--gray-700);
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 16px; transition: all var(--duration) var(--ease);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--primary-dark);
  padding: 18px 40px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 17px; transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); position: relative; z-index: 1;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ─── Page Hero (subpages) ─── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--green-950), var(--primary-dark), var(--green-800));
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 70%); border-radius: 50%;
}
.page-hero h1 {
  font-size: 52px; font-weight: 900; color: var(--white); margin-bottom: 16px;
  letter-spacing: -0.02em; position: relative; z-index: 1;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto;
  position: relative; z-index: 1; line-height: 1.7;
}

/* ─── Cards ─── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 40px 32px;
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--green-400));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }

.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: all var(--duration) var(--ease);
}
.card:hover .card-icon { background: linear-gradient(135deg, var(--primary), var(--green-600)); }
.card:hover .card-icon svg { color: var(--white); }
.card-icon svg { color: var(--primary); transition: color var(--duration) var(--ease); }

/* ─── CTA Section ─── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-950), var(--primary-dark));
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 60%); border-radius: 50%;
}
.cta-section h2 { font-size: 44px; font-weight: 800; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-section p {
  font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px;
  max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 1;
}
.cta-phone { margin-top: 24px; font-size: 16px; color: rgba(255,255,255,0.6); position: relative; z-index: 1; }
.cta-phone a { color: var(--white); font-weight: 700; font-size: 22px; }

/* ─── Floating CTA ─── */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 12px;
  background: var(--primary); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-green-lg);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s var(--ease);
}
.float-cta.visible { transform: translateY(0); opacity: 1; }
.float-cta:hover {
  background: var(--primary-dark); transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(27,138,61,0.4);
}
.float-cta svg { animation: phonePulse 2s infinite; }
@keyframes phonePulse {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-5deg); }
  40% { transform: rotate(0); }
}

/* ─── Footer ─── */
.footer { padding: 80px 0 32px; background: var(--gray-950); color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.footer-brand .footer-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-phone { margin-top: 20px; }
.footer-phone a { color: var(--green-400); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,0.5); transition: all var(--duration) var(--ease); }
.footer-col a:hover { color: var(--green-400); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.footer-social a:hover svg { color: var(--white); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .section-header h2 { font-size: 36px; }
  .page-hero h1 { font-size: 40px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .section-header h2 { font-size: 28px; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 32px; }
  .cta-section h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
