/* Paramount Elite 2025 - Custom Styles */

/* Ticker Animation */
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-scroll {
    animation: ticker-scroll 60s linear infinite;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

/* Hero Transitions */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

.hero-content {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Header Scroll Effect */
.header-scrolled {
    background: rgba(40, 40, 90, 0.95) !important;
    backdrop-filter: blur(20px);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Focus States */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Form Elements */
input, textarea, select {
    font-family: inherit;
}

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

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

::-webkit-scrollbar-thumb {
    background: #14a0b4;
    border-radius: 4px;
}

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

/* Button Hover Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 160, 180, 0.3);
}

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Loading Animation */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Nav Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #14a0b4;
    transition: width 0.3s ease;
}

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

/* Threat Level Badges */
.badge-critical { background: #dc2626; }
.badge-high { background: #ea580c; }
.badge-medium { background: #ca8a04; }
.badge-low { background: #16a34a; }

/* Print Styles */
@media print {
    header, footer, #news-ticker-bar, .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}
