* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: sans-serif;
}

/* Menu */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  background: rgba(0,0,0,0.6);
}

nav a {
  color: white;
  padding: 20px 20px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

nav a.active {
  background: white;
  color: black;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.8);
}

html {
  scroll-behavior: smooth;
}

.contact {
  min-height: 100vh;
  padding: 120px 40px;
  background: #111;
  color: white;
}

#contact {
  min-height: 100vh;
  padding: 120px 40px;
  background: #111;
  color: white;
text-align:center;
}

#gadget {
  min-height: 100vh;
  padding: 120px 40px;
  background: #111;
  color: #fff;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;

	
  display: flex;
  justify-content: center;

  background: rgba(0,0,0,0.8);
}

.main-nav a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
}

.main-nav a.active {
  background: white;
  color: black;
}


.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Tekst */

.slide .content{
  position:absolute;
  top:120px;
  left:10%;
  padding:20px;
}

.slide[data-hash="home"] .content{
  top:90px;
  bottom:auto;
}


.slide[data-hash="home"]{
  background:#000 !important;
  background-image:none !important;
}

.slide[data-hash="home"] h2{
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
margin-top:15px;
margin-bottom:15px;
}

.slide[data-hash="home"] p{

margin-top:15px;


}

.content {
  position: absolute;
  top: 90px;   /* ruimte onder je menu */
  left: 10%;
  color: white;
}

.slide .content p {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.2;

  font-style: italic;
font-weight: bold;

}

.content p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Overlay voor leesbaarheid */




.content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.slide.active .content {
  opacity: 1;
  transform: translateY(0);
}

.slideshow {
  height: calc(100vh - 60px);
  margin-top: 0px;
  position: relative;
  overflow: hidden;
}

body { margin:0; padding:0; font-family: sans-serif; scroll-behavior: smooth;}


/* ===== Preloader ===== */
.preloader {position:fixed;top:0;left:0;width:100%;height:100%;background:#000;display:flex;justify-content:center;align-items:center;z-index:9999;}
.preloader-inner span {display:block;width:15px;height:15px;margin:5px;background:#fff;border-radius:50%;animation:preloader 1s infinite alternate;}
@keyframes preloader {0%{transform:scale(1);}100%{transform:scale(1.5);}}

h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
}

p {
  margin: 0;
    margin-top: 0px;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
}
    /* ===== NAVBAR ===== */
    .main-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background: rgba(0,0,0,0.8);

    }
    .nav-left { display:flex; align-items:center; }
    .nav-left .logo img { display:block; height:40px; }

    .nav-links { display: flex; gap: 20px; }
    .nav-links a { color:white; text-decoration:none; padding:12px 10px; }
    .nav-links a.active { background:white; color:black; }

    .nav-right { display:flex; align-items:center; gap:10px; }
    .download-btn {
      background: #cccccc;
      color: white;
      padding: 10px 14px;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
    }
    .hamburger {
      display:none;
      font-size:28px;
      background:none;
      border:none;
      color:white;
      cursor:pointer;
    }

    @media(max-width:768px){
      .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255,255,255,0.7);
        display: none;
        z-index: 9999;
      }
      .nav-links.show { display:flex; }
      .nav-right .download-btn { display:none; }
      .hamburger { display:block; }
    }

.lang-switch{
  position: fixed;

  top: calc(env(safe-area-inset-top, 0px) + 70px);
  right: 15px;

  z-index:1100;

  font-size:13px;
  letter-spacing:0.05em;
  color:#ccc;
  font-weight:500;

  text-shadow:1px 1px 1px rgba(0,0,0,1);
}

.lang-switch span{
  cursor:pointer;
  padding:2px 4px;
}

.lang-switch span.active{
  color:#fff;
  font-weight:700;
  border-bottom:2px solid #fff;
}

.lang-switch span:hover{
  color:#fff;
}

    .flag-buttons img { width:20px; height:14px; cursor:pointer; }


.slide{
  position:relative;
  height:100%;
  background-size:cover;
  background-position:center;
  display:none;
}

.slide.active{
  display:block;
}


/* Actieve slide: fade + zoom */
.slide.active::before {
  transform: scale(1);
  opacity: 1;
}

/* Content altijd bovenop */
.slide .content {
  position: absolute;
  z-index: 1;
}

.content h1 {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 600px;
  opacity: 0.95;
}

.content h2 {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 600px;
  line-height: 1.4;
  opacity: 0.95;
}

.slide {
  animation: none;
}

.slide.active {
  animation: fadeSlide .2s ease-out;
}

