/* ================================================================
   ACTIVITIES PAGE — css/activities.css
   ================================================================ */

/* ── Quick-nav strip (anchors below banner) ── */
.act-quick-nav {
  background: #fff;
  border-bottom: 1px solid #e5ece7;
  padding: 0;
}
.act-quick-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.act-quick-nav-inner a {
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  color: #526159;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.act-quick-nav-inner a:hover {
  background: #edf5ef;
  color: #286344;
}

/* ── Shared section spacing ── */
.act-section {
  padding: 70px 0;
  scroll-margin-top: 88px;
}
.act-section-alt {
  background: #f5f8f6;
}
.act-section-cream {
  background: #fbfaf6;
}

/* ── Section header ── */
.act-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.act-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #478b68;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.act-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #478b68;
}
.act-section-head h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 400;
  color: #478b68;
  line-height: 1.15;
  margin: 10px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.act-section-head p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  color: #68766f;
  line-height: 1.9;
  margin: 0;
}

/* ── Photo cards (water, indoor, outdoor) ── */
.act-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.act-cards-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.act-photo-card {
  overflow: hidden;
  border: 1px solid #e5ece7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 62, 47, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.act-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 19px 42px rgba(29, 62, 47, 0.14);
}
.act-photo-card-image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #dce8df;
}
.act-photo-card-image::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(0deg, rgba(17, 47, 35, 0.3), transparent);
}
.act-photo-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.act-photo-card:hover .act-photo-card-image img {
  transform: scale(1.055);
}
.act-card-number {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(24, 55, 45, 0.55);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.act-photo-card-copy {
  padding: 22px 23px 25px;
}
.act-card-tag {
  color: #478b68;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.act-photo-card h3 {
  margin: 8px 0 7px;
  color: #284b3b;
  font-family: 'Oswald', sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.act-photo-card p {
  margin: 0;
  color: #68766f;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

/* ── Pool / Fitness feature (image + text side-by-side) ── */
.act-pool-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}
.act-pool-image {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 14px;
  background: #dce8df;
  box-shadow: 0 18px 55px rgba(29, 62, 47, 0.10);
}
.act-pool-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.act-pool-image:hover img {
  transform: scale(1.035);
}
.act-image-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 15px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  color: #18372d;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}
.act-pool-copy h2 {
  margin: 14px 0;
  color: #478b68;
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.act-pool-copy p {
  color: #68766f;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.95;
  margin: 0 0 12px;
}
.act-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #b7cdbd;
  color: #2f6749;
  text-decoration: none;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.act-text-link span {
  font-size: 15px;
  transition: transform 0.2s;
}
.act-text-link:hover span {
  transform: translate(3px, -3px);
}
.act-text-link:hover {
  color: #478b68;
}

/* ── Rain Dance feature (full-width overlay card) ── */
.act-rain-feature {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 14px;
  background: #193b30;
  color: #fff;
}
.act-rain-image {
  position: absolute;
  inset: 0;
}
.act-rain-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.act-rain-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 38, 29, 0.86), rgba(12, 38, 29, 0.57) 52%, rgba(12, 38, 29, 0.08));
}
.act-rain-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 58px;
}
.act-rain-copy .act-eyebrow {
  color: #b6ddc3;
}
.act-rain-copy .act-eyebrow::before {
  background: #b6ddc3;
}
.act-rain-copy h2 {
  margin: 14px 0;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.act-rain-copy p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.83);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.95;
  margin: 0 0 12px;
}
.act-rain-copy .act-text-link {
  border-color: rgba(255, 255, 255, 0.45);
  color: #e3f3e8;
}

/* ── CTA banner ── */
.act-cta {
  position: relative;
  overflow: hidden;
  padding: 82px 24px;
  background: #18372d;
  color: #fff;
  text-align: center;
}
.act-cta::before,
.act-cta::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(169, 213, 187, 0.18);
  border-radius: 50%;
}
.act-cta::before {
  left: -150px;
  top: -170px;
}
.act-cta::after {
  right: -160px;
  bottom: -195px;
}
.act-cta-inner {
  position: relative;
  max-width: 720px;
  margin: auto;
}
.act-cta h2 {
  margin: 13px 0;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.13;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.act-cta p {
  max-width: 630px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.9;
}
.act-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.act-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #478b68;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.act-btn:hover {
  background: #356f52;
  transform: translateY(-2px);
  color: #fff;
}
.act-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.act-btn-outline {
  border-color: rgba(255, 255, 255, 0.64);
  background: transparent;
}
.act-btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .act-cards-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .act-photo-card-image {
    height: 235px;
  }
  .act-pool-feature {
    gap: 30px;
  }
  .act-pool-copy h2,
  .act-rain-copy h2 {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .act-section {
    padding: 50px 0;
    scroll-margin-top: 72px;
  }
  .act-section-head {
    margin-bottom: 27px;
  }
  .act-section-head h2 {
    font-size: 32px;
  }
  .act-cards,
  .act-cards-four {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .act-photo-card-image {
    height: 250px;
  }
  .act-photo-card-copy {
    padding: 19px 20px 21px;
  }
  .act-photo-card h3 {
    font-size: 24px;
  }
  .act-pool-feature {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .act-pool-image {
    height: 300px;
  }
  .act-pool-copy h2,
  .act-rain-copy h2 {
    font-size: 34px;
  }
  .act-rain-feature {
    min-height: 390px;
  }
  .act-rain-copy {
    padding: 38px 25px;
  }
  .act-rain-image::after {
    background: linear-gradient(90deg, rgba(12, 38, 29, 0.82), rgba(12, 38, 29, 0.52));
  }
  .act-quick-nav-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Enables smooth momentum scrolling on iOS */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
    padding: 12px 15px;
    margin: 0 -15px; /* Bypasses container padding so it scrolls edge-to-edge on phones */
    gap: 8px;
  }
  
  /* Hides scrollbar in Chrome/Safari/Edge while keeping functionality */
  .act-quick-nav-inner::-webkit-scrollbar {
    display: none; 
  }
  
  .act-quick-nav-inner a {
    flex-shrink: 0; /* CRITICAL: Prevents buttons from squishing, forcing the horizontal scroll */
    padding: 9px 14px;
    font-size: 12px;
  }
  .act-cta {
    padding: 60px 18px;
  }
  .act-cta h2 {
    font-size: 32px;
  }
  .act-cta p {
    font-size: 13px;
  }
}
