/* ============================================
   JLTM Junk Removal - Main Stylesheet
   Colors: Black, Green (#2E7D32), White
   ============================================ */

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

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #4CAF50;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --gray-dark: #666666;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green-dark);
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background: #333;
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 70px;
  width: auto;
}

@media (min-width: 768px) {
  .logo img {
    height: 100px;
  }
}

@media (min-width: 1024px) {
  .logo img {
    height: 120px;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-phone:hover {
  background: var(--green-dark);
  color: var(--white);
}

@media (min-width: 768px) {
  .header-phone {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .header-phone svg {
    width: 18px;
    height: 18px;
  }
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  color: var(--black);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.header-cta {
  display: none;
}

@media (max-width: 767px) {
  .header-inner {
    padding: 0.5rem 0;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

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

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

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

.mobile-nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--black);
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: var(--gray-light);
  color: var(--green);
}

.mobile-nav .mobile-phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.25rem;
}

.mobile-nav .mobile-phone-cta:hover,
.mobile-nav .mobile-phone-cta:active {
  background: var(--green-dark);
  color: var(--white);
}

.mobile-nav .mobile-phone-cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Hero Section */
.hero {
  padding: 6rem 0 3rem;
  min-height: auto;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/Site images/JLTM Truck and Trailer.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 0 5rem;
    min-height: 90vh;
  }
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  text-align: center;
}

@media (min-width: 480px) {
  .hero-text {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-text {
    padding: 3rem;
  }
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero-text .tagline {
  font-size: 1.25rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-image {
  display: none;
}

/* Features Grid */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--gray-light);
}

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

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

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

/* Pricing Table */
.pricing-table {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.pricing-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--gray-light);
}

.pricing-table .price {
  font-weight: 700;
  color: var(--green);
  font-size: 1.25rem;
}

/* Surcharges */
.surcharges {
  max-width: 800px;
  margin: 2rem auto 0;
}

.surcharges h3 {
  margin-bottom: 1rem;
}

.surcharge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.surcharge-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--green);
}

.surcharge-item span:last-child {
  font-weight: 600;
  color: var(--green);
}

/* Service Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.area-card.featured {
  border: 2px solid var(--green);
}

.area-card h3 {
  margin-bottom: 0.25rem;
}

.area-card p {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.area-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text blockquote {
  font-size: 1.125rem;
  font-style: italic;
  border-left: 4px solid var(--green);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--gray-dark);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  fill: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--gray-dark);
}

.contact-item a {
  color: var(--green);
  font-weight: 600;
}

.quote-form {
  background: var(--gray-light);
  padding: 2rem;
  border-radius: 8px;
}

.quote-form h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

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

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

/* Cannot Accept List */
.cannot-accept {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.cannot-accept h4 {
  color: #856404;
  margin-bottom: 1rem;
}

.cannot-accept ul {
  margin-left: 1.5rem;
  color: #856404;
}

.cannot-accept li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

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

.footer-logo img {
  height: 100px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 140px;
  }
}

.footer-tagline {
  color: var(--gray);
  font-size: 0.875rem;
}

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

.footer ul {
  list-style: none;
}

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

.footer a {
  color: var(--gray);
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--green);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--green);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.floating-cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  box-shadow: none;
  border-radius: 0;
  flex: 1;
  font-size: 1rem;
}

.floating-cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-cta .phone-display {
  display: none;
}

.floating-cta .desktop-cta {
  display: none;
}

.floating-cta .mobile-cta {
  display: flex;
  background: var(--green);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.floating-cta .mobile-cta:hover {
  background: var(--green-dark);
}

.floating-cta .mobile-quote-cta {
  display: flex;
  background: var(--black);
  color: var(--white);
}

.floating-cta .mobile-quote-cta:hover {
  background: #333;
}

@media (min-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    left: auto;
    right: 1.5rem;
    background: transparent;
    box-shadow: none;
    gap: 1rem;
  }

  .floating-cta .btn {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    flex: none;
  }

  .floating-cta .phone-display {
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    color: var(--green);
    display: block;
  }

  .floating-cta .phone-display a {
    color: var(--green);
    text-decoration: none;
  }

  .floating-cta .desktop-cta {
    display: flex;
  }

  .floating-cta .mobile-cta,
  .floating-cta .mobile-quote-cta {
    display: none;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--green);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author strong {
  display: block;
  color: var(--black);
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.testimonial-stars {
  color: #f5c518;
  margin-bottom: 0.5rem;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4rem;
}

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

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Page Header */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray);
  font-size: 1.125rem;
}

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

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

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background: var(--white);
  color: var(--green);
}

.cta-section .btn:hover {
  background: var(--black);
  color: var(--white);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .step {
    padding-left: 0;
    padding-top: 4rem;
    text-align: center;
  }

  .step::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

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

  .hero-text {
    padding: 4rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

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

  .floating-cta .desktop-cta {
    display: flex;
  }

  .floating-cta .mobile-cta {
    display: none;
  }

  .floating-cta .phone-display {
    display: block;
  }

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

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

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding: 10rem 0 6rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
