/* === CSS VARIABLES === */
:root {
    /* Colors */
    --primary-red: #d92128;
    --primary-red-hover: #b81c22;
    --primary-blue: #0f2c59;
    --dark-grey: #1a1a1a;
    --mid-grey: #f4f4f4;
    --light-grey: #e0e0e0;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-grey);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === LAYOUT UTILITIES === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.align-center {
    align-items: center;
}

.section {
    padding: 60px 0;
}

/* === HEADER === */
.main-header {
    border-bottom: 2px solid var(--dark-grey);
}

.header-top {
    background-color: var(--dark-grey);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.header-top a {
    margin-left: 10px;
}

.header-top a:hover {
    color: var(--primary-red);
}

.header-main {
    padding: 20px 0;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo h1 span {
    color: var(--primary-red);
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* === BREAKING NEWS TICKER === */
.breaking-news {
    background-color: var(--primary-red);
    color: var(--white);
    display: flex;
}

.breaking-label {
    background-color: var(--dark-grey);
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}

.breaking-text {
    padding: 10px 0;
    font-weight: 600;
    font-size: 1rem;
}

/* === HERO SECTION === */
.hero-section {
    padding: 40px 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px;
    color: var(--white);
}

.category-badge {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-title {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    opacity: 0.9;
}

/* === SECTION HEADERS === */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    text-transform: uppercase;
    display: inline-block;
}

.header-line {
    height: 4px;
    width: 60px;
    background-color: var(--primary-red);
    margin-top: 10px;
}

/* === GROUND REPORTS GRID === */
.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.large-card .card-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.category {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.news-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.author {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.small-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.small-card {
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
}

/* === EXPERT PREDICTIONS === */
.dark-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
}

.dark-section .section-header h2 {
    color: var(--white);
}

.flex-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.predictions-content {
    flex: 1;
}

.predictions-content h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.prediction-points {
    list-style: none;
    margin-bottom: 40px;
}

.prediction-points li {
    background-color: rgba(255,255,255,0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-red);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
}

.predictions-image-wrapper {
    flex: 1;
}

.predictions-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* === NEW DETAILED SECTIONS === */
.bg-light {
    background-color: var(--mid-grey);
}

.updates-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--primary-red);
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

.timeline-item .time {
    display: block;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.reverse-layout {
    flex-direction: row-reverse;
}

.issue-content {
    flex: 1;
}

.issue-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.category-label {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.issue-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.issue-image-wrapper {
    flex: 1;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-red);
}

.stat-box h4 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-box span {
    font-weight: bold;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* === NEW BIGGER SECTIONS === */
.news-ticker-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-red);
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-grey);
}

.news-item:last-child {
    border-bottom: none;
}

.news-time {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.news-item h4 {
    font-size: 1.3rem;
    margin-top: 5px;
}

.news-item h4 a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.tracker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tracker-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tracker-card.completed {
    border-top: 4px solid #2ecc71;
}

.tracker-card.upcoming {
    border-top: 4px solid #f39c12;
}

.status {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.tracker-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.history-text {
    flex: 2;
}

.history-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.data-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.row-winner {
    background-color: rgba(46, 204, 113, 0.1);
    font-weight: bold;
}

.table-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.highlight-box {
    border-top-color: var(--primary-blue);
    background-color: rgba(15, 44, 89, 0.05);
}

/* === VIDEO SECTION === */
.video-wrapper {
    position: relative;
    cursor: pointer;
}

.video-wrapper img {
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.video-wrapper:hover img {
    filter: brightness(0.9);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin-top: 15px;
    font-size: 1.5rem;
}

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-list-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.video-list-item:hover {
    border-left-color: var(--primary-red);
    transform: translateX(5px);
}

.video-list-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* === FOOTER === */
.main-footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content, .footer-content-expanded {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--primary-red);
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    color: var(--white);
    font-weight: bold;
}

.social-icons a:hover {
    color: var(--primary-red);
}

.footer-newsletter {
    max-width: 300px;
}

.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.newsletter-form button {
    cursor: pointer;
    border: none;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
    .grid-layout, .flex-layout, .grid-3-col, .tracker-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-top .flex-between {
        gap: 10px;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .socials {
        display: block;
        text-align: center;
        line-height: 1.8;
    }

    .contact-info span {
        margin-right: 0 !important;
    }

    .socials span {
        display: block;
        margin-right: 0 !important;
        margin-bottom: 5px;
    }
    
    .header-main .flex-between {
        justify-content: center;
    }
    
    .logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 2rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding-top: 15px;
    }
    
    .main-nav a {
        font-size: 0.85rem;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-overlay {
        padding: 20px;
    }

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

    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .footer-content, .footer-content-expanded {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }

    .footer-newsletter {
        max-width: 100%;
        margin: 0 auto;
    }
}
