/* stylelint-disable at-rule-no-unknown */
@tailwind base; /* stylelint-disable-line at-rule-no-unknown */
@tailwind components; /* stylelint-disable-line at-rule-no-unknown */
@tailwind utilities; /* stylelint-disable-line at-rule-no-unknown */

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

body {
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Animation for hero section text */
.headline-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for CTA */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Glow effect for headings */
.glow {
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.7);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem;
    z-index: 1000;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #2563eb;
    color: white;
}

.cookie-btn-accept:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}

.cookie-btn-reject:hover {
    background: rgba(55, 65, 81, 0.3);
    color: #fff;
    border-color: #4b5563;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* METAR Section Styles */
.metar-widget-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

#metar-widget {
    width: 100%;
    max-width: 800px;
    min-height: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

#metar-widget:hover {
    border-color: #3b82f6;
}

#metar-content {
    min-height: 280px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-consent-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}
