/* ========================================
   LUXAIR AVIATION SIMULATOR - HELLERES DESIGN
   Modern, hell a professionell
   ======================================== */

:root {
    --luxair-red: #E30613;
    --luxair-light-red: #ff1a2b;
    --accent-blue: #2196F3;
    --light-bg: #f5f7fa;
    --card-bg: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-light: #e1e8ed;
    --success-green: #27ae60;
    --warning-orange: #f39c12;
    --alert-red: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 14px;
}

/* Alternative heller Hintergrund */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

/* ========================================
   ANIMATIONEN
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(227, 6, 19, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(227, 6, 19, 0.6);
    }
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    background: linear-gradient(135deg, var(--luxair-red) 0%, var(--luxair-light-red) 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    animation: slideIn 0.6s ease-out;
}

.navbar-brand {
    font-size: 1.15rem !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    color: white !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   MAIN CONTAINER & CARDS
   ======================================== */
.container {
    animation: fadeIn 0.8s ease-out;
    max-width: 1200px;
    padding: 1.5rem 1rem;
}

.status-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--luxair-red), var(--accent-blue));
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--luxair-red) 0%, var(--luxair-light-red) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.card-header-custom::after {
    content: '✈️';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    opacity: 0.4;
}

/* ========================================
   STATUS DISPLAYS
   ======================================== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.status-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.2rem;
    border-left: 4px solid var(--luxair-red);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.status-item:hover {
    transform: translateX(5px) translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-width: 6px;
}

.status-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.status-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--success-green);
    font-family: 'Courier New', monospace;
}

.status-value.warning {
    color: var(--warning-orange);
}

.status-value.alert {
    color: var(--alert-red);
    animation: pulse 1.5s infinite;
}

/* ========================================
   COCKPIT DISPLAY STYLE (Heller)
   ======================================== */
.cockpit-display {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    box-shadow: 
        inset 0 0 30px rgba(52, 152, 219, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.cockpit-display p {
    color: #3498db;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0.4rem 0;
    text-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.cockpit-display strong {
    color: var(--luxair-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(227, 6, 19, 0.6);
}

.cockpit-display .status-value {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.cockpit-display .status-value.warning {
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* ========================================
   PLANE ILLUSTRATION
   ======================================== */
.plane-container {
    text-align: center;
    margin: 2rem 0;
}

.plane-icon {
    font-size: 4.5rem;
    animation: float 3s infinite ease-in-out;
    filter: drop-shadow(0 4px 12px rgba(227, 6, 19, 0.3));
}

/* ========================================
   BADGES & BUTTONS
   ======================================== */
.info-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1), rgba(227, 6, 19, 0.2));
    border: 2px solid var(--luxair-red);
    border-radius: 25px;
    color: var(--luxair-red);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0.3rem;
    transition: all 0.3s ease;
}

.info-badge:hover {
    background: var(--luxair-red);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.4);
}

.info-badge.success {
    border-color: var(--success-green);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.2));
    color: var(--success-green);
}

.info-badge.success:hover {
    background: var(--success-green);
    color: white;
}

.info-badge.warning {
    border-color: var(--warning-orange);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.2));
    color: var(--warning-orange);
}

.info-badge.warning:hover {
    background: var(--warning-orange);
    color: white;
}

/* ========================================
   ALERT BOX
   ======================================== */
.alert-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
    border-left: 6px solid #ff9800;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    color: #856404;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.alert-box.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    border-left-color: #218838;
    color: #155724;
}

.alert-box.danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    border-left-color: #c82333;
    color: #721c24;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .card-header-custom {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .status-value {
        font-size: 1.2rem;
    }
    
    .plane-icon {
        font-size: 3.5rem;
    }
    
    .status-card {
        padding: 1.5rem;
    }
    
    .cockpit-display {
        padding: 1.2rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-top: 3px solid var(--luxair-red);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

footer p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin: 0.2rem 0;
}

footer p:first-child {
    font-weight: 600;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-luxair {
    color: var(--luxair-red) !important;
}

.bg-luxair {
    background: var(--luxair-red) !important;
}

.shadow-luxair {
    box-shadow: 0 4px 16px rgba(227, 6, 19, 0.3) !important;
}

.glow-effect {
    animation: glow 2s infinite;
}
