/* ============================================
   CHERRYWOOD FARM & GOLF CLUB
   ============================================ */

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

:root {
  --green:        #004331;
  --green-mid:    #00854e;
  --gold:         #d7aa2b;
  --burgundy:     #7A1E2E;
  --bark:         #002a1f;
  --blossom:      #F0C8D0;
  --blossom-deep: #E8A0B0;
  --cream:        #F6F1E7;
  --cream-dark:   #EDE5D2;
  --parchment:    #F9F5ED;
  --ink:          #1a1008;
  --ink-mid:      #4a3a2a;
  --ink-faint:    #8a7a6a;
  --off-white:    #FDFAF4;

  --serif:  'Playfair Display', Georgia, serif;
  --body:   'Lora', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

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

/* =====================
   SOUND TOGGLE
   ===================== */
.sound-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 20, 8, 0.72);
  border: 1px solid rgba(240, 200, 208, 0.25);
  color: rgba(240, 200, 208, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.2s, color 0.2s;
  pointer-events: none;
}

.sound-toggle--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sound-toggle:hover {
  background: rgba(37, 20, 8, 0.92);
  color: var(--blossom);
}

/* Subtle full-page grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }

/* =====================
   NAV
   ===================== */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--burgundy);
  transition: background 0.35s, backdrop-filter 0.35s;
}

#navbar.scrolled {
  background: var(--burgundy);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-img { height: 80px; width: auto; object-fit: contain; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blossom); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/hero.jpg') center 40% / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,10,0.38) 0%,
    rgba(0,67,49,0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blossom);
  opacity: 0.85;
  margin-bottom: 1.4rem;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
  margin-bottom: 0.6rem;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 2.8rem;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  background: var(--burgundy);
  color: #fff;
  border: 2px solid var(--burgundy);
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: #b8911f;
  border-color: #b8911f;
  transform: translateY(-2px);
}

.hero-cta--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.hero-cta--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

/* =====================
   ABOUT
   ===================== */
.about {
  background: var(--parchment);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, #fdf0f3, var(--cream));
  padding: 6rem 2.5rem 5rem;
}

.about-inner {
  max-width: 820px;
  margin: 0 auto;
}

.about-heading {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--bark);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.1rem;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  border-radius: 2px;
}

.about-intro {
  font-family: var(--body);
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.88;
  color: var(--bark);
  font-weight: 500;
  margin-bottom: 2.6rem;
  padding: 1.6rem 2rem;
  background: rgba(0, 133, 78, 0.07);
  border-left: 4px solid var(--green-mid);
  border-radius: 0 6px 6px 0;
}

.about-intro em {
  font-style: italic;
  color: var(--green);
}

.about-text {
  font-family: var(--body);
  font-size: clamp(1.0rem, 1.9vw, 1.15rem);
  line-height: 1.95;
  color: var(--ink-mid);
  font-style: normal;
  font-weight: 400;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.6rem;
}

.about-text:last-child { margin-bottom: 0; }

.about-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 3px;
  background: var(--green-mid);
  border-radius: 2px;
  opacity: 0.3;
}

/* =====================
   TEE TIME SECTION
   ===================== */
.tee-section {
  background: var(--green);
  color: #fff;
  padding: 5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.tee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/course2.jpg') center / cover no-repeat;
  opacity: 0.15;
}

