
/* === MOBILE MENU & RESPONSIVENESS === */

/* Utility Classes for Responsiveness */
.d-none { display: none !important; }
.d-lg-block { display: none !important; } /* Hidden on mobile by default */
.d-lg-none { display: block !important; } /* Visible on mobile by default */

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: -300px; /* Start off-screen */
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-content {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.mobile-nav {
    padding: 1rem 0;
    overflow-y: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav li a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Topbar Adjustments */
    .topbar .container {
        padding: 0 10px;
    }
    
    .radio-name {
        display: none;
    }
    
    .weather-desc {
        display: none;
    }
    
    .currency-label {
        display: none;
    }
    
    .topbar-info {
        gap: 8px;
        font-size: 0.75rem;
    }
    
    .info-item:not(:last-child)::after {
        margin-left: 8px;
    }

    /* Footer Player Adjustments */
    .player-info .program-title {
        display: none;
    }
    
    .player-info .program-time {
        font-size: 0.8rem;
    }
    
    .fixed-player .container {
        padding: 0 10px;
    }
    
    .player-thumb {
        max-height: 35px;
    }

    /* Hide "Participar ao Vivo" button on mobile */
    .btn-participar {
        display: none;
    }
}
