/* W3ACH On-Air Activities Program Styles */

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3A6B35, #4a7c45);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2d5429, #3A6B35);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #3A6B35 #f1f1f1;
}

/* Base styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F9F9F9;
    color: #222222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; /* Extra bold for headings */
}

/* Hero section */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://kc3vpb.com/wp-content/uploads/2025/01/20241031_153229-scaled.jpg');
    background-size: cover;
    background-position: center;
}

.hero-text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Background colors */
.cta-bg {
     background-color: #3A6B35;
}

.footer-bg {
    background-color: #2a4b2a; /* Slightly darker green for footer */
}

/* Color classes */
.primary-green { color: #3A6B35; }
.bg-primary-green { background-color: #3A6B35; }
.border-primary-green { border-color: #3A6B35; }
.primary-yellow { color: #F3B700; }
.bg-primary-yellow { background-color: #F3B700; }
.border-primary-yellow { border-color: #F3B700; }
.border-3 { border-width: 3px; }
.hover-bg-primary-yellow:hover { background-color: #F3B700; }
.hover-text-primary-yellow:hover { color: #F3B700; }

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F3B700;
    transition: width 0.3s ease;
}

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

/* Mobile menu improvements */
.mobile-menu {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    background: rgba(58, 107, 53, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-top: 2px solid #F3B700;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    padding: 14px 16px;
    border-radius: 8px;
    margin: 4px 0;
    transition: all 0.2s ease;
    display: block;
    color: white;
    font-weight: 500;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #F3B700;
    transform: translateX(4px);
}

.mobile-menu a.cta-button {
    background-color: #F3B700;
    color: #222222;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}

.mobile-menu a.cta-button:hover {
    background-color: rgba(243, 183, 0, 0.9);
    color: #222222;
    transform: translateX(0) scale(1.02);
}

/* Mobile menu button animation */
.mobile-menu-btn {
    transition: transform 0.2s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

/* Enhanced animations */
.animate-pulse-slow {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    50% {
        opacity: .8;
        transform: scale(1.02);
    }
}

/* Removed fade-in animation to prevent white space issues */

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-bg {
        padding: 8rem 0 6rem;
    }
    
    .hero-bg h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem !important;
        padding: 0.75rem !important;
    }
    
    .mobile-cta-stack {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-cta-stack a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-bg h1 {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 0.5rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .animate-pulse-slow,
    .nav-link::after,
    .mobile-menu,
    .card-hover {
        animation: none;
        transition: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #F3B700;
    outline-offset: 2px;
}

/* Header scroll effect */
.header-scrolled {
    background-color: rgba(58, 107, 53, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Additional responsive utilities */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3A6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}