/* ============================================
   SLOW FOOD NEDERLAND — Gedeelde Styles
   ============================================ */

/* --- Fonts (lokaal gehost) --- */
@font-face {
  font-family: 'block-berthold';
  src: url('/assets/fonts/block-berthold-regular-webfont.woff2') format('woff2'),
       url('/assets/fonts/block-berthold-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sf-gthm-Book';
  src: url('/assets/fonts/sf-gthm-Book.woff2') format('woff2'),
       url('/assets/fonts/sf-gthm-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sf-gthm-Bold';
  src: url('/assets/fonts/sf-gthm-Bold.woff2') format('woff2'),
       url('/assets/fonts/sf-gthm-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sf-gthm-Medium';
  src: url('/assets/fonts/sf-gthm-Medium.woff2') format('woff2'),
       url('/assets/fonts/sf-gthm-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sf-gthm-Light';
  src: url('/assets/fonts/sf-gthm-Light.woff2') format('woff2'),
       url('/assets/fonts/sf-gthm-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'sf-gthm-Book', Helvetica, Arial, Lucida, sans-serif;
  color: #000;
  background-color: #fbfaf6;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #ce001a;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a00015;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'block-berthold', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 300;
  line-height: 1.3;
  text-transform: uppercase;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  height: 84px;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 10px 12px;
  color: #000;
  font-family: 'sf-gthm-Book', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  border-right: 1px solid #ddd;
  transition: color 0.2s;
}

.main-nav > ul > li:last-child > a {
  border-right: none;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active,
.main-nav > ul > li.active-parent > a {
  color: #ce001a;
}

.main-nav > ul > li.active-parent > a::after {
  border-top-color: #ce001a;
}

/* Dropdown indicator */
.main-nav > ul > li.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #000;
}

/* Dropdown menu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-top: 3px solid #ce001a;
  list-style: none;
  z-index: 100;
}

.main-nav > ul > li:hover > .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.submenu li a:hover {
  background: #f5f5f5;
  color: #ce001a;
}

/* --- Social Icons (Header) --- */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e8e8e8;
  color: #ce001a;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.header-social a:hover {
  background: #d0d0d0;
  color: #a00015;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.header-icons a {
  color: #333;
  font-size: 18px;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 28px 8px 16px;
  background: #ce001a;
  color: #fff;
  font-family: 'block-berthold', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: #a00015;
  color: #fff;
}

.btn::after {
  content: '\2192';
  font-size: 18px;
}

.btn-play::after {
  content: '\25B6';
  font-size: 12px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ce001a;
  color: #ce001a;
}

.btn-outline:hover {
  background: #ce001a;
  color: #fff;
}

/* Transparent link-style button with red icon */
.btn-link {
  background: transparent;
  color: #000;
  padding: 8px 0;
}

.btn-link::after {
  color: #d81f26;
}

.btn-link:hover {
  background: transparent;
  color: #ce001a;
}

/* --- Wave Dividers --- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 43px;
}

.wave-divider-flip svg {
  transform: scaleY(-1);
}

/* --- Section Backgrounds --- */
.section-offwhite {
  background-color: #fbfaf6;
}

.section-cream {
  background-color: #fbf7d1;
}

.section-green {
  background-color: #c6e6db;
}

.section-taupe {
  background-color: #b5aa9e;
}

.section-gray {
  background-color: #e0e0e0;
}

.section-dark {
  background-color: #222;
  color: #fff;
}

.section-pink {
  background-color: #f3cfd5;
}

.section-white {
  background-color: #fff;
}

/* --- Section Spacing --- */
.section {
  padding: 60px 0;
}

.section-lg {
  padding: 80px 0;
}

.section-sm {
  padding: 40px 0;
}

.text-center {
  text-align: center;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 430px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 84px;
}

.hero h2 {
  color: #fff;
  font-size: 35px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  max-width: 800px;
  padding: 0 20px;
}

/* Wave overlay at bottom of hero */
.hero .hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero .hero-wave svg {
  display: block;
  width: 100%;
  height: 43px;
}

/* --- Subtitle Section --- */
.subtitle-section {
  padding: 50px 0 30px;
  text-align: center;
}

.subtitle-section h2 {
  font-size: 34px;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
}

/* --- Article Cards (Slider) --- */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 70px;
}

.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.slider-card {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.slider-card .card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.slider-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'sf-gthm-Book', sans-serif;
  line-height: 1.1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.date-badge .month {
  font-size: 10px;
  text-transform: lowercase;
  color: #666;
}

.date-badge .day {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.date-badge .year {
  font-size: 10px;
  color: #666;
}

.slider-card .card-body {
  padding: 20px 25px 30px;
}

.slider-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
  line-height: 1.3;
  text-transform: none;
}

.slider-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Slider navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  border: none;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.slider-arrow:hover {
  background: #000;
}

.slider-arrow-left {
  left: 0;
}

.slider-arrow-right {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dots .dot.active {
  background: #ce001a;
}

/* --- Agenda Section --- */
.agenda-list {
  max-width: 1100px;
  margin: 30px auto 0;
  background: #fff;
  border-radius: 4px;
  padding: 10px 25px;
}

.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  font-family: 'block-berthold', sans-serif;
}

.agenda-date .day {
  font-size: 32px;
  line-height: 1;
}

.agenda-date .month {
  font-size: 18px;
}

.agenda-info {
  flex: 1;
}

.agenda-info h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}

.agenda-info .location {
  font-size: 14px;
  color: #333;
}

.agenda-info .time {
  font-size: 14px;
  color: #555;
}

.agenda-link {
  align-self: center;
  font-family: 'block-berthold', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #000;
  font-weight: 500;
}

.agenda-link:hover {
  color: #ce001a;
}

/* --- Content Text Section --- */
.content-text {
  max-width: 1024px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.4;
}

.content-text h2 {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 18px;
}

.content-text p {
  margin-bottom: 18px;
}

.content-text em {
  font-style: italic;
}

.content-text strong {
  font-weight: 700;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
  align-items: flex-start;
}

.pricing-card {
  flex: 1;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 40px 35px;
  text-align: center;
}

.pricing-card.featured {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pricing-card h3 {
  font-family: 'sf-gthm-Book', sans-serif;
  font-size: 28px;
  text-transform: none;
  font-weight: 400;
  color: #666;
  margin-bottom: 5px;
}

.pricing-card.featured h3 {
  color: #000;
  font-weight: 700;
}

.pricing-card .subtitle {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
}

.pricing-card .price {
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card .price .currency {
  font-size: 16px;
  vertical-align: super;
}

.pricing-card .price .amount {
  font-size: 72px;
  font-weight: 300;
  font-family: 'sf-gthm-Book', sans-serif;
  line-height: 1;
}

.pricing-card .price .period {
  font-size: 14px;
  color: #666;
}

.pricing-card .benefits-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.pricing-card .benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
}

.pricing-card .benefits li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 14px;
}

.pricing-card .benefits li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: #555;
  font-size: 16px;
}

/* --- Professionals Slider --- */
.prof-card {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  text-align: center;
  padding: 30px 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.prof-card .prof-image {
  width: 200px;
  height: 200px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto 15px;
}

.prof-card .prof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
  text-transform: none;
}

.prof-card .prof-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 140px 0;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.cta-top-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  transform: scaleY(-1);
}

.cta-top-wave svg {
  display: block;
  width: 100%;
  height: 43px;
}

.cta-section .cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 25px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* --- Footer --- */
.site-footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 30px;
}

