/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Subtle hover effects for links */
a {
    text-decoration: none;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Custom selection color */
::selection {
    background-color: #A7D7C5;
    color: #0A1628;
}

/* Thin line accent */
.accent-line {
    width: 48px;
    height: 1px;
    background-color: #A7D7C5;
}

/* Image hover zoom effect */
.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom:hover {
    transform: scale(1.02);
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
