/* Custom animations and utilities */
@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 scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #FAFAF8;
}

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

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

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

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(42, 53, 61, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile menu animation */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Image hover zoom */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #FF7F50 !important;
}

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