@import url(overlay.css);
@import url(fonts.css);


:root {
  --bg: #000;
  --fg: #fff;
  --gray: #707072;
  --primary: #CCFF46;
}

* { box-sizing: border-box; }
html, body { 
    height: 100%; margin: 0; 
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: "Helvetica Now Display", Helvetica, sans-serif;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

main {
    align-items: center;
    display: flex;
    flex-direction: column;     
    justify-content: flex-start; 
    margin: 0 auto;
    width: 100%;
}

header {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(images/duco-telgenkamp.jpg) no-repeat;
    background-position: 0% 95%;
    background-size: 100vw auto;
}

header .header-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 40px 8px 40px;
    text-align: center;
    width: 100%;
    height: 100vh;
}

header .hero-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.header-text {
    width: 50vw;
}

.header-logo {
    margin-top: 40px;
    width: 12vw;
}

h1, h2, h3 {
    margin: 0;
}

h1 {
    color: var(--bg);
    font-family: "Futura";
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

h2 {
    color: var(--primary);
    font-family: "Futura";
    font-size: 2.6vw;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

h3 {
    color: var(--fg);
    font-family: "Futura";
    font-size: 2vw;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

section {
    margin: 100px 0;
    text-align: center;
    width: 44vw;
}

section.buttons {
    margin: 0;
    width: 60vw;
}

div.main {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

div.buttons {
    display: flex;
    justify-content: space-between;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    cursor: pointer;
    color: var(--bg);
    display: inline-block;
    color: var(--bg);
    font-family: "Futura";
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.2s ease;
    width: 32%;
}

.btn-primary:hover {
    background-color: #b8ea2f; /* iets donkerdere tint bij hover */
    transform: translateY(-2px);
}

.info {
    margin-top: 42px;
}


.topbar {
    display: flex;
    width: 100%;
}

.topbar-left, .topbar-center, .topbar-right {
    flex: 1;
}

.topbar-right {
    display: flex;
    justify-content: flex-end;
}

.topbar-text {
    color: var(--bg);
    font-family: "Futura";
    font-size: 24px;
    font-weight: 700;
}

.topbar-logo {
    height: 32px;
}

.header-footer {
    width: 100%;
}

.header-footer .scroll-down {
    bottom: 12px;
    display: flex;
    flex-direction: column;
    left: 50%;
    position: absolute;
      transform: translateX(-50%);
}

.header-footer .header-footer-text {
    color: var(--bg);
    font-family: "Futura";
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-footer .arrow-down {
    animation: bounce 1.8s ease-in-out infinite;
    display: inline-block;
    height: 20px;
    margin-top: 4px;
}

div.icons {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

div.icon {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

img.icon {
    height: 32px;
}

img.stopwatch, img.skill {
    height: 40px;
}

span.icon {
    color: var(--primary);
    font-family: "Futura";
    font-weight: 700;
    text-transform: uppercase;
}

.location-container {
    display: flex;
    text-align: left;
}

.location-container-left {
    flex: 1;

}

.location-container-right {
    flex: 2;
}

img.img-location {
    width: 100%;
}

.location-container .address, .location-container .contact {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

span.title {
    font-weight: 700;
}

a.link-item {
    color: var(--fg);
    text-decoration: none;
    transition: color 0.1s ease; 
}

a.link-item:hover {
    color: var(--gray);
}

footer {
    padding: 100px 40px 40px 40px;
    width: 100vw;
}

footer .footer-logo {
    width: 100%;
}

.margin-bottom-large {
    margin-bottom: 40px;
}

@media (max-width: 900px) {
  .grid-2, .info { grid-template-columns: 1fr; }
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}


/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* extra helper om animatie uit te zetten wanneer nodig */
.reveal.no-anim {
  transition: none !important;
}

/* Variaties (optioneel) */
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px);  }
.reveal.zoom       { transform: scale(.96);        }

/* Stagger voor children binnen een container */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i, 0) * .08s);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Toegankelijkheid */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible,
  .reveal-stagger, .reveal-stagger.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

    body {font-size: 14px;}

    header {
        background: url(images/duco-telgenkamp-mobile.jpg);
        background-position: 29% 72%;
        background-size: auto 120vh;
    }

    header .header-container {padding: 20px 40px 8px 40px;}

    .topbar-left, .topbar-right {display: none;}

    .header-text {width: 80vw;}

    div.hero-text {margin-bottom: 40px;}

    h1.hero-text {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .header-logo {
        margin-top: 20px;
        width: 30vw;
    }

    .header-footer .scroll-down {
        bottom: 95px;
    }

    .header-footer .header-footer-text {font-size: 12px;}

    .header-footer .arrow-down {
        height: 16px;
        margin-bottom: 2px;
    }

    main {max-width: 80vw;}

    section {
        margin: 80px 0;
        width: 100%;
    }

    section.buttons {
        width: 100%;
    }   

    h2 {font-size: 6vw;}

    .margin-bottom-large {margin-bottom: 20px;}

    div.icons {
        flex-direction: column;
        margin: 40px 0 0 0;
    }

    div.icon {
        margin-bottom: 40px;
    }

    div.buttons {
        align-items: center;
        flex-direction: column;
    }

    .btn-primary {
        margin-bottom: 20px;
        width: 100%;
    }

    h3 {
        font-size: 6vw;
        margin-bottom: 20px;
    }

    .location-container {flex-direction: column-reverse;}

    .location-container .address {margin-bottom: 20px;}
    .location-container .contact {margin-bottom: 0px;}

    .img-location {margin-bottom: 20px;}

    .reveal.from-right, .reveal.from-left {transform: none;}

    footer {padding: 40px;}
}





