@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

/* =====================
   CSS Variables
   ===================== */
:root {
  --primary: #1a3ec4;
  --primary-dark: #142f96;
  --accent: #5aa8f8;
  --accent-light: #dce8f7;
  --orange: #f28c38;
  --orange-dark: #d97520;
  --white: #ffffff;
  --bg: #f0f6fe;
  --text: #1a2a5e;
  --text-muted: #4a5a8a;
  --border: #c5d9f5;
  --radius: 1.5rem;
  --radius-sm: 0.75rem;
  --shadow: 0 4px 24px rgba(26, 62, 196, 0.10);
  --shadow-md: 0 8px 32px rgba(26, 62, 196, 0.14);
}

/* =====================
   Reset & Base
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* =====================
   Typography
   ===================== */
.font-display { font-family: 'Fredoka One', cursive; }

h1, h2, h3 { font-family: 'Fredoka One', cursive; line-height: 1.2; }

/* =====================
   Layout Utilities
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26, 62, 196, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(242, 140, 56, 0.35);
}
.btn-orange:hover { background: var(--orange-dark); }

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid rgba(26, 62, 196, 0.2);
}
.btn-outline:hover { background: var(--accent-light); }

.btn-lg { font-size: 1.2rem; padding: 1rem 2.5rem; }
.btn-xl { font-size: 1.35rem; padding: 1.1rem 3rem; }

/* =====================
   Navigation
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26, 62, 196, 0.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-logo-wrap {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.navbar-logo-wrap:hover { background: #c5d9f5; }

.navbar-logo-wrap img {
  height: 44px;
  width: auto;
}

.navbar-wordmark {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  transition: color 0.15s;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--accent); }

.navbar-cta { margin-left: 0.5rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.25s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.5rem;
  gap: 0.25rem;
  box-shadow: 0 8px 24px rgba(26,62,196,0.10);
}
.mobile-nav a {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--accent-light); color: var(--primary); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

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

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-wordmark { display: none; }
}

/* =====================
   Hero Section
   ===================== */
.hero {
  background: linear-gradient(160deg, var(--accent-light) 0%, #e0efff 60%, #f5f9ff 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 4rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.7) 0, transparent 70%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(26,62,196,0.12);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--primary);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: var(--orange); }

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

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

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-card {
  background: rgba(255,255,255,0.6);
  border: 4px solid var(--white);
  border-radius: 2.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(26,62,196,0.18);
  transform: rotate(3deg);
  transition: transform 0.5s ease;
  max-width: 420px;
  width: 100%;
}
.hero-img-card:hover { transform: rotate(0deg); }
.hero-img-card img { width: 100%; height: auto; border-radius: 1rem; }

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image { width: 100%; max-width: 340px; }
}

/* =====================
   Page Hero Banner
   ===================== */
.page-hero {
  padding: 4rem 1.5rem;
  text-align: center;
  border-radius: 0 0 2.5rem 2.5rem;
  margin-bottom: 3.5rem;
}

.page-hero.blue { background: var(--primary); color: var(--white); }
.page-hero.light { background: var(--accent); color: var(--primary); }

.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.2rem; font-weight: 600; opacity: 0.88; max-width: 600px; margin: 0 auto; }
.page-hero.blue p { color: rgba(255,255,255,0.9); }

/* =====================
   Steps Section
   ===================== */
.steps { padding: 5rem 0; background: var(--white); }
.steps h2 { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--primary); margin-bottom: 3.5rem; }

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  width: 112px;
  height: 112px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 4px solid var(--white);
  outline: 2px solid rgba(90,168,248,0.25);
  font-size: 2.8rem;
  color: var(--primary);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.step-card:hover .step-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1);
}

.step-card h3 { font-size: 1.7rem; color: var(--primary); margin-bottom: 0.6rem; }
.step-card p { font-size: 1.05rem; color: var(--text-muted); font-weight: 600; max-width: 280px; }

/* =====================
   CTA Banner
   ===================== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12) 0, transparent 60%);
}
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; position: relative; }
.cta-banner p { font-size: 1.25rem; font-weight: 700; opacity: 0.9; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }

/* =====================
   Flavor Cards
   ===================== */
.flavors-grid { padding: 0 0 5rem; }

.flavor-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.flavor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.flavor-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.07);
}

.flavor-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.flavor-card p { font-size: 0.95rem; font-weight: 600; opacity: 0.78; }

