:root { --hero-gap: 12px; --hero-slide-w: 75vw; } /* slide width ~85% so neighbors peek */


/* reset: normalize default element styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

/* html5 display roles for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* base: body + typography */
body {
  color: #481B1A !important;
  background: #FFFCFC;
  font-family: "Albert Sans", sans-serif;
  line-height: normal;
  display: flex;
  justify-content: center;
}

a{
    color:#481B1A;
    text-decoration: none;
}

ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* layout: container widths and common wrappers */
.content {
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px; /* keep a little breathing room on edges */
}

/* header */
.header {
  background: #FFF0F0;
  border-radius: 30px;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  margin-top: 20px; /* move header down a bit */
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

a.header-nav-button {
  background: #BE4A48;
  color: #FFFCFC;
  padding: 10px 15px;
  border-radius: 10px;
}

/* hero */
.hero {
  display: flex;
  justify-content: center;
  gap: 70px; /* final gap kept */
  padding: 100px 30px 100px 70px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

p.hero-subtitle { font-size: 20px; }

h1.hero-title {
  font-size: 40px;
  font-family: "Marcellus", serif;
  color: #983B3A;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-images {
  display: flex;
  gap: 25px;
  width: 825px;
}

img.hero-image {
  width: calc(33% - 16.666px);
  height: auto;
  border-radius: 30px;
}

a.hero-cta-button,
a.hero-cta-button-secondary {
  padding: 10px 15px;
  color: white;
  font-weight: 400;
  border-radius: 10px;
  /* shared button styles combined */
}

a.hero-cta-button { background: #be4a48; }
a.hero-cta-button-secondary { background: #FB999B; }

.hero-cta {
  display: flex;
  gap: 10px;
  width: max-content;
}

/* over mij */
.over-mij {
  height: 410px;
  display: flex;
  align-items: center;
  padding: 70px;
  background: #FFF0F0;
  border-radius: 80px;
  gap: 100px;
}

.over-mij-image { width: 300px; }
.over-mij-image img { width: inherit; border-radius: 30px; }

.over-mij-info {
  display: flex;
  flex-direction: column;
}

.over-mij-info p { width: 385px; }

a.over-mij-info-cta {
  padding: 10px 15px;
  background: #983B3A;
  color: white;
  font-weight: 400;
  border-radius: 10px;
  position: relative; /* absolute changed earlier, but later rule overrides to relative */
  width: fit-content;
  margin-top: 20px;
  /* kept final positioning from later rule */
}

.over-mij-info-heading {
  font-family: "Marcellus", serif;
  font-size: 40px;
  color: #983B3A;
  margin-bottom: 10px;
}

/* behandelingen */
.behandelingen {
  padding: 49px 30px 50px 30px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.behandelingen-info-title {
  font-family: "Marcellus", serif;
  font-size: 40px;
  color: #983B3A;
  margin-bottom: 10px;
}

.behandelingen-options {
  display: flex;
  overflow: hidden;
  gap: 20px;
  justify-content: center;
}

.behandeling-option {
  display: flex;
  flex-direction: column;
  width: calc(33% - 11px);
}

.behandeling-option img {
  width: auto;
  border-radius: 30px 30px 0 0;
}

.behandeling-option-cta {
  width: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FB999B;
  color: white;
  font-weight: 400;
  border-radius: 0 0 30px 30px;
  font-size: 20px;
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-main {
  background: #FFF0F0;
  border-radius: 30px;
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 50px;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo p { text-align: center; }
.footer-logo img { height: 90px; }

.footer-bottom {
  background: #FFF0F0;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  padding: 20px 100px;
  margin-bottom: 10px;
}

.footer-bottom-nav {
  display: flex;
  gap: 30px;
}

/* mobile nav */
.mobile-nav-button {
  background: #BE4A48;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* hidden by default, shown on smaller screens */
  padding: 10px;
  border-radius: 15px;
  z-index:100;
}
.mobile-nav-button span { color: #FFFCFC; }

.mobile-nav {
  position: fixed;
  bottom: 70px;
  right: 15px;
  background: #FFFCFC;
  width: 221px;
  height: 254px;
  border-radius: 15px 15px 15px 0;
  z-index:100;
}

.mobile-nav-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px;
}

.mobile-nav-cta {
  position: fixed;
  bottom: 15px;
  right: 70px;
  background: #FFFCFC;
  display: flex;
  padding: 10px 10px 10px 9px;
  border-radius: 0 0 15px 15px;
}

a.mobile-nav-cta-button {
  background: #BE4A48;
  color: #FFFCFC;
  padding: 10px 15px;
  border-radius: 10px;
}

img.mobile-nav-corner {
  position: absolute;
  right: 40px;
    top: 254px;
}

.mobile-nav-overlay {
  background: #00000052;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index:90;
}

/* do not combine this, keep it separate, it's for the nav */
.mobile-nav,
.mobile-nav-overlay {
  display: none;
}

/* responsive: container scaling */
@media (max-width: 1399px) {
  .content {
    width: calc(100% - 40px);
    padding: 0 20px; /* keep spacing from edges */
  }
}

/* responsive: tablet and below */
@media (max-width: 1199px) {
  .header-nav-item { display: none; }

  .mobile-nav-button { display: flex !important; }

  .hero {
    flex-direction: column;
    padding: 60px 20px;
  }

  .hero-images { width: 100%; }
}

/* responsive: image sizing outside specific breakpoint to follow original cascade */
.hero-images { width: 100%; }
img.hero-image { width: calc(33% - 16.666px); height: auto; }

/* responsive: small screens */
@media (max-width: 799px) {
  .behandelingen-options {
    flex-direction: column;
  }
  .behandeling-option { width: 100%; }

  .over-mij { flex-direction: column; }

  .over-mij-image { width: 85%; }

  .footer-bottom { padding: 20px 30px; }
  .footer-main { padding: 80px 40px; }
}


/* hide the mobile carousel by default */
.hero-images-mobile { display: none; }

/* responsive: extra small screens */
@media (max-width: 599px) {
  .footer-main {
    flex-direction: column;
    gap: 100px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .hero-images {
    flex-direction: column;
  }

  img.hero-image { width: 100%; }

  a.footer-nav-option { text-align: center; }

  .footer-nav { gap: 0; }

  .footer-bottom-nav {
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  .over-mij { 
    padding: 25px 0;
    gap: 10px;
    border-radius: 40px;
  }

  .over-mij-info { padding: 30px; }

  .behandelingen { padding: 50px 10px; }

  .hero { padding: 20px 0; }

  .hero-info { padding: 40px 20px 0 20px; }
  
  /*TEST*/
  
  .hero-images { display: none; }            /* hide desktop block */
  .hero-images-mobile {
    display: block;
    overflow: hidden;                        /* container clip */
    padding: 0;                              /* no side padding, we’ll center via scroll */
  }

  .hero-track {
    display: flex;
    align-items: stretch;
    gap: var(--hero-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;           /* native snap */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;                 /* smooth programmatic jumps */
    padding: 0 calc((100vw - var(--hero-slide-w)) / 2); /* center first/last slide */
  }

  .hero-slide {
    flex: 0 0 var(--hero-slide-w);
    scroll-snap-align: center;               /* snap each slide to center */
    user-select: none;
    -webkit-user-drag: none;
  }

  .hero-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;                     /* match your style */
    display: block;
    pointer-events: none;                    /* avoid image drag ghosting */
  }

  .hero-track {
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always; /* stronger snap feel on fast flicks */
    will-change: scroll-position; /* hint for smoother scrolling */
  }

  /* hide scrollbar for cleaner look */
  .hero-track { scrollbar-width: none; }
  .hero-track::-webkit-scrollbar { display: none; }
}

/* utilities: width helpers adapted for webkit fill available */
.over-mij { height: fit-content; }
.over-mij-info p { width: -webkit-fill-available; }
.over-mij-image img { width: -webkit-fill-available; }
