/* ============================================================
   Chloe's Cleaning Services — styles.css
   Primary:  #C4687A (dusty pink)
   Hover:    #A8526A (deeper pink)
   Secondary:#1E2A4A (dark navy)
   Nav hover:#152038 (deeper navy)
   Neutral:  #f0f1f3 (light grey)
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Roboto', sans-serif;
  color: #2C2C2C;
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4687A;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-sub {
  font-size: 1.05rem;
  color: #555;
  max-width: 560px;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements visible immediately — no blank flash above the fold */
.hero .fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e0e2e6;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar__logo {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1E2A4A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.navbar__logo span {
  color: #C4687A;
}

.navbar__logo-icon {
  font-size: 1.4rem;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}

.navbar__links a:hover { color: #C4687A; }
.navbar__links .btn--green { color: #fff; }
.navbar__links .btn--green:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
}

.btn--green {
  background: #C4687A;
  color: #fff;
}
.btn--green:hover {
  background: #A8526A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196,104,122,0.38);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #f0eced 0%, #e8e0e3 40%, #e2dae0 100%);
  padding: 100px 5% 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(196,104,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30,42,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  color: #2C2C2C;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.hero__badge .stars { color: #f5a623; font-size: 0.9rem; }

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  color: #1E2A4A;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero__headline em {
  font-style: normal;
  color: #C4687A;
}

.hero__sub {
  font-size: 1.08rem;
  color: #445;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero__ctas .btn--green { box-shadow: 0 4px 18px rgba(196,104,122,0.35); }

.btn--blue {
  background: #1E2A4A;
  color: #fff;
}
.btn--blue:hover {
  background: #152038;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30,42,74,0.4);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: #445;
}

.hero__trust-stars { color: #f5a623; font-size: 1rem; }

.hero__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.hero__image-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero__image-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 0.5rem;
}

.hero__image-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.hero__float-badge {
  position: absolute;
  background: #C4687A;
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(196,104,122,0.4);
  white-space: nowrap;
}

.hero__float-badge--tl { top: 10px; left: -20px; }
.hero__float-badge--br { bottom: 20px; right: -10px; background: #1E2A4A; box-shadow: 0 8px 24px rgba(30,42,74,0.4); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  background: #1E2A4A;
  padding: 1.5rem 5%;
}

.stats__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.stat-item__icon {
  font-size: 1.4rem;
}

.stat-item__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #C4687A;
}

.stat-item__label {
  font-size: 0.8rem;
  color: #9aa3b8;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 90px 5%;
  background: #fff;
}

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

.services__header .section-sub {
  margin: 0 auto;
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border: 1.5px solid #e0e2e6;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(196,104,122,0.15);
  border-color: #C4687A;
}

.service-card__icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================================
   OUR WORK GALLERY
   ============================================================ */
.gallery {
  padding: 90px 5%;
  background: #f0f1f3;
}

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

.gallery__header .section-sub {
  margin: 0 auto;
  text-align: center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.gallery__item {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30,42,74,0.12);
}

.gallery__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e0e2e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__img-wrap img {
  transform: scale(1.05);
}

/* Placeholder style when no image is loaded */
.gallery__img-wrap img[src=""],
.gallery__img-wrap img:not([src]) {
  display: none;
}

.gallery__img-wrap::after {
  font-size: 2.5rem;
  color: #bbb;
}

.gallery__caption {
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E2A4A;
  text-align: center;
  border-top: 2px solid #C4687A;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
  background: #fff;
  padding: 90px 5%;
}

.why__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why__text .section-sub { margin-bottom: 2rem; }

.why__features {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.why__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f0f1f3;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  border: 1px solid #e0e2e6;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why__feature:hover {
  box-shadow: 0 6px 20px rgba(196,104,122,0.12);
  transform: translateX(4px);
}

.why__feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why__feature-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 0.25rem;
}

.why__feature-desc {
  font-size: 0.86rem;
  color: #666;
  line-height: 1.55;
}

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

.why__card {
  background: #f0f1f3;
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  border: 1px solid #e0e2e6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.22s, box-shadow 0.22s;
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(196,104,122,0.14);
}

.why__card--span {
  grid-column: span 2;
}

.why__card-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.why__card-value { font-size: 1.7rem; font-weight: 800; color: #C4687A; margin-bottom: 0.2rem; }
.why__card-label { font-size: 0.82rem; color: #666; font-weight: 500; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 90px 5%;
  background: #f0f1f3;
}

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

.reviews__header .section-sub {
  margin: 0 auto;
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto 2.5rem;
}

.review-card {
  background: #fff;
  border: 1.5px solid #e0e2e6;
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  font-size: 4rem;
  color: #e0e2e6;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
}

.review-card__stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.review-card__text {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}

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

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C4687A;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E2A4A;
}

.review-card__location {
  font-size: 0.78rem;
  color: #888;
}

.reviews__platform {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

.reviews__platform strong { color: #C4687A; }

/* ============================================================
   CONTACT / BOOKING
   ============================================================ */
.contact {
  background: linear-gradient(135deg, #1E2A4A 0%, #152038 100%);
  padding: 90px 5%;
}

.contact__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact__info .section-title { color: #fff; }
.contact__info .section-label { color: #C4687A; }

.contact__tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.contact__detail-icon {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  background: rgba(196,104,122,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form */
.contact__form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group--full { grid-column: span 2; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 0.93rem;
  color: #2C2C2C;
  background: #f7f8fa;
  border: 1.5px solid #dcdee3;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #C4687A;
  box-shadow: 0 0 0 3px rgba(196,104,122,0.15);
  background: #fff;
}

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

.form-submit {
  margin-top: 1.2rem;
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  background: #C4687A;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
}

.form-submit:hover {
  background: #A8526A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,104,122,0.4);
}

.form-note {
  font-size: 0.76rem;
  color: #999;
  text-align: center;
  margin-top: 0.8rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #141d33;
  color: #ccc;
  padding: 3rem 5% 2rem;
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer__brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__brand-name span { color: #C4687A; }

.footer__brand-desc {
  font-size: 0.86rem;
  color: #8891a5;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer__phone {
  font-size: 1rem;
  font-weight: 700;
  color: #C4687A;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.9rem;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__list li {
  font-size: 0.88rem;
  color: #8891a5;
}

.footer__list a {
  color: #8891a5;
  transition: color 0.2s;
}
.footer__list a:hover { color: #C4687A; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: #5c6578;
}

.footer__bottom a { color: #C4687A; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__sub { margin: 0 auto 2rem; }
  .hero__ctas { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__image-wrap { display: none; }

  .why__inner {
    grid-template-columns: 1fr;
  }
  .why__cards { grid-template-columns: 1fr 1fr; }
  .why__card--span { grid-column: span 2; }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider { display: none; }
}

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e2e6;
    padding: 1.2rem 5%;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .hero { padding: 70px 5% 60px; }
  .services, .why, .reviews, .contact, .gallery { padding: 60px 5%; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .why__cards { grid-template-columns: 1fr; }
  .why__card--span { grid-column: span 1; }

  .stats__inner { flex-direction: column; gap: 1rem; text-align: center; }

  .gallery__grid { grid-template-columns: 1fr; }
}
