/* ============================================
   SWIFT HVACS - MAIN STYLESHEET
   ============================================ */

* {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;  --icon-color: rgb(114, 199, 228);
}

body {
  background-color: #ffffff;
  color: #1e2a3e;
}

/* Top Bar */
.top-bar {
  background-color: #0b2b40;
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
}

/* Navbar Brand */
.navbar-brand {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.3px;
  color: #0b2b40 !important;
}

.navbar-brand span {
  color: #c17b2e;
}

/* Dropdown Hover Behavior (Desktop) */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown .dropdown-menu {
    display: none;
    transition: opacity 0.2s ease;
  }
  .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.dropdown-toggle::after {
  transition: transform 0.2s ease;
}

.nav-link {
  font-weight: 600;
  color: #1e4663 !important;
  margin: 0 0.2rem;
}

.nav-link:hover, .dropdown-item:hover {
  color: #c17b2e !important;
}

.dropdown-item {
  font-weight: 500;
  padding: 8px 20px;
}

/* Wide Dropdown for Plumbing (2 columns) */
.dropdown-menu.wide-dropdown {
  min-width: 280px;
  column-count: 2;
  column-gap: 0;
  padding: 0.6rem 0;
}

.dropdown-menu.wide-dropdown .dropdown-item {
  break-inside: avoid;
}

@media (max-width: 768px) {
  .dropdown-menu.wide-dropdown {
    column-count: 1;
    min-width: 220px;
  }
}

.dropdown-menu {
  border-radius: 16px;
  border: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  padding: 0.6rem 0;
  margin-top: 0.5rem;
}

/* Buttons */
.btn-outline-custom {
  border: 2px solid #c17b2e;
  color: #c17b2e;
  border-radius: 40px;
  padding: 6px 20px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline-custom:hover {
  background-color: #c17b2e;
  color: white;
}

.btn-call {
  background-color: #c17b2e;
  color: white;
  border-radius: 40px;
  padding: 6px 20px;
  font-weight: 600;
  border: none;
}

.btn-call:hover {
  background-color: #9e601f;
  color: white;
}

/* HERO SECTION WITH BACKGROUND IMAGE */
.hero-section {
  position: relative;
  background-image: url('../images/header2026.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a3a4a;  /* fallback color while image loads */
  padding: 120px 0 100px;
  min-height: 550px;
  display: flex;
  align-items: center;
}

/* Dark overlay for better text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1,
.hero-section p,
.hero-section .rating-badge,
.hero-section .btn {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Rating Badge */
.rating-badge {
  background: #fef7e0;
  border-radius: 60px;
  padding: 6px 16px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Section Titles */
.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0b2b40;
}

/* Feature Cards */
.card-feature {
  border: none;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s;
  height: 100%;
  background: #ffffff;
  padding: 1.2rem;
}

.card-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.icon-large {
  font-size: 2.6rem;
  color: #c17b2e;
  margin-bottom: 1rem;
}

/* Offer Card (Mitsubishi) */
.offer-card {
  background: #1c3f4f;
  color: white;
  border-radius: 32px;
  padding: 2rem;
  margin: 2rem 0;
}

.offer-card h3 {
  font-weight: 700;
}

/* Areas We Serve Grid */
.areas-grid {
  column-count: 4;
  column-gap: 1.5rem;
}

.areas-grid ul {
  margin: 0;
  padding-left: 1.2rem;
  break-inside: avoid;
  margin-bottom: 1rem;
}

.areas-grid li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #2c3e4e;
}

/* Contact Section */
.contact-section {
  background-color: #f9fafb;
  border-radius: 48px;
  padding: 3rem 2rem;
}

.form-control, .form-select {
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid #cfdfe9;
}

/* Footer */
footer {
  background-color: #0b2b40;
  color: #cfdee9;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .areas-grid {
    column-count: 3;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-section {
    padding: 60px 0;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .areas-grid {
    column-count: 2;
  }
  .hero-section {
    padding: 50px 0;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .areas-grid {
    column-count: 1;
  }
}

/* ============================================
   AREAS WE SERVE - CUSTOM BACKGROUND
   ============================================ */

.areas-we-serve-section {
  background-color: rgb(31, 45, 97);
  padding: 60px 0;
  margin: 50px 0;
}

.areas-we-serve-section .section-title {
  color: white;
  font-weight: 700;
}

.areas-we-serve-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.areas-we-serve-section .areas-grid {
  column-count: 4;
  column-gap: 2rem;
}

.areas-we-serve-section .areas-grid ul {
  margin: 0;
  padding-left: 0;
  break-inside: avoid;
  margin-bottom: 1rem;
  list-style: none;
}

.areas-we-serve-section .areas-grid li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.areas-we-serve-section .areas-grid li::before {
  content: "▹";
  color: #c17b2e;
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
  .areas-we-serve-section .areas-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .areas-we-serve-section .areas-grid {
    column-count: 2;
  }
  .areas-we-serve-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .areas-we-serve-section .areas-grid {
    column-count: 1;
  }
}


.card-feature .icon-large,
.card-feature i.icon-large,
.dropdown-item .bi,
.contact-section .bi-geo-alt-fill,
.contact-section .bi-telephone-fill,
.contact-section .bi-envelope-fill,
footer .bi-telephone,
footer .bi-envelope,
.card-feature .bi-truck,
.card-feature .bi-emoji-smile,
.card-feature .bi-mortarboard,
.card-feature .bi-star-fill,
.offer-card .bi-flower1,
.offer-card .bi-snow3 {
  color: var(--icon-color);
}


/* Fix para botón Request Estimate en hero section */
.hero-section .btn-outline-custom.bg-white {
  background-color: white !important;
  color: #c17b2e !important;
  border: 2px solid #c17b2e !important;
}

.hero-section .btn-outline-custom.bg-white:hover {
  background-color: #c17b2e !important;
  color: white !important;
  border-color: #c17b2e !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}


.nav-logo {
  height: 70px;
  width: auto;
}

/* Aún más grande en desktop */
@media (min-width: 992px) {
  .nav-logo {
    height: 75px;
  }
}

/* Un poco más pequeño en móviles para no romper el diseño */
@media (max-width: 768px) {
  .nav-logo {
    height: 45px;
  }
}

.highlight-text {
  color: rgb(140, 190, 55);
}