:root {
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: var(--body-copy-font-family), Helvetica, Arial, sans-serif;
  font-weight: var(--body-copy-font-weight);
  font-size: 18px;
  line-height: 1.6;
  color: var(--marinemarine-010e15);
  background: #ffffff;
}

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

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

button {
  font: inherit;
}

.site {
  overflow-x: hidden;
}

/* Ensure footer sticks to bottom when page content is short */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main flexes to take remaining viewport height */
main.site {
  flex: 1;
  width: 100%;
}

/* Footer naturally sits at the bottom when main.site grows */
.site-footer {
  flex: 0 0 auto;
  margin-top: auto;
}

/* Thanks page: let the page content fill available height, while centering the thanks copy */
main.site.thanks-layout {
  display: flex;
  flex-direction: column;
}


/* Thanks section should take remaining space */
main.site.thanks-layout .thanks {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Keep thanks inner content from stretching */
.thanks .section-inner.about__inner {
  width: 100%;
}


.thanks .section-inner.about__inner {
  width: 100%;
}





.site-header {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Thanks page: remove header shadow */
main.site.thanks-layout .site-header {
  box-shadow: none;
}


.site-header__inner,
.section-inner,
.site-footer__inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 24px 0;
}

.brand img {
  width: 220px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.nav__link {
  color: var(--marinemarine-010e15);
  font-size: 1rem;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 300ms ease;
  width: auto;
  font-family: var(--body-copy-b-font-family), Helvetica, Arial, sans-serif;
  font-weight: var(--body-copy-b-font-weight);
}

.button--primary {
  background: var(--marineprimary-marine);
  color: #ffffff;
}

.button:hover {
  background: var(--marine-0429-3e);
}

.nav__link {
  color: var(--marinemarine-010e15);
  font-size: 1rem;
  font-weight: 400;
  transition: color 300ms ease;
  font-family: var(--body-copy-b-font-family), Helvetica, Arial, sans-serif;
}

.nav__link:hover {
  color: var(--marineprimary-marine);
  font-weight: var(--body-copy-b-font-weight);
  background: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #4a90e2;
  outline-offset: 4px;
}

.hero,
.about,
.profile,
.trainingen,
.vision {
  padding: 72px 0;
}

.vision {
  margin-bottom: 72px;
}

.site-footer {
  padding: 72px 0 56px;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #CDDAE1 100%);
}

.profile {
    background: linear-gradient(180deg, #CDDAE1 0%, #ffffff 100%);
}

.hero__content,
.about__inner,
.profile__top,
.profile__details,
.vision__inner {
  display: grid;
  row-gap: 1rem;
  column-gap: 3rem;
}

.hero__content {
  justify-items: center;
  text-align: center;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
}

.about__inner,
.vision__inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  align-items: center;
}

.section-inner {
  padding: 0 0;
}

.hero__content,
.about__inner,
.profile__top,
.profile__details,
.vision__inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.hero__content h3,
.hero__content h1,
.profile__copy h2,
.trainingen h2,
.vision__inner h2,
.about h2 {
  margin: 0 0 1rem;
  font-family: var(--h1-font-family);
  font-weight: var(--h1-font-weight);
  color: var(--marinemarine-010e15);
}

.hero__content h1 {
  font-size: 60px;
  line-height: 1.05;
}

.about h2,
.profile__copy h2,
.trainingen h2,
.vision__inner h2 {
  font-size: 48px;
  line-height: 1.1;
}

.about h3 {
  font-size: 36px;
  line-height: 1.1;
  font-family: var(--h3-font-family);
  font-weight: var(--h3-font-weight);
}

.highlight {
  color: var(--marineprimary-marine);
}

.hero__copy p,
.about p,
.profile__copy p,
.profile__summary,
.trainingen p,
.vision__inner p,
.card p {
  margin: 0 0 1.5rem;
  max-width: 720px;
  color: var(--marinemarine-010e15);
}

.hero__copy {
  max-width: 580px;
}

.hero__content h3,
.about__quote,
.card h3 {
  font-size: 30px;
}

h4 {
  font-family: var(--h4-font-family);
  font-weight: var(--h4-font-weight);
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
  letter-spacing: var(--h4-letter-spacing);
}

.hero__content h3 {
  margin: 0 0 1.0rem;
  line-height: 1.65;
  font-weight: 400;
  max-width: 820px;
  text-align: center;
}



.card h3 {
  font-family: var(--h3-font-family);
  font-weight: var(--h3-font-weight);
}

.hero__image {
  width: 100%;
  max-width: none;
  min-height: 420px;
  border-radius: 24px;
  background: url('../assets/image-boot.jpg') center / cover no-repeat;
  margin-top: 3rem;
}


.about__image,
.vision__image {
  width: 100%;
  max-width: 720px;
  min-height: 420px;
  border-radius: 24px;
  background: #c4c4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile__image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  min-height: 360px;

  border-radius: 24px;
  background: #c4c4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* Vision: keep logo/graphic fully visible inside its frame */
.vision__image {
  background: #ffffff;
}

.vision__image img {
  width: 60%;
  height: 100%;
  object-fit: contain;
  display: block;
}



/* Fill only the about image with the real photo (keep frame sizing) */
.about__image {
  background: url('../assets/image-schoenen.jpg') center / cover no-repeat;
}

/* Fill the profile image with the real photo (keep frame sizing/ratio) */
.profile__image {
  background: url('../assets/image-me.jpg') center / cover no-repeat;
}



.about {
  background: var(--marinemarine-cddae1);
}

.about__inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
}

.about__quote,
.profile__summary {
  font-weight: 600;
}


.quote {
  padding: 72px 0 72px;
  background: var(--marinemarine-cddae1);
}

.quote__inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.quote__text {
  margin: 0 auto;
  text-align: center;
  max-width: 820px;
  font-size: var(--h4-font-size);
  line-height: 1.5;
}

.quote_profile {
  padding: 36px 0 72px;
}

.profile__summary-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.profile__summary {
  margin: 2rem auto 0;
}

.about__quote {
  margin: 2rem auto 0;
  text-align: center;
  max-width: 820px;
  font-size: var(--h4-font-size);
  line-height: 1.5;
}

.list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.list li {
  margin-bottom: 0.75rem;
}

.profile__top {
  grid-template-columns: minmax(320px, 560px) minmax(320px, 1fr);
  align-items: center;
}

.profile__copy {
  display: block;
}

.profile__copy h2 {
  margin-bottom: 1rem;
}

.profile__details {
  grid-template-columns: minmax(320px, 560px) minmax(320px, 1fr);
  gap: 3rem;
  margin-top: 1.5rem;
  align-items: start;
}


.trainingen {
  background: #ffffff;
}

.trainingen .section-inner {
  display: grid;
  gap: 2.5rem;
}

.trainingen h2 {
  text-align: center;
}

.trainingen .section-inner > .button {
  justify-self: center;
}

.trainingen__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border: 4px solid var(--marineprimary-marine);
  border-radius: 24px;
  padding: 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.card h3 {
  margin: 0;
  font-family: var(--h3-font-family);
  font-weight: var(--h3-font-weight);
  font-size: 1.6rem;
  line-height: 1.2;
}

.vision__inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 576px);
}

