/* Tokens */
:root {
  --grape: #2A1A4A;
  --coral: #E23E57;
  --coral-deep: #C42B45;
  --yellow: #F2B705;
  --yellow-light: #FFE9A8;
  --sky: #2AA7E0;
  --cream: #FBF3E4;
  --muted: #6B6076;
  
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  --site-padding: 2rem;
}

@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

@font-face { font-family: 'Rubik'; src: url('fonts/Rubik-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/Rubik-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/Rubik-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--grape);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--site-padding); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-coral { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn-outline-yellow { background: transparent; color: var(--yellow-light); border-color: var(--yellow-light); }
.btn-outline-yellow:hover { background: var(--yellow-light); color: var(--grape); }

/* Header Nav */
.site-header {
  background: #fff;
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 50px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.desktop-nav a.nav-link {
  font-weight: 500;
  color: var(--grape);
}
.desktop-nav a.nav-link:hover { color: var(--coral); }
.header-phone {
  background: var(--coral-deep);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-phone:hover { background: var(--coral); }

/* Mobile Nav */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--grape);
  cursor: pointer;
}
details.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  
  details.mobile-nav {
    display: block;
    position: static;
  }
  details.mobile-nav summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  details.mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-menu-inner {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--cream);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem var(--site-padding) 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
  }
  .mobile-menu-inner a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    min-height: 44px;
  }
  body {
    padding-bottom: 80px; /* Space for sticky bar */
  }
  .sticky-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--coral-deep);
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (min-width: 769px) {
  .sticky-call-bar { display: none; }
}

/* Bunting */
.bunting {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: 
    linear-gradient(135deg, var(--coral) 25%, transparent 25%),
    linear-gradient(225deg, var(--coral) 25%, transparent 25%),
    linear-gradient(135deg, var(--yellow) 25%, transparent 25%),
    linear-gradient(225deg, var(--yellow) 25%, transparent 25%),
    linear-gradient(135deg, var(--sky) 25%, transparent 25%),
    linear-gradient(225deg, var(--sky) 25%, transparent 25%),
    linear-gradient(135deg, #4ade80 25%, transparent 25%),
    linear-gradient(225deg, #4ade80 25%, transparent 25%);
  background-position: 
    0 0, 0 0,
    30px 0, 30px 0,
    60px 0, 60px 0,
    90px 0, 90px 0;
  background-size: 120px 40px;
  background-repeat: repeat-x;
  z-index: 10;
  pointer-events: none;
}

/* Hero Section */
.hero {
  background: var(--grape);
  position: relative;
  color: #fff;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.confetti {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 20%, var(--yellow) 4px, transparent 4px),
    radial-gradient(circle at 90% 15%, var(--coral) 6px, transparent 6px),
    radial-gradient(circle at 30% 80%, var(--sky) 5px, transparent 5px),
    radial-gradient(circle at 80% 85%, #4ade80 4px, transparent 4px),
    radial-gradient(circle at 50% 50%, var(--coral) 3px, transparent 3px),
    radial-gradient(circle at 70% 40%, var(--yellow) 5px, transparent 5px),
    radial-gradient(circle at 20% 60%, var(--sky) 4px, transparent 4px);
  opacity: 0.3;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy {
  max-width: 600px;
}
.hero-kicker {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.hero p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--cream);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hero-hours {
  font-size: 0.875rem;
  color: var(--yellow-light);
}
.hero-photo {
  position: relative;
  transform: rotate(-2deg);
}
.hero-photo img {
  border: 8px solid #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero h1 { font-size: 2.5rem; }
  .hero-photo { transform: none; }
}

/* Why Us Row */
.why-us {
  background: #fff;
  padding: 4rem 0;
}
.why-us .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-us-item {
  text-align: center;
}
.why-us-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--coral);
  font-size: 1.5rem;
}
.why-us h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--grape);
}
.why-us p {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .why-us .container { grid-template-columns: 1fr; }
}

