/* frontend/style.css */

/* VERWIJDER DEZE REGELS:
@tailwind base;
@tailwind components;
@tailwind utilities;
*/

/* Globale stijlen (deze blijven grotendeels hetzelfde) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FDFBF8;
    /* text-gray-800 wordt nu door Tailwind CDN afgehandeld als je die klasse op body gebruikt */
    /* color: #1f2937; */
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 5rem; /* 80px */
}

/* Hero Sectie Achtergrond (blijft hetzelfde) */
.hero-bg {
    /*background-image: url('img/home-riding.jpg');*/
    background-size: cover;
    background-position: center;
}

/* Navigatie (blijft hetzelfde) */
.nav-active {
    font-weight: bold;
    color: #F97316; /* Tailwind orange-500 */
}

/* Logo (blijft hetzelfde) */
.header-logo {
    position: absolute;
    top: 10px;
    left: 1rem;
    z-index: 60;
}

.header-logo img {
    display: block;
    height: 20vw;
    width: auto;
    min-width: 50px;
    max-height: 250px;
}

header .container > div > nav.hidden.md\:flex {
    margin-left: 190px; /* PAS DEZE WAARDE AAN! */
}

/* Stijlen voor Markdown-gegenereerde content */
.markdown-content h1 {
    /* Gebruik Tailwind CDN klassen hier, of definieer handmatig */
    /* Voorbeeld met Tailwind-achtige waarden: */
    font-size: 2.25rem; /* ong. text-4xl */
    line-height: 2.5rem;
    font-weight: 700; /* bold */
    margin-top: 1.5em; /* Ruimte boven */
    margin-bottom: 0.75em; /* Ruimte onder */
    color: #1F2937; /* Tailwind gray-800 */
}

.markdown-content h2 {
    font-size: 1.875rem; /* ong. text-3xl */
    line-height: 2.25rem;
    font-weight: 700;
    margin-top: 1.25em;
    margin-bottom: 0.625em;
    color: #1F2937;
}

.markdown-content h3 {
    font-size: 1.5rem; /* ong. text-2xl */
    line-height: 2rem;
    font-weight: 600; /* semibold */
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #1F2937;
}

/* Voeg h4, h5, h6 toe indien nodig */

.markdown-content p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    line-height: 1.75; /* Betere leesbaarheid */
    text-align: left;
}

.markdown-content a {
    color: #FFA500; /* Je brand-orange */
    text-decoration: none;
    font-weight: 500;
}

.markdown-content a:hover {
    color: #F59E0B; /* Je brand-orange-darker */
    text-decoration: underline;
}

.markdown-content ul,
.markdown-content ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.75em; /* Inspringen van de lijst */
}

.markdown-content ul {
    list-style-type: disc;
}

.markdown-content ol {
    list-style-type: decimal;
}

.markdown-content li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: left;
}

.markdown-content li::marker { /* Stijl voor bullets/nummers */
    color: #FFA500; /* Oranje */
}

.markdown-content blockquote {
    font-style: italic;
    font-weight: 500;
    color: #4B5563; /* Tailwind gray-600 */
    border-left: 0.25rem solid #FFA500; /* Oranje border */
    padding-left: 1em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.markdown-content img {
    border-radius: 0.5rem; /* lg */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* md */
    margin-top: 2em;
    margin-bottom: 2em;
    max-width: 100%; /* Zorg dat afbeeldingen niet te breed worden */
    height: auto;
}

/* Je custom classes blijven hieronder staan */
.custom-section-title {
    /* ... */
}

.transform.hover\:scale-105 { /* Je zult 'transform' en 'hover:scale-105' klassen direct moeten toevoegen in HTML */
    /* ... */
}

.description-truncate {
    max-height: 200px; /* De initiële maximale hoogte die je wilde */
    overflow: hidden;
    position: relative; /* Nodig voor het verloop-effect */
    transition: max-height 0.35s ease-in-out; /* Vloeiende animatie */
}

.description-truncate.expanded {
    max-height: 10000px; /* Een grote waarde om alle content te tonen; zorgt dat transitie werkt */
    /* Browser zal niet echt 10000px renderen, maar de natuurlijke hoogte */
}

/* Verloop-effect aan de onderkant van ingekorte tekst */
.description-truncate:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px; /* Hoogte van het verloop */
    /* Achtergrond van de bike card is bg-gray-50 (#F9FAFB) */
    /* Pas de rgb-waarden aan als je achtergrondkleur anders is */
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0), rgb(249, 250, 251) 90%);
}

