/* Aeon Venture Tech Expo — Monochrome Sophisticated UI
   Complete CSS styles for all pages with mobile menu and cookie banner
   Notes:
   - Mobile-first, flexbox-only layouts
   - Strong black/white/gray palette, elegant typography
   - No CSS Grid or Columns properties used
*/

/* ==========================
   0) RESET & ROOT TOKENS
========================== */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

:root {
  /* Monochrome palette */
  --mono-0: #000000;
  --mono-10: #0f0f0f;
  --mono-15: #171717;
  --mono-20: #1a1a1a;
  --mono-30: #2a2a2a;
  --mono-40: #333333;
  --mono-60: #666666;
  --mono-75: #9a9a9a;
  --mono-85: #c7c7c7;
  --mono-92: #e3e3e3;
  --mono-96: #f0f0f0;
  --mono-98: #f7f7f7;
  --mono-99: #fbfbfb;

  --bg: var(--mono-98);
  --surface: #ffffff;
  --surface-contrast: var(--mono-10);
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e9e9e9;

  /* Shadows & radii */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --normal: 260ms;
  --slow: 380ms;
}

/* ==========================
   1) TYPOGRAPHY
========================== */
body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; /* brand body */
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; /* brand display */
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.015em;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; margin-top: 8px; }
h3 { font-size: 20px; }

p { margin: 0 0 16px 0; color: var(--text); }
small, .muted { color: var(--muted); }
strong { font-weight: 700; color: var(--text); }

/* Links */
a { color: var(--text); text-decoration: none; position: relative; transition: color var(--fast) var(--ease); }
a:hover { color: var(--mono-0); }
a:focus-visible { outline: 2px solid var(--mono-0); outline-offset: 3px; border-radius: 4px; }

/* Lists: minimalist, no default bullets for crisp aesthetic */
.text-section ul, .text-section ol {
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul li, .text-section ol li {
  margin: 0;
  padding: 0;
}
/* When list items include icons, align nicely */
.text-section ul li img { width: 20px; height: 20px; margin-right: 10px; }
.text-section ul li { display: flex; align-items: center; gap: 10px; }
.text-section ol { counter-reset: step; }
.text-section ol li {
  display: flex; align-items: flex-start; gap: 10px;
}
.text-section ol li::before {
  counter-increment: step;
  content: counter(step) ".";
  color: var(--mono-40);
  min-width: 24px;
}

/* ==========================
   2) LAYOUT PRIMITIVES
========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section { padding: 40px 0; }

/* Mandatory spacing classes */
.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; }

/* ==========================
   3) HEADER & NAVIGATION
========================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header .container { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo img { height: 28px; width: auto; }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.main-nav a:hover { background: var(--mono-96); transform: translateY(-1px); }

.header-cta { display: none; align-items: center; gap: 10px; }
.header-cta a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--mono-10);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.header-cta a:hover { background: var(--mono-0); transform: translateY(-1px); }

/* Mobile burger */
.mobile-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--mono-10); color: #fff;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.mobile-menu-toggle:hover { background: var(--mono-0); transform: translateY(-1px); }

/* Mobile slide-over menu */
.mobile-menu {
  position: fixed; inset: 0; /* top/right/bottom/left:0 */
  background: var(--surface-contrast);
  color: #fff;
  transform: translateX(100%);
  transition: transform var(--normal) var(--ease);
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px;
  z-index: 1500;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 8px;
  background: #ffffff12; color: #fff;
}
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 48px;
  padding: 10px 8px; border-radius: 8px;
  color: #fff; background: transparent;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.mobile-nav a:hover { background: #ffffff10; transform: translateX(2px); }

body.no-scroll { overflow: hidden; }

