/* Custom styles to complement Tailwind CSS */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5a1825;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(120, 32, 47, 0.2);
}

/* Nav link underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #78202F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

.group:hover img {
    transform: scale(1.05);
}

/* Subtle parallax effect for hero */
@media (prefers-reduced-motion: no-preference) {
    .parallax-bg {
        animation: parallax 20s linear infinite;
    }
}

@keyframes parallax {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .lg\:text-8xl {
        font-size: 4rem;
    }
}