.tee-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.tee-section h2 { color: #fff; }

/* Conditions column inside tee section */
.tee-conditions-col { color: #fff; }

.tee-conditions-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 2rem;
}

.tee-conditions-desc {
  margin-top: 1.2rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  text-align: center;
  font-family: var(--body);
}

/* =====================
   EGG SECTION
   ===================== */
.egg-section {
  background: var(--cream-dark);
  padding: 5rem 3.5rem;
}

.egg-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.egg-section h2 { color: var(--bark); }

.egg-section p {
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

/* Egg slideshow */
.egg-slideshow {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1a2e1a;
}

.egg-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}

.egg-slide--hidden {
  opacity: 0;
  pointer-events: none;
}

.egg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.egg-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.egg-slide-emoji {
  font-size: 4rem;
  line-height: 1;
}

.egg-slide-label {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

.egg-slide-prev,
.egg-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.egg-slide-prev:hover,
.egg-slide-next:hover { background: rgba(0,0,0,0.65); }

.egg-slide-prev { left: 0.7rem; }
.egg-slide-next { right: 0.7rem; }

.egg-slide-dots {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.egg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.egg-dot--active { background: #fff; }

.action-panel-inner { max-width: 480px; }

/* Kicker label */
.panel-kicker {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.6rem;
}

/* On dark green backgrounds, kicker must be light */
.panel-kicker--light { color: rgba(255,255,255,0.6); }
.wagon-text .panel-kicker,
.course-text .panel-kicker,
.action-panel-inner .panel-kicker,
.tee-section-inner .panel-kicker,
.farm-text .panel-kicker,
.about-text-block .panel-kicker { color: rgba(255,255,255,0.6); }

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Coming Soon badge */
.coming-soon-badge {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.2rem;
}

.btn-text-link {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blossom);
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-text-link:hover { opacity: 0.75; }

/* =====================
   EGG FORM / NOTEPAD
   ===================== */
.egg-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.egg-photos--single {
  grid-template-columns: 1fr;
  max-width: 320px;
}

.egg-photo {
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

.egg-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.egg-photo--featured img {
  height: 320px;
  object-position: center 28%;
}

.egg-photo figcaption {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.8);
  font-family: var(--body);
  font-size: 0.72rem;
  font-style: italic;
  text-align: center;
  padding: 0.4rem 0.6rem;
  letter-spacing: 0.02em;
}

.notepad {
  background: var(--off-white);
  border-radius: 3px;
  padding: 2rem 2.2rem 2.2rem;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.07),
    0 8px 30px rgba(0,0,0,0.06);
  transform: rotate(-0.4deg);
  position: relative;
}

.notepad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.8rem;
  bottom: 0;
  width: 1px;
  background: rgba(200, 160, 160, 0.25);
  pointer-events: none;
}

.egg-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--narrow { max-width: 140px; }

.form-field label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.form-field input,
.form-field select {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #d0c8b8;
  padding: 0.4rem 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-field select { cursor: pointer; }

.form-field input::placeholder { color: #c0b8a8; }

.form-field input:focus,
.form-field select:focus {
  border-bottom-color: var(--green-mid);
}

.btn-reserve {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding: 0.75rem 2rem;
  background: var(--burgundy);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-reserve:hover {
  background: #b8911f;
  transform: translateY(-1px);
}

/* =====================
   THE FARM FAMILY
   ===================== */
.farm-section {
  background: var(--parchment);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, var(--cream), var(--parchment));
  padding: 6rem 2.5rem;
  text-align: center;
}

.farm-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.farm-heading { color: var(--bark); margin-bottom: 0.6rem; }

.farm-subhead {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1rem;
  margin-bottom: 3.5rem;
}

.farm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.farm-card {
  perspective: 900px;
  cursor: pointer;
  height: 220px;
  outline: none;
}

.farm-card:focus-visible .farm-card-inner {
  box-shadow: 0 0 0 3px var(--green-mid);
  border-radius: 12px;
}

.farm-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  border-radius: 12px;
}

.farm-card.flipped .farm-card-inner {
  transform: rotateY(180deg);
}

.farm-card-front,
.farm-card-back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  gap: 0.7rem;
}

.farm-card-front {
  background: var(--cream-dark);
  border: 1px solid rgba(0, 133, 78, 0.14);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
}

.farm-card-back {
  background: var(--green);
  transform: rotateY(180deg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.farm-emoji {
  font-size: 3rem;
  line-height: 1;
  display: block;
}

.farm-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bark);
  letter-spacing: 0.04em;
}

.farm-card-back p {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  text-align: center;
}

/* =====================
   THE COURSE
   ===================== */
/* WAGON SECTION */
.wagon-section { background: var(--cream); padding: 0; }
.wagon-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) { .wagon-inner { grid-template-columns: 1fr; } }
.wagon-image { overflow: hidden; position: relative; }
.wagon-banner { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(28,51,32,0.85); color: #F2C4CE; font-family: var(--font-display); font-size: 1.1rem; text-align: center; padding: 0.75rem 1rem; letter-spacing: 0.04em; }
.wagon-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.wagon-image:hover img { transform: scale(1.03); }
.wagon-text {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: var(--green);
  color: #fff;
}
.wagon-heading { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
.wagon-body { font-size: 1rem; line-height: 1.8; opacity: 0.9; }
.wagon-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.wagon-cta:hover { opacity: 0.85; }
.wagon-cta--soon { background: none; color: var(--burgundy); font-style: italic; padding-left: 0; cursor: default; opacity: 0.8; }

.course {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--green);
  color: #fff;
  min-height: 500px;
}

.course-image { overflow: hidden; }

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.course-image:hover img { transform: scale(1.03); }

.course-text {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-text h2 { color: #fff; margin-bottom: 1.2rem; }

.course-text > p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  margin-bottom: 2rem;
}

.course-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.8rem;
}

.course-facts li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1rem;
  position: relative;
}

.course-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--burgundy);
}

