/* ============================================================
   AC HOUSE CLEANING SERVICE — style.css
   New Jersey, USA
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --blue:      #1B4F8A;
  --blue-dk:   #133a66;
  --blue-lt:   #EEF2F7;
  --green:     #3A8C2F;
  --green-lt:  #e8f5e6;
  --yellow:    #F5C518;
  --yellow-dk: #d4a900;
  --gray-dk:   #1E293B;
  --gray-md:   #64748B;
  --gray-lt:   #F8F9FA;
  --gray-border: #dde4ef;
  --white:     #ffffff;
  --font-main: 'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
  --shadow-sm: 0 2px 12px rgba(27,79,138,0.08);
  --shadow-md: 0 8px 32px rgba(27,79,138,0.13);
  --shadow-lg: 0 16px 48px rgba(27,79,138,0.18);
  --radius:    10px;
  --radius-lg: 14px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--gray-dk);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: all .2s; }
ul { list-style: none; }

/* ── TYPOGRAPHY HELPERS ── */
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 900;
  color: var(--blue); text-transform: uppercase;
  line-height: 1.0; margin-bottom: 14px;
}
.section-title span { color: var(--green); }
.section-sub {
  font-size: 16px; color: var(--gray-md);
  max-width: 560px; line-height: 1.75;
}
.section-header { margin-bottom: 52px; }
.section-header.text-center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--green); color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue); color: var(--white); }

.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-blue {
  display: inline-block;
  background: var(--blue); color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; cursor: pointer;
}
.btn-blue:hover { background: var(--green); color: var(--white); }

.btn-outline-blue {
  display: inline-block;
  background: transparent; color: var(--blue);
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
#navbar .navbar-brand .brand-icon {
  width: 44px; height: 44px;
  background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 900;
  color: var(--yellow); letter-spacing: -1px;
}
#navbar .brand-text-top {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 900;
  color: var(--blue); text-transform: uppercase; letter-spacing: 1px;
  line-height: 1;
}
#navbar .brand-text-bot {
  font-size: 11px; font-weight: 600;
  color: var(--green); text-transform: uppercase; letter-spacing: 2px;
  line-height: 1;
}
#navbar .nav-link {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-dk) !important; padding: 8px 14px !important;
}
#navbar .nav-link:hover { color: var(--blue) !important; }
#navbar .nav-link.active { color: var(--blue) !important; }
#navbar .btn-nav-cta {
  background: var(--green); color: var(--white) !important;
  border-radius: var(--radius); padding: 9px 20px !important;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
#navbar .btn-nav-cta:hover { background: var(--blue) !important; }
#navbar .navbar-toggler { border: none; outline: none; box-shadow: none; }
/* ============================================================
   SLIDER / HERO
   ============================================================ */
#hero {
  position: relative;
  margin-top: 72px;
  min-height: 620px;
  overflow: hidden;
}

#heroCarousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
  min-height: 620px;
}

.hero-slide {
  min-height: 620px;
  background-size: cover;
  background-position: center;
  width: 100%;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 79, 138, 0.82) 0%,
    rgba(27, 79, 138, 0.55) 50%,
    rgba(27, 79, 138, 0.30) 100%
  );
}

.hero-fixed-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 60px 0;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-text .slide-tag { margin-bottom: 16px; }

.slide-tag {
  display: inline-block;
  background: var(--yellow); color: var(--blue-dk);
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 4px; margin-bottom: 16px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 58px; font-weight: 900;
  color: var(--white); line-height: 1.05;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero-text h1 span { color: var(--yellow); }

.hero-text p {
  font-size: 16px; color: rgba(255,255,255,0.88);
  line-height: 1.75; margin-bottom: 28px;
  max-width: 500px;
}

.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-indicators { display: flex; gap: 8px; margin-top: 0.5rem; }

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--yellow);
  width: 28px;
  border-radius: 5px;
}

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

.hero-logo img {
  height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)) brightness(1.15);
}

