d/* ===============================
   Vivid Trail Stadtblick - style.css
   Industrial Modern Aesthetic
   Mobile-first, Flexbox-only layouts
   =============================== */

/* ---------------------------------
   1) CSS Reset & Base Normalize
----------------------------------- */
* { box-sizing: border-box; }
html { line-height: 1.4; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0 0 16px 20px; padding: 0; }
ul li, ol li { margin: 8px 0; }
a { background-color: transparent; text-decoration: none; color: inherit; }
img { border-style: none; display: block; max-width: 100%; height: auto; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
input, button, textarea, select { font: inherit; }

/* ---------------------------------
   2) Fonts & Variables
----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
  /* Brand */
  --brand-primary: #0E2D4F; /* Navy */
  --brand-secondary: #335D7E; /* Steel blue */
  --brand-accent: #F2F6FA; /* Light accent */

  /* Industrial Modern Palette */
  --bg: #0F1418;           /* Charcoal base */
  --surface: #141A1F;      /* Deep slate */
  --surface-2: #1B2228;    /* Graphite */
  --ink: #E6EDF3;          /* Light text */
  --muted: #A7B0B8;        /* Steel text */
  --steel: #9AA4AE;        /* Metallic gray */
  --divider: #2A3138;      /* Panel borders */
  --success: #33B07A;
  --danger: #D9534F;
  --warning: #E0A800;

  /* Shadows & Radii */
  --shadow-1: 0 2px 10px rgba(0,0,0,0.25);
  --shadow-2: 0 8px 24px rgba(0,0,0,0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Spacing scale */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-60: 60px;
}

/* ---------------------------------
   3) Base Typography & Body
----------------------------------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

h1, h2, h3 { font-family: 'Montserrat', 'Inter', Arial, sans-serif; font-weight: 700; color: #F5FAFF; }
h1 { font-size: 32px; line-height: 1.15; margin-bottom: var(--s-16); }
h2 { font-size: 24px; line-height: 1.25; margin-bottom: var(--s-16); }
h3 { font-size: 20px; line-height: 1.3; margin-bottom: var(--s-12); }

p { font-size: 16px; color: var(--ink); margin-bottom: var(--s-16); }
.small { font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--s-12); }
.subheadline { font-size: 18px; color: #D7E2EA; max-width: 60ch; }

strong { color: #FFFFFF; font-weight: 600; }

/* Links */
a { transition: color 0.2s ease, border-color 0.2s ease; }
a:hover { color: #86A9C6; }
a:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; border-radius: 2px; }

/* Lists */
ul { color: var(--ink); }
ul li { padding-left: 2px; }
.text-section ul { list-style: none; margin-left: 0; }
.text-section ul li { position: relative; padding-left: 20px; }
.text-section ul li::before { content: '◆'; position: absolute; left: 0; top: 0; color: #7E8B96; font-size: 10px; line-height: 1.6; }

/* ---------------------------------
   4) Global Layout Helpers (Flex-only)
----------------------------------- */
.container {
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
  max-width: 1160px;
  padding: 0 var(--s-20);
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-20);
  width: 100%;
}

/* Mandatory spacing pattern classes */
.section { margin-bottom: 60px; padding: 40px 20px; display: flex; flex-direction: column; gap: var(--s-20); }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-md); padding: var(--s-20); box-shadow: var(--shadow-1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.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; background: var(--brand-accent); color: #0F1418; border: 1px solid #D7DFE6; border-radius: var(--radius-md); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.testimonial-card p {
    color: black;
}
/* Ensure spacing between blocks */
main section {
    margin-bottom: var(--s-60);
}

/* ---------------------------------
   5) Header & Navigation
----------------------------------- */
header { position: sticky; top: 0; z-index: 1000; background: rgba(20, 26, 31, 0.85); backdrop-filter: blur(6px); border-bottom: 1px solid var(--divider); }
header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-16); padding: var(--s-12) 0; }

.logo img { height: 34px; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.3)); }

