/* ========================================
   SV Hardenberg - Main Stylesheet
   Fonts: Raleway (body), Playfair Display (headings)
   Colors: #3b3b3b (dark), #fff (light), #f5f5f5 (bg)
   ======================================== */

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

:root {
    --color-dark: #3b3b3b;
    --color-text: #4a4a4a;
    --color-light: #ffffff;
    --color-bg: #f5f5f5;
    --color-border: #e1e1e1;
    --color-accent: #c19b5f;
    --font-body: 'Raleway', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --shadow: 1px 2px 20px 0px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-light);
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); line-height: 1.3; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

a { color: var(--color-dark); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--color-dark);
    transition: background 0.3s;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 80px;
    gap: 20px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
    flex: 1;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-left a, .nav-right a {
    color: var(--color-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
}

.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active {
    opacity: 1;
    border-bottom-color: var(--color-light);
}

.logo { flex-shrink: 0; padding: 0 15px; }
.logo img { height: 55px; width: auto; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-light);
    margin: 5px 0;
    transition: transform 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--color-dark);
    padding: 0 20px 20px;
}

.mobile-nav a {
    color: var(--color-light);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ========================================
   PAGE BANNER
   ======================================== */
.page-banner {
    margin-top: 80px;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner h1 {
    color: var(--color-light);
    font-size: 2.5rem;
    text-align: center;
}

/* ========================================
   CONTENT
   ======================================== */
.content {
    min-height: 60vh;
}

.content.with-banner { margin-top: 0; }
.content:not(.with-banner) { margin-top: 80px; }

.section {
    padding: 60px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-full {
    padding: 60px 0;
}

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

.text-center { text-align: center; }

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

/* Card / Box */
.box {
    background: var(--color-light);
    box-shadow: var(--shadow);
    padding: 40px;
}

.box-dark {
    background: var(--color-dark);
    color: var(--color-light);
    box-shadow: var(--shadow);
    padding: 40px;
}

.box-dark h2, .box-dark h3, .box-dark h4 { color: var(--color-light); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover { background: var(--color-dark); color: var(--color-light); opacity: 1; }

.btn-light { border-color: var(--color-light); color: var(--color-light); }
.btn-light:hover { background: var(--color-light); color: var(--color-dark); }

.btn-outline-light { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.8); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--color-light); color: var(--color-light); opacity: 1; }

/* ========================================
   HOME PAGE - HERO
   ======================================== */
.home-hero {
    margin-top: 80px;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,59,59,0.85) 0%, rgba(59,59,59,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-content {
    text-align: center;
    color: var(--color-light);
    padding: 20px;
}

.home-hero-content h1 {
    color: var(--color-light);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.home-hero-content > p {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.home-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ========================================
   HOME PAGE - HIGHLIGHTS
   ======================================== */
.home-highlights {
    padding: 80px 0;
    background: var(--color-light);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--color-light);
    box-shadow: 0 5px 40px rgba(0,0,0,0.08);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(0,0,0,0.12);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
}

.highlight-card h3 {
    margin-bottom: 15px;
}

.highlight-card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.highlight-note {
    font-size: 13px !important;
    font-style: italic;
    opacity: 0.7;
    margin-top: 10px !important;
}

.highlight-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
}

.highlight-link:hover { opacity: 0.7; }

/* ========================================
   HOME PAGE - NEWS
   ======================================== */
.home-news {
    padding: 80px 0;
    background: var(--color-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.news-image img {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.news-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.news-content h2 {
    margin-bottom: 20px;
}

.news-content p {
    margin-bottom: 12px;
    font-size: 15px;
}

/* ========================================
   HOME PAGE - ABOUT
   ======================================== */
.home-about {
    padding: 80px 0;
    background: var(--color-light);
}

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

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 15px auto 25px;
}

.about-inner p {
    margin-bottom: 15px;
    font-size: 15px;
}

.about-inner .btn {
    margin-top: 15px;
}

/* ========================================
   HOME PAGE - GALLERY
   ======================================== */
.home-gallery {
    padding: 80px 0;
    background: var(--color-bg);
    text-align: center;
}

.home-gallery h4 {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text);
    opacity: 0.6;
    margin-bottom: 5px;
}

.home-gallery h2 {
    margin-bottom: 5px;
}

/* ========================================
   HOME PAGE - CTA
   ======================================== */
.home-cta {
    padding: 80px 0;
    background: var(--color-dark);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner h2 {
    color: var(--color-light);
    margin-bottom: 10px;
}

.cta-inner > div:first-child p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.cta-buttons {
    text-align: center;
    flex-shrink: 0;
}

.cta-contact-info {
    margin-top: 20px;
}

.cta-contact-info p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 5px;
}

.cta-contact-info a {
    color: rgba(255,255,255,0.6);
}

.cta-contact-info a:hover {
    color: var(--color-light);
}

.cta-contact-info i {
    width: 18px;
    margin-right: 5px;
}

/* ========================================
   GALLERY (shared)
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ========================================
   TIMELINE (Historie)
   ======================================== */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 14px;
    height: 14px;
    background: var(--color-dark);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content { padding: 20px 0; }
.timeline-content h4 { color: var(--color-accent); margin-bottom: 5px; font-family: var(--font-body); font-weight: 600; }
.timeline-content h3 { margin-bottom: 15px; }

.timeline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-dark);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ========================================
   PRICING TABLE
   ======================================== */
.pricing-table {
    margin: 20px 0;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
    font-weight: 600;
    background: var(--color-bg);
}

/* ========================================
   ICON LIST
   ======================================== */
.icon-list { list-style: none; }
.icon-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-list i { color: var(--color-dark); width: 20px; text-align: center; }

/* ========================================
   DOWNLOAD LIST
   ======================================== */
.download-list { list-style: none; }
.download-list li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.download-list a { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.download-list i { color: var(--color-dark); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.7); }
.content:not(.with-banner) ~ .site-footer { margin-top: 0; }
.content.with-banner ~ .site-footer { margin-top: 60px; }

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 20px;
}

.footer-col h4 {
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--color-light); }
.footer-col i { margin-right: 5px; }

.footer-logo { max-width: 120px; margin-top: 15px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-light); }
.footer-legal { margin-bottom: 6px; }
.footer-legal a { color: rgba(255,255,255,0.7); }
.footer-legal a:hover { color: var(--color-light); }
.footer-legal a + a {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
    .footer-legal a + a { margin-left: 8px; padding-left: 8px; }
    .footer-legal { line-height: 1.9; }
}