/* ==========================
   4) HERO SECTIONS
========================== */
.hero { background: var(--surface-contrast); color: #fff; }
.hero h1, .hero p, .hero a { color: #fff; }
.hero .container { gap: 24px; }
.hero .content-wrapper { max-width: 900px; }
.hero .text-section p { color: #ededed; }

/* CTA groups (buttons) */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-group a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 700; letter-spacing: 0.01em;
  background: #fff; color: #000;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.cta-group a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Secondary ghost style: apply to the second link by default */
.cta-group a + a { background: transparent; color: #fff; border: 1px solid #ffffff66; }
.cta-group a + a:hover { background: #ffffff10; }

/* ==========================
   5) GENERIC SECTIONS & CARDS
========================== */
/* Light content sections */
main section:not(.hero) { background: transparent; }

.text-section { display: flex; flex-direction: column; gap: 12px; }

/* Testimonial cards: light for readability (dark text on light bg) */
.testimonial-card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonial-card p { margin: 0; }

/* Generic card base for future components */
.card {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Feature item */
.feature-item h3 { margin-bottom: 4px; }

/* Content grid helper */
.content-grid > * { flex: 1 1 280px; min-width: 260px; }

/* Text-image sections */
.text-image-section > * { flex: 1 1 320px; }

/* FAQ section accent (kept monochrome) */
.faq .text-section h3 { margin-top: 8px; }

/* ==========================
   6) FOOTER
========================== */
.site-footer { background: var(--surface-contrast); color: #eaeaea; }
.site-footer a { color: #eaeaea; }
.site-footer p, .site-footer h3 { color: #eaeaea; }
.site-footer a:hover { color: #ffffff; }
.site-footer section { padding: 50px 0; }
.site-footer  img.js-lazy.lazy-loaded {filter: invert(1);}
.site-footer .content-wrapper {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start;
}
.site-footer .text-section { max-width: 360px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.site-footer nav a {
  padding: 8px 10px; border-radius: 6px; background: transparent;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.site-footer nav a:hover { background: #ffffff12; transform: translateY(-1px); }
.site-footer .logo img { filter: invert(1); height: 28px; }

/* ==========================
   7) BUTTONS & INTERACTIVES
========================== */
.button, .btn, .header-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.button, .btn {
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--mono-10); color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.button:hover, .btn:hover { background: var(--mono-0); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button:focus-visible, .btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Inline links emphasis */
.text-section a { border-bottom: 1px solid #00000020; padding-bottom: 1px; }
.text-section a:hover { border-bottom-color: #000000; }

/* ==========================
   8) RESPONSIVE & FLEX RULES
========================== */
@media (min-width: 768px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }

  .text-image-section { flex-direction: row; align-items: center; }

  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }

  .logo img { height: 32px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  .container { gap: 24px; }
  .content-wrapper { gap: 24px; }
}

/* ==========================
   9) ACCESSIBILITY & STATES
========================== */
:focus-visible { outline: 2px solid var(--mono-0); outline-offset: 3px; }
::selection { background: var(--mono-10); color: #fff; }

/* ==========================
   10) UTILS & SPACING
========================== */
.hr-line { width: 100%; height: 1px; background: var(--line); }
.centered { display: flex; align-items: center; justify-content: center; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }

/* Ensure minimum spacing between content blocks */
main section + section { margin-top: 20px; }

/* ==========================
   11) MOBILE MENU ANIMATIONS
========================== */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); } to { transform: translateX(0); }
}
.mobile-menu.open { animation: slideInRight var(--normal) var(--ease); }

/* ==========================
   12) COOKIE CONSENT BANNER & MODAL
========================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  background: var(--mono-10); color: #fff;
  border-top: 1px solid #ffffff1a;
  transform: translateY(100%);
  transition: transform var(--normal) var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container {
  flex-direction: column; gap: 12px; padding-top: 16px; padding-bottom: 16px;
}
.cookie-banner .cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .cookie-buttons button,
.cookie-banner .cookie-buttons a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 8px;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.cookie-banner .btn-accept { background: #fff; color: #000; }
.cookie-banner .btn-accept:hover { transform: translateY(-1px); }
.cookie-banner .btn-reject { background: #ffffff14; color: #fff; border: 1px solid #ffffff33; }
.cookie-banner .btn-reject:hover { background: #ffffff22; transform: translateY(-1px); }
.cookie-banner .btn-settings { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Cookie modal overlay */
.cookie-modal {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(0,0,0,0.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal.open { display: flex; animation: fadeIn var(--normal) var(--ease); }
.cookie-modal .cookie-modal-content {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 720px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px;
}
.cookie-options { display: flex; flex-direction: column; gap: 12px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
.cookie-actions .btn-accept { background: var(--mono-10); color: #fff; }
.cookie-actions .btn-accept:hover { background: var(--mono-0); }

/* ==========================
   13) PAGE-SPECIFIC TOUCHES
========================== */
/* Hero variants already handled. Ensure inner containers don't overflow. */
.hero .content-wrapper { padding: 10px 0; }

/* Contact rows spacing with icons */
.text-section ul li a { color: inherit; border-bottom: 1px solid #00000020; }
.text-section ul li a:hover { border-bottom-color: #000; }

/* Headlines rhythm in stacked sections */
.content-wrapper > h2 { margin-top: 8px; }

/* ==========================
   14) PRINT (optional minimal)
========================== */
@media print {
  .site-header, .site-footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  a { text-decoration: underline; }
  body { background: #fff; }
}
