/* =====================================================
   Lunar Oratoria — style.css
   Design style: soft_pastel (pastel colors, gentle, dreamy)
   Brand: Navy (#0B1F3B), Gold (#CDA349), Accent (#F4F7FB)
   Mobile-first. ONLY Flexbox.
   ===================================================== */

/* --------------------
   1) Reset & Normalize
   -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.4; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding-left: 20px; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { font: inherit; background: none; border: none; padding: 0; cursor: pointer; }
:focus { outline: 2px solid #CDA349; outline-offset: 2px; }
::selection { background: #FFE9E0; color: #0B1F3B; }

/* --------------------
   2) Theme Variables
   -------------------- */
:root {
  --brand-primary: #0B1F3B; /* navy */
  --brand-secondary: #CDA349; /* gold */
  --brand-accent: #F4F7FB; /* very light */

  /* Soft pastel palette */
  --pastel-rose: #FBE7E7;
  --pastel-lavender: #EDE7FB;
  --pastel-mint: #E6F7F2;
  --pastel-sky: #E6F0FB;
  --pastel-peach: #FFE9E0;
  --pastel-cream: #FFF7EE;
  --ink: #0B1F3B; /* dark text */
  --muted: #5B6B84; /* supporting text */
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-soft: 0 6px 20px rgba(11,31,59,0.08);
  --shadow-hover: 0 10px 28px rgba(11,31,59,0.12);

  --space-8: 8px;  --space-12: 12px;  --space-16: 16px;  --space-20: 20px;  --space-24: 24px;
  --space-30: 30px; --space-32: 32px; --space-40: 40px; --space-48: 48px; --space-60: 60px;
}

/* --------------------
   3) Base typography
   -------------------- */
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif; /* brand body */
  font-size: 16px; color: var(--ink);
  background: var(--brand-accent);
}
h1, .h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; line-height: 1.2; letter-spacing: 0.2px; }
h2, .h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; line-height: 1.25; }
h3, .h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.3; }
p { font-size: 16px; color: var(--ink); }
.small { font-size: 14px; color: var(--muted); }
strong { font-weight: 700; }

/* --------------------
   4) Layout helpers (ONLY Flex)
   -------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; }
.content-wrapper { display: flex; flex-direction: column; gap: var(--space-20); }
.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; }

/* Ensure minimum spacing between all content blocks */
section { margin-bottom: var(--space-60); }
section > .container > .content-wrapper > * + * { margin-top: 0; }

/* --------------------
   5) Header & Navigation
   -------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: var(--shadow-soft); }
.site-header .container { padding-top: 12px; padding-bottom: 12px; }
.site-header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-20); }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { color: var(--ink); padding: 8px 10px; border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease; }
.main-nav a:hover { background: var(--pastel-sky); color: var(--brand-primary); }

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

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--pastel-lavender); color: var(--ink); box-shadow: var(--shadow-soft); transition: transform 0.2s ease, background 0.2s ease; }
.mobile-menu-toggle:hover { transform: scale(1.03); background: var(--pastel-sky); }

/* Mobile Menu Overlay */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--pastel-cream); display: flex; flex-direction: column; padding: 20px; gap: 20px; transform: translateX(100%); transition: transform 0.35s ease; box-shadow: var(--shadow-soft); }
.mobile-menu.open, .mobile-menu.active, .mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; width: 40px; height: 40px; border-radius: 12px; background: var(--pastel-peach); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); }
.mobile-nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.mobile-nav a:hover { background: var(--pastel-sky); }

/* --------------------
   6) Buttons
   -------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 14px; font-weight: 700; border: 1px solid transparent; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.06s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand-secondary); color: var(--ink); border-color: var(--brand-secondary); box-shadow: var(--shadow-soft); }
.btn.primary:hover { background: #d8b364; box-shadow: var(--shadow-hover); }
.btn.secondary { background: var(--white); color: var(--ink); border-color: var(--brand-primary); box-shadow: var(--shadow-soft); }
.btn.secondary:hover { background: var(--pastel-sky); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --------------------
   7) Hero Sections
   -------------------- */
