/* 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 forwards;
}

/* Menu item hover effect */
.menu-item {
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.menu-item:hover {
    border-bottom-color: #FF6B6B;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

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

/* Mobile menu transition */
#mobile-menu {
    backdrop-filter: blur(10px);
}

/* Custom cursor on interactive elements */
a, button {
    cursor: pointer;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Print styles */
@media print {
    .hero-bg {
        background: none !important;
    }
    
    nav,
    .scroll-indicator,
    #mobile-menu {
        display: none !important;
    }
}
