/* ============================================================
   SPARKLES & BUBBLES LAUNDROMAT – services.css
   Styles specific to the services.html sub-page.
   Inherits all design tokens, resets, utilities, nav, and
   footer styles from style.css — do NOT duplicate those here.
   ============================================================ */


/* ─── PAGE HERO / BANNER ─────────────────────────────────────
   A compact strip at the top of the services page.
   Replaces the full-screen hero from index.html.           */

.page-hero {
  /* Warm dark background — reversed from cream page bg */
  position: relative;
  background: var(--dark);
  /* Subtle grain texture built with a CSS gradient */
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232,149,42,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(232,149,42,.08) 0%, transparent 60%);
  overflow: hidden;
  /* Top padding accounts for the fixed 70px navbar */
  padding: 140px var(--space-md) var(--space-2xl);
  text-align: center;
}

/* Decorative bubbles — reuse the animation classes defined in style.css.
   Positioned here to appear in the hero background area. */
.page-hero .bubble {
  opacity: 0.06;   /* much more subtle against the dark hero */
}

/* Inner wrapper — constrains the text to a readable width */
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

/* Breadcrumb navigation: Home › Services */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-md);
}
.breadcrumb a {
  color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.breadcrumb a:hover {
  color: var(--orange-light);
}
.breadcrumb i {
  font-size: 0.6rem;
  color: rgba(255,255,255,.3);
}
.breadcrumb span {
  color: var(--orange-light);
  font-weight: 600;
}

/* Page hero heading */
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin: var(--space-sm) 0;
}

/* Orange highlight inside the heading */
.page-hero-title .highlight {
  color: var(--orange);
  font-style: italic;
}

/* Subtitle / description */
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}


/* ─── SERVICES DETAIL SECTION ────────────────────────────────
   Full alternating left-right rows, one per service.         */

.services-detail {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

/* Each service row: a two-column flex row */
.svc-row {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--cream-2);
}
.svc-row:last-child {
  border-bottom: none;
}

/* Reversed variant — image moves to the right */
.svc-row--reverse {
  flex-direction: row-reverse;
}


/* ── Image column ── */
.svc-img-wrap {
  position: relative;
  flex: 0 0 48%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-2);
  /* Aspect ratio so the container never collapses before the image loads */
  aspect-ratio: 4 / 3;
}

/* Subtle dark gradient at the bottom — improves badge legibility */
.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(26, 26, 26, 0.45) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* The service image itself */
.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease);
}

/* Zoom on hover — only when not on a touch device */
@media (hover: hover) {
  .svc-img-wrap:hover .svc-img {
    transform: scale(1.06);
  }
}

/* Floating price badge — sits above the overlay */
.svc-price-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: var(--white);
  line-height: 1.3;
  z-index: 2;
}

.badge-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.badge-price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange-light);
}
.badge-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* Ribbon badge — top-right of image */
.svc-ribbon {
  position: absolute;
  top: var(--space-md);
  right: 0;
  background: var(--dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px 7px 22px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* Orange ribbon variant */
.svc-ribbon--orange {
  background: var(--orange);
}


/* ── Text column ── */
.svc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

/* Large decorative step number */
.svc-number {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--orange-pale);
  letter-spacing: -0.04em;
  margin-bottom: -0.6rem;   /* pulls up to overlap with label */
  user-select: none;
}

/* Service heading */
.svc-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin: 0.2rem 0 0.4rem;
}

/* Service body text */
.svc-desc {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 480px;
}

/* Feature bullet list */
.svc-features {
  list-style: none;
  margin: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.svc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--dark-2);
  font-weight: 500;
}
.svc-features li i {
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
}


/* ─── PRICING SECTION ────────────────────────────────────────
   Quick-glance card grid of all service prices.             */

.pricing-section {
  background: var(--cream-2);
  padding: var(--space-2xl) 0;
}

/* 3-column grid — wraps to 2 then 1 on smaller screens */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Individual price card */
.price-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Icon circle */
.price-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.price-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

/* The big price number */
.price-amount {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
}
.price-amount span {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 500;
}

.price-card p {
  font-size: 0.82rem;
  color: var(--mid);
}

/* Featured / highlighted card */
.price-card--featured {
  background: var(--dark);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.price-card--featured .price-card-icon {
  background: rgba(232,149,42,.18);
  color: var(--orange-light);
}
.price-card--featured h3 {
  color: var(--white);
}
.price-card--featured .price-amount {
  color: var(--orange-light);
}
.price-card--featured p {
  color: rgba(255,255,255,.5);
}

/* Small disclaimer note below the pricing grid */
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pricing-note i {
  color: var(--orange);
}


/* ─── SPECIAL OFFER BANNER ───────────────────────────────────
   Full-width orange promotional strip.                       */

.offer-banner {
  background: var(--orange);
  /* A darker radial gradient for depth */
  background-image: radial-gradient(ellipse 60% 70% at 100% 50%, rgba(196,122,26,.6) 0%, transparent 70%);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  position: relative;
}

/* Inner flex row: text left, visual right */
.offer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.offer-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Offer heading */
.offer-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}

