/*
Theme Name: Little Cha Central Coast
Theme URI: https://littlecha.au
Author: Little Cha Central Coast
Description: Pastel theme for Little Cha Tuggerah & Erina Fair: home, menu, jobs and contact pages. Edit hours, links and hero text in Appearance → Customize → Little Cha.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: littlecha-cc
*/

:root {
  --ink: #4B2A3A;
  --accent: #D6336C;
  --accent-dark: #A61E52;
  --pink: #FFE3EC;
  --mint: #DDF6EA;
  --lilac: #ECE4FF;
  --butter: #FFF4C9;
  --peach: #FFE2CC;
  --sky: #DDF0FF;
  --bg: #FFF9FB;
  --line: #E9D5DE;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --r-lg: 60px;
  --r-md: 40px;
  --r-sm: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; line-height: 0.95; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 18px; background: #fff; border-radius: 999px; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

.wrap { width: min(1360px, 100% - 80px); margin-inline: auto; }

/* Buttons & pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
.pill { display: inline-block; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 15px; }
.pill-butter { background: var(--butter); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; }
.chip-new { background: var(--accent-dark); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-frame { border-radius: var(--r-lg); overflow: hidden; border: 10px solid #fff; box-shadow: 0 20px 60px rgba(75, 42, 58, .15); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 12px; z-index: 50; margin: 20px 40px 0; }
.nav-bar { height: 80px; padding: 0 16px 0 20px; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 24px; box-shadow: 0 8px 30px rgba(75, 42, 58, .08); }
.nav-bar .logo img { width: 52px; height: 52px; }
.main-nav { flex-grow: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { background: var(--pink); color: var(--ink); }
.hiring { padding: 2px 8px; border-radius: 999px; background: var(--accent-dark); color: #fff; font-size: 11px; letter-spacing: .04em; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--butter); align-items: center; justify-content: center; cursor: pointer; }
.nav-jobs-m { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; min-height: 720px; padding: 40px 0; }
.hero-copy { width: 600px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 104px; line-height: .92; }
.hero-copy p { font-size: 20px; }
.hero .photo-frame { flex-grow: 1; height: auto; aspect-ratio: 538 / 420; max-height: 600px; }

/* Feature (Horchata) */
.feature { border-radius: var(--r-lg); background: var(--peach); padding: 56px; display: flex; gap: 48px; align-items: center; }
.feature-copy { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.feature h2 { font-size: 76px; }
.feature-copy p { font-size: 19px; }
.feature .photo-frame { flex-grow: 1; height: auto; aspect-ratio: 1062 / 820; border-width: 8px; border-radius: 48px; box-shadow: none; }

/* Sections */
.section { padding: 96px 0 80px; }
.section-title { font-size: 64px; text-align: center; margin-bottom: 36px; }
.section-title.left { text-align: left; font-size: 56px; margin-bottom: 32px; }
.center { display: flex; justify-content: center; margin-top: 36px; }

.drink-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.drink-card { border-radius: var(--r-md); padding: 24px 16px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.drink-card img { width: 130px; height: 242px; object-fit: contain; }
.drink-card h3 { font-size: 20px; line-height: 1.1; }
.drink-card p { font-size: 13px; line-height: 1.35; }
.bg-butter { background: var(--butter); } .bg-sky { background: var(--sky); } .bg-peach { background: #FFE9C9; }
.bg-latte { background: #F3E3D3; } .bg-pink { background: var(--pink); } .bg-mint { background: var(--mint); } .bg-lilac { background: var(--lilac); }

.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.store-card { border-radius: var(--r-md); padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.store-card .store-name { display: flex; align-items: center; gap: 10px; color: var(--accent-dark); }
.store-card h3 { font-size: 36px; color: var(--ink); }
.store-addr { font-style: normal; line-height: 1.55; }
.hours { list-style: none; margin: 4px 0; padding: 0; font-size: 15px; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

.rewards { border-radius: var(--r-lg); background: var(--lilac); padding: 56px; display: flex; flex-direction: column; gap: 28px; }
.rewards-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rewards h2 { font-size: 60px; margin-top: 14px; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { padding: 24px; border-radius: 32px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.perk strong { font-family: var(--display); font-size: 30px; color: var(--accent-dark); line-height: 1; }

.cta-band { border-radius: var(--r-lg); background: var(--accent); color: #fff; padding: 44px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: 48px; }
.cta-band p { font-size: 18px; margin-top: 6px; }

/* Page hero (jobs/contact/menu) */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: 104px; line-height: .92; }
.page-hero .lead { font-size: 21px; max-width: 640px; margin-top: 18px; }
.page-hero.center-text { text-align: center; }
.page-hero.center-text .lead { margin-inline: auto; }

.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 40px auto 12px; text-align: left; }
.job-card { border-radius: 48px; padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.job-card .where { display: flex; align-items: center; gap: 10px; color: var(--accent-dark); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.job-card h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1; white-space: nowrap; }
.job-card .btn { align-self: flex-start; margin-top: 8px; }
.note { font-size: 14px; }

/* Contact */
.contact-layout { display: flex; gap: 56px; align-items: flex-start; padding-bottom: 40px; }
.contact-aside { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-aside h1 { font-size: 92px; line-height: .92; }
.contact-aside .lead { font-size: 19px; }
.mini-store { padding: 18px 20px; border-radius: var(--r-sm); }
.mini-store strong { font-family: var(--display); font-size: 20px; }
.form-card { flex-grow: 1; padding: 40px; border-radius: 48px; background: var(--peach); }
.lc-form { display: flex; flex-direction: column; gap: 18px; }
.lc-form fieldset { margin: 0; padding: 0; border: 0; }
.lc-form legend, .lc-form label.field-label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.topic-group { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-group label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 15px; cursor: pointer; }
.topic-group input { accent-color: var(--accent-dark); width: 18px; height: 18px; margin: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lc-form input[type=text], .lc-form input[type=email], .lc-form input[type=tel], .lc-form select, .lc-form textarea { width: 100%; min-height: 54px; border: 2px solid var(--line); border-radius: 20px; background: #fff; padding: 0 18px; font: 600 16px var(--body); color: var(--ink); }
.lc-form textarea { padding: 14px 18px; min-height: 150px; resize: vertical; }
.lc-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: 13px; }
.alert { padding: 16px 20px; border-radius: 20px; font-weight: 700; margin-bottom: 18px; }
.alert-ok { background: var(--mint); }
.alert-err { background: #FFD6D6; }
.sent { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 24px; text-align: center; }
.sent .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; color: #1F7A4D; }

/* Menu page */
.menu-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.menu-nav a { padding: 10px 18px; border-radius: 999px; background: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 14px rgba(75, 42, 58, .06); }
.menu-cat { padding: 56px 0 8px; scroll-margin-top: 110px; }
.menu-cat h2 { font-size: 48px; margin-bottom: 24px; }
.menu-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.menu-item { border-radius: var(--r-sm); padding: 18px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.menu-item img { width: 100px; height: 186px; object-fit: contain; }
.menu-item h3 { font-size: 18px; line-height: 1.1; }
.menu-item p { font-size: 13px; line-height: 1.35; }
.menu-text-list { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-text-list span { padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 700; }
.new-tile { border-radius: var(--r-md); background: var(--peach); padding: 28px; display: flex; gap: 24px; align-items: center; }
.new-tile img { width: 320px; height: 220px; object-fit: cover; border-radius: 28px; border: 6px solid #fff; flex-shrink: 0; }
.new-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* Generic page content */
.entry { padding: 40px 0 80px; max-width: 820px; }
.entry h1 { font-size: 64px; margin-bottom: 24px; }
.entry p { margin-bottom: 1em; }

/* Footer */
.site-footer { margin-top: 40px; padding: 56px 0 36px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--pink); }
.footer-cols { display: flex; gap: 64px; align-items: flex-start; }
.footer-brand { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 96px; height: 96px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 150px; font-size: 16px; }
.footer-col strong { font-family: var(--display); font-size: 20px; }
.footer-col a { text-decoration: none; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 2px solid rgba(75, 42, 58, .15); font-size: 14px; }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .hero-copy, .feature-copy { width: 46%; }
  .hero h1 { font-size: 80px; }
  .drink-grid, .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { padding: 10px 12px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-header { margin: 12px 12px 0; top: 8px; }
  .nav-bar { height: 64px; padding: 0 8px 0 10px; gap: 8px; }
  .nav-bar .logo { flex-grow: 1; }
  .nav-bar .logo img { width: 44px; height: 44px; }
  .nav-bar > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-jobs-m { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--pink); font-weight: 800; font-size: 14px; text-decoration: none; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; background: #fff; border-radius: 28px; padding: 12px; box-shadow: 0 12px 30px rgba(75, 42, 58, .15); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { display: flex; padding: 14px 16px; font-size: 18px; }

  .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; gap: 16px; padding: 28px 0 24px; }
  .hero-copy { width: 100%; gap: 14px; display: contents; }
  .hero h1 { font-size: 58px; order: 1; }
  .hero .pill { order: 0; }
  .hero .photo-frame { order: 2; height: auto; border-width: 6px; border-radius: 36px; }
  .hero-copy p { order: 3; font-size: 16px; }
  .hero .chips { order: 4; }
  .hero .actions { order: 5; }
  .hero .actions .btn { width: 100%; }
  .hero .actions .btn-light { display: none; }

  .feature { flex-direction: column; align-items: stretch; padding: 24px 16px; border-radius: var(--r-md); gap: 14px; }
  .feature-copy { width: 100%; display: contents; }
  .feature h2 { font-size: 42px; order: 1; }
  .feature .pill { order: 0; }
  .feature .photo-frame { order: 2; height: auto; border-width: 5px; border-radius: 28px; }
  .feature-copy p { order: 3; font-size: 15px; }
  .feature .chips { order: 4; }
  .feature .btn { order: 5; width: 100%; }

  .section { padding: 48px 0 40px; }
  .section-title { font-size: 36px; margin-bottom: 18px; }
  .section-title.left { font-size: 34px; margin-bottom: 14px; }
  .drink-grid, .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .drink-card { border-radius: var(--r-sm); padding: 16px 10px 14px; }
  .drink-card img { width: 84px; height: 156px; }
  .drink-card h3 { font-size: 16px; }
  .drink-card p { display: none; }
  .center .btn { width: 100%; }

  .store-grid, .job-grid, .field-grid, .new-tiles { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .store-card { padding: 22px; border-radius: 32px; }
  .store-card h3 { font-size: 26px; }
  .store-card .actions .btn { flex-grow: 1; }

  .rewards { padding: 24px 16px; border-radius: var(--r-md); gap: 14px; }
  .rewards h2 { font-size: 34px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .perk { padding: 14px; border-radius: 22px; }
  .perk strong { font-size: 20px; }

  .cta-band { flex-direction: column; align-items: stretch; padding: 24px 20px; border-radius: var(--r-md); }
  .cta-band h2 { font-size: 32px; }

  .page-hero { padding: 36px 0 24px; }
  .page-hero h1 { font-size: 58px; }
  .page-hero .lead { font-size: 16px; }
  .page-hero.center-text { text-align: left; }
  .job-card { padding: 22px; border-radius: 32px; }
  .job-card h2 { font-size: 28px; }
  .job-card .btn { align-self: stretch; }

  .contact-layout { flex-direction: column; gap: 16px; }
  .contact-aside { width: 100%; }
  .contact-aside h1 { font-size: 56px; }
  .contact-aside .mini-store { display: none; }
  .form-card { padding: 20px 16px; border-radius: 32px; width: 100%; }
  .form-foot { flex-direction: column; align-items: stretch; }

  .menu-cat h2 { font-size: 32px; }
  .menu-item img { width: 80px; height: 150px; }
  .new-tile { flex-direction: column; align-items: stretch; padding: 16px; }
  .new-tile img { width: 100%; height: 200px; }

  .site-footer { border-radius: var(--r-md) var(--r-md) 0 0; padding: 36px 0 24px; }
  .footer-cols { flex-wrap: wrap; gap: 20px; }
  .footer-brand { flex-basis: 100%; }
  .footer-brand img { width: 80px; height: 80px; }
  .footer-col { min-width: 0; flex: 1 1 40%; font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
