/* ============================================================
   HERO.CSS — Hero / header section
   Barnet Premier Swim
   ============================================================ */

.hero {
  min-height: 100svh;
  width: 100%;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(11, 37, 69, 0.75), rgba(11, 37, 69, 0.75)),
    url('../images/swimpool.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 86px 24px 56px;
  overflow: hidden;
}

/* Decorative geometric SVG */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-geo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
}

/* Location chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(10, 175, 224, 0.45);
  color: var(--pool);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.6s var(--ease) 0.05s forwards;
}

/* Heading */
.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--white);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.6s var(--ease) 0.15s forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--pool);
  font-size: 0.52em;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.6s var(--ease) 0.25s forwards;
}

/* CTA buttons */
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 11px;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.6s var(--ease) 0.35s forwards;
}

/* Stats bar */
.hero-rule {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.6s var(--ease) 0.45s forwards;
}

.hstat {
  flex: 1;
  min-width: 80px;
  padding: 0 16px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hstat:last-child  { border-right: none; padding-right: 0; padding-left: 16px; }
.hstat:first-child { padding-left: 0; }

.hstat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hstat-l {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}

@keyframes up {
  to { opacity: 1; transform: translateY(0); }
}