@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;1,100;1,400;1,500;1,600;1,700&display=swap');

/* #region GLOBAL STYLES */

:root {
    --bordeaux: #66011a;
    /* --logoBordeaux: #883946; */
    /* --navy: #1B263B; */
    --logoNavy: #111235;
    /* --beige: #F5E9E2; */
    --logoBeige: #f9f3ea;
    /* --neon: #39FF14; */
    --logoNeon: #a6f753;
    --textBG: rgba(245, 241, 235, 0.1);
    --textShadow: rgba(245, 241, 235, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background: linear-gradient(135deg, var(--logoNavy), var(--bordeaux));
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

html {
    font-size: 18px;
    color: var(--logoBeige);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
}

section {
    margin: 60px 0px;
}

h1,
.behavelikeh1 {
    font-size: clamp(2.3rem, 3.3vw, 4.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

h2,
.behavelikeh2 {
    font-size: clamp(1.8rem, 2.6vw, 3.3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

h3,
.behavelikeh3 {
    font-size: clamp(1.4rem, 2.0vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}

h4,
.behavelikeh4 {
    font-size: clamp(1.2rem, 1.6vw, 2.0rem);
    line-height: 1.3;
}

.strong {
    font-weight: 600;
}

/* #endregion */

/* #region HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
}

/* NAVIGATION - my-nav.js */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    transition: background-color .2s ease, backdrop-filter .2s ease;
}

/* Hamburger button (shown only on small screens) */
.nav-toggle {
    display: none;
    background: var(--textBG);
    border: 0;
    border-radius: 5px;
    box-shadow: 1px 1px 2px var(--textShadow);
    padding: 8px;
    cursor: pointer;
    gap: 5px;
    flex-direction: column;
}

/* 3-line icon */
.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--logoBeige);
}

/* --- A11y helper for the button label --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-links {
    display: flex;
    gap: 60px;
    list-style-type: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--logoBeige);
    font-weight: 400;
    font-size: 18px;
}

.nav-links a:hover {
    color: var(--logoNeon);
}

.nav-links a.active {
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--logoNeon);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    /* Stack the links in a dropdown panel */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: var(--logoNavy);
        box-shadow: 0 2px 24px rgba(17, 18, 53, 0.8);
        border-top: 1px solid var(--logoBeige);
        padding: 16px 40px;

        /* collapsed state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .2s ease, opacity .2s ease;
    }

    /* opened by JS toggle */
    .nav-links.open {
        max-height: 50vh;
        opacity: 1;
        pointer-events: auto;
    }
}

/* #endregion */

/* #region INDEX/HOME */

.home-hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 70%;
    margin: 0 auto;
    padding: 0 4rem 2rem;
}

.home-hero-text {
    text-align: left;
    position: relative;
}

.home-hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--textShadow);
}

.home-hero-text::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 60px;
    background: var(--logoNeon);
    z-index: 0;
}

@media (max-width: 1024px) {
    .home-hero {
        margin: 4rem auto;
    }

    .home-hero-content {
        flex-direction: column;
        text-align: center;
        margin: 1rem auto;
    }

    .home-hero-text {
        text-align: center;
    }

    .home-hero-image {
        min-width: 50%;
    }

    .home-hero-text::after {
        transform: translateX(-50%);
    }
}

.home-vision {
    display: flex;
    margin: 80px 0px;
    position: relative;
}

.home-vision-content {
    position: relative;
    z-index: 1;
    padding: 5rem 4rem;
}

.home-vision-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(249, 243, 234, 0.1), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(249, 243, 234, 0.1), transparent 30%);
    z-index: 0;
    border-radius: 12px;
}

.home-vision-text {
    max-width: 65%;
    margin: 0 auto;
}

.home-section-label {
    color: var(--logoNeon);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.home-vision p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    opacity: 0.92;
}

@media (max-width: 768px) {
    .home-vision {
        margin: 60px 20px;
    }

    .home-vision-content {
        padding: 3rem 1.5rem;
    }
}

.cta {
    margin: 4rem;
    display: flex;
    justify-content: center;
}

.cta-button {
    background: rgba(17, 18, 53, 0.55);
    color: var(--logoBeige);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.1s ease;
    box-shadow: 0 0 10px var(--logoBeige), 0 0 20px transparent;
}

.cta-button:hover {
    border: 2px solid var(--logoNeon);
    color: var(--logoNeon);
    box-shadow: 0 0 10px var(--logoNeon), 0 0 20px var(--logoNeon);
}

/* #endregion */

/* #region ABOUT ME */

.about-hero {
    margin: 60px 0px;
    background: rgba(17, 18, 53, 0.55);
}

.about-hero-content {
    display: flex;
    gap: 120px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 6rem;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;

}

.subtitle {
    color: var(--logoNeon);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.about-hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--textShadow);
}

.about-horses-image {
    width: 50%;
}

.about-horses-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--textShadow);
}

@media (max-width: 1250px) {
    .about-hero-content {
        gap: 50px;
    }
}

