﻿/* ===================================================
   IAMCP Illuminate – Brand CSS
   Light theme matching IAMCP re:think 2026 branding
   White background, orange-dominant headings & accents
   =================================================== */

:root {
  /* Brand palette – matched from iamcp.de/iamcp-rethink2026 */
  --primary: #01A3EE;
  --primary-hover: #018FD4;
  --primary-dark: #0177B0;
  --accent-orange: #F15022;
  --accent-orange-hover: #D9471E;
  --accent-orange-light: #FFB801;
  --secondary-blue: #01A3EE;
  --iamcp-yellow: #FFB801;
  --iamcp-green: #7FB900;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F7F8FA;
  --bg-break: #FEF9EE;
  --bg-card: #FFFFFF;
  --bg-footer: #2C2C2C;

  /* Text */
  --text-dark: #1A1A1A;
  --text-body: #555555;
  --text-light: #888888;
  --text-white: #FFFFFF;

  /* Borders */
  --border-light: #E5E7EB;
  --border-accent: rgba(1, 163, 238, 0.3);

  /* Font – clean sans-serif matching the IAMCP site */
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-pad: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 6vw, 6rem);
  --nav-height: 74px;
  --max-width: 1100px;
}

/* ── RESET ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.75rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.75;
}

li {
  margin-bottom: 0.4rem;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text-dark);
}

.d-none {
  display: none;
}

/* ── NAVIGATION ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1rem, calc((100% - var(--max-width)) / 2));
  height: var(--nav-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border-top: 3px solid transparent;
  border-image: linear-gradient(to right, #F15022, #FFB801, #7FB900, #01A3EE) 1;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.nav-logo {
  height: 62px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
  border-radius: 24px !important;
  padding: 0.5rem 1.4rem !important;
  transition: background 0.2s !important;
  font-size: 0.9rem !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
}

/* ── CONTENT WRAPPER ─────────────────────────────── */
.content-wrapper {
  padding-top: var(--nav-height);
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
  background: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 24px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* ── SECTION DEFAULTS ────────────────────────────── */
section {
  max-width: var(--max-width);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 100%;
  padding: calc(var(--nav-height) + 3rem) max(1rem, calc((100% - var(--max-width)) / 2)) 0.5rem;
  background: var(--bg-white);
  margin-bottom: 1rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0rem;
}

.hero-media {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── TEXT + IMAGE SECTION ────────────────────────── */
.textimage {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--bg-white);
}

.textimage.reverse {
  flex-direction: row-reverse;
}

.textimage-text {
  flex: 1;
  min-width: 0;
}

.textimage h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.textimage-media {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
}

.textimage-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem clamp(1.5rem, 5vw, 6rem) 1.5rem;
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.7);
}

.footer-extra-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

/* ── FADE-IN ANIMATIONS ──────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Navigation */
  .nav-logo {
    height: 42px;
  }

  .nav-links {
    gap: 0.1rem;
  }

  .nav-cta {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.8rem !important;
  }

  /* Content */
  .hero {
    flex-direction: column;
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero-media {
    order: -1;
  }

  .textimage {
    flex-direction: column;
    padding: 2rem clamp(2rem, 6vw, 6rem);
  }

  .textimage.reverse {
    flex-direction: column;
  }

  .textimage-media {
    order: -1;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
  }

  /* Navigation */
  .nav-logo {
    height: 44px;
  }

  .nav-cta {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.75rem !important;
  }

  /* Content */
  .hero h1 {
    font-size: 1.8rem;
  }
}


/*  IAMCP BRAND ACCENT SHAPES  */
.hero-media {
  position: relative;
}

.hero-media::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--iamcp-yellow);
  bottom: -20px;
  left: -20px;
  z-index: -1;
  opacity: 0.8;
}

.hero-media::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--iamcp-green);
  top: -15px;
  right: -15px;
  z-index: -1;
  opacity: 0.8;
}