/*
Theme Name: San Diego Ice Cream Catering
Theme URI: https://sandiegoicecreamcatering.com
Author: Shaka Froyo
Author URI: https://shakafroyo.com
Description: San Diego's premier ice cream catering company. Soft serve, froyo bars and acai for every event across San Diego County.
Version: 1.0
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Mulish:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

:root {
  --purple:     #2d1b69;
  --purple-mid: #3d2584;
  --purple-lt:  #f3f0ff;
  --yellow:     #ffd700;
  --yellow-dk:  #e6c200;
  --pink:       #ff4d8d;
  --cream:      #fffdf7;
  --cream-dk:   #f5f0e8;
  --dark:       #0f0a1e;
  --text:       #1a1030;
  --text-mid:   #5a4878;
  --text-light: #9b8ab0;
  --white:      #ffffff;
  --border:     #e8e0f0;
  --shadow:     0 4px 24px rgba(45,27,105,0.12);
  --radius:     6px;
  --radius-lg:  14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-mid); }
h1,h2,h3,h4 { line-height: 1.1; }
p { margin-bottom: 1.15em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.top-bar {
  background: var(--yellow);
  color: var(--dark);
  text-align: center;
  padding: 8px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.top-bar a { color: var(--purple); font-weight: 800; }

/* HEADER */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}
.site-logo small {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 24px; list-style: none; }
.site-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--yellow); }
.nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 800 !important;
}
.nav-cta:hover { background: var(--yellow-dk) !important; color: var(--dark) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; }

/* HERO */
.hero {
  background: var(--dark);
  overflow: hidden;
  position: relative;
}

.hero-bg-text {
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28vw;
  color: rgba(255,215,0,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  position: relative;
}

.hero-label {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 0.95;
}
.hero h1 .yel { color: var(--yellow); }

.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.75;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: all 0.2s;
}
.btn-yellow:hover { background: var(--yellow-dk); color: var(--dark); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: var(--yellow); color: var(--yellow); }

/* Hero right panel */
.hero-panel {
  background: var(--purple);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 36px 28px 48px;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '🍦';
  position: absolute;
  top: -10px; right: 20px;
  font-size: 5rem;
  opacity: 0.15;
}
.hero-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.panel-items { list-style: none; }
.panel-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.86rem;
  font-weight: 600;
}
.panel-items li:last-child { border-bottom: none; }
.panel-check {
  width: 18px; height: 18px;
  background: var(--yellow);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem;
  color: var(--dark);
  font-weight: 900;
  flex-shrink: 0;
}

/* Stats strip */
.stats-strip {
  background: var(--yellow);
  padding: 20px 24px;
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-around;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--dark);
  line-height: 1;
  letter-spacing: 0.04em;
}
.stat-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.5);
  margin-top: 2px;
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream-dk); }
.section-purple { background: var(--purple); }
.section-dark { background: var(--dark); }

.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  display: block;
  margin-bottom: 8px;
}
.section-purple .eyebrow { color: var(--yellow); }
.section-dark .eyebrow { color: var(--yellow); }

.heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.section-purple .heading { color: var(--white); }
.section-dark .heading { color: var(--white); }

.subhead {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.section-purple .subhead { color: rgba(255,255,255,0.65); }
.section-dark .subhead { color: rgba(255,255,255,0.55); }

.yellow-bar { width: 40px; height: 4px; background: var(--yellow); margin: 12px 0 28px; border-radius: 2px; }
.pink-bar { width: 40px; height: 4px; background: var(--pink); margin: 12px 0 28px; border-radius: 2px; }

.tc { text-align: center; }
.tc .subhead { margin-left: auto; margin-right: auto; }
.tc .yellow-bar { margin-left: auto; margin-right: auto; }
.tc .pink-bar { margin-left: auto; margin-right: auto; }

/* STEPS */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 44px; }
.step-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.step-box:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.step-box h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-box p { font-size: 0.86rem; color: var(--text-mid); margin: 0; line-height: 1.6; }

/* PACKAGES */
.pkg-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.pkg-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.pkg-box:hover { border-color: var(--purple); transform: translateY(-4px); }
.pkg-box.featured { border-color: var(--yellow); border-width: 3px; }
.pkg-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 16px;
  border-radius: 50px;
  white-space: nowrap;
  font-family: 'Mulish', sans-serif;
}
.pkg-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pkg-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.pkg-box > p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 20px; line-height: 1.65; }
.pkg-features { list-style: none; margin-bottom: 26px; }
.pkg-features li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.pkg-features li::before { content: '✓'; color: var(--purple); font-weight: 900; flex-shrink: 0; }

