/* Custom Styles for Tarcanlar Istanbul Autopia */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #1e1e24;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8a04e;
}

/* Nav Links */
.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.3s;
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    color: #c8a04e;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #c8a04e;
    transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Mobile Nav */
.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #d1d5db;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}
.mobile-nav-link:hover {
    background: rgba(200, 160, 78, 0.1);
    color: #c8a04e;
}

/* Header scroll effect */
.header-scrolled {
    background: rgba(10, 10, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #1e1e24;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

/* Selection color */
::selection {
    background: rgba(200, 160, 78, 0.3);
    color: #fff;
}

/* Back to top visible state */
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Gallery lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
}
