/* ==========================================================================
   SEIB CONSTRUCTION — BATHROOM RENOVATIONS PAGE
   Styles unique to bathroom.html only.
   Shared tokens → global.css | Shared components → components.css
   RULE: Never hardcode brand colors — always use CSS custom properties.
   ========================================================================== */


/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }
.delay-6 { transition-delay: 0.60s; }
.delay-7 { transition-delay: 0.70s; }
.delay-8 { transition-delay: 0.80s; }

.section-eyebrow--light { color: var(--copper-light); }


/* --------------------------------------------------------------------------
   HERO ENTRANCE ANIMATION
   -------------------------------------------------------------------------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-animate        { animation: heroFadeUp 0.7s ease forwards; }
.hero-animate--delay { animation-delay: 0.2s; opacity: 0; }


/* --------------------------------------------------------------------------
   §01 HERO
   -------------------------------------------------------------------------- */
.bath-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background-image: url('../images/custom-bathroom-3.webp');
  background-size: cover;
  background-position: center;
  padding-top: 72px;
  overflow: hidden;
}

.bath-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 27, 51, 0.92) 0%,
    rgba(15, 27, 51, 0.55) 45%,
    rgba(15, 27, 51, 0.20) 100%
  );
  pointer-events: none;
}

.bath-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(48px, 7vw, 88px);
  max-width: 720px;
}

.bath-hero-content .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--copper-dim);
  border: 1px solid rgba(184, 115, 51, 0.4);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  margin-bottom: var(--space-4);
}

.bath-hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
}

.bath-hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: var(--space-7);
}

.bath-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}


/* --------------------------------------------------------------------------
   §02 BATHROOM SERVICES
   -------------------------------------------------------------------------- */
.bath-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.bath-service-card {
  background-color: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.bath-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 115, 51, 0.35);
}

.bath-service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--copper-dim);
  border: 1px solid rgba(184, 115, 51, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 20px;
  color: var(--copper);
}

.bath-service-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.bath-service-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .bath-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .bath-services-grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   §03 CUSTOM VANITIES FEATURE
   -------------------------------------------------------------------------- */
.bath-vanity-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.bath-vanity-content p {
  margin-bottom: var(--space-4);
}

.bath-vanity-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
  margin-bottom: var(--space-7);
}

.bath-vanity-point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.bath-vanity-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--copper-dim);
  border: 1px solid rgba(184, 115, 51, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--copper);
  flex-shrink: 0;
}

.bath-vanity-point-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.bath-vanity-point-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.bath-vanity-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.bath-vanity-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.bath-vanity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .bath-vanity-inner {
    grid-template-columns: 1fr;
  }
  .bath-vanity-photo {
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
}


/* --------------------------------------------------------------------------
   §04 BATHROOM GALLERY
   -------------------------------------------------------------------------- */
.bath-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

/* §04B reviews carousel — constrain width so the Google widget shows 2 per slide (matches Home) */
.bath-reviews-carousel {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

/* §04B bathroom gallery — simple photo grid (same as kitchen, navy background) */
.bath-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.bath-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.bath-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bath-photo:hover img {
  transform: scale(1.05);
}
/* navy background + light header (ID-level so it overrides any section/linen class) */
#bathroom-photo-gallery {
  background-color: var(--navy) !important;
}
#bathroom-photo-gallery .section-title { color: var(--white); }
#bathroom-photo-gallery .section-eyebrow { color: var(--copper-light); }
@media (max-width: 768px) {
  .bath-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bath-photo-grid { grid-template-columns: 1fr; }
}

.bath-gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream);
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bath-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bath-gallery-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.bath-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bath-gallery-card:hover .bath-gallery-photo img {
  transform: scale(1.04);
}

.bath-gallery-body {
  padding: var(--space-5) var(--space-6);
}

.bath-gallery-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--copper);
  background-color: var(--copper-dim);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-2);
}

.bath-gallery-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.bath-gallery-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

.bath-gallery-cta {
  text-align: center;
  margin-top: var(--space-8);
}

@media (max-width: 700px) {
  .bath-gallery-grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   §05 CTA
   -------------------------------------------------------------------------- */
.bath-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: top;
  text-align: left;
  /* No padding-block: parent .section already provides --section-pad-y top &
     bottom; the extra padding here doubled it into empty navy bands. */
}

.bath-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--copper-light);
  display: block;
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.bath-cta-headline {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}

.bath-cta-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-body);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.bath-cta-actions {
  display: flex;
  align-items: top;
  justify-content: flex-start;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.bath-cta-phone-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
}

.bath-cta-phone-note a {
  color: var(--copper-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

.bath-cta-phone-note a:hover {
  color: var(--white);
}


@media (max-width: 900px) {
  .bath-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bath-cta-actions {
    justify-content: center;
  }
}

/* GHL form placeholder */
.ghl-placeholder {
  margin-top: var(--space-8);
  padding: var(--space-7) var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
}

.ghl-placeholder p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
  line-height: 2;
}