@keyframes fadeSlide {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

#contact {
      min-height: 100vh;
      padding: 120px 40px;
      background: #111;
      color:white;
    }
	  

	/* ===== Buttons ===== */

.home-buttons a {
  display:inline-block;
  margin:10px;
  padding:12px 24px;
  background:transparent;
  color:#fff;
  text-decoration:none;
  border:2px solid #fff;
  font-weight:600;
  transition:all .25s ease;
}

.home-buttons a:hover {
  background:#fff;
  color:#000;
}

		
/* ===== Compass Animation ===== */
.compass-container {position:relative;width:300px;height:300px;margin:0 auto;}
	
.compass-container {
  width: 320px;
  height: 320px;
}

@media (min-width: 768px) {
  .compass-container {
    width: 420px;
    height: 420px;
  }
}

@media (min-width: 1200px) {
  .compass-container {
    width: 520px;
    height: 520px;
  }
}
	
.stone, .ring {position:absolute;width:100%;height:100%;background-size:cover;background-position:center;transform-origin:center;}
.stone {z-index:1; background-image:url('/images/voetjes-640.png');}
.ring {z-index:2; background-image:url('/images/ring-640.png'); pointer-events:none;}
	  
/* ===== Sections ===== */
.deel-flex {display:flex; flex-wrap:wrap; gap:20px; justify-content:center; align-items:center;}
.deel-left, .deel-right {flex:1; min-width:300px;}  
	

@media(max-width:768px){
  .nav-links.show {
    display: flex !important;
  }
}
  




/* ===== NAVBAR (FINAL STRUCTURE) ===== */

.main-nav {
  position: fixed;

  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;

  height: 60px;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.85);

  z-index: 100000;
  isolation: isolate;
}

.nav-links {
  display: flex;
  gap: 20px;
}


@media (max-width:768px){

  .hamburger {
    display:block;
    font-size:28px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    z-index:100001;
  }

  .download-btn {
    display:none;
  }

.nav-links {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    background: rgba(0,0,0,0.95);
    transform: translateY(-120%);
    transition: transform .35s ease;
  }

  .nav-links a {

    color: black;
    background: white;

    border: 2px solid white;

    padding: 10px 18px;

    font-weight: 600;
    font-size: 16px;

    width: 200px;
    text-align: center;
  }


  .nav-links.show {
    transform: translateY(0);
  }

.nav-links a:active {
  background: #eee;
  transform: scale(0.97);
}


body.menu-open {
  overflow: hidden;
}

.slide::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
}




/* desktop */
.content h1,
.content h2,
.content p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.95);
}

/* mobiel */
@media (max-width:768px){
  .content h1,
  .content h2,
  .content p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.95);
  }
}

.content h1 {
  letter-spacing: 0.02em;
}

.content {
  padding: 20px;
}

.slide::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:rgba(0,0,0,0.05);
}

/* mobiel nog lichter */
@media (max-width:768px){
  .slide::before{
    background:rgba(0,0,0,0.08);
  }
}


.slideshow {
  touch-action: pan-y;
}

.slideshow {
  touch-action: pan-y pinch-zoom;
}

.contact-form {
max-width:500px;
margin:30px auto;

display:flex;
flex-direction:column;
gap:15px;
}




.contact-form input,
.contact-form textarea{

padding:12px;
border:none;
border-radius:4px;
font-size:16px;

}

.contact-form button{

padding:12px;
border:none;

font-weight:bold;
cursor:pointer;

transition:0.2s;

  background: #377E3C;
  color: white;
}

.contact-form button:hover{
background: #2f6d33;
}

.form-status{
margin-top:10px;
font-size:14px;
}

.honeypot{
display:none;
}

@media (max-width:768px){

  .slide[data-hash="home"] .home-buttons:first-of-type{
    display:none;
  }

}

@media (max-width:768px){

  .slide[data-hash="home"] .content h2 {
    position: static;
    background: #377E3C;
    margin-top: 20px;
  }

}


.footer {
  margin-top: 40px;
  padding-top: 30px;
  font-size: 16px;
  color: #ccc;
  text-align: center;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ccc; /* lichtgrijs */
}


@media (max-width:768px){

  .slide .content {
    position: absolute;
    inset: 0;
    padding: 0;
  }

}


@media (max-width:768px){

  .slide .content h2 {
    background: #377E3C;
    color: white;

    padding: 18px;
    margin: 0;

    font-size: 20px;
    text-align: center;

    width: 100%;
  }

}





@media (max-width:768px){

  .slide:not([data-hash="home"]) .content h1 {
    display: none;
  }

}


@media (max-width:768px){

  .slide::before {
    background: rgba(0,0,0,0.05);
  }

}






