/* Coastal Pools — Wicked Fast Web redesign */

:root {
  --teal-deep: #0b3d40;
  --teal: #0e5257;
  --aqua: #22b8c4;
  --aqua-light: #6fd8e0;
  --sand: #f2b134;
  --sand-deep: #d99320;
  --cream: #fbf9f2;
  --ink: #142a2c;
  --ink-soft: #4a6265;
  --line: rgba(14, 82, 87, 0.14);
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
}

a { color: var(--teal); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--aqua);
}

.section-title {
  font-weight: 800;
  color: var(--teal-deep);
}

.section-pad { padding: 5.5rem 0; scroll-margin-top: 84px; }
@media (max-width: 767px) { .section-pad { padding: 3.5rem 0; } }

.bg-alt { background: #f1f7f6; }

/* ---------- Navbar ---------- */
.navbar-coastal {
  background: var(--teal-deep);
  padding-top: .65rem;
  padding-bottom: .65rem;
  box-shadow: 0 2px 14px rgba(0,0,0,.15);
}

.navbar-coastal .navbar-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff !important;
  letter-spacing: .01em;
}

.navbar-coastal .navbar-brand span {
  color: var(--aqua-light);
}

.navbar-coastal .nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .85rem !important;
}

.navbar-coastal .nav-link:hover { color: #ffffff !important; }

.navbar-coastal .btn-call {
  background: var(--sand);
  color: var(--teal-deep);
  font-weight: 700;
  border-radius: 30px;
  padding: .45rem 1.1rem;
  white-space: nowrap;
}
.navbar-coastal .btn-call:hover { background: #ffc857; color: var(--teal-deep); }

.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero (compact, angled bottom, duotone wash) ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 65%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  padding-top: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(4,30,33,0.45) 0%, rgba(4,30,33,0.08) 100%),
    linear-gradient(to bottom, rgba(6,35,38,0.35) 0%, rgba(9,45,49,0.20) 45%, rgba(4,25,28,0.55) 100%),
    linear-gradient(160deg, rgba(15,110,120,0.38), rgba(20,60,90,0.30));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  padding: 2.25rem 2rem;
  margin: 0 1rem;
  background: rgba(6,35,38,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.hero-eyebrow {
  color: #d9f4f6;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: .5rem 0 .75rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #f2fbfb;
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-cta .btn { border-radius: 30px; font-weight: 700; padding: .7rem 1.6rem; }
.btn-sand { background: var(--sand); border-color: var(--sand); color: var(--teal-deep); }
.btn-sand:hover { background: #ffc857; border-color: #ffc857; color: var(--teal-deep); }
.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,.85);
  color: #fff;
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Highlights grid ---------- */
.highlight-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.1rem;
  height: 100%;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.highlight-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(14,82,87,.12); }
.highlight-tile i {
  font-size: 1.9rem;
  color: var(--aqua);
  margin-bottom: .6rem;
  display: inline-block;
}
.highlight-tile h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  padding: .65rem 1.5rem;
}
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
  border-radius: 30px;
  padding: .6rem 1.4rem;
  background: transparent;
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* ---------- In-Ground ---------- */
.brand-callout {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.5rem;
  height: 100%;
}
.brand-callout img { max-height: 60px; object-fit: contain; }

.shape-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .6rem;
  text-align: center;
}
.shape-tile img { width: 100%; height: auto; border-radius: 6px; }
.shape-tile span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ---------- Above-ground package cards ---------- */
.package-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}
.package-card .package-head {
  background: var(--teal-deep);
  color: #fff;
  padding: 1.25rem 1.5rem;
}
.package-card .package-head h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .15rem; }
.package-card .package-head small { color: var(--aqua-light); font-weight: 600; }
.package-card .package-body { padding: 1.5rem; }
.package-card ul { list-style: none; padding-left: 0; margin-bottom: 1rem; }
.package-card ul li {
  padding: .3rem 0;
  font-size: .92rem;
  border-bottom: 1px dashed var(--line);
}
.package-card ul li:last-child { border-bottom: none; }
.package-sizes { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.package-sizes span {
  background: #eef7f7;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .78rem;
  padding: .3rem .65rem;
  border-radius: 20px;
}
.price-note {
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Spas ---------- */
.spa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}
.spa-card img { width: 100%; height: 220px; object-fit: cover; }
.spa-card .spa-body { padding: 1.4rem; }
.spa-model {
  border-top: 1px dashed var(--line);
  padding-top: .75rem;
  margin-top: .75rem;
}
.spa-model:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.spa-model-name { font-weight: 800; color: var(--teal-deep); }
.spa-price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--sand-deep);
  font-size: 1.3rem;
}
.spa-specs {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: .3rem 0 0;
  padding-left: 0;
  list-style: none;
}
.spa-specs li::before { content: '– '; }

