/*
Theme Name: LeefFIT Twente
Theme URI: https://leeffittwente.nl
Author: LeefFIT Twente
Description: Custom theme voor LeefFIT Twente — coaching naar een gezonde leefstijl en vitaliteit.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: leeffit
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #2C3E50;
    --navy-light: #3A5068;
    --navy-dark: #1a252f;
    --gold: #C4A265;
    --gold-light: #D4BC8A;
    --gold-dark: #A68845;
    --silver: #8C8C8C;
    --silver-light: #B0B0B0;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --light-bg: #F2F0EB;
    --text-dark: #2C3E50;
    --text-body: #4A5568;
    --text-light: #718096;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
    --shadow-lg: 0 8px 30px rgba(44, 62, 80, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--navy);
}

::selection {
    background-color: var(--gold);
    color: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.125rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--alt {
    background-color: var(--off-white);
}

.section--navy {
    background-color: var(--navy);
    color: var(--white);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section--navy p {
    color: rgba(255,255,255,0.8);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section__header p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 32px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2-1 { grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.grid--1-2 { grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.3px;
}

.btn--primary {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(196, 162, 101, 0.25);
}

.btn--primary:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 162, 101, 0.35);
}

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

.btn--outline:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn--white:hover {
    background-color: var(--off-white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 42px;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--gold);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.site-logo img {
    height: 84px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--gold);
    background-color: rgba(196, 162, 101, 0.18);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--navy);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.7) 0%,
        rgba(44, 62, 80, 0.5) 50%,
        rgba(44, 62, 80, 0.65) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 0;
}

.hero__content h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero__content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 28px;
    max-width: 560px;
}

/* Hero slideshow */
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.7) 0%,
        rgba(44, 62, 80, 0.5) 50%,
        rgba(44, 62, 80, 0.65) 100%
    );
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid rgba(44, 62, 80, 0.06);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.card__icon svg {
    width: 28px;
    height: 28px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 8px 0 8px 32px;
    position: relative;
    font-size: 1.0625rem;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

/* ===== TEAM CARDS ===== */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(44, 62, 80, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-card__inner {
    display: flex;
    gap: 24px;
    padding: 24px;
    align-items: center;
}

.team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--off-white);
}

.team-card__role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.team-card__info h3 {
    margin-bottom: 2px;
}

.team-card__info p:last-child {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ===== TEAM MEMBER (simple) ===== */
.team-member {
    text-align: center;
    padding: 24px;
}

.team-member__photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--off-white);
    box-shadow: var(--shadow);
}

.team-member__name {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--gold);
}

.team-member__desc {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}


/* ===== LOCATION CARDS ===== */
.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 2fr 3fr;
    overflow: hidden;
}

.location-card:last-of-type {
    margin-bottom: 0;
}

.location-card__photo {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.location-card__info {
    padding: 32px;
}

.location-card__name {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.location-card__detail {
    font-size: 0.9375rem;
    margin-bottom: 4px;
    color: var(--text-body);
}

.location-card__map {
    margin: 20px 0;
}

.location-card__map iframe {
    display: block;
    width: 100%;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta {
    text-align: center;
    padding: 0;
}

.section.section--navy {
    padding: 40px 0;
}

.cta h2 {
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.site-footer a {
    color: var(--gold-light);
}

.site-footer a:hover {
    color: var(--white);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__about p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    font-size: 0.875rem;
}

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

/* ===== PAGE CONTENT ===== */
.page-header {
    background: var(--off-white);
    padding: 60px 0 40px;
}

.page-header h1 {
    font-size: 2.25rem;
}

.page-content {
    padding: 60px 0;
}

.page-content p {
    max-width: 720px;
}

.page-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

/* ===== CONTACT FORM (WPForms) ===== */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form textarea {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15);
}

.wpforms-container .wpforms-submit {
    background-color: var(--gold) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.wpforms-container .wpforms-submit:hover {
    background-color: var(--gold-dark) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid--2, .grid--3, .grid--2-1, .grid--1-2 {
        grid-template-columns: 1fr;
    }

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 60px 0;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 16px;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: block;
    }

    .hero__content h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 420px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        grid-template-columns: 1fr;
    }

    .location-card__photo {
        min-height: 200px;
    }

    .location-card__info {
        padding: 24px;
    }

    .section {
        padding: 48px 0;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

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