/* Fitness Centrum Leerdam - Main Stylesheet */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #CF261A;
    --primary-dark: #a81f15;
    --dark-color: #171B25;
    --medium-gray: #7A7A7A;
    --light-gray: #FBFBFB;
    --white: #FFFFFF;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --info-color: #3B82F6;
}

/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

/* ==================== Container & Layout ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section--gray {
    background-color: var(--light-gray);
}

/* ==================== Header & Navigation ==================== */
.header {
    background-color: var(--light-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.header__logo {
    display: flex;
    align-items: center;
    line-height: 0;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header__logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav__link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.nav__link:hover,
.nav__link--active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    z-index: 1100;
    position: relative;
    transition: background 0.2s;
}

.nav__toggle:hover {
    background: rgba(207, 38, 26, 0.08);
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.nav__toggle--open .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: white;
}
.nav__toggle--open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav__toggle--open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: white;
}

/* Overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 27, 37, 0.55);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.nav__overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero__carousel {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 480px;
}

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a3040 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero__slide--active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero__carousel {
        height: 70vh;
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .hero__carousel {
        height: 60vh;
        min-height: 320px;
    }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(23, 27, 37, 0.85) 0%, rgba(207, 38, 26, 0.75) 100%);
    z-index: 1;
}

.hero__slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__title {
    font-size: 5.0rem;
    margin-bottom: 1.5rem;
}

.hero__highlight {
    color: var(--primary-color);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: #b01f15;
    opacity: 1;
}

.btn--secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn--secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==================== Cards ==================== */
.card {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card__title {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card__content {
    color: var(--medium-gray);
}

.card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card--featured {
    border-color: var(--primary-color);
    border-width: 2px;
    background-color: #fff8f8;
    box-shadow: 0 4px 24px rgba(207, 38, 26, 0.12);
}

/* ==================== Grid System ==================== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ==================== Awards Section ==================== */
.awards {
    position: relative;
    background-image: url('/fitness-centrum-leerdam/public/images/awards-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.awards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 38, 26, 0.95) 0%, rgba(23, 27, 37, 0.9) 100%);
    z-index: 1;
}

.awards::after {
    content: '🎉';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.awards__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.awards .container {
    position: relative;
    z-index: 2;
}

.awards__content {
    max-width: 900px;
    margin: 0 auto;
}

.awards__badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.awards__title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.awards__description {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.awards__highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.awards__highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.awards__highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.awards__highlight-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.awards__highlight-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.stats-grid__content {
    display: flex;
    align-items: center;
}

.stats-grid__image {
    position: relative;
    padding: 20px;
}

.stats-grid__image::before,
.stats-grid__image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 10px solid var(--primary-color);
    z-index: 10;
}

.stats-grid__image::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.stats-grid__image::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.stats-grid__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stats--compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 0;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat__number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: var(--medium-gray);
    font-size: 1rem;
}

.stats__icon {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}

/* ==================== Services Section ==================== */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
}

.service-card {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(23, 27, 37, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(207, 38, 26, 0.3);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(207, 38, 26, 0.4);
}

.service-card .card__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card .card__content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.service-card .btn {
    margin-top: auto;
}

.icon--service {
    color: var(--dark-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
}

/* ==================== Forms ==================== */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(207, 38, 26, 0.1);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form__success {
    background-color: var(--success-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ==================== Pricing ==================== */
.pricing-card {
    text-align: center;
    background-color: var(--white);
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(23, 27, 37, 0.06);
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card__period {
    font-size: 1rem;
    color: var(--medium-gray);
}

.pricing-card__features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    flex: 1;
}

.pricing-card__feature {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.pricing-card__feature__icon {
    width: 25px;
    height: 25px;
    border-radius: 1rem;
    margin-right: 0.5rem;
}

/* ==================== Footer ==================== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    text-align: left;
}

.footer__section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 0.25rem 0;
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
}

.footer__social-link:hover {
    background-color: var(--primary-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer__logo{
    max-height: 70px;
    width: auto;
}

/* ==================== Contact Section ==================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info__item {
    text-align: center;
    padding: 1.5rem;
}

.contact-info__icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ==================== Openingstijden Tabel (contact pagina) ==================== */
.hours-list {
    display: flex;
    flex-direction: column;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row__day {
    font-weight: 600;
    color: var(--dark-color);
}

.hours-row__time {
    color: var(--medium-gray);
    font-weight: 500;
    text-align: right;
}

.hours-note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hours-note i {
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        padding: 0.6rem 0;
    }

    .hours-row__time {
        font-size: 0.875rem;
        text-align: left;
        color: var(--primary-color);
        font-weight: 600;
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__slide {
        padding: 9rem 0;
    }
}

@media (max-width: 768px) {
    /* Header layout: logo left, toggle right */
    .header__container {
        padding: 0.75rem 1rem;
    }

    .nav {
        flex: 0 0 0;
        min-width: 0;
        width: 0;
        overflow: visible;
    }

    .nav__toggle {
        margin-left: auto;
    }

    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background-color: var(--dark-color);
        flex-direction: column;
        padding: 5.5rem 2rem 2.5rem;
        gap: 0;
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
        overflow-y: auto;
        align-items: flex-start;
    }

    .nav__list--active {
        right: 0;
        display: flex;
    }

    .nav__item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav__item:last-child {
        border-bottom: none;
        margin-top: 1.5rem;
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: 1rem 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.0625rem;
        font-weight: 500;
        border-bottom: none;
        text-align: left;
        transition: color 0.2s, padding-left 0.2s;
    }

    .nav__link:hover,
    .nav__link--active {
        color: var(--white);
        border-bottom-color: transparent;
        padding-left: 0.5rem;
    }

    .nav__link--active {
        color: var(--primary-color);
    }

    /* Inschrijven button in mobile nav */
    .nav__item:last-child .btn {
        width: 100%;
        text-align: center;
        display: block;
    }

    .nav__toggle {
        display: flex; /* show hamburger on mobile */
    }

    /* Pricing cards: altijd 1 kolom op mobiel zodat 'Meest gekozen' in het midden blijft */
    .grid--3 {
        grid-template-columns: 1fr;
    }

    /* Compact service cards on mobile */
    .service-card {
        padding: 1rem;
    }

    .service-card__icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 12px;
        margin: 0 auto 0.875rem;
    }

    .icon--service {
        font-size: 1.5rem;
    }

    .service-card .card__title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .service-card .card__content {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.55;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }

    .hero__slide {
        padding: 6rem 0;
    }

    .stats {
        gap: 1.5rem;
    }
    
    .stats--compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat__number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1, .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__slide {
        padding: 5rem 0;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .section {
        padding: 2rem 0;
    }

    /* Even flatter service cards on small screens */
    .service-card {
        padding: 0.875rem;
    }

    .service-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .service-card .card__title {
        font-size: 1.1rem;
    }
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.span-section {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.trainingen-blok__imgcol {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(23,27,37,0.06);
    transition: box-shadow 0.25s ease;
}

.trainingen-blok__imgcol::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    box-shadow: none;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    border-radius: 12px;
    z-index: 1;
    transition: none;
}

.trainingen-blok__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(23,27,37,0.07);
    position: relative;
    z-index: 2;
    transform: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trainingen-blok__imgcol:hover .trainingen-blok__img {
    transform: none;
    box-shadow: 0 4px 10px rgba(23,27,37,0.04);
}

.trainingen-blok__imgcol:hover::before {
    opacity: 0;
}

.section-title--accent .section-title__red {
    color: var(--primary-color);
}

.card__features i.fi {
    color: var(--primary-color) !important;
}

/* Grounding wrapper to make blocks feel anchored to the page */
.trainingen-blok {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    opacity: 1;
}
.trainingen-intro__accentline {
    width: 64px;
    height: 4px;
    margin: 1.2rem auto 0.7rem auto;
    border-radius: 2px;
    background: linear-gradient(120deg, var(--primary-color) 60%, #ff6a3d 100%);
    transform: skewX(-18deg);
    box-shadow: 0 2px 8px 0 rgba(207,38,26,0.13);
    opacity: 1;
}
.trainingen-intro__card strong {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.15em;
}
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
/* Fancy gradient line for trainingen intro */
.trainingen-intro__line {
    width: 60px;
    height: 4px;
    margin: 0 auto 1.5rem auto;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6a3d 100%);
    box-shadow: 0 2px 8px 0 rgba(207,38,26,0.15);
    opacity: 1;
}
/* ==================== Trainingen Blokken ==================== */

/* Remove default list bullets site-wide and reset list spacing */
ul, ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

ul li, ol li {
    margin-left: 0;
}

.trainingen-blok {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.trainingen-blok--imgright {
    flex-direction: row;
}

.flaticon__training{
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trainingen-blok--imgleft {
    flex-direction: row-reverse;
}
.trainingen-blok__imgcol {
    flex: 1 1 350px;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0;
}
.trainingen-blok__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(23,27,37,0.06);
    background: #fff;
    display: block;
}
.trainingen-blok__contentcol {
    flex: 2 1 0;
    min-width: 0;
}
/* Make the 'voordelen' lists appear as one unified, slightly larger block */
.trainingen-blok__contentcol .card__features {
    background: transparent;
    padding: 0.75rem 0;
    border-radius: 6px;
    font-size: 1.0625rem; /* ~17px */
    line-height: 1.8;
    color: var(--dark-color);
    margin-top: 0.75rem;
}
.trainingen-blok__contentcol .card__features li {
    padding: 0.35rem 0;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}


.trainingen-blok__contentcol .card__features li i,
.card__features li i {
    margin-right: 0;
    vertical-align: top;
    margin-top: 6px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .trainingen-blok {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 1rem;
    }
    .trainingen-blok__imgcol {
        max-width: 100%;
        flex: 1 1 100%;
        width: 100%;
    }
    .trainingen-blok__contentcol {
        width: 100%;
        text-align: left;
    }
    .trainingen-blok--img-last {
        flex-direction: column-reverse !important;
    }
    .trainingen-blok--no-img-mobile .trainingen-blok__imgcol {
        display: none;
    }
}
/* Over ons grid met openingstijden */
.about-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-grid__title {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-grid__text {
    font-size: 1.125rem;
    color: var(--medium-gray);
}
.about-grid__hours {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(207,38,26,0.04);
    padding: 2rem 1.5rem 2rem 1.5rem;
    font-size: 1rem;
    color: var(--dark-color);
}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-grid__hours {
        padding: 1.25rem 1rem;
    }
}
/* Openingstijden blok */
.opening-hours-section {
    padding: 3rem 0;
}
.opening-hours__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.5;
}

.opening-hours__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.opening-hours__day {
    min-width: 130px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
}
.opening-hours__time {
    flex: 1;
    color: var(--dark-color);
    display: inline-block;
}

.opening-hours__list li {
    background: #fff;
    padding: 0.8rem 0.8rem;
    box-shadow: 0 1px 4px rgba(207,38,26,0.03);
    font-family: 'Poppins', sans-serif;
}
.opening-hours__list strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.opening-hours__item{
    border-bottom: 1px solid var(--medium-gray);
}
/* Pricing feature check icon */
.pricing-card__feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-right: 0.5rem;
    box-shadow: 0 1px 4px rgba(207,38,26,0.08);
    vertical-align: middle;
}

/* Removed card wrapper styles for training content to keep content inline with page flow */

/* ==================== Stats Bar ==================== */
.stats-bar {
    background-color: var(--dark-color);
    padding: 2.5rem 0;
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-bar__number {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stats-bar__label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .stats-bar__grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Hero Breadcrumb ==================== */
.hero__breadcrumb {
    margin-bottom: 1rem;
}

.hero__breadcrumb ol {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.hero__breadcrumb li {
    color: rgba(255, 255, 255, 0.65);
}

.hero__breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.hero__breadcrumb a:hover {
    color: #fff;
    opacity: 1;
}

/* ==================== CTA Section (dark) ==================== */
.section--cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.section--cta__award {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.btn--outline-white {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn--outline-white:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    opacity: 1;
}

/* ==================== Pricing Card Badge ==================== */
.pricing-card__badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    max-width: 50%;
    margin-left: 80px;
}

.pricing-card__feature .fi {
    color: var(--primary-color);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Alternatieve prijs (rittenkaart optie) */
.pricing-card__alt {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin: 0.5rem 0 0.25rem;
    padding: 0.4rem 0.75rem;
    background: var(--light-gray);
    border-radius: 6px;
    display: inline-block;
}

.pricing-card__alt strong {
    color: var(--dark-color);
    font-weight: 600;
}

.pricing-card__alt span {
    color: var(--medium-gray);
    font-size: 0.8rem;
}

/* ==================== Bedrijfsfitness Highlight ==================== */
.bedrijfsfitness-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-top: 1.5rem;
    background: rgba(207, 38, 26, 0.06);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 0.875rem 1rem;
}

.bedrijfsfitness-highlight .fi {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.bedrijfsfitness-highlight strong {
    display: block;
    color: var(--dark-color);
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.bedrijfsfitness-highlight span {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ==================== Tip Cards ==================== */
.tip-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(23, 27, 37, 0.06);
    transition: box-shadow 0.3s ease;
}

.tip-card:hover {
    box-shadow: 0 4px 20px rgba(23, 27, 37, 0.1);
}

.tip-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: var(--white);
}

.tip-card__icon i {
    margin-top: 7px;
}

.tip-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.4rem;
}

.tip-card__text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .grid--4 .tip-card {
        min-width: 0;
    }
}

/* ==================== Comprehensive Responsive ==================== */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .awards__title {
        font-size: 2.75rem;
    }

    .awards__highlights {
        gap: 1.5rem;
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card__badge{
        margin-left: 60px;
    }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Section padding */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .header__logo {
        margin:10px 0;
    }
    
    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    /* Awards */
    .awards {
        padding: 4rem 0;
    }

    .awards__title {
        font-size: 2rem;
    }

    .awards__description {
        font-size: 1rem;
    }

    .awards__badge {
        font-size: 0.9375rem;
    }

    .awards__highlights {
        gap: 1rem;
    }

    .awards__highlight {
        min-width: 140px;
        padding: 1.25rem;
    }

    .awards__highlight-number {
        font-size: 2.5rem;
    }

    /* Pricing */
    .pricing-card__badge {
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: fit-content;
    }

    .pricing-card__price {
        font-size: 2.25rem;
    }

    /* Stats bar */
    .stats-bar {
        padding: 1.75rem 0;
    }

    .stats-bar__number {
        font-size: 2.25rem;
    }

    .stats-grid__content{
        display: block;
    }
    
    .trainingen-blok__contentcol .card__features {
        font-size: 1rem;
        padding: 0;
    }

    /* Buttons */
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Contact info */
    .contact-info {
        grid-template-columns: 1fr;
    }

    /* Form */
    .form {
        max-width: 100%;
    }

    /* CTA buttons row */
    .section--cta div[style*="display:flex"] {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Small mobile (max 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero__title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    /* Pricing cards go single column */
    .grid--3,
    .grid--2 {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9375rem;
    }

    /* Stats compact */
    .stats--compact {
        grid-template-columns: 1fr;
    }

    /* Awards highlights stack */
    .awards__highlights {
        flex-direction: column;
        align-items: center;
    }

    .awards__highlight {
        width: 100%;
        max-width: 280px;
    }

    /* Hero sub */
    .hero--sub {
        min-height: 240px !important;
        padding: 4rem 0 !important;
    }

    /* Footer 3-col to 1 col */
    .footer__content {
        grid-template-columns: 1fr;
    }

    /* Trainingen blok image full width */
    .trainingen-blok__imgcol {
        width: 100%;
        max-width: 100%;
    }
}
/* ==================== FAB Knoppen ==================== */
.fab-group {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.fab {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
    border-radius: 28px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab--whatsapp {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.fab--signup {
    background: var(--primary-color);
    box-shadow: 0 4px 16px rgba(207, 38, 26, 0.4);
}

.fab__icon {
    width: 56px;
    height: 56px;
    padding: 16px;
    flex-shrink: 0;
}

.fab__icon-fi {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.375rem;
}

.fab__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-right: 0;
    transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
}

.fab:hover .fab__label,
.fab:focus .fab__label {
    max-width: 120px;
    opacity: 1;
    padding-right: 1.25rem;
}

.fab--whatsapp:hover,
.fab--whatsapp:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.fab--signup:hover,
.fab--signup:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(207, 38, 26, 0.5);
}

/* Mobiel: alleen icoon tonen */
@media (max-width: 768px) {
    .fab-group {
        bottom: 1.25rem;
        right: 1rem;
    }

    .fab {
        height: 52px;
        border-radius: 26px;
    }

    .fab__icon {
        width: 52px;
        height: 52px;
        padding: 14px;
    }

    .fab__icon-fi {
        width: 52px;
        height: 52px;
    }

    .fab__label {
        display: none;
    }
}
