/**
 * BizzShort Final Fixes
 * Bug fixes and final polish for consistent styling
 * Version: 20260118
 */

/* ============================================
   Header Fixes
   ============================================ */
.header {
    position: relative;
    z-index: 1000;
}

.header-top-section {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

/* ============================================
   Navigation Fixes
   ============================================ */
.navbar-section {
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-nav ul li a {
    display: block;
    padding: 18px 24px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ============================================
   Mobile Menu Fixes
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .main-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 45, 91, 0.98);
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav ul.active {
        max-height: 500px;
    }
    
    .main-nav ul li a {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   Footer Fixes
   ============================================ */
.site-footer {
    background: #2c3e50;
    color: white;
    padding-top: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ============================================
   Card Fixes
   ============================================ */
.breaking-news-card h4,
.news-card h4,
.interview-card h3 {
    color: #2c3e50 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================
   Video Player Fixes
   ============================================ */
.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(230, 33, 23, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.video-thumbnail:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(230, 33, 23, 1);
}

/* ============================================
   Section Header Fixes
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e74c3c;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
}

.view-all {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 10px;
}

/* ============================================
   Market Card Fixes
   ============================================ */
.market-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.market-value {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
}

.market-change.positive {
    color: #27ae60;
}

.market-change.negative {
    color: #e74c3c;
}

/* ============================================
   Form Fixes
   ============================================ */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #5a6fd6;
}

/* ============================================
   Page Hero Fixes
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
}

/* ============================================
   Z-Index Fixes
   ============================================ */
.header { z-index: 1000; }
.navbar-section { z-index: 999; }
.video-modal { z-index: 10000; }
.toast { z-index: 10001; }
