/* Custom Styles & Mobile Responsiveness Enhancements for Yusuf Muhammet YILDIRIM Portfolio */

/* Base & Overflow Prevention */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Active Filter Tab Styling (Amber Gold) */
.active-filter {
    background-color: #F2B544 !important;
    color: #0F1A2B !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px 0 rgba(242, 181, 68, 0.35);
}

/* Glassmorphism Classes (Dark Navy Glass) */
.glass-panel {
    background: rgba(31, 58, 95, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #2A3A52;
}

/* Smooth Scrolling & Custom Amber Scrollbar */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 6px;
}

@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
    }
}

::-webkit-scrollbar-track {
    background: #0F1A2B;
}

::-webkit-scrollbar-thumb {
    background: #2A3A52;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F2B544;
}

/* Active Nav Link Marker */
.nav-link.active-nav {
    color: #F2B544;
    background-color: rgba(242, 181, 68, 0.12);
}

/* Project Card Hover Animation */
.project-card {
    will-change: transform, opacity;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .project-card:hover {
        transform: translateY(-6px);
    }
}

/* Custom Selection Highlight */
::selection {
    background-color: #F2B544;
    color: #0F1A2B;
}

/* iOS Safari Input Auto-Zoom Prevention */
@media (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Terminal Code Scrollbar */
.terminal-code {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
