/* ======================================================
   BALDWIN PARK MOVERS – RED/WHITE THEME
   Based on La Crescenta layout (full drop-in replacement)
   ====================================================== */

/* ------------ Color System ------------ */
:root {
  --primary: #c53030;
  --primary-light: #fc8181;
  --accent: #e53e3e;
  --dark: #1a202c;
  --gray: #4a5568;
  --light: #f7fafc;
  --white: #ffffff;
}

/* ====== Base ====== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

section {
  scroll-margin-top: 80px;
}

/* ====== Layout ====== */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

/* Global headings with fluid sizes (fallback for sections without custom sizes) */
h1 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

h4 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

.lead,
.section-subtitle {
  max-width: 640px;
  margin: 0.25rem auto 2rem;
  color: var(--gray);
}

/* ====== Buttons ====== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(197, 48, 48, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.full-width {
  width: 100%;
}

/* ====== Navbar ====== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}

.logo a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: #ffe7e7;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background-color: var(--white);
  color: var(--primary);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-call:hover {
  background-color: #ffe5e5;
}

/* Burger */

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger .line {
  width: 22px;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.active .line1 {
  transform: translateY(6px) rotate(45deg);
}

.burger.active .line2 {
  opacity: 0;
}

.burger.active .line3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* ====== Hero ====== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/images/baldwin-park-moving-company.png") center/cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(26, 32, 44, 0.9) 0%,
      rgba(197, 48, 48, 0.9) 50%,
      rgba(26, 32, 44, 0.95) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  max-width: 640px;
  padding: 4.5rem 1.75rem;
  margin: 0 auto;
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
  color: #ffe5e5;
}

.hero-text p {
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
  color: #fde8e8;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
}

.hero-badges li {
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(254, 242, 242, 0.6);
}

/* ====== About ====== */

.about {
  background-color: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
}

.about-text p {
  color: #2d3748;
}

.about-media img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ====== Cards Grid Generic ====== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.card {
  background-color: var(--white);
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid #e2e8f0;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  border-color: var(--primary-light);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
}

.card.emphasis {
  border-left: 4px solid var(--primary);
}

/* ====== Services ====== */

.services-section {
  padding: 80px 20px;
  background: var(--white);
  text-align: center;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary);
}

.section-subtitle {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f7fafc;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-top: 5px solid var(--primary);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  border-top-color: var(--primary-light);
}

.service-icon img {
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.55;
}

.services h2,
.why h2,
.areas h2,
.pricing h2,
.reviews h2,
.faq h2,
.contact h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
}
.hero-cta-row .btn-outline{
  color: var(--white);
}
.services .section-subtitle,
.why .section-subtitle,
.areas .section-subtitle,
.pricing .section-subtitle,
.reviews .section-subtitle,
.faq .section-subtitle {
  text-align: center;
}

/* ====== Why ====== */

.why-section {
  padding: 90px 20px;
  background: var(--white);
}

.why-title {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary);
  margin-bottom: 15px;
}

.why-desc {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: #4a5568;
}

.why-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.why-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.65;
}

/* ====== Areas ====== */

.section.service-areas {
  padding: 80px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.areas-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.area-block {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.area-block h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.area-description {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #555;
}

.area-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.area-list li {
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
}

.area-list.two-columns {
  columns: 2;
  column-gap: 24px;
}

.areas-cta {
  text-align: center;
  margin-top: 50px;
}

.areas-cta h4 {
  margin-bottom: 10px;
}

/* ====== Pricing ====== */

.pricing {
  background-color: var(--light);
}

.pricing-grid {
  align-items: stretch;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
}

.price-note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.price-list {
  margin-top: 0.75rem;
}

.price-list li {
  font-size: 0.9rem;
  color: var(--gray);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.price-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

.card.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(197, 48, 48, 0.4);
}

.pricing-footer {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--gray);
}

/* ====== Reviews ====== */

.reviews {
  background-color: var(--white);
}

.reviews-grid .card {
  border-left: 4px solid var(--primary);
}

.review-text {
  font-size: 0.95rem;
  color: #2d3748;
}

.review-author {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.reviews-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* ====== FAQ ====== */

.faq {
  background-color: var(--light);
}

.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-radius: 10px;
  background-color: var(--white);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.faq-question {
  width: 100%;
  border: none;
  background-color: var(--primary);
  color: var(--light);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  margin-left: 1rem;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0.9rem 1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--gray);
  background-color: var(--white);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ====== Contact ====== */

.contact {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-details {
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}

.contact-details li {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary);
  text-decoration: underline;
}

.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: none;
}

/* Contact Form */

.contact-form-wrapper form {
  background-color: var(--light);
  padding: 1.75rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #2d3748;
}

label span {
  color: #e53e3e;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(197, 48, 48, 0.4);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #718096;
}

/* ====== Footer ====== */

.footer {
  background-color: var(--primary);
  color: #ffecec;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.5rem;
}

.footer p,
.footer li,
.footer a {
  font-size: 0.9rem;
}

.footer a {
  color: #ffe0e0;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links ul li {
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.25);
  text-align: center;
  padding: 0.9rem 1.25rem 1.5rem;
  font-size: 0.85rem;
}

/* ====== Floating Call Button ====== */

.call-button {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  font-size: 1.4rem;
  z-index: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.call-button:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: var(--accent);
}

/* ====== Media Queries ====== */

@media (max-width: 900px) {
  html {
    font-size: 15px; /* Slightly smaller typography overall */
  }

  .about-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-text {
    padding: 3.5rem 1.5rem;
  }

  .areas-wrapper {
    grid-template-columns: 1fr; /* Stack service-area blocks */
    gap: 28px;
  }

  .area-block {
    padding: 24px;
  }

  .area-list.two-columns {
    columns: 1; /* Single column lists on tablet */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14.5px;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  .nav-call {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 6vw, 2.4rem);
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-title,
  .why-title {
    font-size: 2.1rem;
  }

  .why-desc,
  .section-subtitle {
    font-size: 1.05rem;
  }

  .contact-grid {
    gap: 2rem;
  }

  .map-wrapper iframe {
    height: 220px;
  }

  .why-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .why-icon {
    margin-bottom: 10px;
  }

  .areas-cta h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-text {
    padding: 2.8rem 1.25rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-title,
  .why-title {
    font-size: 1.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card {
    padding: 26px 22px;
  }

  .area-block {
    padding: 20px;
  }

  .footer-inner {
    gap: 1.25rem;
  }
}
