/* -----------------------------------------------------
   LAYER 1 — BASE + TYPOGRAPHY
----------------------------------------------------- */

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

/* BODY */


body {
  background: linear-gradient(45deg, #FFFF00 0%, #0096C6 100%);
  background-attachment: fixed;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.6;
}




/* HEADINGS */



/* Headings en UI-elementen */
button,
.pill-button,
.h4white,
.tip,
.dropbtn {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}




h1, h2, h3 {
  margin-bottom: 0.5em;
  margin-top: 20px;
}


/* Optioneel: mooiere h2 */
h2 {
  font-size: 1.65rem;
  font-weight: 200;
  letter-spacing: -2px;
  color: black; 
  text-transform: uppercase;
}


/* Optioneel: h3 subtieler */
h3 {
  font-size: 1.3rem;
  font-weight: 400;
}




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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
}


/* -----------------------------------------------------
   LAYER 2 — LAYOUT (GRID, FLEX & RESPONSIVE STRUCTURE)
----------------------------------------------------- */

/* LOGO / HEADER */
.site-header {
  text-align: center;
  padding: 20px 0;
}

.logo {
  width: 180px;
  margin: 0 auto;
}

@media (min-width: 600px) { .logo { width: 260px; } }
@media (min-width: 900px) { .logo { width: 320px; } }


/* WITTE CONTENTBLOK (zoals origineel .container) */



.container {
  background: #ffffff;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 22px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}



/* VIDEO SECTION */


.video-section {
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.video-section {
  background: #fff;              /* wit vlak achter de video */
  padding: 0;                    /* verwijdert eventuele extra ruimte */
}

.video-wrapper {
  background: #fff;              /* voorkomt kleur doorschijnen */
  border-radius: 20px;           /* jouw originele radius */
  overflow: hidden;              /* nodig voor ronde hoeken */
  box-shadow: none !important;   /* voor de zekerheid */
  border: none !important;
}

.video-wrapper iframe {
  display: block;                /* verwijdert inline whitespace */
  border: none !important;
  background: #fff;              /* wit totdat video laadt */
}






/* Alleen voor de 9:16-video's op de challenge-pagina */
.video-wrapper--portrait {
  position: relative;
  width: 100%;
  max-width: 450px;          /* portret, dus smaller dan 16:9 */
  margin: 0 auto;
  padding-top: 177.78%;      /* 9:16 verhouding (9/16 * 100) */
  border-radius: 20px;
  overflow: hidden;
}

/* iframe binnen de portrait-wrapper */
.video-wrapper--portrait iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* op brede schermen mag hij iets groter */
@media (min-width: 900px) {
  .video-wrapper--portrait {
    max-width: 520px;
  }
}





/* INTRO */
.intro {
  margin-top: 20px;
  margin-bottom: 20px;
}

.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 850px) {
  .intro-grid {
    flex-direction: row;
    gap: 60px;
  }
  .intro-text,
  .week-overview {
    flex: 1;
  }
}


/* SOCIAL SECTION — TRANSPARENT zoals origineel */
.social-section {
  text-align: center;
  padding: 0;
  margin: 40px auto;
  background: transparent;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}


/* FOOTER — SCHERMBREED & WIT (zoals originele #footer) */
.site-footer,
#footer {
  width: 100%;
  background: white;
  padding: 40px 16px 60px;
  text-align: center;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

/* PARTNERS GRID */


/* -----------------------------------------------------
   SPONSOR GRID — gelijk aan je originele layout (A)
----------------------------------------------------- */

.partner-container {
  max-width: 1100px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;                     /* zelfde rustige ruimte als origineel */
  align-items: center;
  justify-items: center;         /* centreren zoals originele blok */
  padding: 20px 0;
}

/* sponsor “vakje” */
.partnerlogo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* logo zelf */
.partnerlogo img {
  height: 48px;                  /* exact hoogteconsistent zoals jouw oude site */
  width: auto;
  object-fit: contain;
  transition: transform 0.20s ease, opacity 0.20s ease;  /* hover animatie (B) */
}

/* Hover — subtiel & professioneel */
.partnerlogo img:hover {
  transform: scale(1.06);        /* lichte zoom, niet schreeuwerig */
  opacity: 1;                    /* focus-effect */
}





/* -----------------------------------------------------
   LAYER 3 — COMPONENTS
----------------------------------------------------- */

/* PILL BUTTON ("Zomer") */
.pill-button {
  font-family: 'Roboto Condensed', sans-serif;
  padding: 6px 22px;
  border-radius: 25px;
  font-size: 1.2rem;
  border: 1.5px solid black;
  background: white;
  color: black;
  text-transform: uppercase;
  transition: 0.2s ease;
letter-spacing: -1px;
}


/* Pill-style buttons */
.pill-button,
.h4white {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}


.pill-button:hover {
  background: black;
  color: white;
}


/* DROPDOWN */
.dropdown {
  width: 100%;
  position: relative;
  margin-bottom: 12px;
}

.dropbtn {
  width: 100%;
  background: linear-gradient(45deg, #FFFF00, #0096C6);
  color: white;
  font-family: 'Roboto Condensed';
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.dropbtn:hover {
  background: black;
}

.dropbtn:active {
  transform: scale(0.97);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 10;
}

.dropdown-content a {
  padding: 14px 18px;
  display: block;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: #f7f7f7;
}


/* SOCIAL ICON INTERACTION */
.social-icons img {
  width: 32px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons img:hover {
  opacity: 1;
  transform: scale(1.08);
}


/* TYPOGRAPHY REFINEMENTS */
.intro p,
.site-footer p {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.intro a,
.site-footer a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro a:hover {
  opacity: 0.7;
}

.container ul,
.container ol {
  margin-left: 24px;
  margin-bottom: 30px;
}



/* MICRO INTERACTIONS */
button:focus,
a:focus {
  outline: 3px solid #0096C6;
  outline-offset: 2px;
}



.article-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}




/* Social footer container */


/* -------------------------------------------
   Social Footer (modern + rustig + premium)
   ------------------------------------------- */
.textfooter {
  text-align: center;
  max-width: 900px;
  margin: 80px auto 100px;
  padding: 60px 20px 80px;
  line-height: 1.6;
  animation: fadeFooter 0.6s ease-out forwards;
  opacity: 0;
}

/* Fade-in animatie */
@keyframes fadeFooter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Divider-lijn boven footer */
.textfooter::before {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0,0,0,0.15);
  margin: 0 auto 40px;
  border-radius: 2px;
}

/* Iconenrij */
.textfooter .threes {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 35px;
}

/* Icon capsules */



/* Glas + soft inner glow */
.textfooter .threes a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;

  /* Transparant glas */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  /* Outer "glass border" */
  border: 1px solid rgba(255, 255, 255, 0.35);

  /* Soft inner glow (de truc!) */
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.30),  /* inner glow */
    inset 0 0 6px  rgba(255, 255, 255, 0.15),  /* extra smoothing */
    0 8px 20px rgba(0, 0, 0, 0.18);            /* outer depth */

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

/* Icon zelf */
.textfooter .threes img {
  width: 34px;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

/* Hover effect */
.textfooter .threes a:hover {
  transform: translateY(-4px) scale(1.1);

  /* Meer licht in het glas */
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.50);

  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.45),  /* sterker inner glow */
    inset 0 0 10px rgba(255, 255, 255, 0.25),
    0 12px 28px rgba(0, 0, 0, 0.25);           /* diepere schaduw */
}

.textfooter .threes a:hover img {
  opacity: 1;
}



/* Signup sectie */
.signup-section {
  padding: 60px 20px 80px;
  display: flex;
  justify-content: center;
}

.signup-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px 50px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  text-align: center;
}