.main-nav { display: none; align-items: center; gap: var(--s-16); }
.main-nav a { color: #D5DEE6; padding: 8px 10px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.main-nav a:hover { color: #FFFFFF; border-color: var(--brand-secondary); }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #E8EEF4; border: 1px solid var(--divider); border-radius: 8px; background: var(--surface-2); box-shadow: var(--shadow-1); }
.mobile-menu-toggle:hover { background: #232B32; }

/* ---------------------------------
   6) Mobile Menu (overlay)
----------------------------------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: 86%; max-width: 420px; background: #0D1216; border-left: 1px solid var(--divider);
  transform: translateX(100%);
  transition: transform 0.3s ease; z-index: 1200;
  display: flex; flex-direction: column; gap: var(--s-16); padding: var(--s-20);
  box-shadow: -10px 0 24px rgba(0,0,0,0.4);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close { align-self: flex-end; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #E8EEF4; border: 1px solid var(--divider); border-radius: 8px; background: var(--surface-2); }
.mobile-menu-close:hover { background: #232B32; }

.mobile-nav { display: flex; flex-direction: column; gap: 8px; margin-top: var(--s-8); }
.mobile-nav a { display: flex; align-items: center; padding: 12px 10px; border: 1px solid var(--divider); border-radius: 10px; background: #12171C; color: #DCE5EC; }
.mobile-nav a:hover { background: #182027; color: #FFFFFF; }

/* Full-screen scrim when menu open (use body.menu-open to toggle) */
body.menu-open::after {
  content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100;
}

/* ---------------------------------
   7) Hero Sections
----------------------------------- */
.hero { background: linear-gradient(180deg, rgba(14,45,79,0.22) 0%, rgba(20,26,31,0.6) 100%), var(--surface); border-bottom: 1px solid var(--divider); }
.hero .content-wrapper { padding: var(--s-32) 0; }
.hero h1 { font-size: 30px; }
.hero .cta-group { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.hero .text-section { color: var(--muted); }

.trust-badges { width: 100%; }
.trust-badges .content-wrapper { display: flex; flex-direction: column; gap: var(--s-12); background: var(--surface-2); border: 1px solid var(--divider); border-radius: var(--radius-md); padding: var(--s-16); }
.trust-badges ul { display: flex; flex-wrap: wrap; gap: var(--s-12) var(--s-20); list-style: none; margin-left: 0; }
.trust-badges li { color: #D0D8DF; position: relative; padding-left: 18px; }
.trust-badges li::before { content: "▣"; color: #7E8B96; position: absolute; left: 0; top: 0; font-size: 11px; }

/* ---------------------------------
   8) Buttons & Interactive
----------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; letter-spacing: 0.02em; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.06s ease;
}

.btn-primary { background: var(--brand-primary); color: #FFFFFF; border-color: #0C2744; box-shadow: 0 4px 14px rgba(14,45,79,0.35); }
.btn-primary:hover { background: #12365F; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary { background: var(--surface-2); color: #E5EEF6; border-color: var(--divider); }
.btn-secondary:hover { background: #232B32; border-color: #3A434B; }
.btn-secondary:active { transform: translateY(1px); }

.btn-primary:focus-visible, .btn-secondary:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }

/* Inline link buttons inside light cards (e.g., testimonials) */
.testimonial-card .btn-primary, .testimonial-card .btn-secondary { color: #0F1418; border-color: #C7D3DD; background: #E9F0F7; }
.testimonial-card .btn-primary:hover { background: #DFE8F0; }

/* ---------------------------------
   9) Generic Sections & Text Blocks
----------------------------------- */
section .content-wrapper { background: transparent; }
.text-section { display: flex; flex-direction: column; gap: var(--s-12); color: #D7E0E7; }

/* ---------------------------------
   10) Footer
----------------------------------- */
footer { background: #0D1216; border-top: 1px solid var(--divider); padding: var(--s-32) 0; }
footer .content-wrapper { flex-direction: row; flex-wrap: wrap; gap: var(--s-24); }
.footer-brand, .footer-nav, .footer-contact, .footer-social, .footer-newsletter {
  display: flex; flex-direction: column; gap: var(--s-12); flex: 1 1 220px; min-width: 220px; }
.footer-nav a { color: #C9D3DB; padding: 6px 0; border-bottom: 2px solid transparent; width: fit-content; }
.footer-nav a:hover { color: #FFFFFF; border-color: var(--brand-secondary); }
.footer-social { flex-direction: row; align-items: center; gap: var(--s-12); }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--divider); border-radius: 8px; }
.footer-social a:hover { background: #232B32; }

/* ---------------------------------
   11) Testimonials (Light for contrast)
----------------------------------- */
/* Already defined .testimonial-card above with light background and dark text */
.testimonial-card p { margin: 0; }
.testimonial-card strong { color: #0F1418; }

/* ---------------------------------
   12) Forms (generic styles if added later)
----------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 12px 14px;
}
input::placeholder, textarea::placeholder { color: #87929B; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(51,93,126,0.25); }

/* ---------------------------------
   13) Cookie Consent Banner & Modal
----------------------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; transform: translateY(110%);
  background: #0D1216; color: #EAF1F7; border-top: 1px solid var(--divider);
  box-shadow: 0 -10px 24px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: var(--s-16); padding: var(--s-16) var(--s-20);
}
.cookie-banner.show { transform: translateY(0); transition: transform 0.35s ease; }
.cookie-banner .cookie-content { display: flex; flex-direction: column; gap: var(--s-12); }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.cookie-banner .btn-accept { composes: btn-primary; }
.cookie-banner .btn-reject, .cookie-banner .btn-settings { composes: btn-secondary; }
/* Fallback if composes not supported */
.cookie-banner .btn-accept { background: var(--brand-primary); color: #fff; border: 1px solid #0C2744; border-radius: 12px; padding: 10px 16px; }
.cookie-banner .btn-accept:hover { background: #12365F; }
.cookie-banner .btn-reject, .cookie-banner .btn-settings { background: var(--surface-2); color: #E5EEF6; border: 1px solid var(--divider); border-radius: 12px; padding: 10px 16px; }
.cookie-banner .btn-reject:hover, .cookie-banner .btn-settings:hover { background: #232B32; }

/* Cookie Modal */
.cookie-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1600; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cookie-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.cookie-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.98); background: #0F1418; color: #EAF1F7; border: 1px solid var(--divider); border-radius: var(--radius-lg); width: 92%; max-width: 720px; z-index: 1700; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease; display: flex; flex-direction: column; }
.cookie-modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--s-16) var(--s-20); border-bottom: 1px solid var(--divider); }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: var(--s-16); padding: var(--s-16) var(--s-20); }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: var(--s-12); padding: var(--s-16) var(--s-20); border-top: 1px solid var(--divider); }

/* Toggle switches for cookie categories */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); padding: 10px 0; }
.toggle-switch { width: 48px; height: 28px; border-radius: 20px; background: #2A3138; border: 1px solid #3A434B; position: relative; display: inline-flex; align-items: center; padding: 2px; transition: background 0.2s ease, border-color 0.2s ease; }
.toggle-switch::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #E8EEF4; transform: translateX(0); transition: transform 0.2s ease; }
.toggle-switch.on { background: var(--brand-secondary); border-color: #2B4E6B; }
.toggle-switch.on::after { transform: translateX(20px); }

/* ---------------------------------
   14) Media & Utilities
----------------------------------- */
.hr { height: 1px; background: var(--divider); width: 100%; }
.divider { border-top: 1px solid var(--divider); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--divider); border-radius: 20px; background: var(--surface-2); color: #D7E0E7; font-size: 12px; }

/* ---------------------------------
   15) Responsive (mobile-first)
----------------------------------- */
@media (min-width: 576px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}

@media (min-width: 768px) {
  .hero .content-wrapper { padding: var(--s-40) 0; }
  .subheadline { font-size: 20px; }
  .text-image-section { flex-direction: row; }
}

@media (min-width: 992px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

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

  .content-wrapper.row { flex-direction: row; }

  /* Footer tightening on desktop */
  footer .content-wrapper { gap: var(--s-32); }
}

/* ---------------------------------
   16) Page-specific enhancements
----------------------------------- */
/* Hero spacing across pages */
main > .hero .container { padding-top: var(--s-20); padding-bottom: var(--s-20); }

/* "Trust" bullets only on index where present */
.hero .trust-badges ul { gap: var(--s-8) var(--s-20); }

/* Contact lines */
.footer-contact p, .footer-newsletter p { color: #C7D0D8; }

/* ---------------------------------
   17) Accessibility & Focus states
----------------------------------- */
:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }

/* ---------------------------------
   18) Industrial Card accents
----------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-md); padding: var(--s-20); box-shadow: var(--shadow-1); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); padding-bottom: var(--s-12); border-bottom: 1px solid var(--divider); }
.panel-body { display: flex; flex-direction: column; gap: var(--s-12); padding-top: var(--s-12); }

/* ---------------------------------
   19) Images & Icons
----------------------------------- */
img[alt="LinkedIn"], img[alt="X"], img[alt="GitHub"] { filter: grayscale(100%) brightness(1.2); opacity: 0.9; transition: opacity 0.2s ease, filter 0.2s ease; }
.footer-social a:hover img { opacity: 1; filter: grayscale(0%) brightness(1); }

/* ---------------------------------
   20) Content safety: prevent overlap via spacing
----------------------------------- */
main .container + .container, section + section { margin-top: var(--s-20); }

/* ---------------------------------
   21) Tables (if any appear)
----------------------------------- */
table { width: 100%; border-collapse: collapse; background: var(--surface); color: var(--ink); border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; display: block; }
thead { background: #12171C; color: #E9F0F7; display: block; }
tbody { display: block; }
tr { display: flex; flex-wrap: nowrap; }
th, td { flex: 1 1 160px; padding: 12px 14px; border-bottom: 1px solid var(--divider); }

/* ---------------------------------
   22) Utility classes
----------------------------------- */
.hidden { display: none !important; }
.centered { display: flex; align-items: center; justify-content: center; }
.row { display: flex; flex-direction: row; gap: var(--s-20); flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: var(--s-12); }

/* ---------------------------------
   23) Page element fine-tuning
----------------------------------- */
/* Improve readability for long legal pages */
main section .text-section p, main section .text-section li { max-width: 75ch; }

/* Spacing for CTA groups within sections */
section .cta-group { display: flex; flex-wrap: wrap; gap: var(--s-12); }

/* Footer brand text color */
.footer-brand p { color: #B9C3CB; }

/* ---------------------------------
   24) Print tweaks (basic)
----------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* End of style.css */