.hero { background: var(--pastel-cream); border-bottom: 1px solid #eef2f7; }
.hero .content-wrapper { align-items: center; text-align: center; padding: var(--space-40) 0; }
.hero h1 { font-size: 28px; }
.hero p { color: var(--muted); max-width: 800px; }
.hero .background-overlay { position: absolute; inset: 0; border-radius: 0; background: transparent; pointer-events: none; }

/* index specific value pills */
.value-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { display: inline-flex; align-items: center; padding: 8px 12px; background: var(--pastel-sky); color: var(--ink); border-radius: 999px; border: 1px solid rgba(11,31,59,0.08); box-shadow: var(--shadow-soft); font-size: 14px; }

/* --------------------
   8) Feature blocks & Lists
   -------------------- */
.features { background: var(--white); border: 1px solid rgba(11,31,59,0.05); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.features .content-wrapper { padding: var(--space-24) 0; }
.feature-grid, .service-list, .testimonial-list, .post-list, .case-study-list, .formats-list { display: flex; flex-wrap: wrap; gap: 20px; }

.feature-item { flex: 1 1 260px; background: var(--pastel-sky); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-soft); transition: box-shadow 0.2s ease, transform 0.12s ease; }
.feature-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.feature-item img { width: 34px; height: 34px; }

.stats-counters, .rating-summary, .success-indicators, .numbers-stats, .outcomes-metrics { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--ink); }
.stats-counters p strong, .numbers-stats strong, .outcomes-metrics strong { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; }

/* Case studies & articles */
.case-study-item, .post-list article { flex: 1 1 280px; background: var(--pastel-rose); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 10px; }
.post-list article a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------
   9) Services & About sections
   -------------------- */
.services .content-wrapper, .about .content-wrapper { gap: var(--space-24); }
.service-item { flex: 1 1 280px; background: var(--pastel-mint); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-soft); }
.service-categories, .add-ons, .deliverables, .process-overview, .use-cases, .roi-benefits, .industry-use-cases, .audience-sizes, .industry-specializations, .language-options, .content-alignment, .measurement-approach, .risk-management-practices, .what-to-prepare, .issue-reporting, .resource-links, .calendar-booking, .newsletter-cta, .sectors-served { display: flex; flex-direction: column; gap: 10px; background: var(--pastel-cream); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-soft); }

/* Ordered process lists */
.process-steps, .curation-process, .next-steps-list { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }

/* --------------------
   10) Testimonials (readable: dark text on light bg)
   -------------------- */
.testimonials { background: var(--white); border: 1px solid rgba(11,31,59,0.05); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.testimonial-list { gap: 20px; }
.testimonial-card { flex: 1 1 300px; background: var(--pastel-lavender); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 20px; align-items: flex-start; box-shadow: var(--shadow-soft); color: var(--ink); }
.testimonial-card p { color: var(--ink); }

/* --------------------
   11) Contact blocks
   -------------------- */
.contact .content-wrapper { background: var(--pastel-mint); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-lg); padding: var(--space-24); box-shadow: var(--shadow-soft); }
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-details p { display: flex; align-items: center; gap: 10px; }
.contact-details a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.map-note { background: var(--pastel-cream); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 12px; }

/* --------------------
   12) Footer
   -------------------- */
.site-footer { background: var(--pastel-sky); border-top: 1px solid rgba(11,31,59,0.08); }
.site-footer section { padding: 30px 0; margin: 0; }
.site-footer .content-wrapper { flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer-brand, .footer-nav, .footer-contact, .footer-social { display: flex; flex-direction: column; gap: 10px; flex: 1 1 220px; background: var(--white); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-soft); }
.footer-nav a { color: var(--ink); padding: 6px 0; }
.footer-nav a:hover { color: var(--brand-primary); }
.newsletter-note { display: flex; flex-direction: column; gap: 8px; background: var(--pastel-cream); border: 1px solid rgba(11,31,59,0.06); border-radius: 12px; padding: 12px; }

/* --------------------
   13) Utility & Content specifics
   -------------------- */
