:root {
    --primary-color: #9B0002;
    --primary-dark: #7A0001;
    --primary-light: #C50003;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --card-background: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e2e8f0;
    --success-color: #0A6E0A;
    --warning-color: #B85C00;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--light-gray);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 68px; /* 75% of 90px for reduced header height */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navbar */
header {
    background: var(--primary-color);
    color: white;
    padding: 1.125rem 0; /* 75% of 1.5rem */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.logo strong {
    font-weight: 700;
}

.logo a {
    display: block;
    text-decoration: none;
}

.navbar-logo {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Make logo white for dark navbar */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 400;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero h1 strong {
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.last-updated {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Summary Cards */
.summary-section {
    margin-bottom: 40px;
}

.summary-section h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.package-card {
    background: var(--card-background);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid var(--primary-color);
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border-left-color: var(--primary-light);
}

.package-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.package-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.package-card a:hover {
    text-decoration: underline;
    color: var(--primary-light);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.stat-detail {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Charts */
.chart-section {
    background: var(--card-background);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.chart-section h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.chart-container {
    position: relative;
    height: 400px;
}

/* Package Details */
.packages-section {
    margin: 40px 0;
}

.packages-section h2 {
    margin-bottom: 20px;
}

.package-detail {
    background: var(--card-background);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.package-detail h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    font-size: 0.875rem;
    margin-top: 60px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footer-left p {
    margin: 0;
}

footer .footer-right {
    display: flex;
    gap: 1.5rem;
}

footer .footer-right a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s;
    text-decoration: none;
}

footer .footer-right a:hover {
    opacity: 0.7;
}

footer a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* 75% of 80px for mobile */
    }

    header {
        padding: 0.75rem 0; /* 75% of 1rem for mobile */
    }

    .navbar-logo {
        height: 30px; /* Slightly smaller on mobile */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    footer .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
