/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #25282d;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: #FF6B6B;
    color: #0f1012;
}

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Mobile Menu Active State */
body.menu-open {
    overflow: hidden;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Image Loading */
img {
    image-rendering: auto;
}

/* Subtle Hover Effects */
.group:hover .group-hover\:text-coral {
    color: #FF6B6B;
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: #FF6B6B !important;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(15, 16, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Button Hover Animation */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Link Underline Animation */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #FF6B6B;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Remove underline from buttons */
button::after,
a.no-underline::after {
    display: none;
}