/* Stijl voor de "Lees meer/minder" knop (optioneel, kan ook met Tailwind) */
.read-more-btn {
    cursor: pointer;
    display: inline-block; /* Zorgt dat margin-top werkt */
    font-weight: 500;
}

/* -------- Homepage Main Introduction Styling -------- */

#homepage-main-intro-content {
    text-align: center;
    padding-top: 1rem; /* py-12 */
    padding-bottom: 1rem; /* py-12 */
}

/* Stijl voor H2 (Hoofdtitel, bijv. "Flow Ride Adventures") */
#homepage-main-intro-content h2 {
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem;
    font-weight: 800; /* font-extrabold */
    margin-bottom: 0.5rem; /* mb-2 */
    color: rgb(15 118 110); /* text-emerald-700 */
}

/* Stijl voor H3 (Subtitel, bijv. "_Steamboat Springs, Colorado_") */
/* De _Steamboat Springs, Colorado_ in Markdown wordt <em>, dus we targeten h3 em */
#homepage-main-intro-content h3,
#homepage-main-intro-content h3 em { /* Zorgt dat de styling ook op de em tag binnen h3 werkt */
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem;
    font-weight: 600; /* font-semibold */
    color: #fff; /* text-orange-500 */
    margin-bottom: 2rem; /* mb-8 */
    font-style: italic; /* Voor de em tag */
}

/* Als je geen em gebruikt in de h3, is alleen #homepage-main-intro-content h3 voldoende */

/* Stijl voor HR (Horizontale lijn) */
#homepage-main-intro-content hr {
    max-width: 20rem; /* max-w-xs */
    margin-left: auto;
    margin-right: auto;
    border-color: #fdba74; /* border-orange-300 */
    border-top-width: 1px; /* Standaard voor hr */
    margin-top: 2rem; /* my-8 (als sm:my-10 niet apart nodig is) */
    margin-bottom: 2rem; /* my-8 */
}

/* Stijl voor P > STRONG (bijv. "All-Inclusive: Guided Dual Sport Rides & Skills Training.") */
/* Dit target een <p><strong>...</strong></p> structuur die direct onder #homepage-main-intro-content staat */
#homepage-main-intro-content > p > strong {
    display: block;
    font-size: 1rem; /* text-2xl */
    line-height: 1rem;
    font-weight: 700; /* font-bold */
    color: rgb(15 118 110); /* text-emerald-600 */
    margin-bottom: 2rem; /* mb-8 (als sm:my-10 niet apart nodig is) */
    /* line-height: 1.375; /* leading-tight, afhankelijk van font-size */
}

#homepage-main-intro-content > p > strong.white {
    color: #ffffff; /* text-emerald-600 */
}
/* Styling voor de .features-list container (de <ul> binnen de <div class="features-list">) */
#homepage-main-intro-content .features-list ul {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
    text-align: left;
    margin-top: 2rem; /* mt-8 */
    list-style-type: none; /* list-none */
    padding: 0em 1em;
}

/* Styling voor elk LI element in .features-list */
#homepage-main-intro-content .features-list li {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-lg */
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

#homepage-main-intro-content .features-list li:hover {
    transform: scale(1.05); /* hover:scale-105 */
}

/* Verwijder list item markers die 'prose' mogelijk toevoegt */
#homepage-main-intro-content .features-list li::before {
    content: "" !important;
    display: none !important;
}

/* Stijl voor STRONG binnen LI (Feature titels, bijv. "Top Quality:") */
#homepage-main-intro-content .features-list li strong {
    display: block;
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    font-weight: 600; /* font-semibold */
    color: #ea580c; /* text-orange-600 */
    margin-bottom: 0.25rem; /* mb-1 */
}

/* Stijl voor P binnen LI (Beschrijvende tekst van de feature) */
/* Aannemend dat de tekst na de strong in de li in een p tag komt door Markdown, */
/* of als het directe tekst is, is een algemene selector voor de li nodig. */
/* Als het Markdown `* **Titel:** Beschrijving` is, wordt de beschrijving deel van de `<li>` */
#homepage-main-intro-content .features-list li {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: #4b5563; /* text-gray-600 */
}

/* Als de beschrijving specifiek in een <p> tag binnen de <li> komt: */
#homepage-main-intro-content .features-list li p {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: #4b5563; /* text-gray-600 */
    margin-top: 0.25rem; /* Kleine ruimte na de strong titel */
}


