/* ============================================================
   H.B.V. Vredelust — stylesheet
   Kleuren komen uit het clubembleem (blauw/rood) met goud als
   accent; warme achtergrond zoals de clubflyers.
   ============================================================ */

:root {
    --blue: #24407a;
    --blue-dark: #182c56;
    --red: #c0392b;
    --red-dark: #a93226;
    --gold: #f4c542;
    --cream: #fdfbf7;
    --ink: #2c3e50;
    --ink-soft: #55606b;
    --line: #e6e0d4;
    --radius: 14px;
    --shadow: 0 4px 18px rgba(24, 44, 86, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    /* anchors mogen niet onder de sticky header verdwijnen */
    scroll-padding-top: 4.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

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

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== Header / navigatie ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--blue);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0.8rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    background: var(--blue);
    color: #fff;
}

.nav-menu a.active {
    color: var(--red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */

.hero {
    background:
        linear-gradient(rgba(24, 44, 86, 0.82), rgba(24, 44, 86, 0.72)),
        url("../img/roos.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 4.5rem 0 0;
}

.hero-embleem {
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-sub {
    margin-top: 0.75rem;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold);
    font-weight: 600;
}

.hero-tagline {
    max-width: 620px;
    margin: 1.25rem auto 0;
    font-size: 1.05rem;
    color: #e8ecf5;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-facts {
    list-style: none;
    margin-top: 3.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hero-facts strong {
    display: block;
    font-size: 1.15rem;
    color: var(--gold);
}

.hero-facts span {
    font-size: 0.9rem;
    color: #d4dbe9;
}

/* ===== Knoppen ===== */

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.4);
}

.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-dark); }

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover, .btn-outline:focus-visible {
    background: #fff;
    color: var(--blue);
}

.btn-outline-dark {
    border: 2px solid var(--blue);
    color: var(--blue);
}

.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
    background: var(--blue);
    color: #fff;
}

/* ===== Secties ===== */

.section { padding: 4.5rem 0; }

.section-alt {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    color: var(--blue);
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.6rem;
}

/* klein 'roos'-accent onder elke sectietitel */
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold) 0 33%, var(--red) 33% 66%, var(--blue) 66%);
}

.section-intro {
    max-width: 720px;
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 2.25rem;
}

.section-cta {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-cta-left { justify-content: flex-start; text-align: left; }

/* ===== Tekst + afbeelding naast elkaar ===== */

.split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.split-text p + p { margin-top: 1rem; }

.split-figure img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.split-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
}

/* ===== Kaarten ===== */

.card-grid, .bow-cards {
    display: grid;
    gap: 1.5rem;
}

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

.bow-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.5rem;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--blue);
}

.section-alt .card { border: 1px solid var(--line); border-left: 6px solid var(--blue); }

.card h3 {
    color: var(--blue);
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.card p { color: var(--ink-soft); }

.card-accent {
    border-left-color: var(--red);
    background: #fff8f2;
}

.price-line { margin-bottom: 0.25rem; }

.price-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red);
    margin-right: 0.4rem;
}

/* ===== Stappen (proefles) ===== */

.steps {
    list-style: none;
    counter-reset: stap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.steps li {
    counter-increment: stap;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: relative;
    padding-top: 3.5rem;
}

.steps li::before {
    content: counter(stap);
    position: absolute;
    top: 1.1rem;
    left: 1.5rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    color: var(--blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.steps p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Prijzen (lidmaatschap) ===== */

.price-card { align-self: start; }

.price-table div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--line);
}

.price-table dt { font-weight: 600; }

.price-table dt small {
    display: block;
    font-weight: 400;
    color: var(--ink-soft);
}

.price-table dd {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--red);
    white-space: nowrap;
}

.price-note {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ===== Openingstijden ===== */

.schedule {
    width: 100%;
    max-width: 640px;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule th, .schedule td {
    padding: 0.85rem 1.25rem;
    text-align: left;
}

.schedule thead th {
    background: var(--blue);
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.schedule tbody tr { border-top: 1px solid var(--line); }

.schedule tbody th { color: var(--blue); vertical-align: top; }

.schedule td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

.schedule-note {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-style: italic;
}

/* ===== Contact / kaart ===== */

.contact-details { font-style: normal; margin: 1.25rem 0; }

.contact-details p + p { margin-top: 0.75rem; }

.contact-details a { color: var(--red); font-weight: 600; }

.map-wrap { display: flex; flex-direction: column; gap: 0.4rem; }

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-link {
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: right;
}

/* ===== Fotoplaceholder ===== */

.wide-figure { margin-top: 2.5rem; }

.wide-figure img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.wide-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
}

/* twee media-items naast elkaar (video + foto, of twee foto's) */
.media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
    align-items: start;
}

.media-row img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.media-row figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
}

.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */

.site-footer {
    background: var(--blue-dark);
    color: #cfd8ea;
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer-inner img { margin: 0 auto 1rem; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-inner p + p { margin-top: 0.4rem; }

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

.footer-credit { font-size: 0.8rem; opacity: 0.7; margin-top: 1rem; }

/* ===== Scroll-reveal (uitgeschakeld bij reduced motion) ===== */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsief ===== */

@media (max-width: 800px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-bottom: 0.75rem;
    }

    .nav-menu.open { display: flex; }

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

    .card-grid, .bow-cards, .steps, .media-row { grid-template-columns: 1fr; }

    .hero-facts { grid-template-columns: 1fr; gap: 0.75rem; text-align: center; }

    .section { padding: 3rem 0; }
}
