/* 
   Stylesheet for Samen voor Gelderland
   Creative design with monochromatic navy palette
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
  --navy-900: #0f1b33;
  --navy-800: #1a2d52;
  --navy-700: #253f6e;
  --navy-600: #30518a;
  --navy-500: #3b63a6;
  --navy-400: #5980bf;
  --navy-300: #7e9fd4;
  --navy-200: #a8c0e4;
  --navy-100: #d3dff2;
  --navy-50: #edf2fa;
  --cream: #f9f7f4;
  --warm-white: #fefdfb;
  --text-dark: #1c1c1c;
  --text-body: #3a3a3a;
  --text-muted: #6b6b6b;
  --gold-accent: #c9a54e;
  --radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--text-body);
  line-height: 1.75;
  background-color: var(--warm-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--navy-400);
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-800);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }

/* -- Info Banner -- */
.info-ribbon {
  background: var(--navy-700);
  color: var(--navy-100);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.info-ribbon a {
  color: var(--gold-accent);
  font-weight: 600;
  text-decoration: underline;
}

.info-ribbon a:hover {
  color: #e0c06a;
}

/* -- Site Header -- */
.site-masthead {
  background: var(--warm-white);
  border-bottom: 1px solid var(--navy-100);
  position: relative;
  z-index: 100;
}

.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo svg {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-800);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 0.35rem 0;
  position: relative;
  font-weight: 500;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy-500);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* -- Hero Section (Split) -- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--cream) 100%);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 5rem;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--navy-800);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* -- Ghost Buttons -- */
.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--navy-600);
  color: var(--navy-600);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy-600);
  color: white;
}

.btn-outline-light {
  border-color: var(--navy-200);
  color: var(--navy-200);
}

.btn-outline-light:hover {
  background: var(--navy-200);
  color: var(--navy-800);
}

/* -- Section Layouts -- */
.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-block {
  padding: 4.5rem 0;
}

.section-block--shaded {
  background: var(--navy-50);
}

.section-block--dark {
  background: var(--navy-800);
  color: var(--navy-100);
}

.section-block--dark h2,
.section-block--dark h3 {
  color: white;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  display: inline-block;
  position: relative;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold-accent);
  margin: 0.75rem auto 0;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* -- Hover Lift Cards -- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lift-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--navy-100);
}

.lift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(15, 27, 51, 0.1);
}

.lift-card-body {
  padding: 1.75rem;
}

.lift-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.lift-card-body h3 a {
  color: var(--navy-800);
}

.lift-card-body h3 a:hover {
  color: var(--navy-500);
}

.lift-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* -- Team Preview -- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.team-member {
  padding: 1.5rem 1rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--navy-100);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar svg {
  width: 60%;
  height: 60%;
}

.team-member h4 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* -- Standpunten / Topics -- */
.topics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.topic-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.topic-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--navy-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topic-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--navy-600);
}

.topic-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.topic-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* -- Site Footer -- */
.site-footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: 3.5rem 0 0;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-col h4 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--navy-300);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-col ul a {
  color: var(--navy-300);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--navy-400);
  margin: 0;
}

/* -- Cookie Notice (corner popup) -- */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  background: var(--navy-800);
  color: var(--navy-100);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 9999;
  font-size: 0.88rem;
  line-height: 1.55;
  display: none;
}

.cookie-popup.visible {
  display: block;
}

.cookie-popup p {
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-accept {
  padding: 0.5rem 1.25rem;
  background: var(--gold-accent);
  color: var(--navy-900);
  border: none;
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept:hover {
  background: #d4b35a;
}

.cookie-decline {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--navy-200);
  border: 1px solid var(--navy-400);
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.cookie-decline:hover {
  border-color: white;
  color: white;
}

/* -- Responsive -- */
@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 3rem 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    padding: 0 2rem 3rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .topics-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--navy-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--navy-50);
  }

  .menu-toggle {
    display: block;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-block {
    padding: 3rem 0;
  }

  .cookie-popup {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.85rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .masthead-inner {
    padding: 0.75rem 1rem;
  }
}