@media (max-width: 1100px) {
    .about-hero-content {
        flex-direction: column;
        gap: 80px;
    }

    .about-hero-text {
        text-align: center;
    }

    .about-hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .about-horses-image {
        order: 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

.about-vision-content {
    padding: 5rem 4rem;
}

.about-vision-text {
    max-width: 80%;
    margin: 0 auto;
}

.about-vision p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    opacity: 0.92;
}

@media (max-width: 768px) {
    .about-hero-content {
        padding: 4rem;
    }

    .about-vision {
        margin: 60px 20px;
    }

    .about-vision-content {
        padding: 3rem 1.5rem;
        text-align: center;
    }
}

.choose {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
}

.chooseBox {
    max-width: 250px;
    border-radius: 10px;
    padding: 2rem;
    margin: 4rem 2rem;
    text-align: center;
    background: rgba(17, 18, 53, 0.55);
    box-shadow: 0 -1px 5px var(--textShadow);
}

.chooseBox span {
    color: var(--logoNeon);
}

.chooseBox:hover {
    transform: scale(1.05);
}

@media (max-width: 1350px) {
    .chooseBox {
        margin: 2rem;
    }
}

/* aside {
    margin: 0 2rem;
    text-align: right;
} */

/* #endregion */

/* #region STAGE */

.stage-hero {
    display: flex;
    flex-direction: column;
    margin: 4rem 6rem;
    /* border: 1px solid red; */
}

.stage-hero-content {
    display: flex;
    max-width: 80%;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    gap: 2rem;
    height: auto;
    padding: 2rem;
    /* border: 1px solid green; */
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.power-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.power-slider img {
    max-width: 70%;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
}

.imagebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.imagebox img {
    max-width: 100%;
    border-radius: 10px;
}

.stage-hero-text {
    align-content: center;
    text-align: center;
    flex: 3;
}

.stage-hero-content p {
    line-height: 1.8;
    opacity: 0.92;
}

.app-container {
    margin-top: 20px;
    border: 1px solid transparent;
    box-shadow: 0 0 10px var(--logoNeon), 0 0 20px transparent;
    border-radius: 10px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.tab-btn {
    padding: 8px;
    margin: 2px;
    border-radius: 5px;
    background-color: var(--logoBeige);
}

.tab-btn:hover {
    transition: all 0.1s ease;
    box-shadow: 0 0 10px var(--logoNeon), 0 0 20px transparent;
}

.tab-btn.active {
    background-color: var(--logoNeon);
}
strong {
    text-decoration: underline;
}

.content {
    display: none;
    margin: 20px;
}

.content.active {
    display: block;
}

.downloads {
    margin: 2rem 6rem;
}

.downloads button {
    width: 85px;
    height: 85px;
    background-color: transparent;
    margin: 20px;
    border-radius: 8px;
}

.downloads button:hover {
    transition: all 0.1s ease;
    box-shadow: 0 0 10px var(--logoBeige), 0 0 20px transparent;
}

.downloads i {
    color: var(--logoBeige);
}

.downloads p {
    margin: 10px 10px 0;
    font-size: 10px;
    color: var(--logoBeige);
}

@media (max-width: 1500px) {
    .stage-hero {
    margin: 4rem 1rem;
    }

    .stage-hero-content {
        max-width: 90%;
        gap: 15px;
        margin: 2rem;
    }
}

@media (max-width: 1000px) {

    .stage-hero-content {
        flex-direction: column;
    }

    .imagebox {
        max-width: 40%;
    }

    .power-slider {
        max-width: 40%;
    }

    .app-buttons {
        flex-direction: row;
    }
}

@media (max-width: 550px) {

    .app-buttons {
        flex-direction: column;
    }

    .imagebox {
        max-width: 70%;
    }

    .power-slider {
        max-width: 70%;
    }
}

/* #endregion */

/* #region REALISATIES */

.real-hero-title {
    margin: 2rem 8rem;
}

.real-card-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    /* border: 1px solid red; */
}

.real-card-box {
    max-width: 25%;
    padding: 40px;
    border: 1px solid var(--logoBeige);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--textShadow);
}

.real-card {
    display: flex;
    flex-direction: column;
    /* border: 1px solid green; */
    gap: 20px;
    /* max-width: 80%; */
    margin: 0 auto;
    /* padding: 40px; */
}

/* .thumbnail {
    margin: 0 auto;
} */

.thumbnail img {
    max-width: 100%;
    object-fit: cover;
    /* border-radius: 10px; */
}

.thumbnail iframe {
    max-width: 100%;
}

/* .video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
} */

/* #endregion */

/* #region FOOTER */

footer {
    font-family: 'Poppins', sans-serif;
    color: var(--beige);
    width: 100%;
    background-color: var(--logoNavy);
    box-shadow: 0 -1px 5px rgba(17, 18, 53, 0.8);
    box-shadow: 0 -1px 5px var(--textShadow);
    display: block;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-content a {
    text-decoration: none;
    color: var(--logoBeige);
}

.footer-content a:hover {
    color: var(--logoNeon);
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
    width: 100%;
    gap: 10px;
}

/* keep your bottom line centered */
.footer-bottom {
    font-size: 12px;
    margin: 20px 0;
    text-align: center;
}

@media (max-width: 918px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-top div {
        margin-bottom: 10px;
    }
}

/* #endregion */

/* #region CHATBOT */

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--logoBeige);
    background-color: var(--logoNavy);
}

#chat-window {
    width: 350px;
    height: 500px;
    background: var(--logoNavy);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--textShadow);
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 75px;
    right: 0;
}

.hidden {
    display: none !important;
}

#chat-header {
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid var(--logoNeon);
}

#chat-actions {
    display: flex;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid var(--logoNeon);
    flex-wrap: wrap;
}

.chat-action-btn {
    border: none;
    border-radius: 20px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 0.85rem;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    scrollbar-color: var(--logoNeon);
}

#chat-input-area {
    display: flex;
    /* border-top: 1px solid var(--logoNeon); */
}

#chat-input {
    flex: 1;
    border: none;
    padding: 10px;
}

#send-btn {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.user {
    margin-right: auto;
    color: var(--logoNeon);
    text-align: left;
}

.bot {
    margin-left: auto;
    text-align: left;
}

/* #endregion */