/*
Theme Name: Shaka Froyo
Theme URI: https://www.shakafroyo.com
Author: Shaka Froyo
Author URI: https://www.shakafroyo.com
Description: Custom premium theme for Shaka Froyo — Frozen Yogurt, Açaí & Soft Serve Catering in Temecula & Murrieta, CA.
Version: 1.0
License: Private
Text Domain: shakafroyo
*/

:root {
      --ivory:    #f8f4ee;
      --warm:     #f2ebe0;
      --sand:     #e8ddd0;
      --coral:    #d4856a;
      --coral-dk: #b8604a;
      --sage:     #8a9e8c;
      --charcoal: #2c2825;
      --mid:      #6b5f58;
      --light:    #a89e96;
      --white:    #ffffff;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Jost', sans-serif; background: var(--ivory); color: var(--charcoal); overflow-x: hidden; }

    body::before {
      content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    #nav {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      z-index: 999999 !important;
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      padding: 20px 64px;
      background: #fff8e8 !important;
      box-shadow: 0 1px 0 rgba(46,30,0,0.10);
      transition: padding 0.4s, box-shadow 0.4s;
      box-sizing: border-box;
      margin: 0 !important;
    }
    #nav.scrolled {
      background: #fff8e8 !important;
      padding: 14px 64px;
      box-shadow: 0 2px 12px rgba(46,30,0,0.12);
    }
    .nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--charcoal); text-decoration: none; }
    .nav-logo span { color: var(--coral); }
    .nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
    .nav-links a { text-decoration: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mid); transition: color 0.2s; }
    .nav-links a:hover { color: var(--coral); }
    .nav-book { color: var(--white) !important; background: var(--charcoal); padding: 11px 26px !important; transition: background 0.25s !important; }
    .nav-book:hover { background: #d4856a !important; }

    .hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
    .hero-left { display: flex; flex-direction: column; justify-content: center; padding: 120px 80px 80px; position: relative; z-index: 2; }
    .eyebrow { font-size: 0.63rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--coral); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
    .eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--coral); }
    .hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(4rem, 5.5vw, 6.5rem); font-weight: 300; line-height: 1.05; color: var(--charcoal); margin-bottom: 12px; }
    .hero h1 em { font-style: italic; color: var(--coral); }
    .hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 300; font-style: italic; color: var(--mid); margin-bottom: 32px; }
    .hero-desc { font-size: 0.9rem; font-weight: 300; color: var(--mid); line-height: 1.9; max-width: 400px; margin-bottom: 52px; }
    .hero-desc strong { color: var(--charcoal); font-weight: 600; }
    .hero-actions { display: flex; gap: 20px; align-items: center; }
    .btn-dark { background: var(--charcoal); color: var(--white); padding: 14px 34px; font-size: 0.68rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; transition: background 0.25s; display: inline-block; }
    .btn-dark:hover { background: var(--coral); }
    .btn-ghost { color: var(--charcoal); font-size: 0.68rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: 3px; transition: color 0.2s, border-color 0.2s; }
    .btn-ghost:hover { color: var(--coral); border-color: var(--coral); }

    .hero-right { position: relative; overflow: hidden; background: linear-gradient(150deg, #f2ebe0, #e8ddd0); }
    .h-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(212,133,106,0.2); top: 50%; left: 50%; transform: translate(-50%,-50%); }
    .hc1 { width: 520px; height: 520px; }
    .hc2 { width: 360px; height: 360px; border-color: rgba(212,133,106,0.15); }
    .hc3 { width: 200px; height: 200px; background: rgba(212,133,106,0.06); border: none; }
    .hero-words { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
    .hero-words span { display: block; font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 7rem); font-weight: 300; font-style: italic; color: var(--coral); opacity: 0.3; line-height: 1.1; white-space: nowrap; }
    .hero-chips { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
    .hchip { font-size: 0.6rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); padding: 8px 16px; border: 1px solid var(--sand); background: rgba(255,255,255,0.45); white-space: nowrap; }

    .loc-strip { background: #2c2825; display: flex; align-items: center; justify-content: center; gap: 36px; padding: 16px 40px; flex-wrap: wrap; }
    .loc-strip span { font-size: 0.62rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
    .loc-strip strong { font-size: 0.62rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--coral); }
    .ldot { width: 3px; height: 3px; border-radius: 50%; background: rgba(212,133,106,0.4); }

    section { padding: 120px 80px; }
    .si { max-width: 1140px; margin: 0 auto; }
    .label { font-size: 0.62rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--coral); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
    .label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--coral); }
    h2.display { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; line-height: 1.1; color: var(--charcoal); margin-bottom: 20px; }
    h2.display em { font-style: italic; color: var(--coral); }
    .body-text { font-size: 0.9rem; font-weight: 300; color: var(--mid); line-height: 1.9; max-width: 520px; }

    #about { background: #ffffff; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
    .about-items { display: flex; flex-direction: column; }
    .ai { padding: 30px 0; border-bottom: 1px solid var(--sand); display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; }
    .ai:first-child { border-top: 1px solid var(--sand); }
    .ai-num { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 300; color: var(--sand); line-height: 1; }
    .ai h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 7px; }
    .ai p { font-size: 0.86rem; font-weight: 300; color: var(--mid); line-height: 1.7; }

    #menu { background: #f8f4ee; }
    .menu-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
    .menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--sand); border: 1px solid var(--sand); }
    .mc { background: #ffffff; padding: 48px 40px; position: relative; overflow: hidden; transition: background 0.3s; }
    .mc:hover { background: #f2ebe0; }
    .mc::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--coral); transition: height 0.4s; }
    .mc:hover::after { height: 100%; }
    .mc-n { font-family: 'Cormorant Garamond', serif; font-size: 4.5rem; font-weight: 300; color: var(--sand); line-height: 1; margin-bottom: 24px; }
    .mc-t { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
    .mc-s { font-size: 0.62rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--coral); margin-bottom: 30px; }
    .mc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .mc ul li { font-size: 0.84rem; font-weight: 300; color: var(--mid); padding: 8px 0; border-bottom: 1px solid var(--sand); display: flex; align-items: center; gap: 10px; }
    .mc ul li::before { content: ''; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); opacity: 0.45; }

    #events { background: #2c2825; }
    #events .label { color: var(--coral); }
    #events .label::before { background: var(--coral); }
    #events h2.display { color: var(--white); }
    #events h2.display em { color: var(--coral); }
    #events .body-text { color: rgba(255,255,255,0.45); }
    .events-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
    .ev-list { display: flex; flex-direction: column; }
    .ev { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.07); cursor: default; transition: border-color 0.25s; }
    .ev:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
    .ev:hover { border-bottom-color: var(--coral); }
    .ev h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; color: var(--white); }
    .ev p { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 3px; }
    .ev-arrow { color: rgba(255,255,255,0.18); transition: color 0.2s, transform 0.2s; font-size: 1rem; }
    .ev:hover .ev-arrow { color: var(--coral); transform: translateX(4px); }
    .ev-block { padding: 40px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
    .ev-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
    .ev-block p { font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.85; }
    .ev-block p strong { color: rgba(255,255,255,0.6); font-weight: 500; }
    .ev-block p + p { margin-top: 16px; }

    #toppings { background: #f2ebe0; }
    .top-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
    .top-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--sand); border: 1px solid var(--sand); }
    .tc { background: #f2ebe0; padding: 20px 26px; font-size: 0.8rem; font-weight: 400; color: var(--mid); transition: background 0.2s, color 0.2s; }
    .tc:hover { background: #ffffff; color: #2c2825; }
    .sauce-row { display: flex; gap: 1px; margin-top: 1px; background: var(--sand); }
    .sc { flex: 1; background: #d4856a; padding: 18px 28px; font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); text-align: center; }

    #area { background: #ffffff; }
    .area-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
    .area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--sand); border: 1px solid var(--sand); margin-top: 36px; }
    .acell { background: var(--white); padding: 18px 22px; transition: background 0.2s; }
    .acell:hover { background: #f2ebe0; }
    .acity { font-size: 0.86rem; font-weight: 600; color: var(--charcoal); margin-bottom: 3px; }
    .aco { font-size: 0.65rem; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light); }
    .area-note { margin-top: 18px; font-size: 0.76rem; font-weight: 300; color: var(--light); line-height: 1.6; }
    .stat-row { display: flex; gap: 48px; margin-top: 52px; }
    .stat h3 { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; color: var(--coral); line-height: 1; }
    .stat p { font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--light); margin-top: 6px; }

    #faq { background: #f8f4ee; }
    .faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 100px; align-items: start; }
    .faq-list { display: flex; flex-direction: column; }
    .fi { border-bottom: 1px solid var(--sand); }
    .fi:first-child { border-top: 1px solid var(--sand); }
    .fq { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; cursor: pointer; font-size: 0.9rem; font-weight: 500; color: var(--charcoal); user-select: none; transition: color 0.2s; }
    .fq:hover { color: var(--coral); }
    .ficon { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--mid); transition: transform 0.3s, background 0.2s, border-color 0.2s; margin-left: 20px; }
    .fi.open .ficon { transform: rotate(45deg); background: var(--coral); border-color: var(--coral); color: white; }
    .fa { font-size: 0.86rem; font-weight: 300; color: var(--mid); line-height: 1.85; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
    .fi.open .fa { max-height: 300px; padding-bottom: 26px; }

    #contact { background: var(--ivory); padding-top: 0; }
    .contact-inner { background: #2c2825; padding: 100px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 100%; }
    .contact-inner .label { color: var(--coral); }
    .contact-inner .label::before { background: var(--coral); }
    .contact-inner h2.display { color: var(--white); }
    .contact-inner h2.display em { color: var(--coral); }
    .contact-inner .body-text { color: rgba(255,255,255,0.45); }
    .c-items { display: flex; flex-direction: column; gap: 2px; }
    .ci { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); padding: 26px 34px; text-decoration: none; display: flex; flex-direction: column; gap: 5px; transition: background 0.25s, border-color 0.25s; }
    .ci:hover { background: rgba(212,133,106,0.1); border-color: var(--coral); }
    .ci-l { font-size: 0.58rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.28); }
    .ci-v { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; color: var(--white); }
    .book-link { margin-top: 2px; background: #d4856a; padding: 26px 34px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; transition: background 0.25s; }
    .book-link:hover { background: #b8604a; }
    .book-link span { font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: white; }
    .book-link .arr { font-size: 1.1rem; color: rgba(255,255,255,0.65); }

    footer { background: #2c2825; border-top: 1px solid rgba(255,255,255,0.05); padding: 44px 80px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .fbrand { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.35); }
    .fbrand span { color: var(--coral); }
    .fnav { display: flex; gap: 28px; }
    .fnav a { text-decoration: none; font-size: 0.6rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.22); transition: color 0.2s; }
    .fnav a:hover { color: var(--coral); }
    .fcopy { font-size: 0.68rem; color: rgba(255,255,255,0.16); line-height: 1.6; text-align: right; }
    .fseo { width: 100%; font-size: 0.62rem; color: rgba(255,255,255,0.1); line-height: 1.8; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04); }

    @media (max-width: 900px) {
      #nav, #nav.scrolled { padding: 18px 24px; }
      .nav-links { display: none; }
      section { padding: 72px 24px; }
      .hero { grid-template-columns: 1fr; min-height: auto; }
      .hero-left { padding: 120px 24px 56px; }
      .hero-right { height: 280px; }
      .about-grid, .menu-top, .events-layout, .area-layout, .faq-layout, .top-header { grid-template-columns: 1fr; gap: 40px; }
      .menu-grid { grid-template-columns: 1fr; }
      .top-grid { grid-template-columns: 1fr 1fr; }
      .contact-inner { grid-template-columns: 1fr; padding: 64px 24px; }
      footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
      .fcopy { text-align: left; }
    }
/* ── WORDPRESS ADMIN BAR COMPATIBILITY ── */
/* Offsets fixed nav when WP admin bar is visible (logged-in users) */
.admin-bar #nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #nav {
    top: 46px;
  }
}

/* Ensure section anchor targets aren't hidden behind fixed nav */
section[id],
header[id],
div[id] {
  scroll-margin-top: 90px;
}
.admin-bar section[id],
.admin-bar header[id] {
  scroll-margin-top: 122px;
}

/* ── HERO PHOTO ── */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Overlay so chips are readable over the photo */
.hero-right:has(.hero-photo)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,40,37,0.08) 0%,
    rgba(44,40,37,0.35) 100%
  );
  z-index: 1;
}

/* Chips sit above the overlay */
.hero-right .hero-chips {
  z-index: 2;
}

/* ── HERO PLACEHOLDER (shown until photo is added) ── */
.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #f2ebe0, #e8ddd0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hp-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(212,133,106,0.4);
  margin: 0 auto 16px;
}
.hp-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--coral);
  margin-bottom: 8px;
}
.hp-sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--light);
  line-height: 1.6;
}

/* Hide any nav element that is NOT our custom #nav */
body nav:not(#nav),
body header:not(.hero),
body > div > nav:not(#nav) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Force nav flush to top regardless of EasyWP/WP offsets */
html body #nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}
.admin-bar #nav {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar #nav {
    top: 46px !important;
  }
}
