/* ============================================================
   Home page — hero, services tabs, about, why, portfolio preview
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: var(--nav-h) var(--gutter) 0 80px;
  overflow: hidden;
  background: var(--dark);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--border-gold);
  z-index: 4;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7) brightness(0.95);
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 2s ease, transform 14s ease-out;
  will-change: opacity, transform;
}
.hero__slide.active  { opacity: 1; transform: scale(1); }
.hero__slide.leaving { opacity: 0; transform: scale(1); transition: opacity 2s ease, transform 0s; }

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 45%,
    transparent 0%,
    rgba(15, 25, 35, 0.25) 50%,
    rgba(15, 25, 35, 0.7) 100%);
}
.hero__colorgrade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg,
    rgba(15, 25, 35, 0.6) 0%,
    rgba(30, 35, 30, 0.3) 35%,
    rgba(180, 140, 60, 0.08) 60%,
    rgba(15, 25, 35, 0.5) 100%);
  mix-blend-mode: multiply;
}
.hero__edgeburn {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top,    rgba(10, 18, 28, 0.65) 0%, rgba(10, 18, 28, 0.2) 35%, transparent 60%),
    linear-gradient(to bottom, rgba(10, 18, 28, 0.4)  0%, transparent 30%),
    linear-gradient(to right,  rgba(10, 18, 28, 0.3)  0%, transparent 25%, transparent 75%, rgba(10, 18, 28, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 640px;
}
.hero__logo {
  position: relative;
  z-index: 5;
  width: 140px;
  height: auto;
  margin-bottom: 28px;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero__logo.faded {
  opacity: 0;
  transform: translateY(-20px);
}
.hero__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 32px;
  opacity: 0.8;
}
.hero__heading {
  font-family: var(--ff-heading);
  font-size: 56px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}
.hero__sub {
  font-family: var(--ff-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 500px;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero { padding: var(--nav-h) var(--gutter-sm) 0 var(--gutter-sm); }
  .hero__heading { font-size: 38px; }
  .hero__sub { font-size: 15px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero::after { inset: 12px; }
}

/* ---- SERVICES (dark, tabbed) ---- */
.services {
  background: var(--dark);
  padding: var(--section-py) 0;
}
.services .container { text-align: center; }
.services .eyebrow         { color: var(--gold-light); }
.services .section-heading { color: var(--white); margin-bottom: 16px; }
.services__intro {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 64px;
}

.services__tabbed {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  text-align: left;
  min-height: 480px;
}
.services__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
  border-right: 1px solid var(--border-dark);
}
.services__tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: left;
  position: relative;
}
.services__tab:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: rgba(201, 160, 80, 0.3);
}
.services__tab.active {
  background: rgba(201, 160, 80, 0.08);
  border-left-color: var(--gold);
}

.services__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition: all 0.35s ease;
}
.services__tab-icon i {
  font-size: 20px;
  color: var(--text-muted);
  transition: color 0.35s ease;
}
.services__tab.active .services__tab-icon   { background: rgba(201, 160, 80, 0.15); }
.services__tab.active .services__tab-icon i { color: var(--gold); }
.services__tab:hover .services__tab-icon i  { color: var(--gold-light); }

.services__tab-label {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color 0.35s ease;
}
.services__tab.active .services__tab-label {
  color: var(--white);
  font-weight: 600;
}
.services__tab:hover .services__tab-label { color: var(--text-light); }

.services__panels {
  position: relative;
  padding-left: 48px;
  min-height: 480px;
}
.services__panel {
  position: absolute;
  top: 0;
  left: 48px;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.services__panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.services__panel-img {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
}
.services__panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.services__panel.active .services__panel-img img { transform: scale(1.02); }

.services__panel-content {
  position: relative;
  background: var(--dark-soft);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 28px 32px;
  margin: -40px 24px 0;
  z-index: 2;
}
.services__panel-content h3 {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.services__panel-content p {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}
.services__panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  transition: gap 0.25s ease;
}
.services__panel-cta:hover { gap: 10px; }

@media (max-width: 900px) {
  .services { padding: var(--section-py-sm) 0; }
  .services__tabbed { grid-template-columns: 1fr; }
  .services__tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
    padding-right: 0;
    padding-bottom: 16px;
    margin-bottom: 24px;
    gap: 8px;
  }
  .services__tab {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
  }
  .services__tab.active { border-left: none; border-bottom-color: var(--gold); }
  .services__panels { padding-left: 0; min-height: auto; }
  .services__panel  { position: relative; left: 0; }
  .services__panel:not(.active) { display: none; }
  .services__panel-img { height: 260px; }
  .services__panel-content { margin: -32px 16px 0; padding: 22px 24px; }
}