/* Flavor color themes */
.flavor-tart      { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.flavor-strawberry { background: #fdf2f8; border-color: #fbcfe8; color: #9d174d; }
.flavor-mango     { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.flavor-chocolate { background: #fafaf9; border-color: #d6d3d1; color: #44403c; }
.flavor-vanilla   { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.flavor-cookies   { background: #f8fafc; border-color: #cbd5e1; color: #334155; }
.flavor-peach     { background: #fff7ed; border-color: #fdba74; color: #9a3412; }
.flavor-lemon     { background: #fefce8; border-color: #fde047; color: #854d0e; }
.flavor-birthday  { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.flavor-pb        { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.flavor-blueberry { background: #faf5ff; border-color: #d8b4fe; color: #6b21a8; }
.flavor-greentea  { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.flavor-watermelon{ background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.flavor-caramel   { background: #fffbeb; border-color: #fbbf24; color: #92400e; }
.flavor-cotton    { background: #fdf4ff; border-color: #f0abfc; color: #701a75; }

/* =====================
   Toppings
   ===================== */
.toppings-section { padding: 0 0 5rem; }

.topping-category {
  border-radius: var(--radius);
  border: 2px solid;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.topping-category:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.topping-category h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }

.topping-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.topping-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.97rem;
  color: #374151;
}

.topping-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Category color themes */
.cat-fruit   { background: #fff1f2; border-color: #fecdd3; }
.cat-fruit h2 { color: #e11d48; }
.cat-fruit .topping-dot { background: #e11d48; }

.cat-candy   { background: #faf5ff; border-color: #e9d5ff; }
.cat-candy h2 { color: #9333ea; }
.cat-candy .topping-dot { background: #9333ea; }

.cat-baked   { background: #fffbeb; border-color: #fde68a; }
.cat-baked h2 { color: #b45309; }
.cat-baked .topping-dot { background: #b45309; }

.cat-crunchy { background: #fff7ed; border-color: #fed7aa; }
.cat-crunchy h2 { color: #ea580c; }
.cat-crunchy .topping-dot { background: #ea580c; }

.cat-sauce   { background: #fefce8; border-color: #fef08a; }
.cat-sauce h2 { color: #ca8a04; }
.cat-sauce .topping-dot { background: #ca8a04; }

/* =====================
   About Page
   ===================== */
.about-page { padding-bottom: 5rem; }

.about-intro {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.about-intro h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--primary); margin-bottom: 0.75rem; }
.about-intro p { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); }

.about-story {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-logo-card {
  flex: 1;
  background: var(--accent-light);
  border-radius: 3rem;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  max-width: 360px;
}
.about-logo-card img { width: 100%; border-radius: 1rem; }

.about-story-text { flex: 1; }

.story-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.story-icon {
  background: rgba(242,140,56,0.15);
  border-radius: 0.75rem;
  padding: 0.5rem;
  font-size: 1.4rem;
}
.story-heading h2 { font-size: 2rem; color: var(--primary); }

.about-story-text p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-story-text p:last-child { margin-bottom: 0; }
.about-story-text strong { color: var(--primary); }

.about-mascots {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.mascots-icon {
  background: rgba(26,62,196,0.08);
  border-radius: 1rem;
  padding: 0.75rem;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.about-mascots h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.about-mascots p { font-size: 1.05rem; font-weight: 600; color: #4b5563; line-height: 1.7; }

.about-promise {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.promise-header { display: flex; justify-content: center; margin-bottom: 1rem; }
.promise-star { background: rgba(242,140,56,0.25); border-radius: 1rem; padding: 0.65rem; font-size: 1.5rem; }
.about-promise h2 { font-size: 2.2rem; color: var(--orange); margin-bottom: 2rem; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.promise-item h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.promise-item p { font-size: 0.97rem; opacity: 0.9; font-weight: 600; }

@media (max-width: 768px) {
  .about-story { flex-direction: column; }
  .about-logo-card { max-width: 100%; }
  .promise-grid { grid-template-columns: 1fr; }
}

/* =====================
   Contact Page
   ===================== */
.contact-page { padding-bottom: 5rem; }

.contact-page .page-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.contact-page .page-subtitle {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.contact-info-card {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 2.25rem;
}

.info-block { margin-bottom: 2rem; }
.info-block:last-child { margin-bottom: 0; }

.info-block h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.info-icon { font-size: 1.3rem; }
.info-block p, .info-block address { font-style: normal; font-size: 1.05rem; font-weight: 700; color: #374151; line-height: 1.7; }

.hours-list { display: flex; flex-direction: column; gap: 0.4rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(26,62,196,0.1);
}
.hours-row:last-child { border-bottom: none; }
.hours-time { color: var(--primary); }
.hours-time.late { color: var(--orange); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--text); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(90,168,248,0.18);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 1rem;
}

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

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand { }
.footer-brand img { height: 56px; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.95rem; opacity: 0.8; font-weight: 600; line-height: 1.6; max-width: 240px; }

.footer-col h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.97rem;
  font-weight: 700;
  opacity: 0.8;
  transition: opacity 0.15s, color 0.15s;
}
.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-hours { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  opacity: 0.88;
}
.footer-hours-row:last-child { border-bottom: none; }
.footer-hours-row span:last-child { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact-item .fi { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.65;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
