/* Voetje voor Voetje - Stitch Layout (Screenshot Match) */

:root {
  --color-primary: #CC0605;
  /* RAL 3020 */
  --color-primary-dark: #A00504;
  --color-text-main: #1D1D1F;
  --color-text-muted: #6E6E73;
  --color-white: #FFFFFF;
  --color-off-white: #F5F5F7;
  --color-bg-card: #FFFFFF;

  --font-header: 'Harlow Solid Italic', cursive, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  --shadow-floating: 0 20px 40px rgba(0, 0, 0, 0.15);

  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-xs: 4px;
  --radius-pill: 100px;
}

/* Reset & Base_ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

h1,
h2 {
  font-family: var(--font-header);
  font-weight: normal;
  color: var(--color-text-main);
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Links within article content - make them visible */
.article-content a,
.card-body a,
main p a,
main li a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.article-content a:hover,
.card-body a:hover,
main p a:hover,
main li a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* Image Alignment Utilities */
.img-left {
  float: left !important;
  margin-right: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.img-right {
  float: right !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.img-center {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.5rem !important;
  float: none !important;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* --- HEADER (Removed to prevent conflicts with Tailwind header) --- */
/* 
header {
  padding: 1rem 0;
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}
*/

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-header);
  color: var(--color-primary);
  font-size: 2.5rem;
  line-height: 1;
}

.logo img {
  height: 30px;
}

/* @font-face local font */
@font-face {
  font-family: 'Harlow Solid Italic';
  src: url('../font/harlow-solid-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Icon placeholder */

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

nav a:hover,
nav a.active {
  color: var(--color-primary);
} */

.btn-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  /* Slightly squared pill as per screenshot */
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- HERO SECTION --- */
/* --- HERO SECTION --- */
.hero-section-full {
  position: relative;
  height: 600px;
  /* Taller hero */
  margin-top: 1rem;
  width: 100%;
  overflow: visible;
  /* Allow floating card to pop out */
  margin-bottom: 6rem;
  /* Space for floating card */
}

/* Ensure inner container has height to center content */
.hero-content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* Removed border-radius for full width effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 800px;
  font-family: 'Inter', sans-serif;
  /* Screenshot uses bold sans for title? Or sticking to Harlow? Screenshot looked like thick sans */
  font-weight: 800;
  /* Overriding Harlow for hero title to match "Wandel je met ons mee?" bold look */
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-secondary {
  background: rgba(30, 30, 30, 0.8);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Floating Card */
.floating-card {
  position: absolute;
  top: 85%;
  left: 0;
  transform: none;
  width: 100%;
  max-width: none;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  gap: 2rem;
}

.date-box {
  background: #FFE5E5;
  /* Light red */
  color: var(--color-primary);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  min-width: 80px;
}

.date-box .month {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.date-box .day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.date-box .weekday {
  font-size: 0.7rem;
}

.walk-info {
  flex: 1;
}

.tag {
  font-size: 0.7rem;
  font-weight: bold;
  background: #E0F7FA;
  color: #006064;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.walk-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.walk-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-box {
  text-align: center;
  border-left: 1px solid #eee;
  padding-left: 1.5rem;
}

.temp {
  font-size: 1.2rem;
  font-weight: bold;
}

.weather-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.details-link {
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- ABOUT SECTION --- */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 6rem 0;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.members-badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.badge-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  display: block;
}

.badge-label {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.about-content h2 {
  font-size: 3.5rem;
  /* Bigger H2 as requested */
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

/* "OVER ONZE CLUB" Tag */
.section-tag {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
}

.about-tags {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.about-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  border: 1px solid #eee;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- AGENDA GRID --- */
.agenda-section {
  margin-bottom: 6rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.agenda-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill {
  background: white;
  border: 1px solid #eee;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Over image? No, screenshot shows white pill on image */
.pill-on-img {
  position: absolute;
  margin: 1rem;
  background: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
  /* Truncate text after 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-card {
  text-align: center;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: white;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

.btn-card.highlight {
  background: #FFF5F5;
  border-color: #FED7D7;
}

/* --- FOOTER --- */
footer {
  background: var(--color-off-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 500px;
    padding-bottom: 4rem;
  }

  .floating-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -3rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .walk-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .members-badge {
    right: 0;
    bottom: -1rem;
  }

  .nav-wrapper nav {
    display: none;
  }

  /* Hide desktop nav */
  /* Hamburger logic from previous step is still valid, reuse classes */
}