/* The Junk Pros - Main Stylesheet */
/* Mobile-first responsive design */

:root {
  --primary-navy: #1e3a5f;
  --accent-green: #3A6B42;
  --accent-green-dark: #2f5636;
  --light-gray: #f5f7fa;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --success-green: #28a745;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-navy);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER - Mobile First Design
   ===================================================== */

header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-gray);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
}

.logo-text .tagline {
  font-size: 0.6rem;
  color: var(--accent-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Desktop Navigation - Hidden on Mobile */
nav.desktop-nav {
  display: none;
}

nav.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav.desktop-nav li {
  position: relative;
}

nav.desktop-nav > ul > li > a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav.desktop-nav > ul > li > a:hover {
  background: var(--light-gray);
  color: var(--accent-green);
}

/* Dropdown Menus */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown-content a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-dark);
  font-size: 0.875rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--accent-green);
}

/* Header Right Side */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
}

.header-phone a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.header-phone a:hover {
  background: var(--light-gray);
  color: var(--accent-green);
}

.header-phone .phone-icon {
  font-size: 1.1rem;
}

.btn-header {
  display: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--accent-green);
  color: var(--white);
  transition: all 0.2s ease;
}

.btn-header:hover {
  background: var(--accent-green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--primary-navy);
}

.mobile-menu-toggle:hover span {
  background: var(--white);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav > ul > li:last-child {
  border-bottom: none;
}

.mobile-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.mobile-nav > ul > li > a:hover {
  background: var(--light-gray);
  color: var(--accent-green);
}

/* Mobile Call Button */
.mobile-nav .mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
  padding: 1rem;
  background: var(--accent-green);
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 10px;
  text-align: center;
}

.mobile-nav .mobile-call-btn:hover {
  background: var(--accent-green-dark);
  color: var(--white);
}

/* Mobile Quote Button */
.mobile-nav .mobile-quote-btn {
  display: block;
  margin: 0 1rem 1rem;
  padding: 1rem;
  background: var(--primary-navy);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  text-align: center;
}

.mobile-nav .mobile-quote-btn:hover {
  background: #152a45;
  color: var(--white);
}

/* Mobile Dropdown */
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.mobile-dropdown-toggle:hover {
  background: var(--light-gray);
  color: var(--accent-green);
}

.mobile-dropdown-toggle .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.mobile-dropdown-toggle.active .arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: none;
  background: var(--light-gray);
  padding: 0.5rem 0;
}

.mobile-dropdown-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.75rem 1.25rem 0.75rem 2rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.mobile-dropdown-content a:hover {
  background: var(--white);
  color: var(--accent-green);
  border-left-color: var(--accent-green);
}

/* Hide old phone-number class */
.phone-number {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-width: 140px;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
}

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

.btn-secondary {
  background: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
}

.btn-secondary:hover {
  background: #152a45;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline:hover {
  background: var(--primary-navy);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #2d5a8f 100%);
  color: var(--white);
  padding: 4rem 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Stats Bar */
.stats-bar {
  background: var(--light-gray);
  padding: 2rem 20px;
  border-bottom: 3px solid var(--accent-green);
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  flex: 1;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

/* Trust Badges */
.trust-badges {
  padding: 4rem 20px;
  background: var(--white);
  text-align: center;
}

.badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
}

.badge {
  flex: 1 1 200px;
  max-width: 280px;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.badge p {
  margin: 0;
}

.badge p strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.badge p:last-child {
  font-size: 1.1rem;
  color: var(--text-dark);
}

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

.badge a:hover {
  color: inherit;
}

.badge img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.badge:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Section Styling */
section {
  padding: 4rem 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Cards */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* How It Works */
.steps {
  counter-reset: step-counter;
}

.step {
  counter-increment: step-counter;
  position: relative;
  padding-left: 80px;
  margin-bottom: 2rem;
}

.step::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--accent-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}

/* Services Grid */
.service-card {
  text-align: center;
}

.service-card .card-icon {
  font-size: 4rem;
}

/* Testimonials */
.testimonial {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-green);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-navy);
}

.testimonial-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: var(--accent-green);
  color: var(--white);
  text-align: center;
  padding: 4rem 20px;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-green);
}

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

/* Quote Options */
.quote-options {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.quote-option {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-option:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(58, 107, 66, 0.2);
}

.quote-option h3 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Areas List */
.areas-list {
  display: grid;
  gap: 0.5rem;
}

.area-link {
  padding: 1rem;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.area-link:hover {
  background: var(--light-gray);
  border-color: var(--accent-green);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 20px;
  background: var(--light-gray);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--accent-green);
}

.breadcrumbs span {
  margin: 0 0.5rem;
  color: var(--text-light);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: 3rem 20px 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Tablet Styles - 768px+ */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }

  /* Header - Tablet */
  .header-content {
    padding: 0.5rem 30px;
  }

  .logo img {
    height: 52px;
    width: 52px;
  }

  .logo-text .company-name {
    font-size: 1.2rem;
  }

  .logo-text .tagline {
    font-size: 0.65rem;
  }

  .header-phone {
    display: block;
  }

  .btn-header {
    display: inline-block;
  }

  .hero h1 { font-size: 3rem; }

  .hero-cta {
    flex-direction: row;
  }

  .stats-container {
    flex-direction: row;
  }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Styles - 992px+ */
@media (min-width: 992px) {
  /* Header - Desktop */
  .header-content {
    padding: 0.6rem 40px;
    gap: 2rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  nav.desktop-nav {
    display: block;
  }

  .logo img {
    height: 54px;
    width: 54px;
  }

  .logo-text .company-name {
    font-size: 1.25rem;
  }

  .logo-text .tagline {
    font-size: 0.7rem;
  }

  nav.desktop-nav > ul > li > a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .hero h1 { font-size: 3.5rem; }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .areas-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
  .header-content {
    max-width: 1400px;
    padding: 0.6rem 50px;
  }

  nav.desktop-nav ul {
    gap: 0.5rem;
  }

  nav.desktop-nav > ul > li > a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .logo img {
    height: 56px;
    width: 56px;
  }

  .logo-text .company-name {
    font-size: 1.3rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.bg-light { background: var(--light-gray); }
.bg-white { background: var(--white); }