/* WHY GRID */
.why-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 44px; }
.why-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: background 0.2s;
}
.why-box:hover { background: rgba(255,255,255,0.12); }
.why-icon { font-size: 1.8rem; margin-bottom: 12px; }
.why-box h3 { font-size: 0.92rem; color: var(--white); margin-bottom: 8px; font-weight: 700; }
.why-box p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.65; }

/* AREAS */
.areas-flex { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; justify-content: center; }
.area-tag {
  background: var(--purple-lt);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--purple);
  transition: all 0.2s;
}
.area-tag:hover { background: var(--purple); color: var(--white); }

/* REVIEWS */
.review-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.review-box {
  background: var(--cream-dk);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-left: 4px solid var(--yellow);
}
.review-stars { color: var(--yellow); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-box blockquote { font-style: italic; font-size: 0.95rem; color: var(--text-mid); line-height: 1.72; margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.rev-avatar {
  width: 38px; height: 38px;
  background: var(--purple);
  color: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.86rem; color: var(--text); }
.reviewer span { font-size: 0.72rem; color: var(--pink); font-weight: 700; }

/* FAQ */
.faq-col { max-width: 760px; margin: 44px auto 0; }
.faq-row { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-size: 0.96rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq-a { font-size: 0.88rem; color: var(--text-mid); margin: 0; line-height: 1.75; }

/* CTA */
.cta-band {
  background: var(--purple);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'SD';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40vw;
  color: rgba(255,255,255,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 460px; margin: 0 auto 28px; position: relative; }
.btn-yellow-lg {
  background: var(--yellow);
  color: var(--dark);
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s;
  margin: 0 6px;
  position: relative;
}
.btn-yellow-lg:hover { background: var(--yellow-dk); color: var(--dark); transform: translateY(-2px); }
.btn-out-white {
  background: transparent;
  color: var(--white);
  padding: 15px 36px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s;
  margin: 0 6px;
  position: relative;
}
.btn-out-white:hover { border-color: var(--white); color: var(--white); }

/* CONTACT */
.contact-section { background: var(--cream-dk); padding: 80px 0; }
.contact-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; margin-top: 44px; }
.cinfo h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.06em; color: var(--text); margin-bottom: 10px; }
.cinfo p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 24px; }
.cdetail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cdetail-icon {
  width: 38px; height: 38px;
  background: var(--purple);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.cdetail strong { display: block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple); margin-bottom: 1px; }
.cdetail span { font-size: 0.9rem; color: var(--text); font-weight: 600; }

.cform-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: 0 8px 40px rgba(45,27,105,0.2);
}
.cform-box h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--yellow); margin-bottom: 4px; }
.cform-box > p { color: rgba(255,255,255,0.4); font-size: 0.84rem; margin-bottom: 24px; }

/* CF7 */
.cform-box .wpcf7 label,
.cform-box .wpcf7 .wpcf7-form label {
  color: rgba(255,215,0,0.75) !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 6px !important;
}
.cform-box .wpcf7 input,
.cform-box .wpcf7 select,
.cform-box .wpcf7 textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,215,0,0.15) !important;
  border-radius: var(--radius) !important;
  padding: 11px 14px !important;
  color: var(--white) !important;
  font-family: 'Mulish', sans-serif !important;
  font-size: 0.92rem !important;
  margin-bottom: 14px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}
.cform-box .wpcf7 input:focus,
.cform-box .wpcf7 textarea:focus { border-color: var(--yellow) !important; }
.cform-box .wpcf7 input::placeholder,
.cform-box .wpcf7 textarea::placeholder { color: rgba(255,255,255,0.22) !important; }
.cform-box .wpcf7 input[type="submit"] {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  border: none !important;
  padding: 13px 28px !important;
  border-radius: var(--radius) !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  width: 100% !important;
  letter-spacing: 0.04em !important;
  transition: background 0.2s !important;
  margin-top: 4px !important;
}
.cform-box .wpcf7 input[type="submit"]:hover { background: var(--yellow-dk) !important; }
.cform-box .wpcf7 select option { background: #1a0f30; color: var(--white); }

/* FOOTER */
.site-footer { background: var(--dark); padding: 52px 0 20px; border-top: 3px solid var(--yellow); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .site-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand .site-logo small { color: var(--yellow); }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.38); line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 0.12em; color: var(--yellow); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.38); font-size: 0.84rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-btm { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.76rem; color: rgba(255,255,255,0.28); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .contact-two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; gap: 0; }
  .site-nav.open {
    display: flex; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.open li { width: 100%; }
  .site-nav.open a { display: block; padding: 11px 24px; }
  .hamburger { display: block; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}
