/* ============================================================
   Balancefood – Shared Stylesheet
   ============================================================ */

/* === Fonts (self-hosted) === */
@import url('fonts/inter.css');

/* === Variables === */
:root {
  --primary: #1B3D2F;
  --primary-light: #2A5440;
  --teal: #2E9B6E;
  --teal-light: #3DB87F;
  --gold: #D4933D;
  --gold-light: #E0A854;
  --gray-light: #F7F8F7;
  --gray-medium: #E8EBE9;
  --text: #1F2937;
  --text-light: #6B7280;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === Layout === */
.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section--light { background: var(--gray-light); }
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-light); text-align: center; margin-bottom: 2.5rem; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* === HEADER === */
header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.header-top { display: flex; align-items: center; justify-content: space-between; height: 140px; }
.logo { height: 120px; width: auto; padding: 10px 0; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--primary); display: none; }
.header-contact { display: flex; align-items: center; gap: 1.25rem; font-size: 0.875rem; color: var(--text-light); }
.header-contact a { display: flex; align-items: center; gap: 6px; transition: color .2s; }
.header-contact a:hover { color: var(--teal); }
.btn-book { margin-left: 0.5rem; padding: 0.5rem 1.25rem; background: var(--teal); color: #fff !important; font-size: 0.875rem; font-weight: 600; border-radius: 6px; transition: background .2s; }
.btn-book:hover { background: var(--teal-light) !important; }
.nav-bar { background: var(--primary); }
.nav-bar nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-bar a { display: block; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); border-radius: 4px; transition: color .2s, background .2s; }
.nav-bar a:hover, .nav-bar a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* === MOBILE MENU === */
#mobile-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; background: none; border: none; padding: 0; }
.hb-bar { display: block; width: 24px; height: 2px; border-radius: 9999px; background: var(--primary); transition: transform .3s, opacity .3s; }
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0.5); cursor: default; }
.mobile-panel { position: fixed; top: 0; right: 0; z-index: 50; height: 100%; width: 300px; max-width: 85vw; background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform .3s ease-out; display: flex; flex-direction: column; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 64px; border-bottom: 1px solid #e5e7eb; }
.panel-head span { font-size: 0.7rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; }
.panel-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: none; border: none; cursor: pointer; }
.panel-close:hover { background: #f3f4f6; }
.panel-nav { flex: 1; overflow-y: auto; padding: 0.5rem 0; }
.panel-nav a { display: block; padding: 0.875rem 1.5rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); transition: background .15s, color .15s; }
.panel-nav a:hover, .panel-nav a.active { background: #f9fafb; color: var(--teal); }
.panel-footer { border-top: 1px solid #e5e7eb; background: #f9fafb; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.panel-footer a { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text-light); transition: color .2s; }
.panel-footer a:hover { color: var(--teal); }
.panel-footer-addr { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--text-light); }
.btn-panel-book { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1rem; background: var(--teal); color: #fff !important; font-size: 0.875rem; font-weight: 600; border-radius: 8px; margin-top: 0.25rem; transition: background .2s; }
.btn-panel-book:hover { background: var(--teal-light) !important; }
#mobile-toggle:checked ~ .mobile-overlay { display: block; }
#mobile-toggle:checked ~ .mobile-panel { transform: translateX(0); }

/* === PAGE HERO (compact) === */
.page-hero { position: relative; background: linear-gradient(135deg, #E8F0EA 0%, #D4E5D8 100%); padding: 2.5rem 0; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(27,61,47,0.03) 1px, transparent 1px); background-size: 30px 30px; }
.page-hero .inner { position: relative; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 1rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--primary); line-height: 1.2; }
.page-hero p { margin-top: 0.75rem; color: var(--text-light); font-size: 1.0625rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* === BUTTONS === */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; background: var(--teal); color: #fff !important; font-size: 1rem; font-weight: 600; border-radius: 6px; box-shadow: 0 4px 12px rgba(46,155,110,0.3); transition: background .2s; }
.btn-primary:hover { background: var(--teal-light) !important; }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; border: 2px solid var(--primary); color: var(--primary); font-size: 1rem; font-weight: 600; border-radius: 6px; transition: background .2s, color .2s; }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-gold { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; background: var(--gold); color: var(--primary) !important; font-size: 1rem; font-weight: 600; border-radius: 6px; box-shadow: 0 4px 12px rgba(212,147,61,0.3); transition: background .2s; }
.btn-gold:hover { background: var(--gold-light) !important; }
.link-teal { color: var(--teal); font-weight: 600; }
.link-teal:hover { text-decoration: underline; }

/* === ICON BOX === */
.icon-box { display: flex; align-items: center; justify-content: center; border-radius: 0.75rem; background: rgba(46,155,110,0.1); flex-shrink: 0; }
.icon-box--lg { width: 64px; height: 64px; }
.icon-box--md { width: 48px; height: 48px; }
.icon-box--sm { width: 40px; height: 40px; }

/* === CARD === */
.card { background: #fff; border: 1px solid var(--gray-medium); border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.card--teal { background: rgba(46,155,110,0.05); border: 1px solid rgba(46,155,110,0.2); }

/* === BADGES === */
.badge-asca { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 1.25rem; background: rgba(46,155,110,0.05); border: 1px solid rgba(46,155,110,0.2); border-radius: 8px; text-align: center; }
.badge-asca span { font-weight: 600; color: var(--primary); font-size: 0.875rem; margin-top: 4px; }

/* === BLOCKQUOTE === */
blockquote { border-left: 4px solid var(--teal); padding: 0.75rem 1.25rem; font-style: italic; color: var(--primary); font-size: 1.0625rem; background: rgba(46,155,110,0.05); border-radius: 0 8px 8px 0; }
blockquote .cite { display: block; font-size: 0.875rem; color: var(--text-light); margin-top: 0.5rem; font-style: normal; }

/* === CHECK LIST === */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-light); }
.checklist li svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }

/* === STEPS === */
.steps { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { width: 44px; height: 44px; flex-shrink: 0; background: var(--teal); color: #fff; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.0625rem; }
.step h3 { font-size: 1.0625rem; font-weight: 600; color: var(--primary); }
.step p { color: var(--text-light); margin-top: 4px; line-height: 1.7; }

/* === CTA SECTION === */
.cta-section { background: var(--gray-light); padding: 4rem 0; text-align: center; }
.cta-section h2 { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.cta-section p { color: var(--text-light); font-size: 1.0625rem; line-height: 1.7; max-width: 640px; margin: 0 auto 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* === FORM === */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--primary); margin-bottom: 0.375rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--gray-medium);
  border-radius: 6px; font-size: 0.9375rem; font-family: inherit; color: var(--text);
  background: #fff; transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,155,110,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 0.875rem; background: var(--teal); color: #fff; font-size: 1rem; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; font-family: inherit; transition: background .2s; }
.form-submit:hover { background: var(--teal-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* === FOOTER === */
footer { background: var(--primary); color: #fff; padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 2.5rem; }
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: #d1d5db; line-height: 1.6; }
.footer-asca { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.875rem; color: var(--gold); }
footer h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: #d1d5db; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #d1d5db; }
.footer-contact-list a { color: #d1d5db; transition: color .2s; }
.footer-contact-list a:hover { color: var(--teal); }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; color: #9ca3af; }
.footer-bottom a { color: #9ca3af; transition: color .2s; }
.footer-bottom a:hover { color: var(--teal); }

/* === ANIMATIONS === */
@keyframes zoom-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* === GRID UTILS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.max-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-4xl { max-width: 900px; margin-left: auto; margin-right: auto; }
.max-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-contact { display: none; }
  .hamburger { display: flex; }
  .nav-bar { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 2.5rem 0; }
  .two-col-5 { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .section { padding: 2rem 0; }
  .cta-section { padding: 2.5rem 0; }
}
