/* 1. Variables */
:root {
  --primary-red: #e31e24;
  --royal-blue: #00adef;
  --sun-yellow: #fff200;
  --deep-blue: #0056b3;
  --white: #ffffff;
  --text-dark: #333333;
  --font-main: "Quicksand", sans-serif;
}

/* 2. Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#about,
#services,
#perfect-for,
#gallery,
#contact {
  scroll-margin-top: 7.5rem;
}

/* 3. Header */
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.75rem 5%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-logo img {
  height: clamp(7.5rem, 14vw, 9.5rem);
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.5rem;
}

.site-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--royal-blue);
}

.btn-call {
  background: var(--primary-red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-call:hover {
  transform: scale(1.05);
}

/* 4. Hero */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./images/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 100px 5%;
  height: 50vh;
}

.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  max-width: min(36rem, 92%);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.btn-primary {
  display: inline-block;
  background: var(--royal-blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-primary:hover {
  background: var(--deep-blue);
  transform: scale(1.03);
}

/* 5. Who we are */
.about {
  padding: clamp(48px, 8vw, 80px) 5%;
  background: linear-gradient(180deg, #e8f5fc 0%, #f0f7fb 45%, #fafcfd 100%);
}

.about-inner {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow:
    0 4px 6px rgba(0, 86, 179, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 173, 239, 0.12);
}

.about h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.about-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 20ch;
}

.about h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.about p {
  margin-bottom: 1.15rem;
  font-size: 1.0625rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #444;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.about-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(
    135deg,
    rgba(255, 242, 0, 0.35) 0%,
    rgba(0, 173, 239, 0.12) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(227, 30, 36, 0.15);
}

.about-cta a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 700;
}

.about-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-inner {
    border-radius: 20px;
  }
}

/* 5b. Our Services */
.services-section {
  padding: clamp(40px, 6vw, 64px) 5%;
  background: linear-gradient(180deg, #fafcfd 0%, var(--white) 100%);
}

.services-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.services-site-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.services-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.services-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
}

.services-site-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.services-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 173, 239, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.services-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.services-item-desc {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.55;
}

/* 5c. Gallery (kids / events photos — slideshow mounts here) */
.gallery-section {
  padding: clamp(48px, 8vw, 72px) 5%;
  background: linear-gradient(180deg, #e8f5fc 0%, #f0f7fb 50%, #fafcfd 100%);
}

.gallery-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.gallery-site-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.gallery-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.gallery-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
}

.gallery-site-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.gallery-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: #555;
  font-size: 1.05rem;
}

/* Gallery slideshow */
.slideshow {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.slideshow-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #1e1e22;
  box-shadow:
    0 4px 6px rgba(0, 86, 179, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slideshow-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
}

.slideshow[data-reduced-motion="true"] .slideshow-track {
  transition: none;
}

.slideshow-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.slideshow-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  object-fit: contain;
  vertical-align: middle;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition:
    background 0.2s,
    transform 0.2s;
  z-index: 2;
}

.slideshow-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.slideshow-arrow:focus-visible {
  outline: 3px solid var(--royal-blue);
  outline-offset: 2px;
}

.slideshow-arrow-prev {
  left: 0.65rem;
}

.slideshow-arrow-next {
  right: 0.65rem;
}

.slideshow-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.slideshow-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.slideshow-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 2px solid var(--royal-blue);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.slideshow-dot[aria-selected="true"] {
  background: var(--royal-blue);
  transform: scale(1.15);
}

.slideshow-dot:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .slideshow-arrow {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.5rem;
  }

  .slideshow-arrow-prev {
    left: 0.35rem;
  }

  .slideshow-arrow-next {
    right: 0.35rem;
  }

  .slideshow-slide img {
    max-height: min(58vh, 380px);
  }
}

/* 6. Perfect For */
.features {
  padding: clamp(48px, 8vw, 80px) 5%;
  background: var(--white);
}

.features-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.features h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.features-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.features-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
}

.features h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--primary-red));
}

.features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(180deg, #fafcfd 0%, var(--white) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 173, 239, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:nth-child(1),
.feature-card:nth-child(3) {
  border-bottom: 4px solid var(--royal-blue);
}

.feature-card:nth-child(2),
.feature-card:nth-child(4) {
  border-bottom: 4px solid var(--primary-red);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 86, 179, 0.12);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  line-height: 1;
  background: rgba(0, 173, 239, 0.12);
  border-radius: 50%;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(227, 30, 36, 0.1);
}

.feature-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 7. Footer / contact */
footer#contact {
  background: var(--primary-red);
  color: var(--white);
  text-align: center;
  padding: 60px 5%;
}

footer#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.75rem;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  max-width: 58rem;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.footer-block-title {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
  border-bottom: 2px solid rgba(255, 242, 0, 0.35);
  padding-bottom: 0.45rem;
  width: fit-content;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list-tight {
  gap: 0.4rem;
}

footer#contact .footer-list a {
  color: var(--sun-yellow);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: break-word;
  line-height: 1.35;
}

/* Keep each email on one line on multi-column footer (avoids “.co” / “m” splits) */
@media (min-width: 769px) {
  .footer-block--email {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  footer#contact .footer-block--email .footer-list a {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

footer#contact .footer-list a:hover {
  text-decoration: underline;
}

footer#contact a {
  color: var(--sun-yellow);
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: bold;
}

footer#contact a:hover {
  text-decoration: underline;
}

footer#contact p {
  margin: 10px 0;
}

footer#contact .footer-waiver {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 32rem;
  margin: 1.75rem auto 0;
  padding: 0 1rem;
  box-sizing: border-box;
  line-height: 1.5;
  text-align: center;
}

footer#contact .footer-waiver > a {
  display: inline-block;
  text-align: center;
}

footer#contact .footer-waiver-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.95;
  text-align: center;
  max-width: 22rem;
}

/* 8. Responsive */
@media (max-width: 768px) {
  #about,
  #services,
  #perfect-for,
  #gallery,
  #contact {
    scroll-margin-top: 11rem;
  }

  header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .header-logo {
    justify-content: center;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    max-width: min(100%, 30rem);
    text-align: center;
  }

  .footer-block--email {
    overflow-x: visible;
  }

  footer#contact .footer-block--email .footer-list a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .footer-block-title {
    border-bottom-color: rgba(255, 242, 0, 0.25);
  }
}