/* White highlight inside offer heading */
.highlight-white {
  color: var(--dark);
  background: var(--white);
  padding: 0 8px;
  border-radius: 4px;
  display: inline-block;
  font-style: normal;
}

.offer-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 440px;
}

/* Bullet list inside the offer panel */
.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0.4rem 0;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.offer-list li i {
  color: var(--white);
  background: rgba(255,255,255,.2);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* White-fill button used on the orange background */
.btn-white {
  background: var(--white);
  color: var(--orange-dark);
  border-color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  font-weight: 700;
  margin-top: 0.4rem;
}
.btn-white:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: translateY(-2px);
}

/* Decorative bubble icons column — right side of offer banner */
.offer-visual {
  position: relative;
  flex: 0 0 280px;
  height: 280px;
}

/* Each decorative icon bubble */
.offer-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  animation: floatBubble 4s ease-in-out infinite alternate;
}

/* Slight wobble animation for the decorative bubbles */
@keyframes floatBubble {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-12px) rotate(6deg); }
}

/* Individual bubble sizes and positions */
.ob-1 { width: 80px;  height: 80px;  top: 10px;  left: 40px;  animation-delay: 0s;    font-size: 1.8rem; }
.ob-2 { width: 70px;  height: 70px;  top: 10px;  right: 20px; animation-delay: 0.6s;  font-size: 1.6rem; }
.ob-3 { width: 60px;  height: 60px;  bottom: 40px; left: 10px; animation-delay: 1.2s; font-size: 1.4rem; }
.ob-4 { width: 50px;  height: 50px;  bottom: 30px; right: 50px; animation-delay: 0.9s; font-size: 1.1rem; }

/* The large decorative "10%" text behind the bubbles */
.offer-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}


/* ─── FAQ SECTION ────────────────────────────────────────────
   Accordion-style questions and answers.                     */

.faq-section {
  background: var(--cream);
  padding: var(--space-2xl) 0;
}

/* Container for all FAQ items */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Individual FAQ item wrapper */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(232,149,42,.25);
}

/* The clickable question button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: transparent;
  cursor: pointer;
  gap: var(--space-sm);
  transition: color var(--dur);
}
.faq-question:hover {
  color: var(--orange);
}
.faq-item.open .faq-question {
  color: var(--orange-dark);
}

/* Chevron icon next to each question */
.faq-icon {
  color: var(--orange);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
/* Rotate the chevron when the item is open */
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* The collapsible answer panel */
.faq-answer {
  max-height: 0;              /* collapsed by default */
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
/* JS adds .open to the parent .faq-item to expand this */
.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.75;
}


/* ─── CONTACT / CTA STRIP ────────────────────────────────────
   Simple action strip at the bottom of the page.            */

.contact-strip {
  background: var(--dark-2);
  padding: var(--space-2xl) 0;
}

/* Flex row: text left, action buttons right */
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.strip-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.strip-text p {
  color: rgba(255,255,255,.5);
  font-size: 0.95rem;
}

/* Group of CTA buttons */
.strip-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Outline button variant for dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}


/* ─── RESPONSIVE: TABLET (max 900px) ────────────────────────
   Adjusts the alternating service rows to stack vertically.  */

@media (max-width: 900px) {

  /* Stack image and text vertically on tablet */
  .svc-row,
  .svc-row--reverse {
    flex-direction: column;
    gap: var(--space-lg);
  }

  /* Image fills full width, keep aspect ratio */
  .svc-img-wrap {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .svc-img {
    height: 100%;
  }

  /* Pricing: 2 columns on tablet */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Offer banner: stack vertically */
  .offer-inner {
    flex-direction: column;
    text-align: center;
  }
  .offer-sub   { max-width: 100%; margin: 0 auto; }
  .offer-list  { align-items: center; }
  .offer-visual { flex: 0 0 200px; height: 200px; }
  .ob-1 { width: 60px; height: 60px; font-size: 1.3rem; }
  .ob-2 { width: 55px; height: 55px; font-size: 1.2rem; }
  .ob-3 { width: 50px; height: 50px; font-size: 1.1rem; }
  .ob-4 { width: 45px; height: 45px; font-size: 1rem; }
  .offer-pct { font-size: 5rem; }

  /* Contact strip: stack vertically */
  .strip-inner { flex-direction: column; text-align: center; }
  .strip-actions { justify-content: center; }
}


/* ─── RESPONSIVE: MOBILE (max 600px) ────────────────────────
   Further compresses layout for phone screens.              */

@media (max-width: 600px) {

  .page-hero {
    padding: 120px var(--space-sm) var(--space-xl);
  }

  .svc-number {
    font-size: 3.5rem;
  }

  /* Portrait aspect ratio feels more natural on phone */
  .svc-img-wrap {
    aspect-ratio: 4 / 3;
  }

  /* Smaller price badge on mobile */
  .badge-price {
    font-size: 1.2rem;
  }

  /* Pricing: single column on mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Contact strip buttons stack vertically */
  .strip-actions {
    flex-direction: column;
    width: 100%;
  }
  .strip-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .faq-question {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  .faq-answer p {
    padding: 0 var(--space-md) var(--space-sm);
  }
}