/* =========================================================
   Montclair Magic Mare — kawaii horse theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Fuzzy+Bubbles:wght@400;700&family=Berkshire+Swash&display=swap');

:root {
  --pink-bg: #ffd9ec;
  --pink-deep: #ff4f8b;
  --pink-mid: #ff8fbf;
  --pink-pale: #ffeef6;
  --gold: #ffc845;
  --yellow: #ffe066;
  --cream: #fffaf3;
  --white: #ffffff;
  --ink: #1a1a1a;
  --purple: #c9a6ff;
  --blue: #9fd8ff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 8px 24px rgba(255, 79, 139, 0.18);
  --shadow-pop: 0 4px 0 rgba(26, 26, 26, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Fuzzy Bubbles', 'Baloo 2', 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--pink-bg);
  background-image: url('../Images/Background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  cursor: url('../Images/cursor1-sized.png') 1 6, auto;
}

a, button {
  cursor: url('../Images/cursor1-sized.png') 1 6, pointer;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
  margin-top: 0;
}

p, li {
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--ink);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 108px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-family: 'Berkshire Swash', cursive;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--ink);
}

.brand-text .brand-sub {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--pink-deep);
  box-shadow: var(--shadow-pop);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-2px) scale(1.05);
}

.nav-toggle:active {
  transform: translateY(0) scale(0.96);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px 22px;
}

.nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 8px 2px;
  box-shadow: none;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-btn .star {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 1;
  transform: scale(1) rotate(-12deg);
  transition: transform 0.15s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  color: var(--pink-deep);
  border-color: var(--pink-deep);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: none;
}

.nav-btn .star.star-right {
  transform: scale(1) rotate(12deg);
}

.nav-btn:hover .star,
.nav-btn:focus-visible .star,
.nav-btn.active .star {
  transform: scale(1.15) rotate(0deg);
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn.active {
  color: var(--pink-deep);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero-logo {
  width: 260px;
  margin: 0 auto 18px;
}

.hero h1 {
  display: inline-block;
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--ink);
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 12px 36px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(255, 79, 139, 0.15);
}

.hero .tagline {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink-deep);
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 22px;
  margin: 0 auto 28px;
}

.hero-card {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Buttons (CTA) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--ink);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 var(--ink);
}

.btn.secondary {
  background: var(--white);
}

/* ---------- Page sections / cards ---------- */
main {
  padding-bottom: 60px;
}

.page-hero {
  text-align: center;
  padding: 52px 0 20px;
}

.page-hero h1 {
  display: inline-block;
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--ink);
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 10px 32px;
  margin-bottom: 8px;
  box-shadow: 0 4px 18px rgba(255, 79, 139, 0.15);
}

.page-hero .tagline {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink-deep);
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 20px;
  margin: 14px auto 0;
  width: fit-content;
}

.page-hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--pink-deep);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 32px 0;
}

.card {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Berkshire Swash', cursive;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card h3 img {
  width: 30px;
  height: 30px;
}

.section {
  background: rgba(255, 250, 243, 0.94);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  margin: 28px 0;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-pale);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Berkshire Swash', cursive;
  font-size: 1rem;
  font-weight: 400;
}

.badge img {
  width: 20px;
  height: 20px;
}

.placeholder-note {
  background: var(--pink-pale);
  border: 2.5px dashed var(--pink-deep);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.95rem;
  color: var(--ink);
}

.coco-photo {
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  margin: 0 auto 24px;
  display: block;
}

ul.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

ul.check-list li::before {
  content: "\2665";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pink-deep);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  border-top: 3px solid var(--ink);
  padding: 34px 0 24px;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 22px;
  font-size: 0.75rem;
  opacity: 0.75;
  text-align: center;
}

.footer-credit {
  margin-top: 14px;
  text-align: center;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  opacity: 0.7;
  font-size: 0.75rem;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.footer-credit a:hover {
  opacity: 1;
  color: var(--yellow);
}

.footer-credit img {
  height: 18px;
  width: auto;
  border-radius: 4px;
  background: var(--white);
  padding: 2px 5px;
}

/* ---------- Gold glitter cursor trail ---------- */
.glitter-particle {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  pointer-events: none;
  z-index: 9999;
  background: linear-gradient(135deg, #fff6d6, #ffd84d 45%, #ffb703 80%);
  box-shadow: 0 0 14px 3px rgba(255, 183, 3, 0.85);
  clip-path: polygon(50% 0%, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0% 50%, 39% 35%);
  animation: glitter-fade 0.85s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes glitter-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15) rotate(90deg) translateY(-22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glitter-particle {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
  }

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

  .nav-btn {
    justify-content: center;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand img {
    height: 60px;
  }

  .brand-text .brand-name {
    font-size: 1.3rem;
  }

  .brand-text .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 400px) {
  .brand img {
    height: 48px;
  }

  .brand-text .brand-name {
    font-size: 1.05rem;
  }

  .brand-text .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }
}
