/* =====================================================
   GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   ROOT VARIABLES (DESIGN SYSTEM)
===================================================== */
:root {
  /* Typography */
  --font-primary: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Colors (Neutral / Construction Default) */
  --color-bg: #0f0f0f;
  --color-text: #ffffff;
  --color-muted: #cccccc;

  /* Accent Colors */
  --accent-construction: #1f1f1f;
  --accent-pools: #1e88e5; /* BLUE — pools */

  /* Layout */
  --container-width: 1200px;
  --section-padding: 4rem 1.5rem;
}

/* =====================================================
   BASE ELEMENTS
===================================================== */
body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   LAYOUT HELPERS
===================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   HEADER / NAVIGATION (MOBILE FIRST)
===================================================== */

.site-header {
  background-color: var(--accent-construction);
  border-bottom: 1px solid #222;
  padding: 1rem 0;   /* reduced from 1.25rem */
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO WRAPPER */
.logo {
  position: relative;
  z-index: 1001;
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}


/* =====================================================
   NAVIGATION BASE (MOBILE FIRST)
===================================================== */
.main-nav {
  width: 100%;
}

.main-nav ul {
  list-style: none;
  display: none; /* hidden by default (mobile) */
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
}


/* =====================================================
   MOBILE NAV (OVERLAY)
===================================================== */
@media (max-width: 768px) {

  /* remove nav from header flow */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  /* fullscreen overlay */
  .main-nav ul {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98); /* FIXED */
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .main-nav ul.active {
    display: flex;
  }

  /* keep controls above overlay */
  .nav-toggle,
  .logo {
    position: relative;
    z-index: 1001;
  }

  /* force hamburger to right */
  .nav-toggle {
    margin-left: auto;
  }
}

/* =====================================================
   NAVIGATION HOVER EFFECT (STABLE)
===================================================== */

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

/* Underline */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-pools);
  transition: width 0.3s ease;
}

/* Hover */
.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}



/* =====================================================
   HAMBURGER ICON
===================================================== */
.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  display: inline-block;
  transition: background 0.25s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition:
    transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6),
    top 0.25s ease,
    opacity 0.2s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* OPEN STATE → X */
.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg) scale(1.1);
}

.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg) scale(1.1);
}

/* =====================================================
   DESKTOP NAVIGATION
===================================================== */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }
}
@media (min-width: 768px) {

  /* keep logo on one line */
  .logo a {
    white-space: nowrap;
  }

  /* nav should not stretch full width on desktop */
  .main-nav {
    width: auto;
    flex-shrink: 0;
  }
}

/* =====================================================
   HERO SPLIT (STABLE BASE VERSION)
===================================================== */

#hero-split {
  padding: 5rem 1.5rem 3rem 1.5rem;
}

.hero-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-title h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-split-inner {
  display: flex;
  height: 70vh;
  gap: 1.5rem;
}



/* Panels */
.hero-panel {
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-decoration: none;

  --scroll-scale: 1;
  --hover-scale: 1;

  transform: scale(calc(var(--scroll-scale) * var(--hover-scale)));

  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}



/* Images */
.hero-construction {
  background-image: url("../images/hero/hero-construction.jpg");
}

.hero-pools {
  background-image: url("../images/hero/hero-pool.jpg");
}


/* Overlay */
.hero-panel-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.25)
  );

  transition: background 0.4s ease;
}


/* Hover */
@media (hover: hover) {
  .hero-panel:hover {
    --hover-scale: 1.05;
  }
}




.hero-panel:hover .hero-caption {
  opacity: 1;
}

/* Bottom text */
.hero-subtext {
  text-align: center;
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext p {
  color: var(--color-muted);
}

/* Desktop typography */
@media (min-width: 992px) {
  .hero-title h1 {
    font-size: 3.5rem;
  }
}

/* Mobile layout */
@media (max-width: 768px) {

  .hero-split-inner {
    flex-direction: column;
    height: auto;
  }

  .hero-panel {
    height: 45vh;
  }
}

/* =====================================================
   PREMIUM CAPTION (VISIBLE BY DEFAULT)
===================================================== */

.hero-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.45; /* Visible but subtle */
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  pointer-events: none; /* Ensures hover works anywhere */
}

