/**
 * BTFC Stats Independent Menu System - Bottom Menu Component
 * 
 * Styles for the bottom menu (main navigation) section
 * 
 * @package BTFC_Stats
 * @since 1.0.0
 */

/* ============================================
   Bottom Menu Row (Main Navigation)
   ============================================ */

.btfc-bottom-menu {
    max-width: var(--btfc-menu-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 127px; /* Badge width (115px) + gap (12px) */
}

.btfc-bottom-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.btfc-bottom-menu-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px !important;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    touch-action: manipulation;
    cursor: pointer;
}

.btfc-bottom-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Dropdown Menu Styling
   ============================================ */

.btfc-menu-item {
    position: relative;
}

.btfc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #2d398c;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.btfc-menu-item:hover .btfc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btfc-dropdown-item {
    margin: 0;
    padding: 0;
}

.btfc-dropdown-link {
    display: block;
    padding: 12px 16px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    border: none !important;
    background: transparent !important;
    touch-action: manipulation;
    cursor: pointer;
}

.btfc-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    padding-left: 20px;
}

.btfc-dropdown-link span {
    color: #ffffff !important;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .btfc-bottom-menu {
        justify-content: center;
        padding-left: 0; /* Reset padding on mobile */
    }
    
    .btfc-bottom-menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .btfc-bottom-menu-link {
        font-size: 13px !important;
        padding: 10px 14px !important;
    }
    
    /* Mobile dropdown adjustments */
    .btfc-dropdown-menu {
        min-width: 180px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .btfc-menu-item:hover .btfc-dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .btfc-dropdown-link {
        font-size: 13px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .btfc-bottom-menu-list {
        gap: 3px;
    }
    
    .btfc-bottom-menu-link {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
}
