/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F6F6F7;
}
::-webkit-scrollbar-thumb {
    background: #C5C7CC;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9EA1A9;
}

/* Navigation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F97066;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E3E4E6;
}
.mobile-link:last-child {
    border-bottom: none;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hero parallax-like subtle effect */
@supports (background-attachment: fixed) {
    #hero img {
        background-attachment: fixed;
    }
}

/* Selection color */
::selection {
    background: #F97066;
    color: white;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, footer {
        display: none;
    }
    body {
        color: #1A1C22;
    }
    section {
        page-break-inside: avoid;
    }
}