/* Stijl voor STRONG binnen P binnen LI (voor accentwoorden in feature beschrijving) */
#homepage-main-intro-content .features-list li p strong {
    color: #065f46; /* text-emerald-700 */
    font-weight: 600; /* font-semibold */
    /* Reset display en margin als het een inline strong is */
    display: inline;
    margin-bottom: 0;
}


/* Media Queries voor responsiviteit (vergelijkbaar met Tailwind's sm: en md: prefixes) */

/* Medium schermen en groter (Tailwind's md: prefix, meestal 768px) */
@media (min-width: 768px) {

    #homepage-main-intro-content h2 {
        font-size: 3rem; /* sm:text-5xl (Tailwind's sm is 640px, md is 768px. Ik kies hier de grootste) */
        line-height: 1;
    }

    #homepage-main-intro-content h3,
    #homepage-main-intro-content h3 em {
        font-size: 1.5rem; /* sm:text-2xl */
        line-height: 2rem;
    }

    #homepage-main-intro-content hr {
        margin-top: 2.5rem; /* sm:my-10 */
        margin-bottom: 2.5rem; /* sm:my-10 */
    }

    #homepage-main-intro-content > p > strong {
        font-size: 1.875rem; /* sm:text-3xl */
        line-height: 2.25rem;
        margin-bottom: 2.5rem; /* sm:my-10 */
    }

    #homepage-main-intro-content .features-list ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm:grid-cols-2 */
    }

}

/* Voor schermen kleiner dan 768px (mobiele telefoons) */
@media (max-width: 767px) {

    .header-logo img {
        height: 27vw;
    }

    /* Pas de header marge aan voor het kleinere logo */
    header .container > div > nav.hidden.md\:flex {
        margin-left: 100px;
    }

    /* Pas de tekstgrootte op de video aan */
    .content-overlay h1 {
        /* Kleinere tekst op mobiel */
        font-size: 2.25rem; /* text-4xl -> text-3xl */
        line-height: 2.5rem;
        margin-top: 2rem;
    }

    .content-overlay p strong {
        font-size: 1.125rem; /* text-lg */
        line-height: 1.75rem;
    }

    #homepage-main-intro-content h2{
        font-size: 2.0rem;
    }

    #homepage-main-intro-content .features-list li{
        font-size: 0.75rem;
    }
}


/* Large schermen en groter (Tailwind's lg: prefix, meestal 1024px) */
@media (min-width: 1024px) {
    #homepage-main-intro-content .features-list ul {
        grid-template-columns: repeat(5, minmax(0, 1fr)); /* lg:grid-cols-3 */
    }
}

#mobile-menu {
    text-align: right;
}

/* In je style.css */
.text-outlined {
    -webkit-text-stroke: 1px black; /* Voor Webkit browsers */
    text-stroke: 1px black;         /* Standaard (minder ondersteund) */
    paint-order: stroke fill;     /* Zorgt dat de stroke achter de fill komt */
}

#video-background-container {
    position: relative;
    width: 100%;
    /* Aangepaste hoogte voor betere weergave op verschillende schermen */
    height: 70vh;
    min-height: 450px;
    overflow: hidden;
}

/* Stijl voor HR (Horizontale lijn) */
#video-background-container hr {
    max-width: 20rem; /* max-w-xs */
    margin-left: auto;
    margin-right: auto;
    border-color: #fdba74; /* border-orange-300 */
    border-top-width: 1px; /* Standaard voor hr */
    margin-top: 1rem; /* my-8 (als sm:my-10 niet apart nodig is) */
    margin-bottom: 1rem; /* my-8 */
}
/* Stijl voor P > STRONG (bijv. "All-Inclusive: Guided Dual Sport Rides & Skills Training.") */
/* Dit target een <p><strong>...</strong></p> structuur die direct onder #homepage-main-intro-content staat */
#video-background-container > div > p > strong {
    display: block;
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: #ffffff; /* text-emerald-600 */
    margin-bottom: 2rem; /* mb-8 (als sm:my-10 niet apart nodig is) */
    /* line-height: 1.375; /* leading-tight, afhankelijk van font-size */
}


#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; /* Zorgt ervoor dat video het vlak vult */
}

.content-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.content-overlay h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.content-overlay hr {
    max-width: 20rem; /* max-w-xs */
    margin-left: auto;
    margin-right: auto;
    border-color: #fdba74; /* border-orange-300 */
    border-top-width: 1px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.content-overlay p strong {
    display: block;
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}