/* ═══════════════════════════════════════════════════════════════
   DESKTOP OVERRIDE - Fix Navigation & Logo Issues
   This file loads LAST to ensure desktop displays correctly
   ═══════════════════════════════════════════════════════════════ */

/* Fix Navigation Text Visibility on Desktop/Laptop */
@media (min-width: 1025px) {
    /* Force navigation to be visible and properly styled */
    .main-nav {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        justify-content: center !important;
        background: rgba(44, 62, 80, 0.95) !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        flex-direction: row !important;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    .nav-item {
        display: inline-flex !important;
        align-items: center !important;
        padding: 1rem 1.5rem !important;
        margin: 0 !important;
        border: none !important;
        border-right: 1px solid rgba(255,255,255,0.1) !important;
        background: none !important;
        color: white !important;
        font-size: 1rem !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-item:last-of-type {
        border-right: none !important;
    }
    
    .nav-item:hover {
        background: #0095DB !important;
    }
    
    /* Hide mobile-only elements */
    .hamburger,
    .nav-close,
    .nav-overlay,
    .nav-header,
    .nav-footer {
        display: none !important;
    }
    
    /* Ensure nav text is visible */
    .nav-text {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    /* Hide nav icons on desktop */
    .nav-icon {
        display: none !important;
    }
}

/* Fix Charity Logo Position on Desktop/Laptop */
@media (min-width: 1025px) and (max-width: 1440px) {
    /* Typical laptop sizes - lower positioning */
    .hero-bottom-right {
        position: absolute !important;
        bottom: 6rem !important;
        right: 8rem !important;
        z-index: 10 !important;
        max-width: 180px !important;
    }
    
    .hero-charity-image {
        width: 100% !important;
        height: auto !important;
        max-height: 90px !important;
        object-fit: contain !important;
        filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.7)) !important;
    }
}

/* Larger desktop screens */
@media (min-width: 1441px) and (max-width: 1920px) {
    .hero-bottom-right {
        position: absolute !important;
        bottom: 8rem !important;
        right: 12rem !important;
        z-index: 10 !important;
        max-width: 200px !important;
    }
    
    .hero-charity-image {
        max-height: 100px !important;
    }
}

/* Extra large screens */
@media (min-width: 1921px) {
    .hero-bottom-right {
        position: absolute !important;
        bottom: 10rem !important;
        right: 16rem !important;
        z-index: 10 !important;
        max-width: 220px !important;
    }
    
    .hero-charity-image {
        max-height: 110px !important;
    }
}

/* Ensure hamburger stays hidden on all desktop sizes */
@media (min-width: 1025px) {
    .hamburger {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
}
