/* Custom Animations and Utilities */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #841435;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6e1433;
}

/* Service Card Hover Effects */
.group:hover .group-hover\:-rotate-1 {
    transform: rotate(-1deg);
}

.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-0.25rem);
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(132, 20, 53, 0.1);
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Navigation Active State */
.nav-link.active {
    color: #841435;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    #backToTop {
        display: none;
    }
}
