/*
Theme Name: Office Ice Cream Catering San Diego
Theme URI: https://officeicecreamcateringsandiego.com
Author: Shaka Froyo
Author URI: https://shakafroyo.com
Description: San Diego's #1 office ice cream catering company. Premium soft serve, froyo bars and açaí stations for corporate events across San Diego County.
Version: 1.0
License: GNU General Public License v2 or later
Tags: catering, corporate, ice cream, san diego
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES — SAN DIEGO OCEAN PALETTE
   ============================================= */
:root {
  --navy:       #0a1628;
  --navy-mid:   #112040;
  --ocean:      #1a4a7a;
  --sky:        #2d7dd2;
  --sky-light:  #5b9fd8;
  --sand:       #f0e6d3;
  --sand-light: #faf6f0;
  --coral:      #e8714a;
  --coral-light:#f09070;
  --white:      #ffffff;
  --text:       #1a2a3a;
  --text-mid:   #4a6070;
  --shadow:     0 4px 32px rgba(10,22,40,0.15);
  --radius:     10px;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--sand-light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--coral); }
h1,h2,h3,h4 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.2; }
p { margin-bottom: 1.2em; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 9px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.top-bar a { color: var(--white); font-weight: 700; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.site-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.1;
}
.site-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sky-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.site-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--coral-light) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--white); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 40%, var(--ocean) 100%);
  padding: 90px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--sand-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Wave pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.5) 20px,
    rgba(255,255,255,0.5) 21px
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,125,210,0.2);
  border: 1px solid rgba(91,159,216,0.4);
  color: var(--sky-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}

.hero h1 strong {
  font-style: normal;
  color: var(--coral-light);
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(232,113,74,0.4);
}
.btn-primary:hover {
  background: var(--coral-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,113,74,0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.3s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); color: var(--white); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.stat { text-align: center; }
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--coral-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Hero right panel */
.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 32px;
  backdrop-filter: blur(10px);
}

.hero-visual h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-checklist { list-style: none; }
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
}
.hero-checklist li:last-child { border-bottom: none; }
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(10,22,40,0.08);
  padding: 18px 24px;
  text-align: center;
}
.trust-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.trust-logos { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.trust-logo-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 5px 14px;
  background: var(--sand);
  border-radius: 50px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.72); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--navy);
}
.section-navy .section-title { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 400;
}
.section-navy .section-subtitle { color: rgba(255,255,255,0.65); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.ocean-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--coral));
  border-radius: 3px;
  margin: 14px 0 32px;
}
.text-center .ocean-divider { margin-left: auto; margin-right: auto; }

/* =============================================
   STEPS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: var(--white);
  border-radius: 50%;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(26,74,122,0.3);
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.step-card p { font-size: 0.92rem; color: var(--text-mid); margin: 0; }

/* =============================================
   PACKAGES
   ============================================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.package-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
}
.package-card:hover { border-color: var(--sky); transform: translateY(-4px); }
.package-card.featured { border-color: var(--coral); }

.featured-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.package-icon { font-size: 2.4rem; margin-bottom: 16px; }
.package-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 10px; }
.package-card > p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 22px; }

.package-features { list-style: none; margin-bottom: 28px; }
.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.91rem;
  color: var(--text);
}
.package-features li::before {
  content: '✓';
  color: var(--sky);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.benefit-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: background 0.3s;
}
.benefit-card:hover { background: rgba(255,255,255,0.11); }
.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.benefit-card p { color: rgba(255,255,255,0.65); font-size: 0.91rem; margin: 0; line-height: 1.65; }

/* =============================================
   AREAS
   ============================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.area-pill {
  background: var(--white);
  border: 1px solid rgba(10,22,40,0.1);
  border-radius: 50px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.3s;
}
.area-pill:hover { background: var(--sky); color: var(--white); border-color: var(--sky); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--coral);
}

.stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }

.testimonial-card blockquote {
  color: var(--text);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.author-info strong { display: block; color: var(--navy); font-size: 0.9rem; }
.author-info span { font-size: 0.78rem; color: var(--coral); font-weight: 500; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid rgba(10,22,40,0.1); padding: 22px 0; }
.faq-question { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.faq-answer { font-size: 0.96rem; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--coral) 0%, #c0522a 100%);
  padding: 72px 24px;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }
.btn-white {
  background: var(--white);
  color: var(--coral);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--coral); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-block;
  transition: all 0.3s;
}
.btn-outline-white:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }

/* =============================================
   CONTACT
   ============================================= */
.contact-section { background: var(--sand-light); padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.contact-info h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
.contact-info p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 28px; }

.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-detail-text strong {
  display: block; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 2px;
  font-family: 'DM Sans', sans-serif;
}
.contact-detail-text span { font-size: 0.95rem; color: var(--text); }

.contact-form-wrap {
  background: var(--navy);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(10,22,40,0.2);
}

.contact-form-wrap h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-style: italic;
}
.contact-form-wrap p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 28px; }

/* CF7 inside dark form wrap */
.contact-form-wrap .wpcf7 label,
.contact-form-wrap .wpcf7 .wpcf7-form label {
  color: var(--sky-light) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 7px;
  font-family: 'DM Sans', sans-serif;
}
.contact-form-wrap .wpcf7 input,
.contact-form-wrap .wpcf7 select,
.contact-form-wrap .wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(91,159,216,0.25) !important;
  border-radius: 8px !important;
  padding: 11px 15px !important;
  color: var(--white) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  margin-bottom: 16px;
  transition: border-color 0.3s;
  outline: none;
}
.contact-form-wrap .wpcf7 input:focus,
.contact-form-wrap .wpcf7 textarea:focus {
  border-color: var(--sky) !important;
}
.contact-form-wrap .wpcf7 input::placeholder,
.contact-form-wrap .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.3) !important;
}
.contact-form-wrap .wpcf7 input[type="submit"] {
  background: var(--coral) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 13px 32px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background 0.3s !important;
  margin-top: 6px;
  letter-spacing: 0.03em !important;
}
.contact-form-wrap .wpcf7 input[type="submit"]:hover {
  background: var(--coral-light) !important;
}
.contact-form-wrap .wpcf7 select option { background: var(--navy); color: var(--white); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 22px;
  border-top: 3px solid var(--coral);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand .site-logo { font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 18px; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--coral-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid { 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(--navy);
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .site-nav.open li { width: 100%; }
  .site-nav.open a { display: block; padding: 11px 24px; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px 70px; }
}