.accessory-row {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accessory-row .price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--sand-deep);
}

/* ---------- Services ---------- */
.service-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}
.service-tile i { font-size: 1.6rem; color: var(--aqua); margin-bottom: .5rem; }
.service-tile h3 { font-size: 1.05rem; font-weight: 700; color: var(--teal-deep); }
.service-tile p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 0; }

.frequency-pill {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin: 0 .3rem .5rem 0;
}

/* ---------- Supplies ---------- */
.supply-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}
.supply-card img { width: 100%; height: 170px; object-fit: cover; }
.supply-color-block {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
}
.supply-color-block i { font-size: 3rem; color: #fff; }
.supply-card .supply-body { padding: 1.25rem 1.4rem; }
.supply-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--teal-deep); }
.supply-card i { color: var(--aqua); margin-right: .4rem; }
.chem-chip {
  display: inline-block;
  background: #eef7f7;
  color: var(--teal-deep);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 14px;
  margin: 0 .3rem .3rem 0;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.brand-strip img { max-height: 52px; width: auto; object-fit: contain; }

/* ---------- Gallery ---------- */
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s ease;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: 12px; }
.gallery-grid a:hover img { transform: scale(1.06); }

.process-strip .process-step { text-align: center; }
.process-strip img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: .6rem;
}
.process-strip .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--sand);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: .8rem;
  border-radius: 50%;
  margin-right: .4rem;
}
.process-strip h4 { font-size: .95rem; font-weight: 700; color: var(--teal-deep); display: inline; }

/* ---------- FAQs ---------- */
.accordion-button {
  font-weight: 700;
  color: var(--teal-deep);
}
.accordion-button:not(.collapsed) {
  background: #eef7f7;
  color: var(--teal-deep);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--line); }
.faq-answer { color: var(--ink-soft); font-size: .95rem; }

.pdf-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: .8rem;
}
.pdf-card:hover { background: #eef7f7; color: var(--teal-deep); }
.pdf-card i { font-size: 1.5rem; color: var(--aqua); }

/* ---------- Contact / Location ---------- */
.contact-card {
  background: var(--teal-deep);
  color: #fff;
  border-radius: 20px;
  padding: 2.25rem;
  height: 100%;
}
.contact-card h3 { font-family: var(--font-head); font-weight: 800; }
.contact-card .contact-line {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.contact-card .contact-line i { color: var(--aqua-light); font-size: 1.15rem; margin-top: .15rem; }
.contact-card a { color: #fff; text-decoration: underline; }
.hours-table td { color: #e8f6f6; padding: .15rem 0; font-size: .92rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.affiliate-banner {
  background: linear-gradient(135deg, var(--sand), #ffce6b);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  color: var(--teal-deep);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.affiliate-banner h3 { font-weight: 800; margin-bottom: .15rem; }
.affiliate-banner p { margin-bottom: 0; font-size: .9rem; }

/* ---------- Footer ---------- */
.footer-coastal {
  background: var(--teal-deep);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
}
.footer-coastal h4 {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 800;
  margin-bottom: .9rem;
}
.footer-coastal a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
  font-size: .92rem;
}
.footer-coastal a:hover { color: var(--aqua-light); }
.footer-divider { border-color: rgba(255,255,255,.15); margin: 2rem 0 1.25rem; }
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  color: #fff !important;
  margin: 0 !important;
}
.powered-by strong { color: var(--aqua-light); }

@media (max-width: 767px) {
  .hero { clip-path: ellipse(160% 100% at 50% 0%); min-height: 88vh; }
  .contact-card { padding: 1.5rem; }
}