/* Slide backgrounds */
.slide-1 { background-color: #1a3458; background-image: url('../img/slide/img1.jpeg'); }
.slide-2 { background-color: #12432a; background-image: url('../img/slide/img2.jpeg'); }
.slide-3 { background-color: #1a2a3a; background-image: url('../img/slide/img3.jpeg'); }

/* Responsive */
@media (max-width: 767px) {
  #hero { margin-top: 68px; min-height: 580px; }
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-inner,
  .hero-slide,
  .hero-fixed-content { min-height: 580px; }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 40px 0;
  }
  .hero-logo {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-logo img { height: 100px; }
  .hero-text h1 { font-size: 36px; }
  .hero-text p { font-size: 15px; }
}
/* ============================================================
   SERVICES
   ============================================================ */
#services { padding: 90px 0; background: var(--gray-lt); }

.service-card-bg {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-color: #1a2a3a;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}
.service-card-bg:hover { transform: translateY(-6px); }

.service-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.10) 100%);
  border-radius: 16px;
  transition: background 0.3s ease;
}
.service-card-bg:hover .service-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.25) 100%);
}

.service-content { position: relative; z-index: 2; padding: 1.5rem; color: #fff; }
.service-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.service-line { width: 40px; height: 3px; background-color: var(--yellow); border-radius: 2px; margin-bottom: 0.75rem; }
.service-content p {
  font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.3s ease;
  margin-bottom: 0;
}
.service-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: var(--yellow); color: #1a1a1a;
  font-size: 0.82rem; font-weight: 700;
  border-radius: 50px; text-decoration: none;
  transition: background 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
  opacity: 0; transform: translateY(8px);
}
.service-card-bg:hover .service-content p { max-height: 120px; opacity: 1; margin-bottom: 1rem; }
.service-card-bg:hover .service-btn { opacity: 1; transform: translateY(0); }
.service-btn:hover { background: #fff; color: #1a1a1a; }
.service-card-bg.featured .service-line { background-color: var(--green); }

@media (max-width: 768px) {
  .service-card-bg { height: 280px; }
}

/* Tap activo en móvil */
.service-card-bg.tapped .service-content p { max-height: 120px; opacity: 1; margin-bottom: 1rem; }
.service-card-bg.tapped .service-btn       { opacity: 1; transform: translateY(0); }


/* ============================================================
   ABOUT US
   ============================================================ */
#about { padding: 90px 0; background: var(--white); }

.about-img-wrap {
  width: 420px; height: 420px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--gray-lt);
  border-radius: var(--radius); padding: 16px;
}
.about-feature-icon {
  width: 38px; height: 38px;
  border-radius: 8px; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.about-feature h5 { font-size: 14px; font-weight: 700; color: var(--gray-dk); margin-bottom: 3px; }
.about-feature p  { font-size: 12px; color: var(--gray-md); line-height: 1.5; margin: 0; }

@media (max-width: 768px) {
  .about-img-wrap { width: 280px; height: 280px; }
}

/* ============================================================
   VIDEO SECTION — SEE US IN ACTION
   ============================================================ */
#video-section {
  padding: 90px 0;
  background: var(--gray-lt);
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.video-badge {
  position: absolute;
  top: 16px;
  z-index: 3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.video-badge-left  { left: 16px;  background: rgba(255,255,255,0.93); color: var(--blue); }
.video-badge-right { right: 16px; background: var(--yellow); color: var(--blue-dk); }

/* Desktop — layout dos columnas */
@media (min-width: 768px) {
  #video-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
  }

  #video-section .section-header {
    flex: 1;
    text-align: left !important;
    margin-bottom: 0;
  }

  #video-section .row {
    flex: 1;
    margin: 0;
  }

  .video-wrap {
    max-width: 100%;
  }
}

/* Móvil */
@media (max-width: 767px) {
  #video-section { padding: 60px 0; }
  .video-wrap { max-width: 100%; border-radius: 16px; }
  .video-badge { font-size: 11px; padding: 5px 11px; }
}
/* ============================================================
   GALLERY
   ============================================================ */
#gallery { padding: 90px 0; background: var(--white); }

