/**
 * Theme: Default
 * Description: Navbar et bottom navigation pour le thème par défaut
 * Colors: Bootstrap default (light/dark)
 */

/* ============================================
   LAYOUT FIX - Sections en colonne
   ============================================ */

/* IMPORTANT: .tab_area.menu-tabs est un conteneur de sections, pas une barre d'onglets */
/* Override le display:flex de critical.css qui est pour la navigation 
   On retire !important sur display pour laisser le JS gérer le masquage
*/
#main-container .tab_area.menu-tabs,
.tab_area.menu-tabs {
    display: block;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    gap: 0 !important;
}

.tab_area .section-area {
    display: block !important;
    width: 100% !important;
    margin-bottom: 2rem;
}

/* Fix pour le container principal */
#main-container {
    display: block !important;
}

#main-container > .tab_area {
    display: block !important;
}

/* ============================================
   NAVBAR TOP - Default
   ============================================ */

.navbar-light.bg-white {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-dark.bg-dark {
    background-color: #343a40 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   BOTTOM NAVIGATION - Default
   ============================================ */

.navbar.fixed-bottom {
    z-index: 1040;
    padding: 0.4rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    margin-right: 0.5rem;
}

.swipe-indicator {
    color: #999;
    margin-left: auto;
    margin-right: 1rem;
}

.navbar .navbar-nav {
    align-items: center;
    justify-content: center;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.navbar .nav-item {
    margin: 0 0.2rem;
    display: inline-flex;
}

.nav-link {
    padding: 0.5rem 0.85rem !important;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.2rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* ============================================
   MENU TITLE
   ============================================ */

.menu-title h4 {
    margin: 0;
    padding: 0.5rem 0 0 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.navbar-title {
    margin: 0;
    padding: 1rem 0;
    font-size: 1.3rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 60px;
    }
}
