/**
 * Bhusatyam EOS - Main Stylesheet
 * Combined styles for all pages
 */

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a1a;
}
::-webkit-scrollbar-thumb {
    background: #27373a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a4a4d;
}

/* ========================================
   GLASSMORPHISM UTILITIES
   ======================================== */
.glass-panel {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */
.bg-grid {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* ========================================
   SMOOTH SCROLL
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.perspective-1000 {
    perspective: 1000px;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 5s ease-in-out infinite 1s;
}

.animate-scan {
    animation: scan 3s linear infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* ========================================
   FORM STYLES
   ======================================== */
.input-dark {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.input-dark:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.input-dark::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
    background: linear-gradient(90deg, #00d4ff 0%, #6c5ce7 100%);
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   WORDPRESS OVERRIDES
   ======================================== */
body.bhusatyam-dark {
    background: linear-gradient(to bottom right, #0a0a1a, #1a1a2e) !important;
    min-height: 100vh;
}

/* Hide WP admin bar for clean look */
body.bhusatyam-dark #wpadminbar {
    display: none !important;
}

body.bhusatyam-dark {
    margin-top: 0 !important;
}

/* Override GeneratePress defaults */
body.bhusatyam-dark .site-content,
body.bhusatyam-dark .content-area,
body.bhusatyam-dark .inside-article {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.bhusatyam-dark article {
    background: transparent !important;
}

/* Hide default header/footer if using custom */
body.bhusatyam-dark .site-header,
body.bhusatyam-dark .site-footer {
    display: none !important;
}

/* ========================================
   RESPONSIVE HELPERS
   ======================================== */
@media (max-width: 768px) {
    .glass-card:hover {
        transform: none;
    }
}

/* ========================================
   DASHBOARD SPECIFIC
   ======================================== */
.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

/* ========================================
   MAP STYLES (for detector pages)
   ======================================== */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-overlay {
    position: absolute;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}