/* Brighten + slight lift on hover */
.hero-panel:hover .hero-caption {
  opacity: 0.95;
  transform: translateX(-50%) translateY(-4px);
}

/* Bottom text (smaller, cleaner) */
.hero-subtext {
  text-align: center;
  margin-top: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext p {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  line-height: 1.5;
}

/* Desktop typography */
@media (min-width: 992px) {
  .hero-title h1 {
    font-size: 3.5rem;
  }
}

/* =====================================================
   MOBILE HERO FIX (FINAL)
===================================================== */
@media (max-width: 768px) {

  #hero-split {
    padding: 3rem 1.2rem;
  }

  .hero-title h1 {
    font-size: 2rem;
  }

/* MOBILE HERO FIX */
.hero-split-inner {
  flex-direction: column;
  height: auto;          /* important */
  gap: 1.5rem;
}

.hero-panel {
  height: 50vh;
  min-height: 300px;
  border-radius: 8px;
}


  /* Make captions always slightly visible on mobile (no hover) */
  .hero-caption {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0);
    bottom: 20px;
    font-size: 0.9rem;
  }

  .hero-subtext {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
  }

  .hero-subtext p {
    font-size: 0.9rem;
  }
}


/* =====================================================
   IMMERSIVE SERVICES (60 / 40 PREMIUM BLOCKS)
===================================================== */

#services-immersive {
  background-color: #080808;
  padding: 5rem 1.5rem;
}

.immersive-inner {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* BLOCK STRUCTURE */
.immersive-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* IMAGE */
.immersive-image {
  flex: 1.2; /* 60% weight */
  border-radius: 10px;
  overflow: hidden;
}

.immersive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  --scroll-scale: 1;
  transform: scale(var(--scroll-scale));

  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* CONTENT */
.immersive-content {
  flex: 0.8; /* 40% weight */
  max-width: 500px;
}

.immersive-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.immersive-content p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.immersive-link {
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: opacity 0.3s ease;
}

.immersive-link:hover {
  opacity: 0.7;
}

/* DESKTOP LAYOUT */
@media (min-width: 992px) {

  .immersive-block {
    flex-direction: row;
    align-items: center;
  }

  .immersive-block.pools {
    flex-direction: row-reverse;
  }

}


/* =====================================================
   PRIMARY DECISION SECTION
===================================================== */

#primary-decision {
  background-color: #080808;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.decision-inner {
  display: flex;
  flex-direction: column;
}

.decision-block {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.3s ease;
}

.decision-block:last-child {
  border-bottom: none;
}

.decision-block:hover {
  background-color: #111;
}

.decision-image img {
  width: 100%;
  height: auto;
  display: block;
}

.decision-content {
  padding: 2.5rem 1.5rem;
}

.decision-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.decision-content p {
  color: var(--color-muted);
  max-width: 600px;
}

/* =====================================================
   PRIMARY DECISION IMAGE — SCROLL ANIMATION (LIVE)
===================================================== */

.decision-image {
  border-radius: 8px;      /* NEW */
  overflow: hidden;        /* NEW */

  opacity: 0;
  transform: translateY(60px) scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.decision-image img {
  width: 100%;
  height: auto;
  display: block;
}

.decision-image.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* =====================================================
   DECISION DESKTOP LAYOUT (HORIZONTAL SPLIT)
===================================================== */

@media (min-width: 992px) {

  .decision-block {
    flex-direction: row;
    align-items: center;
  }

  .construction-block .decision-image {
    order: 2;
  }

  .construction-block .decision-content {
    order: 1;
  }

  .pools-block .decision-image {
    order: 1;
  }

  .pools-block .decision-content {
    order: 2;
  }

  .decision-image,
  .decision-content {
    flex: 1;
  }

  .decision-content {
    padding: 4rem;
  }

  .decision-content h2 {
    font-size: 2rem;
  }
}





/* =====================================================
   SECTION BASE
===================================================== */
section {
  padding: var(--section-padding);
}
/* =====================================================
   SERVICE SPLIT SECTION
===================================================== */

#services-split {
  background-color: #080808;
}