.ba-card { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.12); background: var(--white); }
.ba-slider { width: 100%; height: 450px; display: block; }
.ba-slider img { width: 100%; height: 450px; object-fit: cover; display: block; }
.ba-handle {
  display: flex; align-items: center; gap: 4px;
  background: #fff; border-radius: 50px; padding: 6px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ba-arrow { font-size: 20px; font-weight: 900; color: var(--blue); line-height: 1; }
.ba-labels { display: flex; justify-content: space-between; padding: 8px 14px; background: var(--white); }
.ba-label-before { font-size: 12px; font-weight: 700; color: #e53e3e; text-transform: uppercase; letter-spacing: 1px; }
.ba-label-after  { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1px; }
.ba-title { padding: 10px 14px 14px; font-size: 14px; font-weight: 700; color: var(--blue); text-align: center; }

@media (max-width: 768px) {
  .ba-slider, .ba-slider img { height: 280px; }
}

/* ============================================================
   AREAS WE SERVE
   ============================================================ */
#areas { padding: 90px 0; background: var(--blue); }
#areas .section-tag   { color: var(--yellow); }
#areas .section-title { color: #fff; }
#areas .section-title span { color: var(--yellow); }
#areas .section-sub   { color: rgba(255,255,255,0.80); }

.areas-map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
#leaflet-map { width: 100%; height: 450px; border-radius: 16px; z-index: 1; }
.custom-map-pin { background: transparent; border: none; }
.pin-wrapper { display: flex; flex-direction: column; align-items: center; }
.pin-head {
  width: 30px; height: 30px;
  background: #e53e3e; border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.pin-head::after {
  content: ''; width: 10px; height: 10px;
  background: #fff; border-radius: 50%;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.pin-tail { width: 4px; height: 12px; background: #e53e3e; border-radius: 0 0 4px 4px; margin-top: -2px; }

.area-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 12px 16px;
  color: #fff; font-size: 14px; font-weight: 600;
  transition: background 0.2s ease;
}
.area-card:hover { background: rgba(255,255,255,0.2); }
.area-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.areas-cta-text { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 18px; }

@media (max-width: 991px) { #leaflet-map { height: 300px; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { padding: 90px 0; background: var(--gray-lt); }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border-left: 4px solid var(--green);
  height: 100%; box-shadow: var(--shadow-sm);
}
.stars { color: var(--yellow); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-size: 15px; color: var(--gray-dk); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: var(--yellow); flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--gray-dk); }
.author-loc  { font-size: 12px; color: var(--gray-md); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: 90px 0; background: var(--white); }
.contact-info-card {
  background: var(--blue); border-radius: var(--radius-lg);
  padding: 40px 36px; height: 100%;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 900;
  text-transform: uppercase; color: var(--white); margin-bottom: 8px;
}
.contact-info-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.75; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-detail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.55); }
.contact-detail-val   { font-size: 15px; font-weight: 600; color: var(--white); }

.contact-form-wrap { background: var(--gray-lt); border-radius: var(--radius-lg); padding: 40px 36px; height: 100%; }
.form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-dk); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1.5px solid var(--gray-border); border-radius: 8px;
  font-family: var(--font-main); font-size: 14px; color: var(--gray-dk);
  padding: 11px 14px; background: var(--white); transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,138,0.10); outline: none;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--blue); color: var(--white);
  border: none; border-radius: 8px;
  font-family: var(--font-main); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--gray-dk); padding: 60px 0 28px; color: rgba(255,255,255,0.70); }
#footer .footer-brand { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--yellow); margin-bottom: 10px; }
#footer .footer-tagline { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 0; }
#footer h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 18px; }
#footer ul li { margin-bottom: 10px; }
#footer ul li a { font-size: 13px; color: rgba(255,255,255,0.65); }
#footer ul li a:hover { color: var(--yellow); }
#footer .footer-divider { border-color: rgba(255,255,255,0.10); margin: 32px 0 20px; }
#footer .footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; }
.social-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.10);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 15px;
  transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--yellow); color: var(--blue-dk); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-yellow { color: var(--yellow); }
.bg-blue-lt  { background: var(--blue-lt); }
.bg-green-lt { background: var(--green-lt); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-title { font-size: 36px; }
  .slide-inner h1 { font-size: 44px; }
  .slide-inner { padding: 48px 32px; }
}
@media (max-width: 767px) {
  #hero { margin-top: 68px; }
  .hero-slide { min-height: 480px; }
  .slide-inner h1 { font-size: 36px; }
  .slide-inner { padding: 40px 24px; }
  .section-title { font-size: 32px; }
  #stats-bar .stat-divider { display: none; }
  .contact-info-card { margin-bottom: 24px; }
}