/* ===================== VOLLEDIGE styles.css – STERKERE SCHADUW OP SERVICE CARDS ===================== */

html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
section { margin: 0; padding: 0; }

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f6f5;
    overflow-x: hidden;
    padding-top: 92px;
}
.container { max-width: 75rem; margin: 0 auto; padding: 0 1.25rem; }
:root { --dark-blue: #0f1c2e; --primary-blue: #3498db; }

/* ==================== HEADER ==================== */
.header {
    background: var(--dark-blue) url('./images/background.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 1.5rem 0;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    box-shadow: 0 .125rem .3125rem rgba(0,0,0,.2);
}
.header::before { content: ''; position: absolute; inset: 0; background: rgba(15,28,46,0.88); }
.header > * { position: relative; z-index: 1; }
.header .container { display: flex; justify-content: flex-start; align-items: center; }
.logo h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: 1.5px; }

/* ==================== HERO & SERVICES ==================== */
.hero, .services { background: #ffffff; }

.hero {
    color: var(--dark-blue);
    text-align: center;
    padding: 5.2rem 0 5.2rem;
    min-height: 40vh;
}
.hero h2 { font-size: 3rem; margin-bottom: .6rem; }
.hero p { font-size: 1.3rem; margin-bottom: 1.8rem; }
.hero .btn {
    display: inline-block;
    background: var(--dark-blue);
    color: #fff;
    padding: 1rem 2.8rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(15,28,46,.4);
    transition: all .3s ease;
}
.hero .btn:hover { background: #15253a; transform: translateY(-4px); box-shadow: 0 15px 35px rgba(15,28,46,.6); }

.services {
    padding: 2rem 0 4rem;
    position: relative;
    z-index: 2;
    margin-top: -4rem;
}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); gap: 2rem; }

.service-card { 
    background: var(--dark-blue); 
    color: #fff; 
    padding: 2rem; 
    border-radius: .6rem; 
    text-align: center; 
    transition: all .35s ease; 
    box-shadow: 0 6px 20px rgba(0,0,0,.22);  /* Iets sterker basis */
}

/* Desktop hover */
@media (hover: hover) {
    .service-card:hover {
        background: #15253a;
        transform: translateY(-4px) scale(1.07);
        box-shadow: 0 18px 40px rgba(15,28,46,.7);  /* Duidelijker, intenser schaduw */
    }
}

/* Active feedback (tap) */
.service-card:active {
    background: #15253a;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(15,28,46,.7);  /* Zelfde sterke schaduw bij tik */
}

/* Mobiel: geen vastzittende hover */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        background: var(--dark-blue);
        transform: none;
        box-shadow: 0 6px 20px rgba(0,0,0,.22);
    }
}

.service-card i { 
    display: block; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    font-size: 1.75rem; 
    margin-bottom: .5rem; 
    opacity: .95; 
}
.service-card:nth-child(1) i::before { content: "\f51e"; }
.service-card:nth-child(2) i::before { content: "\e065"; }
.service-card:nth-child(3) i::before { content: "\f24e"; }
.service-card p { 
    margin-top: 1.6rem; 
    text-align: justify; 
    text-align-last: left; 
    hyphens: auto; 
    orphans: 3; 
    widows: 3; 
}

/* ==================== ABOUT ==================== */
.about { 
    background: var(--dark-blue) url('./images/background.jpeg') center/cover no-repeat; 
    color: #fff; 
    padding: 5rem 0; 
    position: relative; 
}
.about::before { content: ''; position: absolute; inset: 0; background: rgba(15,28,46,0.88); }
.about > * { position: relative; z-index: 1; }
.about h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; white-space: nowrap; }
.about-content { max-width: 60rem; margin: 0 auto; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.about-text { 
    flex: 1; 
    min-width: 10rem; 
    max-width: 30%; 
    text-align: justify; 
    text-align-last: left; 
    line-height: 1.75; 
    lang: nl; 
    orphans: 3; 
    widows: 3; 
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
}
.about-text p { margin-bottom: 1.2rem; font-size: 1.1rem; }
.about-image { flex: 2; max-width: 40%; border-radius: .5rem; object-fit: cover; border: 4px solid rgba(255,255,255,.15); }

/* ==================== DOWNLOADS & PARTNERS ==================== */
.downloads {
    padding: 2rem 0 1rem 0;
    background: #fff;
    color: var(--dark-blue);
    text-align: center;
}
.downloads h2 { font-size: 1.67rem; margin-bottom: 2rem; }
.downloads-content { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 2rem; 
    max-width: 44rem; 
    margin: 0 auto; 
}
.flyers { 
    width: 100%; 
    max-width: 360px; 
    margin: 0 auto; 
    text-align: left; 
    padding-left: 2cm; 
}
.flyers ul { list-style: none; }
.flyers li { 
    display: flex; 
    align-items: center; 
    gap: .6rem; 
    margin-bottom: .8rem; 
}
.flyers li i { width: 1.8rem; font-size: 1.3rem; color: var(--dark-blue); }
.flyers a { 
    color: var(--dark-blue); 
    text-decoration: none; 
    border-bottom: 1px solid transparent; 
}
.flyers a:hover { color: var(--primary-blue); border-bottom-color: var(--primary-blue); }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-blue) url('./images/background.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 2rem 0;
    position: relative;
    text-align: center;
}
.footer::before { content: ''; position: absolute; inset: 0; background: rgba(15,28,46,0.88); }
.footer > * { position: relative; z-index: 1; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 60rem; margin: 0 auto; }
.footer-contact p { margin: .4rem 0; font-size: 1.1rem; display: flex; align-items: center; gap: .8rem; }
.footer-contact i { width: 1.4rem; font-size: 1.2rem; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--primary-blue); text-decoration: underline; }

/* ==================== MOBIEL ==================== */
@media (max-width: 768px) {
    .hero { padding-bottom: 2rem; }
    .services { margin-top: -1.5rem; }
    .services-grid { margin-top: 1.5rem; }
    
    .about-content { flex-direction: column; padding: 0 1rem; }
    .about-text, .about-image { max-width: 100%; }
    .about-text {
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }
    .about-image { width: 280px; height: 280px; margin: 2rem auto 0; }
    .about h2 { white-space: normal; }

    .flyers a {
        padding: 0 .4rem;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 2.2rem; }
    .logo h1 { font-size: 1.95rem; }
    .about-image { width: 240px; height: 240px; }
    .services-grid { margin-top: 1rem; }
}

@media (min-width: 1200px) {
    .hero { padding-bottom: 2rem !important; min-height: auto; }
    .services { padding-top: 3rem !important; margin-top: 0 !important; }
}

.hero .hero-content { display: inline-block; will-change: opacity, transform; }

/* ==================== EXTRA TOUCH FEEDBACK ==================== */
@media (pointer: coarse) {
    .hero .btn:active {
        transform: translateY(-2px) scale(0.98);
        box-shadow: 0 4px 15px rgba(15,28,46,.5);
    }

    .flyers a:active {
        color: var(--primary-blue);
        border-bottom-color: var(--primary-blue);
        opacity: 0.8;
    }
}