.services-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* SERVICE CARD */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #0f0f0f;
  border: 1px solid #1a1a1a;
}

/* MEDIA PLACEHOLDER */
.service-media {
  width: 100%;
  min-height: 180px;
  background-color: #111;
}

/* CONTENT */
.service-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* =====================================================
   DESKTOP LAYOUT
===================================================== */
@media (min-width: 768px) {

  .services-inner {
    gap: 4rem;
  }

  .service-card {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .service-card.pools {
    flex-direction: row-reverse;
  }

  .service-media,
  .service-content {
    flex: 1;
  }
}


/* =====================================================
   POOLS CONTEXT OVERRIDE
   (used later in pools.html or pool sections)
===================================================== */
.pools {
  --section-accent: var(--accent-pools);
}

.construction {
  --section-accent: var(--accent-construction);
}


/* =====================================================
   TRUST / CREDENTIALS SECTION
===================================================== */

#trust {
  background-color: #0b0b0b;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.trust-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.trust-item p {
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* =====================================================
   TRUST — DESKTOP LAYOUT
===================================================== */
@media (min-width: 768px) {

  .trust-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .trust-item {
    flex: 1;
  }

  .trust-item p {
    margin: 0;
  }
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: #0f0f0f;
  color: #ccc;
  padding: 60px 0 30px;
  border-top: 1px solid #222;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 16px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
}

/* FOOTER CONTACT LINKS */
.footer-column p a {
  color: #ffffff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-column p a:hover {
  opacity: 0.7;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 20px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* MOBILE STACK */
@media (max-width: 768px) {

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.footer-social-icon svg {
  width: 100%;
  height: 100%;
}

/* =====================================================
   MOBILE FIRST BREAKPOINTS
===================================================== */
@media (min-width: 768px) {
  #services-split .container {
    flex-direction: row;
  }
}


/* =====================================================
   CALL TO ACTION SECTION
===================================================== */

#cta {
  background-color: #0f0f0f;
  border-top: 1px solid #1a1a1a;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

/* CONTENT */
.cta-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ACTIONS */
.cta-actions {
  margin-top: 1rem;
}

.cta-actions .btn {
  font-weight: 700;
}

/* =====================================================
   CTA — DESKTOP LAYOUT
===================================================== */
@media (min-width: 768px) {

  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .cta-content p {
    margin: 0;
  }
}
/* =====================================================
   PAGE HERO (INNER PAGES)
===================================================== */

#page-hero {
  padding: 4rem 1.5rem;
  background-color: #0c0c0c;
  border-bottom: 1px solid #1a1a1a;
}

.page-hero-inner h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-hero-inner p {
  color: var(--color-muted);
  max-width: 600px;
}

/* =====================================================
   CONSTRUCTION SERVICES LIST
===================================================== */

#construction-services {
  background-color: #080808;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--color-muted);
}

/* =====================================================
   CONSTRUCTION GALLERY
===================================================== */

#construction-gallery {
  background-color: #0b0b0b;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

/* =====================================================
   DESKTOP ENHANCEMENT
===================================================== */

@media (min-width: 768px) {

  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .page-hero-inner h1 {
    font-size: 2.75rem;
  }
}
/* =====================================================
   POOL SERVICES SECTION
===================================================== */

#pool-services {
  background-color: #080808;
}

/* =====================================================
   FINANCING SECTION
===================================================== */

#pool-financing {
  background-color: #0e1a26;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  text-align: center;
}

.financing-inner h2 {
  margin-bottom: 0.75rem;
  color: var(--accent-pools);
}

.financing-inner p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   POOL GALLERY SECTION
===================================================== */

#pool-gallery {
  background-color: #0b0b0b;
}

/* =====================================================
   POOL CTA
===================================================== */

#pool-cta {
  background-color: #0f0f0f;
  border-top: 1px solid #1a1a1a;
}
/* =====================================================
   GALLERY PAGE SECTIONS
===================================================== */

.gallery-section-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#gallery-construction,
#gallery-pools {
  background-color: #080808;
  border-top: 1px solid #1a1a1a;
}

