/* =============================================
   EmberThrone Vitalmenü — style.css
   Tech-futuristic theme with brand colors
   Mobile-first, flexbox-only, high-contrast testimonials
   ============================================= */

/* =====================
   RESET & BASELINE
   ===================== */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Verdana, Geneva, Tahoma, sans-serif; color: #E6F2EC; background: #0C1018; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: #2AF5D0; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
:focus-visible { outline: 2px dashed #2AF5D0; outline-offset: 2px; }

/* =====================
   THEME VARIABLES
   ===================== */
:root {
  --brand-primary: #1F6D4A;
  --brand-secondary: #E07A2D;
  --brand-accent: #F4F8F0;
  --text-body: #E6F2EC;
  --text-dim: #B7C7C1;
  --text-dark: #0E1721;
  --surface-900: #0C1018;
  --surface-800: #111827;
  --surface-700: #152132;
  --stroke: rgba(255,255,255,0.12);
  --neon: #2AF5D0; /* neon-cyan accent */
  --warning: #FFB347;
  --ok: #38EF7D;
}

/* =====================
   TYPOGRAPHY SCALE
   ===================== */
h1, h2, h3, h4 { font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; color: #FFFFFF; line-height: 1.2; letter-spacing: 0.2px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p, li { font-size: 16px; color: var(--text-body); }
.small { font-size: 14px; color: var(--text-dim); }
.subheadline { color: #D1E7DF; font-size: 18px; max-width: 72ch; }
strong { color: #FFFFFF; }

/* =====================
   LAYOUT HELPERS
   ===================== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; }
.content-wrapper { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* Mandated spacing & alignment patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* General section spacing */
main section { padding: 48px 0; border-top: 1px solid var(--stroke); }
main section:first-of-type { border-top: 0; }

/* =====================
   TECH-FUTURISTIC SURFACES
   ===================== */
.hero { background: linear-gradient(135deg, rgba(31,109,74,0.18), rgba(42,245,208,0.08)), linear-gradient(180deg, #0C1018, #111827); padding: 64px 0; position: relative; }
.hero .content-wrapper { align-items: flex-start; }
.hero h1 { text-shadow: 0 0 14px rgba(42,245,208,0.25); }

/* Sub-surface card for content blocks */
.text-section, .search-bar, .filter-bar, .map-placeholder { background: rgba(21,33,50,0.9); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px; box-shadow: 0 10px 24px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03); }
.text-section + .text-section { margin-top: 8px; }

/* Chips / badges */
.trust-badges, .usp-bullets, .benefit-bullets, .success-metrics, .micro-faq-links { display: flex; flex-wrap: wrap; gap: 12px 16px; padding: 0; margin: 0; list-style: none; }
.trust-badges li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(31,109,74,0.12); border: 1px solid rgba(42,245,208,0.25); color: #DBF8F0; border-radius: 999px; box-shadow: 0 0 12px rgba(42,245,208,0.18) inset; }
.trust-badges img { width: 18px; height: 18px; filter: drop-shadow(0 0 6px rgba(42,245,208,0.5)); }
.usp-bullets li, .benefit-bullets li, .success-metrics li { position: relative; padding-left: 20px; }
.usp-bullets li::before, .benefit-bullets li::before, .success-metrics li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); position: absolute; left: 0; top: 9px; }

/* =====================
   HEADER & NAV
   ===================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(12,16,24,0.9); backdrop-filter: saturate(120%); border-bottom: 1px solid var(--stroke); }
.site-header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; }
.brand-tagline { font-size: 12px; color: var(--text-dim); opacity: 0.9; }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { padding: 8px 10px; color: #EAF7F2; border-radius: 10px; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.main-nav a:hover { background: rgba(42,245,208,0.08); box-shadow: 0 0 0 1px rgba(42,245,208,0.25) inset; }

.header-ctas { display: none; align-items: center; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; font-weight: 700; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); color: #EAF7F2; background: rgba(21,33,50,0.6); box-shadow: 0 6px 14px rgba(0,0,0,0.35); transition: transform .15s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.45), 0 0 0 2px rgba(42,245,208,0.1) inset; }
.btn.primary { background: var(--brand-primary); border-color: rgba(42,245,208,0.25); box-shadow: 0 0 0 2px rgba(42,245,208,0.15) inset, 0 10px 24px rgba(31,109,74,0.35); }
.btn.primary:hover { background: #228256; box-shadow: 0 0 18px rgba(42,245,208,0.25), 0 16px 32px rgba(31,109,74,0.45); }
.btn.secondary { background: transparent; border-color: rgba(42,245,208,0.35); color: #DFFCF5; }
.btn.secondary:hover { background: rgba(42,245,208,0.08); }

/* Mobile menu controls */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(21,33,50,0.6); color: #EAF7F2; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.mobile-menu-toggle:hover { background: rgba(42,245,208,0.08); box-shadow: 0 0 0 1px rgba(42,245,208,0.2) inset; }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0 0 0 auto; right: 0; top: 0; bottom: 0; width: 88%; max-width: 360px; display: flex; flex-direction: column; background: #0E131D; border-left: 1px solid var(--stroke); transform: translateX(100%); transition: transform .35s ease; z-index: 1200; padding: 16px; gap: 12px; }
.mobile-menu.open, .mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(21,33,50,0.6); color: #EAF7F2; cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.mobile-nav a { padding: 12px 10px; border-radius: 10px; color: #EAF7F2; background: rgba(21,33,50,0.5); border: 1px solid rgba(255,255,255,0.06); }
.mobile-nav a:hover { background: rgba(42,245,208,0.08); border-color: rgba(42,245,208,0.25); }

/* Prevent background scroll when menu open (set by JS) */
body.menu-open { overflow: hidden; }

/* =====================
   HERO UTILS
   ===================== */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.search-bar { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--neon); }
.filter-bar { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid rgba(42,245,208,0.35); }

/* =====================
   CONTENT GROUPS
   ===================== */
.features-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.features-grid .text-section { flex: 1 1 260px; min-width: 240px; }

.recipe-list { display: flex; flex-wrap: wrap; gap: 20px; }
.recipe-list .text-section { flex: 1 1 280px; min-width: 260px; }

.pagination { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Testimonial cards — light background with dark text for contrast */
.testimonial-card { background: var(--brand-accent); color: var(--text-dark); border: 1px solid #DCE7D8; border-radius: 14px; box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.testimonial-card p { color: #0F1A24; margin: 0; }
.testimonial-card .author { color: #1B2A36; font-weight: 700; }

blockquote { margin: 0; padding: 16px 16px 16px 20px; border-left: 4px solid var(--brand-secondary); background: rgba(224,122,45,0.1); border-radius: 6px; }

/* Contact highlight */
.contact-highlight { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: rgba(31,109,74,0.15); border: 1px dashed rgba(42,245,208,0.35); border-radius: 12px; }
.contact-highlight img { width: 16px; height: 16px; display: inline-block; vertical-align: middle; filter: drop-shadow(0 0 6px rgba(42,245,208,0.45)); }

/* Footer columns */
.footer-cols { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-cols > .text-section { flex: 1 1 240px; min-width: 220px; }
.brand-badge { display: flex; align-items: center; gap: 10px; color: #CFE3DA; padding: 16px 0; border-top: 1px solid var(--stroke); }
.brand-badge img { height: 28px; filter: drop-shadow(0 0 8px rgba(42,245,208,0.35)); }

.site-footer { background: #0B0F16; padding: 40px 0 20px; border-top: 1px solid var(--stroke); }
.site-footer nav a { color: #EAF7F2; }
.site-footer nav a:hover { color: #C7FFF3; }

/* Micro FAQ links */
.micro-faq-links a { color: #C7FFF3; }
.micro-faq-links a:hover { color: #FFFFFF; text-decoration: underline; }

/* =====================
   LISTS & TEXT
   ===================== */
ul, ol { padding-left: 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }

/* =====================
   ACCESSIBILITY HINTS
   ===================== */
[aria-label] { cursor: default; }

/* =====================
   COOKIES — Banner & Modal
   ===================== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: -320px; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #0E151E; color: #EAF7F2; border-top: 1px solid var(--stroke); box-shadow: 0 -10px 24px rgba(0,0,0,0.4); transition: bottom .35s ease; z-index: 1400; }
.cookie-banner.show { bottom: 0; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 10px 14px; }
.cookie-banner .btn.accept { background: var(--brand-primary); border-color: rgba(42,245,208,0.25); }
.cookie-banner .btn.reject { background: transparent; border-color: rgba(255,255,255,0.18); }
.cookie-banner .btn.settings { background: rgba(42,245,208,0.08); border-color: rgba(42,245,208,0.35); }

.cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 1500; }
.cookie-modal.show { display: flex; }
.cookie-modal .modal-card { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 640px; background: #0F1622; color: #EAF7F2; border: 1px solid var(--stroke); border-radius: 14px; padding: 20px; box-shadow: 0 20px 48px rgba(0,0,0,0.6); }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: 12px; }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Cookie toggles */
.cookie-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(21,33,50,0.7); border: 1px solid var(--stroke); border-radius: 12px; padding: 12px; }
.cookie-toggle .label { font-weight: 700; }
.switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #2B394D; border: 1px solid rgba(255,255,255,0.12); transition: background .2s ease; display: inline-flex; align-items: center; padding: 2px; }
.switch input { display: none; }
.switch .knob { width: 20px; height: 20px; background: #CBD7EF; border-radius: 50%; transform: translateX(0); transition: transform .2s ease, background .2s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.switch input:checked + .knob { transform: translateX(20px); background: var(--neon); box-shadow: 0 0 12px var(--neon); }

/* =====================
   STATES & INTERACTIONS
   ===================== */
.card, .text-section, .search-bar, .filter-bar, .map-placeholder { transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .text-section:hover, .search-bar:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.45); border-color: rgba(42,245,208,0.25); }

/* =====================
   FORMS (generic)
   ===================== */
input, select, textarea { width: 100%; padding: 12px; color: #EAF7F2; background: #121B28; border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; }
input::placeholder, textarea::placeholder { color: #8FA2A2; }

/* =====================
   PAGE-SPECIFIC TWEAKS
   ===================== */
/* Recipe filter/controls */
.filter-bar p { margin: 0; color: #DBEDEA; }
.pagination p { margin: 0; color: #CFE3DA; }

/* Footer text sections use tighter headings */
.site-footer h3 { font-size: 16px; margin: 0 0 6px 0; color: #FFFFFF; }

/* Map placeholder styling */
.map-placeholder h3 { margin-top: 0; }

/* =====================
   RESPONSIVE — Mobile-first
   ===================== */
@media (min-width: 560px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .hero { padding: 80px 0; }
}

@media (min-width: 768px) {
  /* Header: show desktop nav */
  .main-nav { display: flex; }
  .header-ctas { display: flex; }
  .mobile-menu-toggle { display: none; }
  .brand-tagline { order: 3; width: 100%; }

  /* Text-image sections alignment */
  .text-image-section { flex-direction: row; align-items: center; }

  /* Make content clusters row-based where suitable */
  .content-grid { justify-content: flex-start; }
  .hero-ctas { gap: 14px; }

  /* Footer columns row layout */
  .footer-cols { justify-content: space-between; }
}

@media (min-width: 992px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  .features-grid .text-section { flex: 1 1 300px; }
  .recipe-list .text-section { flex: 1 1 300px; }
}

/* =====================
   UTIL BORDERS & SEPARATORS
   ===================== */
.separator { width: 100%; height: 1px; background: var(--stroke); }

/* =====================
   TABLE-LIKE PREVIEW (no real tables in HTML)
   ===================== */
.table-like { display: flex; flex-direction: column; gap: 10px; }
.table-like .row { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; background: rgba(21,33,50,0.6); border: 1px solid var(--stroke); border-radius: 10px; }
.table-like .cell { flex: 1 1 140px; min-width: 120px; }

/* =====================
   SECTION HEADLINE DECOR
   ===================== */
main h2 { position: relative; padding-left: 14px; }
main h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--neon), var(--brand-primary)); box-shadow: 0 0 12px rgba(42,245,208,0.5); }

/* =====================
   COLOR CONTRAST GUARANTEES FOR TESTIMONIALS
   ===================== */
/* Ensures readable dark-on-light in any testimonial context */
.testimonial-card, .testimonial-card * { color: #0F1A24; }

/* =====================
   MANDATORY GAPS & SAFE SPACING
   ===================== */
/* Ensure min 20px between content cards */
.text-section, .testimonial-card, .card { margin-bottom: 20px; }
.content-wrapper { gap: 24px; }
.content-grid, .card-container, .recipe-list, .features-grid { gap: 20px; }

/* =====================
   PRINT BASICS
   ===================== */
@media print {
  .site-header, .site-footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #FFFFFF; color: #000; }
  a { color: #000; text-decoration: underline; }
}
