/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9c6656;
}

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

/* Floating animation for stat cards */
.floating-card {
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

/* Hover effects for service cards */
.group:hover .group-hover\:bg-terracotta-700 {
    background-color: #b07d6d;
}

/* Focus styles for accessibility */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 125, 109, 0.2);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem 0;
    }
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}
