/**
 * Portfolio Page Styles
 * Alleen styling specifiek voor de portfolio pagina
 * De werk-items en tabs hergebruiken styles.css
 */

/* ============================================
   PORTFOLIO HEADER
   ============================================ */

.portfolio-header {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 115, 85, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-header .section-label {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.portfolio-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SIMPLIFIED NAVBAR FOR PORTFOLIO
   ============================================ */

.navbar-simple {
    background: var(--color-dark) !important;
}

.navbar-simple.scrolled {
    background: var(--color-dark) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-simple .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-simple .back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-light);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    min-width: 100px;
}

.navbar-simple .back-to-home:hover {
    color: var(--color-accent);
}

.navbar-simple .back-to-home svg {
    width: 20px;
    height: 20px;
}

.navbar-simple .logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.navbar-simple .logo-text,
.navbar-simple .logo-subtitle {
    color: var(--color-light) !important;
}

.navbar-simple .nav-spacer {
    min-width: 100px;
}

/* ============================================
   PORTFOLIO PAGE SPECIFIC LAYOUT
   ============================================ */

.portfolio-page {
    padding-top: 0;
    min-height: 60vh;
}

/* Sticky filter bar */
.portfolio-page .werk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 20px;
    background: var(--color-light);
    position: sticky;
    top: 70px; /* Height of navbar */
    z-index: 90;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.artwork-count {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.portfolio-page .empty-works {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-light);
}

.portfolio-page .empty-works svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.portfolio-page .empty-works p {
    font-size: 1.125rem;
}

/* ============================================
   FOOTER STYLING FOR PORTFOLIO
   ============================================ */

.portfolio-page ~ .footer .footer-back-link,
.footer .footer-back-link {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 16px;
}

.footer .footer-back-link:hover {
    color: var(--color-accent);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-dark);
    color: var(--color-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .portfolio-header {
        padding: 120px 0 40px;
    }
    
    .navbar-simple .back-to-home span {
        display: none;
    }
    
    .navbar-simple .back-to-home {
        min-width: 40px;
    }
    
    .navbar-simple .nav-spacer {
        min-width: 40px;
    }
    
    .navbar-simple .logo-center {
        position: relative;
        left: auto;
        transform: none;
    }
    
    .portfolio-page .werk-header {
        flex-direction: column;
        align-items: stretch;
        top: 60px;
    }
    
    .portfolio-page .werk-tabs {
        justify-content: center;
    }
    
    .artwork-count {
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
