/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    min-height: 100%;
}

body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
        min-height: auto;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url('assets/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: #444444;
    font-family: "DM Sans", sans-serif;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.logo-placeholder img{
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3cd07c, #2ca65c);
    border-radius: 6px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: #e6f5ec;
    color: #26C743;
}

.nav-links a.active {
    background: #E9F7EC;
    color: #26C743;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.cta-btn {
    background: #26C743;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    transition: 0.2s ease;
}

.cta-btn:hover {
    background: #26C743;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.foot{
  width:100%;
  background:#efefef;
  margin-top:40px;
}

.footwrap{
  max-width:1200px;
  margin:0 auto;
  padding:40px 36px;
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap:40px;
  align-items:start;
}

.footbrand{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footsocials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footsocials a {
  font-size: 20px;
  color: #555;
  transition: .2s ease;
}

.footsocials a:hover {
  color: #05c925;
}

.footlogo{
  width:150px;
  height:auto;
}

.foottext-desktop{
  font-size:14px;
  line-height:1.6;
  color:#555;
  max-width:260px;
}

.footL,
.footR{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footL h3,
.footR h3{
  font-size:16px;
  font-weight:700;
  color:#444;
  margin-bottom:6px;
}

.footL a,
.footR a{
  text-decoration:none;
  color:#555;
  font-size:14px;
  transition:.2s ease;
}

.footL a:hover,
.footR a:hover{
  color:#05c925;
}

.foott{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.footbtn{
  font-size:14px;
  padding:14px 22px;
  border-radius:8px;
  background:#3adb5a;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 4px 10px rgba(58,219,90,.25);
}

.footbtn:hover{
  background:#05c925;
}

/* Mobile styles */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }
     .footwrap{
    grid-template-columns:1fr;
    gap:30px;
    padding:30px 20px;
  }

  .footbrand{
    align-items:flex-start;
  }

  .footlogo{
    width:110px;
  }

  .foottext-desktop{
    display:none;
  }

  .foottext-mobile{
    display:block;
    font-size:13px;
    color:#555;
  }

  .footL,
  .footR{
    gap:6px;
  }

  .footL h3,
  .footR h3{
    font-size:15px;
  }

  .footL a,
  .footR a{
    font-size:13px;
  }

  .foott{
    margin-top:10px;
  }

  .footbtn{
    font-size:13px;
    padding:12px 18px;
  }

}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.hero p {
    color: #666;
    font-size: 16px;
    max-width: 640px;
    margin: auto;
    text-align: left;
}

.newsletter-cta {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 40px 20px 0;
    display: flex;
    justify-content: center;
}

.newsletter-card {
    width: 100%;
    max-width: 100%;
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    padding: 36px 36px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    text-align: center;
}

.newsletter-card h2 {
    font-size: 30px;
    margin-bottom: 12px;
    color: #1f4331;
}

.newsletter-card p {
    font-size: 16px;
    color: #555;
    margin: 0 auto 24px;
    max-width: 720px;
    line-height: 1.75;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.newsletter-form input {
    flex: 1 1 320px;
    min-width: 240px;
    padding: 14px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #26C743;
    box-shadow: 0 0 0 4px rgba(38,199,67,0.12);
}

.newsletter-form button.cta-btn.small {
    padding: 14px 24px;
    min-width: 170px;
    border-radius: 12px;
}

/* ===== PATCH NOTES ===== */
.patch-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 80px;
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.08);
    overflow: hidden;
    align-items: stretch;
}
/* ===== MOBILE FIX FOR PATCH CARDS ===== */
@media (max-width: 768px) {
    html, body {
        overflow: auto; /* laat mobiel scrollen */
        min-height: auto;   /* voorkom dat 100% height het blokkeert */
    }

    .patch-wrapper {
        flex-direction: column; /* cards onder elkaar */
        overflow: visible;      /* laat content zichtbaar zijn */
        margin-bottom: 40px;    /* iets minder ruimte onderaan mobiel */
    }

    .patch-container {
        width: 100%;
        max-width: 100%;
        height: auto;           /* pas hoogte aan mobiele inhoud */
        overflow-y: visible;    /* laat scrollen binnen pagina in plaats van vast */
    }

    .snap-section {
        padding: 40px 16px;     /* iets kleinere padding mobiel */
    }

    .patch-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;         /* blijft gecentreerd */
    }

    .newsletter-card {
        padding: 24px 18px 20px;
        box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form button.cta-btn.small {
        width: 100%;
        min-width: auto;
    }
}

.patch-container {
    width: 100%;
    max-width: 900px;
    min-height: 420px;
    max-height: 700px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding-right: 8px;
}

/* Chrome, Edge, Safari */
.patch-container::-webkit-scrollbar {
    display: none;
}

/* Firefox */
.patch-container {
    scrollbar-width: none;
}

/* IE/Legacy Edge */
.patch-container {
    -ms-overflow-style: none;
}

.snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;

    padding: 80px 20px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.patch-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;   /* center */
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.patch-content {
    font-size: 14px;
    line-height: 1.6;
    color: #444;

    max-height: 70px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.patch-card.expanded .patch-content {
    max-height: 1000px;
}

.read-more {
    margin-top: 12px;
    display: inline-block;
    font-size: 14px;
    color: #2ca65c;
    cursor: pointer;
    font-weight: 500;
}

.patch-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.patch-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}

.patch-content {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
}

.read-more {
    margin-top: 16px;
    display: inline-block;
    font-size: 14px;
    color: #26C743;
    cursor: pointer;
    font-weight: 500;
}

