@font-face{
  font-family: 'Sunny Side';
  src: url('../assets/fonts/SunnySide-Regular.woff2') format('woff2'),
       url('../assets/fonts/SunnySide-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --teal: #114B5F;
  --sea: #1A936F;
  --celadon: #88D498;
  --tea: #C6DABF;
  --cream: #F3E9D2;
  --white: #FFFFFF;
  --ink: var(--teal);
  --ink-soft: #3E6570;

  --radius: 24px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(17,75,95,0.12);
  --shadow-hover: 0 16px 34px rgba(17,75,95,0.18);
  --ease-snap: cubic-bezier(0.4, 0, 0.2, 1);

  --display: 'Sunny Side', 'Baloo 2', system-ui, sans-serif;
  --body: 'Quicksand', system-ui, sans-serif;
  --script: 'Caveat', cursive;
}

*{ box-sizing: border-box; margin:0; padding:0; }

body{
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,.display{
  font-family: var(--display);
  font-weight: 400;
  font-synthesis: none;
  color: var(--teal);
  line-height: 1.15;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.wrap{
  max-width: 480px;
  margin: 0 auto;
  padding: 0 22px;
}

@media (min-width: 900px){
  .wrap{ max-width: 1080px; }
}

/* ---------- handwritten script accent ---------- */
.script-accent{
  display: inline-block;
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--sea);
  transform: rotate(-4deg);
  margin-bottom: 6px;
}
.script-accent.is--on-dark{ color: var(--celadon); }

/* ---------- hero: original illustrated field ---------- */
.hero{
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 440px;
  max-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--celadon);
}
.hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: center 40%;
  animation: hero-pan 24s ease-in-out infinite alternate;
}
.hero-sun{
  position: absolute;
  top: -12%;
  right: 4%;
  width: 42%;
  height: 70%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 70% 30%,
    rgba(255,246,196,0.55) 0%,
    rgba(255,236,150,0.25) 30%,
    rgba(255,236,150,0) 60%);
  animation: hero-glow 6s ease-in-out infinite;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(17,75,95,0.12) 0%,
    rgba(17,75,95,0) 38%,
    rgba(17,75,95,0.16) 100%);
}

/* soft fade + wave divider so the photo blends into the section below */
.hero-fade{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(243,233,210,0) 0%, var(--cream) 96%);
}
.hero-wave{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg{ width: 100%; height: 64px; display: block; }
.hero-wave path{ fill: var(--cream); }

@keyframes hero-pan{
  from{ transform: scale(1.04) translate3d(0,0,0); }
  to{ transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes hero-glow{
  0%,100%{ opacity: 0.75; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.06); }
}

/* hero title */
.hero-content{
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 22px;
}
.hero-title{
  display: inline-block;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 0.92;
  color: #fff;
  padding: 6px 10px;
}

.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;
}

.is-hidden{ display: none; }

@media (prefers-reduced-motion: reduce){
  .hero-img, .hero-sun{ animation: none !important; }
}

/* on narrow/tall viewports a fixed vh height crops the illustration too
   aggressively (wide 3:2 art vs. a tall container) — size the hero to the
   art's own aspect ratio instead so the whole scene stays in frame */
@media (max-width: 700px){
  .hero{
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 0;
    max-height: none;
  }
}

/* ---------- tennis-ball custom cursor ---------- */
.hero.custom-cursor-active{ cursor: none; }
.hero.custom-cursor-active *{ cursor: none; }
.tennis-cursor{
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity .15s ease;
  will-change: transform;
}
.tennis-cursor img{ width: 100%; height: 100%; display: block; }
.tennis-cursor.active{ opacity: 1; }

/* ---------- section shared ---------- */
section{ padding: 90px 0; position: relative; }
.section-head{ text-align:center; margin-bottom: 40px; }
.section-head h2{ font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin-bottom: 8px; }
.section-head p{ color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- scroll reveal ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease-snap), transform .6s var(--ease-snap);
}
[data-reveal].in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ---------- about ---------- */
#about{ padding-top: 60px; }
.about-card{
  text-align:center;
  max-width: 640px;
  margin: 0 auto;
}
.about-card h3{ font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 16px; }
.about-card p{ color: var(--ink-soft); font-size:0.95rem; }
.about-card p + p{ margin-top: 16px; }

/* ---------- services ---------- */
#services{ background: var(--celadon); }
.service-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width:700px){
  .service-grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width:1000px){
  .service-grid{ grid-template-columns: repeat(3,1fr); }
}
.service-card{
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease-snap), box-shadow .18s var(--ease-snap);
}
.service-card:hover{ transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-hover); }
.service-icon{
  width: 54px; height:54px; border-radius: 16px;
  background: var(--tea);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.7rem; margin-bottom: 14px;
}
.service-card h3{ font-size: 1.1rem; margin-bottom: 6px; }
.service-card p{ font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 14px; }
.service-meta{
  display:flex; justify-content:space-between; align-items:center;
  font-size: 0.82rem; font-weight:800; color: var(--teal);
  border-top: 1px dashed rgba(17,75,95,0.18);
  padding-top: 10px;
  margin-top: auto;
}

/* ---------- reviews ---------- */
#reviews{ background: var(--tea); }
.review-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width:700px){
  .review-grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width:1000px){
  .review-grid{ grid-template-columns: repeat(4,1fr); }
}
.review-card{
  display: flex;
  flex-direction: column;
  text-align:center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease-snap), box-shadow .18s var(--ease-snap);
}
.review-card:hover{ transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-hover); }
.review-stars{
  color: var(--sea);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-card p{ font-size:0.9rem; color: var(--ink-soft); margin-bottom: 14px; }
.review-author{
  margin-top: auto;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--teal);
  border-top: 1px dashed rgba(17,75,95,0.18);
  padding-top: 10px;
}
.btn-review{
  display: block;
  width: max-content;
  margin: 40px auto 0;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease-snap), box-shadow .15s var(--ease-snap);
}
.btn-review:hover{ transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-hover); }
.btn-review:active{ transform: scale(0.97); }

/* ---------- contact ---------- */
#contact{ background: var(--teal); }
.contact-card{
  text-align:center;
  color: var(--cream);
}
.contact-card h2{ color: var(--cream); font-size: clamp(2rem, 5.5vw, 3.2rem); margin-bottom:8px; }
.contact-card p{ color: rgba(243,233,210,0.85); font-size:0.96rem; margin-bottom:26px; }
.contact-row{
  display:flex; justify-content:center; gap:14px; flex-wrap:wrap;
}
.contact-pill{
  display:flex; align-items:center; gap:8px;
  background: var(--cream);
  padding: 13px 22px;
  border-radius: 999px;
  font-weight:800;
  font-size:0.9rem;
  min-height:48px;
  color: var(--teal);
  transition: transform .15s var(--ease-snap), background-color .15s var(--ease-snap);
}
.contact-pill:hover{ transform: translateY(-3px) scale(1.04); background: #fff; }
.contact-pill:active{ transform: scale(0.97); }
.contact-pill svg{ width:18px; height:18px; fill: var(--sea); }

/* ---------- footer ---------- */
footer{
  background: var(--teal);
  text-align:center;
  padding: 10px 0 46px;
}
footer p{ font-size:0.82rem; color: rgba(243,233,210,0.6); }