/* =====================================================
   GALLERY GRID (REUSABLE) — FINAL NORMALIZED
   (This must be the LAST gallery-grid/gallery-item definition)
===================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #111;

  /* Forces consistent “card” height everywhere */
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  --scroll-scale: 1;
  transform: scale(var(--scroll-scale));
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}



/* =====================================================
   DESKTOP ENHANCEMENT
===================================================== */

@media (min-width: 768px) {

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    min-height: 220px;
  }
}
/* =====================================================
   CONTACT SECTION
===================================================== */

#contact-section {
  background-color: #080808;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* FORM */
.contact-form-wrapper h2 {
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  background-color: #111;
  border: 1px solid #222;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-construction);
}

/* CONTACT INFO */
.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

/* =====================================================
   DESKTOP ENHANCEMENT
===================================================== */

@media (min-width: 768px) {

  .contact-inner {
    flex-direction: row;
  }

  .contact-form-wrapper,
  .contact-info {
    flex: 1;
  }
}
/* =====================================================
   LOGO STYLING
===================================================== */

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;   /* reduced slightly */
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.6rem;   /* increased */
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--color-text);
}

@media (max-width: 480px) {

  .logo-img {
    height: 34px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

}

/* =====================================================
   CONSTRUCTION PAGE HERO (WARM RESIDENTIAL)
===================================================== */

#page-hero.construction-page {
  position: relative;
  padding: 7rem 1.5rem;
  background-image: url("../images/construction/construction-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#page-hero.construction-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.65)
  );
}

#page-hero.construction-page .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#page-hero.construction-page h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

#page-hero.construction-page p {
  font-size: 1.1rem;
  color: #e6e6e6;
}

/* =====================================================
   POOLS PAGE HERO (BLUE TONE)
===================================================== */

#page-hero.pools-page {
  position: relative;
  padding: 7rem 1.5rem;
  background-image: url("../images/gallery/pool-immersive.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#page-hero.pools-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 40, 0.55),
    rgba(0, 0, 0, 0.75)
  );
}

#page-hero.pools-page .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#page-hero.pools-page h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

#page-hero.pools-page p {
  font-size: 1.1rem;
  color: #e6f2ff;
}

/* =====================================================
   CONSTRUCTION SERVICES (SPACIOUS & CLEAN)
===================================================== */

#construction-services {
  padding: 6rem 1.5rem;
}

#construction-services .service-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #1a1a1a;
}

#construction-services .service-item:last-child {
  border-bottom: none;
}

#construction-services h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

#construction-services p {
  font-size: 1rem;
  color: var(--color-muted);
}

/* =====================================================
   CONSTRUCTION PROCESS
===================================================== */

#construction-process {
  background-color: #0c0c0c;
  padding: 6rem 1.5rem;
}

#construction-process h2 {
  margin-bottom: 3rem;
  text-align: center;
}

.process-grid {
  display: grid;
  gap: 2.5rem;
}

.process-step {
  background-color: #111;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #1a1a1a;
}

.process-step h3 {
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--color-muted);
}

/* Desktop */
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =====================================================
   WHY CHOOSE SECTION
===================================================== */

#construction-why {
  padding: 6rem 1.5rem;
}

.why-grid {
  display: grid;
  gap: 2.5rem;
}

.why-item h3 {
  margin-bottom: 0.5rem;
}

.why-item p {
  color: var(--color-muted);
}

/* Desktop */
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================
   CONSTRUCTION CTA
===================================================== */

#construction-cta {
  background-color: #0f0f0f;
  padding: 6rem 1.5rem;
  border-top: 1px solid #1a1a1a;
}

#construction-cta h2 {
  font-size: 2rem;
}

/* =====================================================
   HEADER ICONS
===================================================== */

/* HEADER RIGHT ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* SOCIAL ICONS */
.social-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

/* =====================================================
   BUTTON SYSTEM (GLOBAL)
===================================================== */

.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

/* PRIMARY */
.btn-primary {
  background-color: #111;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a1a1a;
}

/* SECONDARY */
.btn-secondary {
  background-color: var(--accent-pools);
  color: #fff;
  border: none;
}

.btn-secondary:hover {
  filter: brightness(1.1);
}

/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}