/* ==========================================
   Stichting Naastenliefde - Huisstijl CSS
   Kleuren: Oranje (#FF6B35), Donkergrijs (#333), Wit (#FFF)
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATIE
   ========================================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px 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: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B35;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo:hover {
    color: #e55a2b;
}

/* Navigatie */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FF6B35;
}

nav ul li a.active {
    color: #FF6B35;
    border-bottom: 2px solid #FF6B35;
}

/* Dropdown menu */
nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
    padding: 10px 0;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown li {
    padding: 0;
}

nav ul li .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #333;
}

nav ul li .dropdown li a:hover {
    background-color: #f5f5f5;
    color: #FF6B35;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* ==========================================
   HERO SECTIE
   ========================================== */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center 30%; /* Zorgt dat gezichten en armen zichtbaar zijn */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   KNOPPEN
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.btn-secondary:hover {
    background-color: #FF6B35;
    color: #fff;
}

/* ==========================================
   SECTIES
   ========================================== */
section {
    padding: 80px 0;
}

section.alt-bg {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   MISSIE SECTIE (HOME)
   ========================================== */
.mission-section {
    text-align: center;
    padding: 80px 20px;
}

.mission-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* ==========================================
   CONTENT BLOCKS
   ========================================== */
.content-block {
    padding: 60px 0;
}

.content-block h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #FF6B35;
    display: inline-block;
}

.content-block h3 {
    font-size: 1.5rem;
    color: #FF6B35;
    margin: 30px 0 15px;
}

.content-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.content-block ul li::before {
    content: '•';
    color: #FF6B35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ==========================================
   OVER ONS PAGINA
   ========================================== */
.about-intro {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
    color: #fff;
    padding: 60px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.about-intro h2 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.about-intro p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

/* ==========================================
   BELEID & FINANCIËN
   ========================================== */
.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.board-member {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.board-member h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.board-member span {
    color: #FF6B35;
    font-style: italic;
}

.supporters-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.supporter-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FF6B35;
}

.supporter-item h4 {
    color: #333;
    margin-bottom: 5px;
}

.supporter-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================
   PROJECTEN PAGINA
   ========================================== */
.projects-timeline {
    position: relative;
    padding-left: 30px;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #FF6B35;
}

.project-item {
    position: relative;
    margin-bottom: 40px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 30px;
    width: 15px;
    height: 15px;
    background: #FF6B35;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #FF6B35;
}

.project-item .date {
    color: #FF6B35;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.project-item .amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.project-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.project-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

/* Historische projecten */
.historical-projects {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.historical-projects h3 {
    color: #333;
    margin-bottom: 20px;
}

.historical-projects ul {
    columns: 2;
    column-gap: 40px;
}

.historical-projects ul li {
    break-inside: avoid;
}

/* ==========================================
   CONTACT PAGINA
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #FF6B35;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    color: #555;
}

.contact-details strong {
    color: #333;
}

.contact-details a {
    color: #FF6B35;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-section h3 {
    color: #FF6B35;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-section p {
    color: #555;
    line-height: 1.8;
}

/* Bank info highlight */
.bank-info {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
    color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    margin-top: 15px;
}

.bank-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.bank-info span {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* ==========================================
   DOCUMENTEN / AKTEN
   ========================================== */
.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.document-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.document-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.document-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.document-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.document-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.document-card a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
}

.document-card a:hover {
    text-decoration: underline;
}

/* PDF Viewer */
.document-viewer-section {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
}

.document-viewer-section h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B35;
}

.pdf-viewer-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    border: none;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .pdf-viewer {
        height: 400px;
    }
    
    .document-viewer-section {
        padding: 20px;
    }
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: #FF6B35;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    max-width: 700px;
    margin: 0 auto 20px;
}

.testimonial cite {
    color: #FF6B35;
    font-weight: 600;
}

/* ==========================================
   PAGE HEADER (Sub pages)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: #FF6B35;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF6B35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE DESIGN - TABLET (max 992px)
   ========================================== */
@media (max-width: 992px) {
    nav ul {
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

/* ==========================================
   RESPONSIVE DESIGN - MOBIEL (max 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Header & Navigatie */
    .header-container {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
        background-color: #f5f5f5;
    }

    .menu-toggle.active {
        color: #FF6B35;
    }

    nav {
        width: 100%;
        order: 3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
        border-top: 1px solid #eee;
    }

    nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px 10px;
        font-size: 1rem;
    }

    nav ul li a.active {
        border-bottom: none;
        background-color: rgba(255, 107, 53, 0.1);
        border-left: 3px solid #FF6B35;
    }

    /* Dropdown menu mobiel */
    nav ul li .dropdown {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-radius: 0;
        min-width: auto;
    }

    nav ul li.dropdown-open .dropdown {
        max-height: 300px;
    }

    nav ul li:hover .dropdown {
        display: none;
    }

    nav ul li.dropdown-open .dropdown {
        display: block;
    }

    nav ul li .dropdown li a {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Dropdown arrow indicator */
    nav ul li > a[href*="over-ons"]::after,
    nav ul li > a[href*="beleid"]::after,
    nav ul li > a[href*="projecten"]::after {
        content: ' ▾';
        font-size: 0.8rem;
    }

    nav ul li.dropdown-open > a::after {
        content: ' ▴' !important;
    }

    /* Hero Sectie */
    .hero {
        height: 350px;
        background-position: center center;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 15px;
    }

    /* Secties */
    section {
        padding: 50px 0;
    }

    .section-title h2,
    .mission-section h2 {
        font-size: 1.8rem;
    }

    .mission-section {
        padding: 50px 15px;
    }

    .mission-section p {
        font-size: 1.05rem;
    }

    /* Knoppen */
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* About intro */
    .about-intro {
        padding: 25px;
        margin-bottom: 30px;
    }

    .about-intro h2 {
        font-size: 1.5rem;
    }

    /* Content blocks */
    .content-block {
        padding: 40px 0;
    }

    .content-block h2 {
        font-size: 1.6rem;
    }

    .content-block h3 {
        font-size: 1.3rem;
    }

    /* Board members */
    .board-members {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .board-member {
        padding: 20px;
    }

    /* Supporters */
    .supporters-list {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .projects-timeline {
        padding-left: 20px;
    }

    .project-item {
        padding: 20px;
        margin-bottom: 30px;
    }

    .project-item::before {
        left: -28px;
        width: 12px;
        height: 12px;
    }

    .project-item .amount {
        font-size: 1.2rem;
    }

    .historical-projects {
        padding: 20px;
    }

    .historical-projects ul {
        columns: 1;
    }

    /* Contact */
    .contact-info {
        padding: 25px;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .bank-info {
        padding: 15px 20px;
    }

    .bank-info span {
        font-size: 1rem;
        word-break: break-all;
    }

    /* Documents */
    .documents-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .document-card {
        padding: 20px;
    }

    .document-viewer-section {
        padding: 20px;
    }

    .pdf-viewer {
        height: 400px;
    }

    /* Testimonials */
    .testimonial {
        padding: 30px 20px;
    }

    .testimonial::before {
        font-size: 3rem;
        top: 5px;
        left: 15px;
    }

    .testimonial blockquote {
        font-size: 1.1rem;
    }

    /* Page header */
    .page-header {
        padding: 40px 15px;
    }

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

    /* Footer */
    footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding-top: 20px;
        margin-top: 20px;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - KLEINE MOBIEL (max 480px)
   ========================================== */
@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title h2,
    .mission-section h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 12px;
    }

    section {
        padding: 40px 0;
    }

    .mission-section {
        padding: 40px 12px;
    }

    .mission-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .about-intro {
        padding: 20px;
    }

    .about-intro p {
        font-size: 1rem;
    }

    .content-block h2 {
        font-size: 1.4rem;
    }

    .project-item {
        padding: 15px;
    }

    .project-item .amount {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 20px;
    }

    .testimonial {
        padding: 25px 15px;
    }

    .testimonial blockquote {
        font-size: 1rem;
    }

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

    .pdf-viewer {
        height: 300px;
    }
}

/* ==========================================
   TOUCH OPTIMALISATIES
   ========================================== */
@media (hover: none) and (pointer: coarse) {
    /* Grotere touch targets */
    nav ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
    }

    /* Verwijder hover effecten op touch devices */
    .btn-primary:hover {
        transform: none;
    }

    .board-member:hover {
        transform: none;
    }

    .document-card:hover {
        transform: none;
    }

    /* Active states voor touch */
    .btn:active {
        transform: scale(0.98);
    }

    .board-member:active {
        transform: scale(0.98);
    }
}

/* ==========================================
   LANDSCAPE MOBIEL
   ========================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 250px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 30px 15px;
    }
}