/* Venue Section */
.venue {
  background: var(--cream);
  padding: 6rem 0;
}
.venue .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.venue-photos {
  position: relative;
  height: 400px;
}
.venue-photos img {
  position: absolute;
  border: 6px solid #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 70%;
}
.venue-photo-1 {
  top: 0; left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}
.venue-photo-2 {
  bottom: 0; right: 0;
  transform: rotate(4deg);
  z-index: 1;
}
.venue-kicker {
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.venue h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.amenity {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.amenity svg {
  color: var(--sky);
  flex-shrink: 0;
  width: 20px; height: 20px;
}
.venue-note {
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .venue .container { grid-template-columns: 1fr; gap: 3rem; }
  .venue-photos { height: 300px; max-width: 400px; margin: 0 auto; width: 100%; }
  .amenities-grid { grid-template-columns: 1fr; }
}

/* Themes Section */
.themes-section {
  background: #fff;
  padding: 6rem 0;
  text-align: center;
}
.themes-section.gray-bg {
  background: var(--cream);
}
.themes-kicker {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.themes-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.theme-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.theme-chip {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.125rem;
}
/* Rotating colors for chips */
.theme-chip:nth-child(5n+1) { background: var(--coral); }
.theme-chip:nth-child(5n+2) { background: var(--grape); }
.theme-chip:nth-child(5n+3) { background: var(--sky); }
.theme-chip:nth-child(5n+4) { background: #4ade80; color: var(--grape); }
.theme-chip:nth-child(5n+5) { background: var(--yellow); color: var(--grape); }

.themes-note {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Category Theme Section */
.theme-category {
  margin-bottom: 4rem;
}
.theme-category:last-child {
  margin-bottom: 2rem;
}
.theme-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--grape);
}

/* Family Section */
.family {
  background: var(--grape);
  color: #fff;
  padding: 6rem 0;
}
.family .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.family-photo img {
  border: 6px solid var(--yellow);
  border-radius: 12px;
}
.family-kicker {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.family h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.family p {
  color: var(--cream);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.family-stats {
  display: flex;
  gap: 2rem;
}
.stat h4 {
  color: var(--yellow);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.stat p {
  font-size: 0.8125rem;
  color: var(--cream);
  margin: 0;
}

@media (max-width: 768px) {
  .family .container { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery {
  background: var(--cream);
  padding: 4rem 0;
  overflow: hidden;
}
.gallery-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.gallery-grid img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.gallery-grid img:nth-child(even) {
  transform: translateY(20px);
}
.gallery-grid img:nth-child(odd) {
  transform: translateY(-20px);
}

@media (max-width: 768px) {
  .gallery-grid img { width: calc(50% - 0.75rem); height: 200px; transform: none !important; }
}

/* Book Section */
.book-section {
  background: #fff;
  padding: 6rem 0;
}
.book-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.book-copy h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.book-copy p {
  color: var(--muted);
  margin-bottom: 2rem;
}
.book-phone {
  font-size: 2rem;
  color: var(--coral-deep);
  font-family: var(--font-display);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}
.book-address {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grape);
}
.quote-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 16px;
}
.quote-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2d9eb;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.btn-submit {
  width: 100%;
  background: var(--coral);
  color: #fff;
  border: none;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .book-section .container { grid-template-columns: 1fr; gap: 3rem; }
  .quote-form { padding: 1.5rem; }
}

/* Footer */
.site-footer {
  background: var(--grape);
  color: var(--cream);
  padding: 4rem 0 2rem;
  text-align: center;
}
.site-footer img {
  height: 50px;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
}
.footer-contact {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-address {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}
.footer-copy {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Ribbon */
.preview-ribbon {
  background: var(--sky);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
}
.preview-ribbon a {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}
.preview-ribbon a:hover { background: #fff; color: var(--sky); }
.ribbon-dismiss {
  background: none; border: none; color: #fff; cursor: pointer; font-size: 1.25rem; line-height: 1; padding: 0 0.5rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