/* ========================================
   COMPETITION FORM
   ======================================== */
.team-card {
    background: var(--color-bg);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
}

.team-card h4 { margin-bottom: 15px; }

.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Links in het competitie-informatieblok duidelijk zichtbaar maken */
.competitie-info a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.competitie-info a:hover { opacity: 0.7; }

/* ========================================
   COOKIE NOTICE
   ======================================== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 540px;
    margin-left: auto;
    z-index: 9999;
    background: var(--color-dark);
    color: rgba(255,255,255,0.85);
    padding: 18px 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    line-height: 1.6;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-notice.show { transform: translateY(0); opacity: 1; }

.cookie-notice p { margin: 0; flex: 1; }

.cookie-notice a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice a:hover { opacity: 0.8; }

.cookie-notice button {
    background: var(--color-accent);
    color: var(--color-dark);
    border: none;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cookie-notice button:hover { background: #d4ad6e; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1000px) {
    .nav-left, .nav-right { display: none; }
    .mobile-menu-toggle { display: block; }
    .header-inner { justify-content: center; }

    .hero-grid, .grid-2, .news-grid { grid-template-columns: 1fr; }
    .grid-3, .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }

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

    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 50px; }
    .timeline-item::before { left: 20px; }

    .team-members { grid-template-columns: 1fr; }

    h1 { font-size: 1.8rem; }
    .home-hero-content h1 { font-size: 2.5rem; }
    .page-banner { height: 200px; background-attachment: scroll; }
    .home-hero { height: 70vh; background-attachment: scroll; }

    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .highlights-grid, .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }

    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 18px;
    }
    .cookie-notice button { width: 100%; }

    .home-hero-content h1 { font-size: 2rem; }
    .home-hero-content > p { font-size: 1rem; }
    .home-hero-buttons { flex-direction: column; align-items: center; }

    .home-highlights, .home-news, .home-about, .home-gallery, .home-cta { padding: 50px 0; }
    .home-highlights { margin-top: -30px; }

    .news-grid { gap: 30px; }
}