/* Koppen */
.signup-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.signup-subtitle {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* Labels en inputs */
.signup-label {
  font-family: 'Roboto Condensed', sans-serif;
  display: block;
  text-align: left;
  margin-bottom: 6px;
}

.signup-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

.signup-input:focus {
  outline: none;
  border-color: #0096C6;
}

/* Checkbox */
.signup-checkbox {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.signup-checkbox input {
  transform: scale(1.2);
}

/* Submit button */
.signup-submit {
  width: 100%;
  padding: 12px 0;
  font-size: 1.3rem;
  border-radius: 12px;
  margin-top: 5px;
}




/* mobiel / kleine schermen */
@media (max-width: 720px) {

  .container {
    width: auto;              /* niet vast op 100% laten plakken */
    max-width: 100%;          /* veilig */
    margin: 0 16px 32px;      /* 16px marge links & rechts, 32px onder */
  }

  h2 {  font-size: 1.35rem; }

}





.input-error {
    border: 2px solid #d93025;
}

.field-error {
    color: #d93025;
    font-size: 0.9em;
    margin-top: 4px;
}

.error-message {
    background: #fdecea;
    color: #b00020;
    padding: 12px;
    margin-bottom: 16px;
}

.success-message {
    background: #e6f4ea;
    color: #137333;
    padding: 12px;
    margin-bottom: 16px;
}

.signup-input.input-error {
    border: 2px solid #d93025 !important;
    outline: none;
}

.signup-input.input-error:focus {
    border: 2px solid #d93025 !important;
}

/* Forceer rode border ook als main.css iets anders doet */
.signup-input.input-error,
input[type="email"].input-error,
input[type="text"].input-error {
  border: 2px solid #d93025 !important;
  outline: none !important;
  box-shadow: none !important;
}