/* Contact page */
.contact {
  background: linear-gradient(180deg, #ffffff 0%, #CDDAE1 100%);
  padding-top: 72px;
  padding-bottom: 144px;
}

/* Thanks page (after contact form submit) */
.thanks {
  padding: 72px 0;
  background: transparent;
}

/* Make the thanks content sit in the center (both horizontally and within the grid column) */
.thanks .about__inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}


.thanks .about__inner > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.thanks h1 {
  margin: 0 0 1rem;
  font-family: var(--h1-font-family);
  font-weight: var(--h1-font-weight);
  color: var(--marinemarine-010e15);
  font-size: 60px;
  line-height: 1.05;
  text-align: center;
}

.thanks p {
  margin: 0 auto 1.25rem;
  max-width: 720px;
  text-align: center;
}


.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}



.contact__copy h2 {
  margin: 0 0 1rem;
}

.contact__copy h1 {
  margin: 0 0 1rem;
  font-family: var(--h1-font-family);
  font-weight: var(--h1-font-weight);
  color: var(--marinemarine-010e15);
  font-size: 60px;
  line-height: 1.05;
}

.contact__copy p {
  margin: 0 0 1.25rem;
  max-width: 560px;
}

.contact__hint {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(1, 14, 21, 0.85);
}

.contact__form {
  background: #ffffff;
  border: 4px solid var(--marineprimary-marine);
  border-radius: 24px;
  padding: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.field__label {
  font-weight: 600;
}

.field__input,
.field__textarea {
  border: 2px solid rgba(7, 69, 104, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--marinemarine-010e15);
  background: #ffffff;
  width: 100%;
}

.field__input:focus,
.field__textarea:focus {
  outline: 3px solid rgba(74, 144, 226, 0.35);
  outline-offset: 2px;
  border-color: rgba(74, 144, 226, 0.65);
}

.field--full {
  width: 100%;
}

.contact__form .button {
  margin-top: 0.5rem;
}

.contact__privacy {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: rgba(1, 14, 21, 0.8);
}

@media (max-width: 960px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 56px 0;
  }
}

.site-footer {

  background: var(--marineprimary-marine);
  color: #ffffff;
}


.site-footer .nav__link {
  color: #ffffff;
  transition: color 200ms ease;
}

.site-footer__inner {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand {
  flex: 0 0 auto;
}

.site-footer__logo {
  width: 200px;
  height: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
}

.site-footer__copyright p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

@media (max-width: 960px) {
  .hero__content,
  .about__inner,
  .profile__top,
  .profile__details,
  .vision__inner {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .site-footer__copyright p {
    text-align: center;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }

    /* Hide Contact button on mobile */
  .site-header .button {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .section-inner {
    width: calc(100% - 32px);
  }

  .site-header__inner {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}


@media (max-width: 460px) {
  .hero__content {
    width: calc(100% - 32px);
  }

  .hero__content h1 {
    font-size: 50px;
    line-height: 1.05;
  }

  .hero__content h3 {
    font-size: 1.55rem;
  }
}

