/* ===========================
   Breakwater Pools — styles
   =========================== */

:root {
  --navy: #0a2540;
  --navy-deep: #071b30;
  --teal: #1fb6c9;
  --teal-dark: #14808f;
  --stone: #eef3f5;
  --stone-dark: #dbe5e9;
  --ink: #14262f;
  --ink-soft: #4d6270;
  --sand: #f7f4ee;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(10, 37, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fraunces', 'Georgia', serif;
}

a {
  text-decoration: none;
}

.section-pad {
  padding: 6.5rem 0;
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.section-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.5rem;
}

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(6px);
  padding: 0.65rem 0;
  transition: padding 0.25s ease;
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white) !important;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
}

.navbar-wfw .navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-wfw .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
}

.navbar-wfw .nav-link:hover {
  color: var(--teal) !important;
}

.btn-quote {
  background: var(--teal);
  color: var(--navy-deep) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.4rem !important;
  margin-left: 0.5rem;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-quote:hover {
  background: #37cbdd;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(6, 22, 38, 0.45) 0%, rgba(6, 22, 38, 0.06) 100%),
              linear-gradient(to bottom, rgba(6, 22, 38, 0.35) 0%, rgba(6, 22, 38, 0.12) 45%, rgba(6, 22, 38, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.75rem 2.5rem;
  margin: 0 1.5rem;
  background: rgba(6, 22, 38, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1.25rem;
}

.hero-eyebrow {
  color: #bdf0f5;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: 700;
  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: 'Fraunces', serif;
  color: var(--white);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0.75rem 0 1rem;
  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: #eef7f8;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto 2rem;
  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-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--teal);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 1.02rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero-primary:hover {
  background: #37cbdd;
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 1.02rem;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- About ---------- */
.about-section {
  background: var(--sand);
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap img {
  border-radius: 1rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.award-badge {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 130px;
  background: var(--white);
  border-radius: 1rem;
  padding: 0.6rem;
  box-shadow: var(--shadow);
}

.award-badge img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .award-badge {
    width: 100px;
    right: 0.5rem;
    bottom: -1.5rem;
  }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.25rem 1.75rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
  border: 1px solid var(--stone-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.service-card.card-award {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.service-card.card-award img {
  width: 72px;
  flex-shrink: 0;
}

.service-card.card-award h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.service-card.card-award p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

/* ---------- Gallery ---------- */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 4 / 5;
}

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

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem;
  background: linear-gradient(to top, rgba(7, 27, 48, 0.85), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reviews ---------- */
.reviews-section {
  background: var(--stone);
}

.review-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.06);
}

.review-stars {
  color: #f2b544;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.review-text {
  color: var(--ink);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.review-name {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--navy-deep);
  color: var(--white);
}

.contact-section .section-heading {
  color: var(--white);
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}

.contact-card i {
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.contact-card a {
  color: var(--white);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--teal);
}

.map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-logo-chip {
  background: var(--sand);
  border-radius: 0.85rem;
  padding: 0.6rem 1.1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 36px;
  width: auto;
}

.footer h5 {
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
}

.footer a:hover {
  color: var(--teal);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.55rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.6rem;
  font-size: 1.05rem;
}

.social-icons a:hover {
  background: var(--teal);
  color: var(--navy-deep);
}

.powered-by {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.powered-by a {
  color: var(--teal);
  font-weight: 700;
}
