/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

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

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

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

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

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section pulse animation */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Hover effects for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu transitions */
#mobileMenu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobileMenu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

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

/* Print styles */
@media print {
    header,
    footer,
    #contactForm,
    #successMessage {
        display: none;
    }
}