.footer-logo-sf {
  height: 40px;
  width: auto;
}

.footer-logo-gcf {
  height: 50px;
  width: auto;
}

.footer-home {
  color: #888 !important;
  font-family: 'block-berthold', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  display: inline-block;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-col {
  padding: 0 30px;
}

.footer-col-mid {
  border-right: 2px solid #4e4e4e;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 300;
}

.footer-col a {
  color: #fff;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: #ce001a;
}

.footer-col p {
  font-size: 14px;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 15px 30px;
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.32);
  font-size: 12px;
  color: #888;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a {
  color: #ccc;
  font-size: 14px;
}

.footer-social a:hover {
  color: #fff;
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ce001a;
  color: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
}

.scroll-top:hover {
  background: #a00015;
  color: #fff;
}

/* --- Form Styles (Page 2) --- */
.form-container {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-container h3 {
  font-family: 'sf-gthm-Book', sans-serif;
  text-transform: none;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
}

.form-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-section-title {
  font-family: 'sf-gthm-Book', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 30px 0 5px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.form-section-subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.form-group label .required {
  color: #666;
  font-weight: 400;
  font-size: 13px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #ce001a;
}

select.form-control {
  appearance: auto;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: #ce001a;
}

.date-inputs {
  display: flex;
  gap: 10px;
}

.date-inputs input {
  width: 80px;
  text-align: center;
}

.sepa-info {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 10px 0 20px;
}

.consent-text {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

.form-submit .btn {
  font-size: 18px;
  padding: 12px 40px;
}

.form-message {
  display: none;
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .slider-card,
  .prof-card {
    flex: 0 0 calc(50% - 15px);
  }

  .pricing-grid {
    flex-direction: column;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .hero {
    margin-top: 70px;
    height: 300px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .main-nav > ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px 0;
  }

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

  .main-nav > ul > li > a {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 25px;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: #f9f9f9;
  }

  .hamburger {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .slider-card,
  .prof-card {
    flex: 0 0 100%;
  }

  .slider-wrapper {
    padding: 0 40px;
  }

  .subtitle-section h2 {
    font-size: 24px;
  }

  .content-text h2 {
    font-size: 26px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 25px;
  }

  .form-container {
    padding: 25px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .agenda-item {
    flex-wrap: wrap;
  }

  .agenda-link {
    width: 100%;
    text-align: right;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 20px;
  }

  .pricing-card .price .amount {
    font-size: 52px;
  }
}