/* ---- PORTFOLIO (light) ---- */
.portfolio {
  background: var(--cream-warm);
  padding: var(--section-py) 0;
  position: relative;
}
.portfolio .container       { text-align: center; }
.portfolio .section-heading {
  color: var(--text-dark);
  margin-bottom: 56px;
}
.portfolio__view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .portfolio { padding: var(--section-py-sm) 0; }
}

/* ---- ABOUT (dark, split layout) ---- */
.about {
  background: var(--dark);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.about .eyebrow { color: var(--gold-light); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image {
  width: 100%;
  overflow: hidden;
  box-shadow: 12px 12px 0 rgba(201, 160, 80, 0.15);
}
.about__image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.about__heading {
  font-family: var(--ff-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
}
.about__copy {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 48px;
}
.about__stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.about__stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.about__stat-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about { padding: var(--section-py-sm) 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image img { min-height: 320px; }
  .about__heading { font-size: 36px; }
  .about__stats { gap: 32px; flex-wrap: wrap; }
  .about__stat-number { font-size: 36px; }
}

/* ---- WHY (light, numbered pillars) ---- */
.why {
  background: var(--cream);
  padding: var(--section-py) 0;
}
.why .container       { text-align: center; }
.why .section-heading {
  color: var(--text-dark);
  margin-bottom: 72px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.why__card {
  padding: 40px 28px 36px;
  position: relative;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--gold);
  transition: all var(--t-base) ease;
}
.why__card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.why__icon { margin-bottom: 20px; }
.why__icon i {
  font-size: 32px;
  color: var(--gold);
}
.why__num {
  font-family: var(--ff-heading);
  font-size: 64px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  margin-bottom: -16px;
  display: block;
  user-select: none;
}
.why__title {
  font-family: var(--ff-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  position: relative;
}
.why__desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

@media (max-width: 1024px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why__grid { grid-template-columns: 1fr; } .why { padding: var(--section-py-sm) 0; } }

/* ============================================================
   ZEE POOLS — contained section, light background
   ============================================================ */
.zee-pools {
  --zee-aqua:      #3BB5D6;
  --zee-aqua-mid:  #1A8BB3;
  --zee-aqua-deep: #147196;

  padding: var(--section-py) 0;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    hsl(38, 40%, 95%) 100%
  );
  position: relative;
}

.zee-pools__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---- Floating image card ---- */
.zee-pools__img-wrap {
  position: relative;
}
.zee-pools__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow:
    0 24px 64px -16px rgba(20, 60, 90, 0.28),
    0 0 0 1px rgba(59, 181, 214, 0.12);
}
/* Subtle aqua accent bar on top edge of image */
.zee-pools__img-wrap::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--zee-aqua));
  border-radius: 3px 3px 0 0;
  z-index: 1;
}

/* ---- Content ---- */
.zee-pools__content {
  padding: 8px 0;
}

/* Brand row */
.zee-pools__brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.zee-pools__logo {
  display: block;
  height: auto;
}
.zee-pools__badge {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zee-aqua-deep);
  background: rgba(59, 181, 214, 0.08);
  border: 1px solid rgba(59, 181, 214, 0.2);
  padding: 5px 14px;
  white-space: nowrap;
}

/* Title — dark text on light bg */
.zee-pools__title {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.zee-pools__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--zee-aqua-mid), var(--zee-aqua));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Body text */
.zee-pools__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 500px;
}
.zee-pools__text strong {
  color: var(--dark);
  font-weight: 600;
}
.zee-pools__text em {
  color: var(--zee-aqua-deep);
  font-style: italic;
}

/* Features */
.zee-pools__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.zee-pools__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}
.zee-pools__feature i {
  font-size: 18px;
  color: var(--zee-aqua-mid);
  flex-shrink: 0;
}

/* CTA */
.zee-pools__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--zee-aqua-mid), var(--zee-aqua));
  color: var(--white);
  border: none;
  padding: 14px 30px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 8px 24px -6px rgba(26, 139, 179, 0.4);
  transition: all var(--t-base) ease;
}
.zee-pools__cta i {
  font-size: 15px;
  transition: transform var(--t-base) ease;
}
.zee-pools__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(59, 181, 214, 0.5);
  color: var(--white);
}
.zee-pools__cta:hover i { transform: translate(2px, -2px); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .zee-pools__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .zee-pools__content {
    padding: 0;
  }
}
@media (max-width: 600px) {
  .zee-pools { padding: var(--section-py-sm) 0; }
  .zee-pools__features { grid-template-columns: 1fr; }
  .zee-pools__logo { width: 140px; }
  .zee-pools__img { border-radius: 12px; }
}