.course-facts strong { color: #fff; font-weight: 500; }

/* =====================
   COURSE CONDITIONS
   ===================== */
.conditions {
  background: var(--green);
  background-image: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, transparent 100%);
  padding: 5.5rem 2.5rem;
  text-align: center;
}

.conditions-inner {
  max-width: 820px;
  margin: 0 auto;
}

.conditions h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.conditions-dashboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

/* --- Compass --- */
.wind-compass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.compass-ring {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1a3d22 60%, #122a18 100%);
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 6px rgba(0,0,0,0.25), 0 8px 40px rgba(0,0,0,0.5);
}

.compass-cardinal {
  position: absolute;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}
.compass-cardinal.n { top: 10px; left: 50%; transform: translateX(-50%); color: var(--burgundy); }
.compass-cardinal.s { bottom: 10px; left: 50%; transform: translateX(-50%); }
.compass-cardinal.e { right: 12px; top: 50%; transform: translateY(-50%); }
.compass-cardinal.w { left: 12px; top: 50%; transform: translateY(-50%); }

.compass-ticks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.needle-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.needle-svg {
  width: 40px;
  height: 100px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.wind-direction-label {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
}

/* --- Stats --- */
.conditions-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 130px;
}

.stat-value {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-unit {
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* =====================
   CONTACT
   ===================== */
.contact {
  background: #002a1f;
  padding: 5.5rem 2.5rem;
}

.contact-inner {
  max-width: 660px;
  margin: 0 auto;
}

.contact h2 {
  color: #fff;
  margin-bottom: 2.5rem;
}

address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-line {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-line:last-child { border-bottom: none; }

.contact-label {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  min-width: 52px;
  flex-shrink: 0;
}

.contact-line span:not(.contact-label),
.contact-line a {
  font-family: var(--body);
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-line a:hover { color: var(--blossom); }

.contact-map {
  margin-top: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.85;
}

/* =====================
   FOOTER — CHERRY TREE
   ===================== */
.footer {
  background: var(--burgundy);
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.footer-tree {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0.15;
  filter: brightness(0); /* dark silhouette on pink background */
}

.footer-tree svg {
  width: min(640px, 100%);
  height: auto;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-name {
  font-family: var(--serif);
  font-size: 2rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.footer-tagline {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.footer-social a {
  color: rgba(240, 200, 208, 0.4);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--blossom); }

.footer-copy {
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.footer-powered strong {
  color: rgba(255,255,255,0.28);
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* =====================
   TEE TIME BOOKING
   ===================== */

/* Override panel inner max-width for the booking flow */
.tee-booking-wrap {
  max-width: 400px;
  width: 100%;
}

/* Steps */
.tee-step { width: 100%; }
.tee-step--hidden { display: none !important; }

/* Step hints / labels */
.tee-step-hint {
  font-family: var(--body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.tee-date-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.3rem;
}

.tee-selected-slot {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.3rem;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--burgundy);
  background: rgba(255,255,255,0.06);
  border-radius: 0 4px 4px 0;
}

/* Back link */
.tee-back-link {
  background: none;
  border: none;
  color: var(--blossom);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  opacity: 0.75;
  transition: opacity 0.2s;
  display: inline-block;
}

.tee-back-link:hover { opacity: 1; }

/* Step 1 fields */
.tee-step1-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.tee-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tee-field label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.tee-field input[type="date"] {
  font-family: var(--body);
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  padding: 0.5rem 0.6rem;
  outline: none;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s;
  color-scheme: dark;
}

.tee-field input[type="date"]:focus {
  border-color: var(--green-mid);
}

/* Holes toggle */
.holes-toggle {
  display: flex;
  gap: 0.4rem;
}

.holes-btn {
  flex: 1;
  padding: 0.5rem 0;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.holes-btn--active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.holes-btn:hover:not(.holes-btn--active) {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

/* Primary tee button */
.btn-tee-primary {
  display: inline-block;
  padding: 0.78rem 1.8rem;
  background: var(--burgundy);
  color: #fff;
  border: 2px solid var(--burgundy);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}

.btn-tee-primary:hover {
  background: #b8911f;
  border-color: #b8911f;
  transform: translateY(-1px);
}

.btn-tee-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Ghost button */
.btn-tee-ghost {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--blossom);
  border: 1px solid rgba(240, 200, 208, 0.4);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 1.4rem;
}

.btn-tee-ghost:hover {
  border-color: var(--blossom);
  background: rgba(240, 200, 208, 0.08);
}

/* Error text */
.tee-error {
  font-family: var(--body);
  font-size: 0.82rem;
  color: #f5a0a8;
  margin-top: 0.8rem;
  min-height: 1.2em;
  line-height: 1.5;
}

/* Loading indicator */
.tee-slots-loading {
  font-family: var(--body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.04em;
}

/* Slot grid */
.tee-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}

/* Custom scrollbar for slots */
.tee-slots-grid::-webkit-scrollbar {
  width: 4px;
}
.tee-slots-grid::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
}
.tee-slots-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

/* Individual slot pills */
.slot-pill {
  padding: 0.38rem 0.7rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.14);
}

.slot-pill:hover:not(.slot-pill--full):not(.slot-pill--blocked):not(.slot-pill--selected) {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.slot-pill--selected {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(215, 170, 43, 0.4);
}

.slot-pill--full,
.slot-pill--blocked {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.07);
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-pill .slot-cap {
  font-size: 0.68rem;
  opacity: 0.65;
  margin-left: 0.25rem;
}

/* Tee form */
.tee-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tee-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tee-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.tee-form-field label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.tee-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.tee-form-field input,
.tee-form-field select {
  font-family: var(--body);
  font-size: 0.92rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.2);
  padding: 0.38rem 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.tee-form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.2rem;
}

.tee-form-field select option {
  background: var(--green);
  color: #fff;
}

.tee-form-field input::placeholder { color: rgba(255,255,255,0.22); }

.tee-form-field input:focus,
.tee-form-field select:focus {
  border-bottom-color: var(--green-mid);
}

/* Confirmation screen */
.tee-confirmation {
  text-align: center;
  padding: 0.5rem 0;
}

.tee-confirm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(215, 170, 43, 0.4);
}

.tee-confirm-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tee-confirm-no {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.tee-confirm-details {
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tee-confirm-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.tee-confirm-label {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  min-width: 60px;
  flex-shrink: 0;
}

.tee-confirm-value {
  font-family: var(--body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

/* No slots message */
.tee-no-slots {
  font-family: var(--body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  font-style: italic;
  padding: 0.8rem 0;
}

/* =====================
   PHOTO GALLERY
   ===================== */
.photo-gallery {
  background: var(--green);
  padding: 5rem 2rem;
  text-align: center;
}
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-inner .panel-kicker { color: var(--burgundy); }
.hex-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hex-item {
  flex: 0 0 auto;
  text-align: center;
}
.hex-item img {
  width: 320px;
  max-width: 100%;
  display: block;
}
.hex-caption {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
@media (max-width: 768px) { .hex-row { flex-direction: column; align-items: center; } }

/* Course status badge */
.course-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.course-status-badge--open {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.course-status-badge--closed {
  background: rgba(0,0,0,0.15);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Egg pickup notice */
.egg-pickup-notice {
  font-size: 0.88rem;
  color: var(--ink-mid);
  background: #fff8e7;
  border-left: 3px solid var(--burgundy);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0 4px 4px 0;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
  .tee-section,
  .egg-section { padding: 4rem 2rem; }

  .tee-section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .egg-section-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .course { grid-template-columns: 1fr; }
  .course-image { height: 300px; }
  .course-text { padding: 3.5rem 2.5rem; }

  .farm-cards { grid-template-columns: repeat(2, 1fr); }
  .tee-booking-wrap { max-width: 100%; }
}

@media (max-width: 640px) {
  .tee-step1-fields { grid-template-columns: 1fr 1fr; }
  .tee-form-row { grid-template-columns: 1fr; }
  .tee-slots-grid { max-height: 180px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(122, 30, 46, 0.98);
    padding: 0.75rem 0 1rem;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.85rem 2rem;
  }

  .nav-toggle { display: block; }

  .about { padding: 4rem 1.5rem; }
  .about-text { padding-left: 1.2rem; }
  .about-intro { padding: 1.2rem 1.4rem; }

  .form-row { grid-template-columns: 1fr; }
  .form-field--narrow { max-width: 100%; }
  .notepad { transform: none; padding: 1.5rem; }
  .egg-photos { grid-template-columns: 1fr; }
  .egg-photos--single { max-width: 100%; }

  .farm-cards { grid-template-columns: 1fr; }
  .farm-card { height: 200px; }

  .contact-line { flex-direction: column; gap: 0.3rem; }

  .conditions-dashboard { gap: 2.5rem; }
  .compass-ring { width: 180px; height: 180px; }
  .conditions-stats { gap: 1rem; }
  .stat-card { padding: 1.4rem 1.6rem; min-width: 110px; }

  .hero-content h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
}
