/* ======================================
   FOTOGRAFIE PORTFOLIO STYLESHEET
   ====================================== */

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

/* ======================================
   KLEUREN - AANPASSEN NAAR WENS
   ====================================== */
:root {
    --primary: #1E6AEB;              /* Hoofdkleur - pas aan naar jouw kleur */
    --primary-dark: #1557c9;         /* Donkere variant van hoofdkleur */
}

/* Light mode colors */
:root {
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --nav-text: #1f2937;
}

/* Dark mode colors - STANDAARD ACTIEF */
:root.dark-mode {
    --text-dark: #f9fafb;
    --text-gray: #9ca3af;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --border: #374151;
    --nav-bg: rgba(17, 23, 39, 0.9);
    --nav-text: #f9fafb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
    transition: background-color 0.3s, color 0.3s;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-gray);
}

/* ======================================
   NAVIGATIE - Transparant, wordt wit bij scrollen
   ====================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Navbar styling na scrollen */
.nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
    transition: color 0.3s;
}

.nav.scrolled .nav-logo {
    color: var(--nav-text);
}

.nav-logo svg {
    color: var(--primary);
}

/* Logo image styling - als je een afbeelding gebruikt ipv SVG */
.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav.scrolled .nav-links a {
    color: var(--nav-text);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dark mode toggle button */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav.scrolled .dark-mode-toggle {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--text-dark);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.nav.scrolled .dark-mode-toggle:hover {
    background: var(--border);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
    transition: color 0.3s;
}

.nav.scrolled .mobile-menu-btn {
    color: var(--nav-text);
}

.mobile-menu {
    display: none;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: var(--bg-light);
}

/* ======================================
   HERO SECTIE (Homepage) met Achtergrond Afbeelding
   ====================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Achtergrond afbeelding met blur effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* ============================================
       ACHTERGROND AFBEELDING
       Voor Hostinger met index.html: verander onderstaande naar url('images/eagle.JPG')
       Voor React preview: gebruikt CSS variabele --hero-bg
       ============================================ */
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* ============================================
       BLUR AANPASSEN
       Verander de waarde tussen haakjes:
       - blur(0px) = geen blur
       - blur(3px) = lichte blur (standaard)
       - blur(5px) = medium blur
       - blur(8px) = sterke blur
       ============================================ */
    filter: blur(3px);
    
    /* Zoom licht in zodat blur edges niet zichtbaar zijn */
    transform: scale(1.05);
    z-index: 0;
}

/* Donkere overlay over achtergrond voor betere leesbaarheid tekst */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* ============================================
       OVERLAY DONKERHEID AANPASSEN
       Verander het laatste getal (0.4):
       - 0.2 = lichte overlay
       - 0.4 = medium overlay (standaard)
       - 0.6 = donkere overlay
       ============================================ */
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

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

/* Witte tekst voor leesbaarheid over foto */
.hero h1,
.hero p {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero .btn-primary {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-gray);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-gray);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ======================================
   GALERIJ SECTIE
   ====================================== */
.gallery {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 2rem;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: #e5e7eb;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s;
}

.photo-item:hover .photo-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* ======================================
   OVER MIJ SECTIE
   ====================================== */
.about {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 106, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 0.5rem;
}

.about-image::after {
    content: '';
    position: absolute;
    width: 192px;
    height: 192px;
    background: var(--primary);
    border-radius: 0.5rem;
    bottom: -1.5rem;
    right: -1.5rem;
    z-index: -1;
}

/* ======================================
   GEAR SECTIE
   ====================================== */
.gear {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gear-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gear-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.gear-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 106, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gear-icon svg {
    color: var(--primary);
}

.gear-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gear-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.gear-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ======================================
   LIGHTBOX / MODAL
   ====================================== */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.photo-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.modal-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Navigatie pijlen */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 1.5rem;
}

.modal-nav.next {
    right: 1.5rem;
}

.modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer p,
.footer ul {
    color: #9ca3af;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--primary);
}

/* ======================================
   FOTO MODAL / LIGHTBOX
   ====================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================
   RESPONSIVE DESIGN (MOBIEL)
   ====================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .about-image::after {
        width: 100px;
        height: 100px;
    }
}
