/* Base & Reset */
body {
    background-color: #FAFAFA;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    color: #0F172A;
    font-feature-settings: "palt";
}

/* Custom Selection */
::selection {
    background: #0EA5E9;
    color: white;
}

/* Navigation Link */
.nav-link {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #64748B;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #0F172A;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #0EA5E9;
    transition: width 0.3s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
.nav-link:hover::after {
    width: 100%;
}

/* Modern Image Styling */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-zoom-container:hover .img-zoom {
    transform: scale(1.03);
}

/* Page Transitions */
.page-content {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.page-content.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.open {
    display: flex;
    max-height: 100vh;
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 3px;
}
