@charset "UTF-8";
/* =========================================================
   ProLoo — Porta Potty Rentals
   Custom styles layered on top of Tailwind utilities.
   ========================================================= */

/* ---------- Hero background (dark green gradient + subtle photo wash) ---------- */
.hero-bg {
  background:
    linear-gradient(115deg, rgba(20, 83, 45, 0.94) 0%, rgba(22, 101, 52, 0.90) 55%, rgba(21, 128, 61, 0.85) 100%),
    radial-gradient(140% 120% at 80% 0%, rgba(34, 197, 94, 0.25), transparent 60%),
    #14532d;
}

/* ---------- Hero image tiles (gradient placeholders — swap for real photos) ---------- */
/* To use real photography, replace `background-image` with:
   background-image: url('images/your-photo.jpg'); background-size: cover; background-position: center; */
.tile { position: relative; background-size: cover; background-position: center; }
.tile-events {
  background-image: linear-gradient(160deg, #1f7a4d 0%, #14532d 100%);
}
.tile-construction {
  background-image: linear-gradient(160deg, #3f6212 0%, #1a2e05 100%);
}
.tile-any {
  background-image: linear-gradient(160deg, #6d28d9 0%, #4c1d95 100%);
}
/* Blurred, darkened copy of the photo fills the tile behind portrait shots
   so nothing is cropped and the white text stays legible. */
.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.7);
  transform: scale(1.15);
}
/* The full photo, never cropped; text overlay sits above it. */
.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.05) 55%, transparent 100%);
}

/* ---------- Primary orange call-to-action button ---------- */
.btn-cta {
  color: #fff;
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea8a0b 100%);
  box-shadow: 0 10px 25px -6px rgba(234, 138, 11, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 32px -8px rgba(234, 138, 11, 0.6);
}
.btn-cta:active { transform: translateY(0); }

.btn-cta-solid {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea8a0b 100%);
  transition: filter 0.15s ease;
}
.btn-cta-solid:hover { filter: brightness(1.05); }

/* ---------- DNI (dynamic number insertion) loading state ---------- */
/* Reserves the number's rendered width (~7.9em) so the button never resizes
   when the tracking number is inserted; a spinner shows until it resolves. */
.dni-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.9em;
}
.dni-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.75;
  animation: dni-spin 0.7s linear infinite;
}
@keyframes dni-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .dni-spinner { animation-duration: 1.6s; }
}

/* ---------- Orange stats bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, #f59e0b 0%, #ea8a0b 55%, #d97706 100%);
}

/* ---------- Section headings ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #15803d;
  background: #dcfce7;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}
.section-title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.15;
}
.section-sub {
  margin-top: 1rem;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Rental unit cards ---------- */
.unit-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(21, 128, 61, 0.35);
  border-color: #bbf7d0;
}
/* Photo banner across the card top. The gradient is a fallback that shows
   through if the image is missing; drop a file at the referenced path to
   replace it. Swap gradients per unit below. */
.unit-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #eef2f7;
}
/* Blurred copy of the photo fills the letterbox area behind portrait shots
   so the sides look designed rather than empty. */
.unit-media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.9);
  transform: scale(1.18);
}
/* The full photo — object-fit:contain guarantees nothing gets cropped. */
.unit-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .unit-media { height: 340px; }
}
/* per-unit gradient fallbacks */
.unit-media--standard     { background-image: linear-gradient(160deg, #1f7a4d 0%, #14532d 100%); }
.unit-media--deluxe       { background-image: linear-gradient(160deg, #2563eb 0%, #1e3a8a 100%); }
.unit-media--ada          { background-image: linear-gradient(160deg, #0ea5e9 0%, #075985 100%); }
.unit-media--construction { background-image: linear-gradient(160deg, #d97706 0%, #7c2d12 100%); }
.unit-media--handwash     { background-image: linear-gradient(160deg, #0d9488 0%, #134e4a 100%); }
.unit-media--luxury       { background-image: linear-gradient(160deg, #7c3aed 0%, #4c1d95 100%); }

.unit-info {
  position: relative;
  padding: 0 1.5rem;
}
/* emoji chip overlapping the bottom edge of the photo banner */
.unit-emoji {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: -1.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.85rem;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.35);
  border: 1px solid #f1f5f9;
}
.unit-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.unit-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
}
.unit-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.unit-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
}
.unit-list li {
  position: relative;
  padding-left: 1.6rem;
}
.unit-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
}
.unit-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 8px 18px -8px rgba(21, 128, 61, 0.6);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.unit-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- Badges ---------- */
.badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  color: #fff;
}
.badge-green  { background: #16a34a; }
.badge-purple { background: #7c3aed; }
.badge-blue   { background: #2563eb; }
.badge-orange { background: #ea8a0b; }
.badge-teal   { background: #0d9488; }
.badge-pink   { background: #db2777; }

/* ---------- Why-us feature cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(15, 23, 42, 0.25);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: #dcfce7;
  color: #15803d;
}
.feature-title {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.feature-desc {
  margin-top: 0.6rem;
  color: #64748b;
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ---------- Service cards ---------- */
.service-card {
  border-width: 1px;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.3);
}
.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: #fff;
}
.chip-violet { color: #6d28d9; }
.chip-amber  { color: #b45309; }
.chip-rose   { color: #be123c; }

.service-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.service-btn-violet { color: #6d28d9; border-color: #ddd6fe; }
.service-btn-violet:hover { background: #6d28d9; color: #fff; }
.service-btn-amber { color: #b45309; border-color: #fde68a; }
.service-btn-amber:hover { background: #b45309; color: #fff; }
.service-btn-rose { color: #be123c; border-color: #fecdd3; }
.service-btn-rose:hover { background: #be123c; color: #fff; }

/* ---------- How-it-works step cards ---------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.step-num {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #15803d;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 14px -4px rgba(21, 128, 61, 0.6);
}

/* ---------- Review cards ---------- */
.review-card {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 1rem;
  padding: 1.75rem;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #15803d;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Final CTA background (dark green + dotted texture) ---------- */
.cta-bg {
  background:
    radial-gradient(rgba(255, 255, 255, 0.10) 1.4px, transparent 1.4px),
    linear-gradient(135deg, #166534 0%, #14532d 100%);
  background-size: 22px 22px, cover;
}

/* ---------- Reveal-on-scroll animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
