/* ============================================================
   STRAATZAKEN026 — Layout Styles (Sidebar, Header, Footer)
   Premium Depth Edition
   ============================================================ */

.site-layout {
    display: flex;
    min-height: 100vh;
}

.site-sidebar {
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 12, 24, 1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow-y: auto; /* HERSTEL SCROLL */
    scrollbar-width: none; /* Verberg scrollbar voor Firefox */
}

.site-sidebar::-webkit-scrollbar {
    display: none; /* Verberg scrollbar voor Chrome/Safari */
}

/* 1. USER CARD (De 'Welkom Johnny' upgrade) */
.sidebar-user-card {
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.user-card-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Zorgt dat inhoud niet buiten card valt */
}

.user-card-inner:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.user-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.user-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-card-name {
    font-size: 1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card-role {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    opacity: 0.9;
    margin-top: 2px;
}

/* 2. MENU SECTIONS */
.menu-section {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
}

.menu-section-title {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
    position: relative;
    opacity: 0.6;
}

.menu-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0.75rem;
    width: 15px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* 3. MENU LINKS */
.site-sidebar a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    color: #94A3B8;
    text-decoration: none !important;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.35rem;
    position: relative;
}

.site-sidebar a i, 
.site-sidebar a svg {
    margin-right: 1.15rem;
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: all 0.3s ease;
    stroke-width: 2.5;
}

.site-sidebar a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding-left: 1.25rem;
}

.site-sidebar a:hover i,
.site-sidebar a:hover svg {
    color: var(--accent);
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transform: scale(1.1);
}

.site-sidebar a.active {
    background: rgba(180, 83, 9, 0.15);
    color: var(--accent);
    padding-left: 1.5rem;
    box-shadow: 
        inset 4px 0 0 var(--accent),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.site-sidebar a.active i,
.site-sidebar a.active svg {
    color: var(--accent);
    opacity: 1;
    filter: drop-shadow(0 0 12px var(--accent-glow));
    transform: scale(1.1);
}

/* Admin Link Special Styling */
.site-sidebar .admin-link {
    background: rgba(234, 170, 0, 0.03);
    border: 1px dashed rgba(234, 170, 0, 0.15);
    margin-top: 1rem;
    color: var(--accent);
}

.site-sidebar .admin-link:hover {
    background: rgba(234, 170, 0, 0.08);
    border-style: solid;
    border-color: var(--accent);
}

/* Sidebar Toggle & Mobile */
.mobile-toggle, .sidebar-close {
    display: none;
}

.site-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem 3rem 2rem 1.5rem;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .site-sidebar {
        transform: translateX(-100%);
    }
    .site-sidebar.open {
        transform: translateX(0);
    }
    .mobile-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 110;
        background: var(--primary);
        border: none;
        padding: 0.5rem;
        border-radius: 4px;
        color: white;
    }
    .sidebar-close {
        display: block;
        align-self: flex-end;
        padding: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    .site-main { margin-left: 0; }
}

/* ============================================================
   Site Footer (Refined Depth)
   ============================================================ */
.site-footer {
    margin-left: 260px;
    padding: 5rem 3rem 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 24, 1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(234, 170, 0, 0.1);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 170, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 0.5rem;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-brand .brand-main {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    color: #EAAA00;
    text-shadow: 0 0 15px rgba(234, 170, 0, 0.2);
    display: block;
    width: fit-content;
}

.footer-brand .brand-sub {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: #EAAA00;
    opacity: 0.8;
    margin-top: 2px;
    text-shadow: 0 0 10px rgba(234, 170, 0, 0.2);
    display: block;
    width: fit-content;
}

.footer-tagline {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
}

.footer-bottom {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
}

.footer-legal {
    display: flex;
    gap: 2.5rem;
}

.footer-legal a {
    color: rgba(148, 163, 184, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

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

@media (max-width: 1024px) {
    .site-footer {
        margin-left: 0;
        padding: 4rem 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
