/* ============================================
   TWICE SHAVED ICE — Design Tokens
   Palette: Sun-Melt Gradient
   --sun:      #FFDE73  (sunshine yellow)
   --sun-2:    #FFF4D6  (soft cream-yellow)
   --ocean:    #1E8FB0  (deep ocean blue)
   --ocean-2:  #6FD4E8  (shallow lagoon blue)
   --hibiscus: #FF5D7A  (hibiscus pink/coral - primary accent)
   --leaf:     #3FA671  (monstera leaf green)
   --plumeria: #FFFBF3  (card/surface white)
   --plum:     #3A2145  (deep plum - text/ink)
   Type: "Baloo 2" (display, rounded + playful, hand-shaved-ice energy)
         "Quicksand" (body, soft rounded sans, easy to read)
   Signature: the "shave mound" wave divider + hand-drawn shave-ice cup SVG
   ============================================ */

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

:root {
  --sun: #FFDE73;
  --sun-2: #FFF4D6;
  --ocean: #1E8FB0;
  --ocean-2: #6FD4E8;
  --ocean-deep: #0F6B85;
  --hibiscus: #FF5D7A;
  --hibiscus-dark: #E8425F;
  --leaf: #3FA671;
  --golden: #F5B942;
  --plumeria: #FFFBF3;
  --plum: #3A2145;
  --plum-soft: #5C4770;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;

  --shadow-soft: 0 8px 24px rgba(58, 33, 69, 0.12);
  --shadow-card: 0 10px 30px rgba(30, 143, 176, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--plum);
  background: linear-gradient(160deg, var(--sun-2) 0%, var(--sun) 22%, var(--ocean-2) 68%, var(--ocean) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--plum);
  line-height: 1.15;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hibiscus-dark);
  background: rgba(255, 93, 122, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section {
  padding: 90px 0;
  position: relative;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 243, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(58, 33, 69, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ocean-deep);
}

.logo .logo-mark {
  width: auto;
  height: 100px;
  flex-shrink: 0;
}

.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hibiscus-dark);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--plum-soft);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--hibiscus);
  color: white;
}

.nav-links a.active {
  background: var(--ocean);
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--plum);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid var(--ocean-deep); outline-offset: 3px; }

.btn-primary {
  background: var(--hibiscus);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 93, 122, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(255, 93, 122, 0.5); }

.btn-secondary {
  background: white;
  color: var(--ocean-deep);
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--ocean);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 18px;
}

.hero h1 .accent { color: var(--hibiscus); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--plum-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 420px);
}

.hero-art-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  object-fit: contain;
}

/* ---------- Wave divider (signature motif) ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -2px;
}

.wave-divider.flip { transform: scaleY(-1); }

/* ---------- Menu cards ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.cup-card {
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 3px solid transparent;
}

.cup-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 18px 36px rgba(30, 143, 176, 0.26);
}

.cup-card:nth-child(2):hover,
.cup-card:nth-child(4):hover { transform: translateY(-8px) rotate(1deg); }

.cup-card img {
  width: 150px;
  height: auto;
  padding: 5px;
  margin: 0 auto 14px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(58, 33, 69, 0.16);
}


.cup-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.cup-card .flavor-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cup-card p {
  font-size: 0.94rem;
  color: var(--plum-soft);
}

.tag-strawberry { background: rgba(255, 93, 122, 0.15); color: var(--hibiscus-dark); }
.tag-golden { background: rgba(245, 185, 66, 0.22); color: #9C6B0A; }
.tag-lemonade { background: rgba(63, 166, 113, 0.16); color: #2A7A50; }
.tag-trifecta { background: rgba(30, 143, 176, 0.16); color: var(--ocean-deep); }

/* ---------- Menu image showcase ---------- */
.menu-showcase {
  margin-top: 70px;
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.menu-showcase img {
  border-radius: var(--radius-md);
  width: 100%;
  max-height: auto;
  object-fit: contain;
}

.menu-showcase h3 {
  margin-bottom: 16px;
}

/* ---------- About / founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 36px;
  margin-top: 50px;
}

.founder-card {
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding-bottom: 30px;
}

.founder-spotlight {
  max-width: 760px;
}

.founder-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-2), var(--sun));
}

.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.founder-card h3 { margin-top: 22px; font-size: 1.4rem; }

.founder-role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hibiscus-dark);
  margin: 4px 0 14px;
}

.founder-card p.bio {
  padding: 0 26px;
  color: var(--plum-soft);
  font-size: 0.96rem;
}

.story-block {
  max-width: 70ch;
  margin: 0 auto;
  text-align: center;
}

.story-block p { margin-bottom: 18px; color: var(--plum-soft); font-size: 1.05rem; }

/* ---------- Calendar page ---------- */
.calendar-card {
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.calendar-card iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--radius-md);
}

.calendar-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--plum-soft);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Forms (Catering) ---------- */
.catering-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
  margin-top: 40px;
}

.catering-info {
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
}

.catering-info h3 { margin-bottom: 14px; }
.catering-info ul { padding-left: 20px; margin: 16px 0; color: var(--plum-soft); }
.catering-info li { margin-bottom: 10px; }

.catering-form {
  background: var(--plumeria);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 20px; }

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--plum);
}

.form-group .hint {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--plum-soft);
  margin-top: 4px;
}

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid rgba(30, 143, 176, 0.2);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--plum);
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--hibiscus);
}

textarea { resize: vertical; min-height: 100px; }

fieldset {
  border: none;
  margin-bottom: 20px;
}

fieldset legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 143, 176, 0.06);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.checkbox-item input { width: auto; }
.checkbox-item label { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; }

.form-status {
  margin-top: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(63, 166, 113, 0.15);
  color: #2A7A50;
}

.form-status.error {
  display: block;
  background: rgba(255, 93, 122, 0.15);
  color: var(--hibiscus-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ocean-deep);
  color: white;
  padding: 50px 0 26px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer .logo { color: white; }
.site-footer p { color: rgba(255,255,255,0.75); font-size: 0.94rem; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.94rem; }
.footer-links a:hover { color: var(--sun); }

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 20px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { max-width: 56ch; margin: 14px auto 0; color: var(--plum-soft); font-size: 1.08rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .catering-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--plumeria);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .form-row, .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .section { padding: 60px 0; }
}