@media (max-width:768px){
  .slide::before {
    background: rgba(0,0,0,0.05);
  }
}


@media (max-width:768px){

  .slide .content h2 {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;

    background: #377E3C;
    color: white;

    padding: 12px;
    margin: 0;

    font-size: 22px;
    text-align: center;

    width: 100%;
    z-index: 5;
  }

}

@media (max-width:768px){

  .slide .content p {
    position: absolute;
    top: 90px;

    font-size: 16px;
    font-style: italic;

    color: white;
    z-index: 5;
  }

}

/* ===============================
   MOBILE FIX – FORCE LAYOUT
================================ */
@media (max-width:768px){

  /* reset alle eerdere rommel */
  .slide .content {
    position: absolute !important;
    inset: 0 !important;
    padding: 0 !important;
    left: 0 !important;
  }

  /* H2 = groene balk ONDERAAN */
  .slide .content h2 {
    position: absolute !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;

    background: #377E3C !important;
    color: #fff !important;

    padding: 6px !important;
    margin: 0 !important;

    font-size: 22px !important;
    text-align: center !important;

    z-index: 999 !important;
  }

  /* QUOTE bovenaan */
  .slide .content p {
    position: absolute !important;
    top: 280px !important;
    left: 30px !important;
    right: 20px !important;

    top: var(--text-top-mobile,280px) !important;
    left: var(--text-left-mobile,20px) !important;

    color: #fff !important;
    font-size: 28px !important;
    font-style: italic !important;
    text-align: left !important;
padding-left:20px !important;
    z-index: 999 !important;
  }

}


@media (max-width:768px){
  .slide .content h2 {
    text-shadow: none;
  }
}

@media (max-width:768px){

  /* =========================
     HOME = RESET NAAR NORMAAL
  ========================= */

  .slide[data-hash="home"] .content {
    position: relative !important;
    inset: auto !important;
    padding: 20px !important;
  }

  /* H2 → GEEN GROENE BALK */
  .slide[data-hash="home"] .content h2 {
    position: static !important;
    background: none !important;
    color: #fff !important;

    padding: 0 !important;
    margin-top: 15px !important;

    text-align: left !important;
    width: auto !important;

    text-shadow: none !important;
  }

  /* P → GEEN QUOTE */
  .slide[data-hash="home"] .content p {
    position: static !important;

    font-style: normal !important;
    text-align: left !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;

    max-width: 100% !important;

    text-shadow: none !important;
  }

  /* verwijder quote tekens */
  .slide[data-hash="home"] .content p::before,
  .slide[data-hash="home"] .content p::after {
    content: none !important;
  }

}



/* ===== DESKTOP (default) ===== */
.slide .content p {
  position: absolute;

  top: var(--text-top-desktop, 240px);
  left: var(--text-left-desktop, 40px);

  text-align: var(--text-align-desktop, left);

  max-width: 500px;
}

/* ===== MOBIEL ===== */
@media (max-width:768px){
  .slide .content p {

    top: var(--text-top-mobile, 240px);
    left: var(--text-left-mobile, 20px);

    text-align: var(--text-align-mobile, left);

    max-width: 90%;
  }
}

/* HOME: normale flow herstellen */
.slide[data-hash="home"] .content p {
  position: static !important;
  top: auto !important;
  left: auto !important;

  margin-top: 15px;
}


#gadget {
  color: white;
  text-align: center;
}

#gadget H2 {
  color: white;
  text-align: center;
  font-size: clamp(2rem, 4vw, 4rem);
padding-bottom: 30px;

}

#gadget p {
  color: white;
  text-align: center;
  font-size: 22px;

}

#contact {
  color: white;
  text-align: center;
}

#contact H2 {
  color: white;
  text-align: center;
  font-size: clamp(2rem, 4vw, 4rem);

}

.home-intro {
    font-size: 0.9rem;
}

.slide[data-hash="home"] .content p {
    font-size: 1.1rem;
}

.slide.text-right .content {
    left: auto !important;
    right: 80px !important;
    width: 550px;
    text-align: right;
}


@media (max-width:768px){

  .slide.text-right .content{
      right:0 !important;
      width:100% !important;
  }
}

@media (max-width:768px){

  .slide[data-hash="home"] .content{
      position:relative !important;
      padding-top:90px !important;
      padding-left:20px !important;
      padding-right:20px !important;
  }

}

.home-intro {
    white-space: pre-line;
}

@media (max-width: 768px) {


h1 {
margin-top:15px;
}
    .compass-container {
        display: none;
    }


.home-intro {
    font-size: 0.5rem;
}

.slide[data-hash="home"] .content p {
    font-size: 18px!important;
}
}