/* 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: #1a1a1a;
}

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

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

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

/* Focus Styles */
:focus-visible {
    outline: 2px solid #ff6b4f;
    outline-offset: 2px;
}

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

/* Subtle hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input focus animation */
input:focus,
textarea:focus {
    border-bottom-width: 2px;
    padding-bottom: 12px;
}

/* Button hover animation */
button,
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover container */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overflow-hidden:hover::after {
    opacity: 1;
}
