@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpDelay {
    0%, 20% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDelay {
    0%, 40% { opacity: 0; }
    100% { opacity: 1; }
}

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUpDelay 1s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeInDelay 1.2s ease-out 0.6s forwards;
    opacity: 0;
}

.nav-link {
    @apply text-gray-300 hover:text-gold-500 transition-colors duration-200 text-sm font-medium relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #b8941f);
    transition: width 0.3s ease;
}

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

.mobile-nav-link {
    @apply block py-2 px-4 text-gray-300 hover:text-gold-500 hover:bg-white/5 rounded-lg transition-all duration-200;
}

.social-link {
    @apply text-gray-400 hover:text-gold-500 transition-colors duration-200;
}

.btn-primary {
    @apply inline-flex items-center justify-center px-8 py-4 bg-gradient-to-r from-gold-500 to-gold-600 text-navy-900 font-bold rounded-lg hover:from-gold-600 hover:to-gold-500 transform hover:scale-105 transition-all duration-200 shadow-lg hover:shadow-xl;
}

.btn-secondary {
    @apply inline-flex items-center justify-center px-8 py-4 bg-white/10 backdrop-blur-sm text-white font-semibold rounded-lg hover:bg-white/20 border border-white/20 transition-all duration-200;
}

.btn-outline {
    @apply inline-flex items-center justify-center px-8 py-4 border-2 border-gold-500 text-gold-500 font-semibold rounded-lg hover:bg-gold-500 hover:text-navy-900 transition-all duration-200;
}

.team-card {
    @apply bg-navy-800/30 rounded-xl overflow-hidden border border-white/5 hover:border-gold-500/50 transform hover:-translate-y-2 transition-all duration-300;
}

.news-card {
    @apply bg-navy-800/30 rounded-xl overflow-hidden border border-white/5 hover:border-gold-500/30 transition-all duration-300;
}

.gallery-item {
    @apply border border-white/5;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37, #b8941f);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b8941f, #d4af37);
}

section {
    position: relative;
}

.team-card:hover .team-card-overlay,
.news-card:hover .news-card-overlay {
    opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

select option {
    background-color: #0a1628;
    color: white;
}

@media (max-width: 768px) {
    .animate-fade-in,
    .animate-slide-up,
    .animate-slide-up-delay,
    .animate-fade-in-delay {
        animation-delay: 0s;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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