:root {
    --primary-color: #1e5799;
    --secondary-color: #2989d8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text {
    line-height: 1.2;
    margin-left: 8px;
}

.logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    margin-bottom: 0;
}

.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.hero-logo-img {
    max-height: 180px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.logo-tagline {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.date-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 20px;
}

/* Countdown Timer */
.countdown-container {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 30px auto 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.countdown-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 20px;
    min-width: 80px;
    text-align: center;
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-item label {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

.restore-time {
    font-size: 1.1rem;
    margin-top: 15px;
    opacity: 0.95;
}

/* Alert Banner */
.alert-banner {
    background: #fff3cd;
    padding: 20px 0;
}

/* Section Titles */
.section-title {
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.service-card .card-header {
    padding: 20px;
    font-weight: 600;
}

.service-card .card-body {
    padding: 0;
}

/* Tables */
.service-table {
    margin-bottom: 0;
}

.service-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
}

.service-table td {
    vertical-align: middle;
}

.comm-table th {
    background-color: #212529;
    color: white;
}

/* Status Colors */
.status-normal {
    background-color: rgba(40, 167, 69, 0.1);
}

.status-slow {
    background-color: rgba(255, 193, 7, 0.1);
}

.status-veryslow {
    background-color: rgba(220, 53, 69, 0.1);
}

.status-paused {
    background-color: rgba(108, 117, 125, 0.1);
}

/* Filter Section */
.filter-section {
    background: white;
    border-bottom: 1px solid #dee2e6;
    padding: 20px 0;
}

/* Quick Reference */
.quick-ref-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}

.quick-ref-item h5 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #666;
}

.quick-ref-item p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #888;
}

/* Timeline */
.timeline-section {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: -30px;
    width: 3px;
    background: #dee2e6;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    width: 140px;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.timeline-content {
    margin-left: 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1;
}

.timeline-item.active .timeline-content {
    border-left: 4px solid var(--success-color);
}

/* Contact Section */
.contact-section {
    background: white;
}

/* Footer */
.footer {
    background: #212529 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-logo-img {
        max-height: 120px;
        max-width: 120px;
    }
    
    .logo-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .date-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .countdown-item {
        padding: 15px;
        min-width: 60px;
    }
    
    .countdown-item span {
        font-size: 1.8rem;
    }
    
    .countdown-item label {
        font-size: 0.8rem;
    }
    
    .nav-logo-img {
        height: 45px;
    }
    
    .logo-title {
        font-size: 0.9rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .timeline-item::before {
        left: 100px;
    }
    
    .timeline-date {
        width: 90px;
        font-size: 0.85rem;
    }
    
    .timeline-content {
        margin-left: 25px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        display: none !important;
    }
    
    .nav-logo-img {
        height: 40px;
    }
}

/* Print Styles */
@media print {
    .navbar, .filter-section, .alert-banner, .footer, .btn {
        display: none;
    }
    
    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 20px !important;
    }
    
    .hero-logo-img {
        border: 1px solid #ddd;
    }
    
    .countdown-container {
        border: 1px solid #ddd;
        background: white !important;
    }
    
    .countdown-item {
        background: #f8f9fa !important;
    }
}