.categories-filter, .search-hint, .tags-cloud, .rating-summary, .success-indicators { background: var(--pastel-cream); border: 1px solid rgba(11,31,59,0.06); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-soft); }

/* Make text-image sections vertical on mobile */
.text-image-section { flex-direction: column; }

/* Align headings spacing */
section h2 { margin-bottom: 4px; }
section h3 { color: var(--brand-primary); }

/* ----------------------------------
   14) Cookie Consent Banner & Modal
   ---------------------------------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--white); border: 1px solid rgba(11,31,59,0.12); border-radius: 14px; box-shadow: var(--shadow-hover); transform: translateY(120%); transition: transform 0.35s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-text { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 10px 14px; }
.cookie-banner .btn.settings { border-color: var(--brand-primary); background: var(--pastel-sky); }

/* Cookie modal (overlay) */
.cookie-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11,31,59,0.35); }
.cookie-modal.open { display: flex; }
.cookie-modal .modal { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 640px; background: var(--white); border: 1px solid rgba(11,31,59,0.12); border-radius: 16px; box-shadow: var(--shadow-hover); padding: 16px; }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: 10px; background: var(--pastel-cream); border: 1px solid rgba(11,31,59,0.06); border-radius: 12px; padding: 12px; }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: var(--pastel-sky); border: 1px solid rgba(11,31,59,0.12); }

/* --------------------
   15) Micro-interactions
   -------------------- */
a, .btn, .mobile-nav a, .main-nav a { transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease; }
.card, .feature-item, .service-item, .testimonial-card, .post-list article, .case-study-item { transition: transform 0.12s ease, box-shadow 0.2s ease; }
.card:hover, .post-list article:hover, .case-study-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* --------------------
   16) Responsive (mobile-first)
   -------------------- */
@media (min-width: 600px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 36px; }
}

@media (min-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  .hero .content-wrapper { padding: var(--space-48) 0; }
  .text-image-section { flex-direction: row; align-items: center; }
}

@media (min-width: 992px) {
  /* Show desktop navigation */
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }

  /* Multi-column-like via flex-wrap */
  .feature-grid .feature-item, .service-list .service-item, .testimonial-list .testimonial-card, .post-list article, .case-study-item { flex: 1 1 calc(33% - 20px); }

  .hero .content-wrapper { padding: 64px 0; }
}

/* --------------------
   17) Page-specific gentle accents
   -------------------- */
/* Soft backgrounds per section type to reinforce soft_pastel */
.features { background: var(--white); }
.services { background: var(--pastel-cream); }
.about { background: var(--pastel-sky); }
.testimonials { background: var(--white); }
.contact { background: var(--white); }

/* --------------------
   18) Misc content styles
   -------------------- */
ol, ul { display: flex; flex-direction: column; gap: 8px; }
li { color: var(--ink); }
hr { border: 0; height: 1px; background: rgba(11,31,59,0.08); margin: 24px 0; display: block; }

/* --------------------
   19) Prevent overlaps & ensure gaps
   -------------------- */
section > .container > .content-wrapper { gap: 20px; }
section .content-wrapper > * { margin: 0; }

/* --------------------
   20) Accessibility & Contrast tweaks
   -------------------- */
.hero p, .about p, .services p, .features p { color: var(--ink); }
.testimonials .testimonial-card { color: var(--ink); }
.footer-nav a:focus, .main-nav a:focus, .mobile-nav a:focus, .btn:focus { box-shadow: 0 0 0 3px rgba(205,163,73,0.35); border-radius: 12px; }

/* --------------------
   21) Decorative only (no absolute on content)
   -------------------- */
/* background-overlay already decorative; ensure it stays behind */
.hero { position: relative; overflow: hidden; }
.hero .background-overlay { z-index: 0; opacity: 0.0; }
.hero .content-wrapper, .site-header, .site-footer, main { position: relative; z-index: 1; }

/* --------------------
   22) Polish language-friendly typography trims
   -------------------- */
.hanging-punctuation { padding-left: 0.05em; }

/* End of stylesheet */
