/* ABECO Projecten — Custom Styles */

html {
    overscroll-behavior: none;
}

:root {
    /* Feedback colors (used by contact form) */
    --color-success: #65bc7b;
    --color-error: #e0284f;
}

/* Page Header */
.page-header {
    position: relative;
    padding-top: 9rem;      /* pt-36 */
    padding-bottom: 4rem;   /* pb-16 */
    background-size: cover;
    background-position: center;
}

@media (min-width: 1024px) {
    .page-header {
        padding-top: 11rem;  /* lg:pt-44 */
        padding-bottom: 5rem; /* lg:pb-20 */
    }
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.75); /* bg-primary/75 */
}

.page-header__content {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.page-header__badge {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.page-header__badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    flex-shrink: 0;
}

.page-header__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    max-width: 48rem;
}

@media (min-width: 768px) {
    .page-header__title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .page-header__title { font-size: 3.75rem; }
}

.page-header__subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 48rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .page-header__subtitle { font-size: 1.25rem; }
}

/* Active nav link indicator */
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
}
