:root {
    --bg-color: #070707;
    --bg-light: #111111;
    --text-main: #ffffff;
    --text-muted: #9e9e9e;
    --accent-color: #36642f; /* Diep groen/teal accent voor RK.Photography */
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body, html {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Onzichtbare checkbox die het menu aanstuurt */
.nav-toggle {
    display: none;
}

/* =========================================
   NAVIGATIE (Desktop)
   ========================================= */
.navbar {
    position: absolute;
    top: 0; 
    width: 100%;
    padding: 2.5rem 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 100;
}

.subpage .navbar {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem; 
    font-weight: 700; 
    letter-spacing: 3px;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 2.5rem; 
}

.nav-links a {
    color: var(--text-main); 
    text-decoration: none;
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--text-muted); 
}

/* Hamburger Knop (Verborgen op desktop) */
.hamburger {
    display: none;
}

/* =========================================
   HERO / HOME SECTIE
   ========================================= */
.hero {
    position: relative; 
    height: 100vh; 
    width: 100%;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    text-align: center; 
    overflow: hidden;
    padding: 0 1rem;
}

.hero-bg {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-position: center; 
    background-size: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); 
    z-index: -1;
}

.hero-content {
    animation: fadeIn 2s ease-out forwards;
    opacity: 0; 
    transform: translateY(30px);
}

.main-title {
    font-family: 'Cinzel', serif; 
    font-size: clamp(1.8rem, 5vw, 5rem);
    font-weight: 400; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    margin-bottom: 1rem;
}

.subtitle {
    font-weight: 300; 
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 0.3em; 
    color: var(--text-muted); 
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

/* =========================================
   CAMERA HUD & FLOATING LOGO
   ========================================= */
.camera-specs {
    position: fixed; 
    bottom: 30px; 
    right: 40px;
    display: flex; 
    gap: 1.5rem; 
    font-size: 0.75rem;
    letter-spacing: 2px; 
    color: rgba(255,255,255,0.5);
    z-index: 90; 
    pointer-events: none;
}

.floating-logo {
    position: fixed;
    bottom: 30px; 
    left: 40px;
    z-index: 90; 
    width: 60px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.8;
}

.floating-logo img { width: 100%; height: auto; display: block; }
.floating-logo:hover { transform: scale(1.1); opacity: 1; }

/* =========================================
   SUBPAGINA'S & PORTFOLIO GRID
   ========================================= */
.page-content {
    padding: 6rem 10%;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out forwards;
}

.page-title {
    font-family: 'Cinzel', serif; 
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400; 
    letter-spacing: 2px; 
    margin-bottom: 3rem; 
    text-transform: uppercase;
}

.text-center { text-align: center; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    aspect-ratio: 4/5;
    background-color: var(--bg-light);
    overflow: hidden; 
    transition: transform 0.4s ease;
}

.portfolio-img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover { transform: translateY(-10px); }
.portfolio-item:hover .portfolio-img { transform: scale(1.08); }

/* TikTok Knop */
.social-link-container { text-align: center; margin-top: 5rem; }

.tiktok-button {
    display: inline-flex; 
    align-items: center; 
    gap: 12px;
    padding: 1.2rem 3rem; 
    border: 1px solid var(--text-main);
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 0.8rem;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    background: transparent; 
    cursor: pointer;
    transition: all 0.4s ease;
}

.tiktok-button svg { width: 18px; height: 18px; transition: transform 0.4s ease; }
.tiktok-button:hover {
    background: var(--text-main); 
    color: var(--bg-color); 
    transform: scale(1.02);
    box-shadow: -4px 4px 0px #25F4EE, 4px -4px 0px #FE2C55;
}

/* Over Mij */
.about-section { display: flex; gap: 4rem; align-items: center; }
.about-image { flex: 1; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 1.5rem; line-height: 1.8; color: #ccc; font-weight: 300; }

.profile-pic { 
    width: 100%; 
    aspect-ratio: 3/4; 
    object-fit: cover; 
    display: block;
    box-shadow: 15px 15px 0px var(--accent-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-pic:hover {
    transform: translate(-5px, -5px);
    box-shadow: 20px 20px 0px var(--accent-color);
}

/* Contact Card */
.contact-section { display: flex; flex-direction: column; align-items: center; }
.contact-intro { margin-bottom: 4rem; color: #ccc; max-width: 600px; }

.contact-card {
    background: var(--bg-light); 
    padding: 4rem 2rem; 
    width: 100%; 
    max-width: 600px;
    box-shadow: 15px 15px 0px var(--accent-color);
    position: relative; 
    text-align: center; 
    transition: transform 0.4s ease;
}

.contact-card:hover { transform: translateY(-5px); }

.viewfinder-tl, .viewfinder-br {
    position: absolute; 
    width: 40px; 
    height: 40px;
    border: 2px solid var(--text-muted); 
    opacity: 0.3;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.viewfinder-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.viewfinder-br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.contact-card:hover .viewfinder-tl { opacity: 1; transform: translate(-5px, -5px); border-color: var(--accent-color); }
.contact-card:hover .viewfinder-br { opacity: 1; transform: translate(5px, 5px); border-color: var(--accent-color); }

.contact-links { display: flex; flex-direction: column; gap: 3rem; }
.contact-item { display: flex; flex-direction: column; text-decoration: none; }
.contact-item .label {
    font-family: 'Cinzel', serif; 
    font-size: 0.85rem; 
    color: var(--text-muted);
    letter-spacing: 3px; 
    text-transform: uppercase; 
    margin-bottom: 0.8rem;
}
.contact-item .value {
    font-size: 1.2rem; 
    color: var(--text-main); 
    font-weight: 300;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    word-break: break-word;
}

a.contact-item:hover .value { color: var(--accent-color); letter-spacing: 1px; }
.no-hover .value { cursor: default; }

.cta-button {
    display: inline-block; 
    padding: 1.2rem 3rem; 
    border: 1px solid var(--text-main);
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 0.8rem;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    background: transparent; 
    cursor: pointer;
    transition: all 0.4s ease;
}

.cta-button:hover { background: var(--text-main); color: var(--bg-color); transform: scale(1.02); }

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   MOBIEL RESPONSIVE & HAMBURGER (<= 768px)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* Hamburger Knop op Mobiel */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 22px;
        cursor: pointer;
        z-index: 2000 !important;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-main);
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

    /* Transformeer Hamburger naar 'X' wanneer checkbox aangevinkt is */
    .nav-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Schermvullend Mobiel Menu Overlay */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(7, 7, 7, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 3rem !important;
        z-index: 1500 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Menu geopend via CSS checkbox */
    .nav-toggle:checked ~ .nav-links {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        letter-spacing: 3px !important;
    }

    /* Overige mobiele optimalisaties */
    .page-content { padding: 5rem 6%; }
    .about-section { flex-direction: column; gap: 2.5rem; }
    .contact-card { padding: 3rem 1.5rem; }
    .camera-specs { bottom: 20px; right: 20px; font-size: 0.65rem; gap: 0.8rem; }
    .floating-logo { bottom: 20px; left: 20px; width: 45px; }
}