/* Custom styles that extend Tailwind */

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

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Gold text underline effect */
.text-brand-gold {
    position: relative;
    display: inline-block;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f3d2e;
}

/* Focus states for accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

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