/* Custom styles and animations */

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

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Mobile menu transitions */
.mobile-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

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

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

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

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    button {
        display: none;
    }
}
