﻿/*
    Author: Tedje
    Date: 16-01-2024
    Description: Flash Gym Trainers Stylesheet
*/

/* ===== Container ===== */
.container-1 {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 120px 20px;
}

    /* Titel */
    .container-1 h2 {
        font-family: BebasNeue; /* laat body op Montserrat */
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--gold-color, #f3c846);
        margin: 0 0 .25rem 0;
    }

    /* Korte gouden streep onder titel */
    .container-1 > hr {
        height: 3px;
        width: 72px;
        background: var(--gold-color, #f3c846);
        border: none;
        margin: .25rem 0 1.5rem 0; /* links uitgelijnd */
    }

    /* "Laatst bewerkt" */
    .container-1 > p:first-of-type {
        color: #a9b6c9;
        font-size: .95rem;
        margin: 0 0 1.5rem 0;
    }

/* Body copy */
.container-1a p {
    color: #e9eef5;
    font-size: clamp(1rem, 1.2vw, 1.075rem);
    line-height: 1.75;
    margin: 0 0 1rem 0;
    max-width: 75ch;
}

.container-1a p strong {
    color: var(--gold-color, #f3c846);
}

.container-1a.two-col {
    column-count: 2;
    column-gap: 48px;
}

    .container-1a.two-col p {
        break-inside: avoid;
    }

/* Responsive fine-tuning */
@media (max-width: 640px) {
    .container-1 {
        padding: 120px 16px;
    }

        .container-1 > hr {
            width: 56px;
        }
}

/* Lijsten in de over-ons sectie */
.container-1a ul {
    color: #e9eef5; /* wit/lichtgrijs */
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    list-style-type: disc; /* standaard bullets */
}

.container-1a li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.container-1a ul li::marker {
    color: var(--gold-color, #f3c846);
}

/* ===== Info grid ===== */
.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.info {
    flex: 0 0 calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gold-color, #f3c846);
    background-color: #0e1824;
    box-shadow: 0 4px 12px rgba(243, 200, 70, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .info:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(243, 200, 70, 0.18);
        border-color: #ffd95e;
    }

    /* Afbeelding */
    .info img {
        width: 100%;
        height: 220px; /* vaste hoogte voor consistentie */
        object-fit: cover;
        display: block;
    }

    /* Klikbare titel */
    .info a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

/* Titelblok */
.info-block {
    padding: 16px 18px;
    border-top: 1px solid rgba(243, 200, 70, 0.25);
}

/* Korte gouden streep onder titel */
    .info-block hr {
        height: 3px;
        width: 72px;
        background: var(--gold-color, #f3c846);
        border: none;
        margin: .25rem 0 1.5rem 0; /* links uitgelijnd */
    }

    .info-block h5 {
        font-family: BebasNeue;
        color: var(--gold-color, #f3c846);
        font-size: 1.3rem;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

/* Hover effect op titel */
.info a:hover .info-block h5 {
    color: #ffd95e;
}

/* Tekst + knop-container */
.info-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 18px 18px;
    gap: 16px;
}

/* Tekst */
.info-text p {
    color: #e9eef5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Knop */
.info .btn {
    margin-top: auto; /* altijd onderaan */
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    color: var(--gold-color, #f3c846);
    background: transparent;
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold-color, #f3c846);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 6px;
    transition: all 300ms ease;
}

    .info .btn:hover {
        background: var(--gold-color, #f3c846);
        color: #0e1824;
        box-shadow: 0 0 12px rgba(243, 200, 70, 0.25);
    }


/* ===== Profile/Info rows ===== */
.info-profile {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

    .info-profile img {
        margin-bottom: 10px;
        border-radius: 8px;
    }

.info-info i {
    color: var(--gold-color, #f3c846);
}

.info-info h3,
.info-profile h3 i {
    font-family: BebasNeue;
    font-size: 2rem;
    margin: 0;
    color: #f3f3f3;
    letter-spacing: .5px;
}

.info-info h4,
.info-profile h4 i,
.info-info p {
    font-size: 1.05rem;
    color: #dbe4ee;
    margin: .25rem 0;
}

    .info-info p i {
        font-size: 1.2rem;
        color: var(--gold-color, #f3c846);
    }

.info-profile h3,
.info-profile h4 {
    text-transform: uppercase;
}

.info-profile div p {
    margin: 0 0 20px 0;
}

/* ===== Text blocks ===== */
.info-text p {
    font-size: 1rem;
    color: #e9eef5;
    line-height: 1.65;
}

.info-text .bold {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 1.5rem;
    color: #f3f3f3;
}

    .info-text .bold a {
        text-decoration: none;
        color: var(--gold-color, #f3c846);
    }

        .info-text .bold a:hover {
            color: #ffd95e;
        }

/* ===== Tables (dark theme) ===== */
table {
    font-family: Montserrat, sans-serif;
    border-collapse: collapse;
    width: 100%;
    background: #0e1824;
    color: #f3f3f3;
    border: 1px solid rgba(243, 200, 70, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

td, th {
    border: 1px solid rgba(243, 200, 70, 0.18);
    text-align: left;
    padding: 12px;
}

th {
    background: rgba(243, 200, 70, 0.08);
    color: var(--gold-color, #f3c846);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 700;
    font-size: .9rem;
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

tr:hover {
    background-color: rgba(243, 200, 70, 0.06);
}


/*==================================
            MEDIA QUERIES
==================================*/

/* Grote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1460px) {
    .container-1 {
        width: 80%;
    }
}

/* Middelgrote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .container-1 {
        width: 80%;
    }
}

@media only screen and (min-width: 923px) and (max-width: 1023px) {
    .container-1 {
        width: 90%;
    }
}

/* Middelgrote schermen */
@media only screen and (min-width:768px) and (max-width:1000px) and (orientation: portrait) {

}

@media only screen and (min-width: 768px) and (max-width: 952px) {
    .container-1 {
        width: 70%;
    }

    .info-list {
        display: block;
    }

    .info-list > div {
        margin-bottom: 2rem;
    }
}

/* Kleine schermen */
@media only screen and (max-width: 767px) {
    .container-1 {
        width: 80%;
    }

    .info-list {
        display: block;
    }

    .info-list > div {
        margin-bottom: 2rem;
    }

}

@media only screen and (max-width: 478px) and (orientation: portrait) {



}
