/* ===== MOBILE QUICK NAVIGATION ===== */
/* Quick section navigation for mobile users */

/* Mobile Quick Nav Bar */
.mobile-quick-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.quick-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 50px;
    cursor: pointer;
}

.quick-nav-item i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.quick-nav-item:hover,
.quick-nav-item.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.quick-nav-item:hover i,
.quick-nav-item.active i {
    transform: scale(1.1);
}

.quick-nav-item:active {
    transform: scale(0.95);
}

/* Mobile Floating Navigation */
.mobile-floating-nav {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-nav-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: #d4af37;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-nav-item:hover,
.floating-nav-item.active {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
    transform: scale(1.1);
}

.floating-nav-item:active {
    transform: scale(0.9);
}

/* Section Progress Indicator */
.section-progress {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    z-index: 998;
    display: none;
}

.section-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    width: 0%;
    transition: width 0.3s ease;
}

/* Mobile Section Tabs */
.mobile-section-tabs {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
    z-index: 997;
    display: none;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-section-tabs::-webkit-scrollbar {
    display: none;
}

.section-tabs-container {
    display: flex;
    gap: 8px;
    padding: 0 15px;
    min-width: max-content;
}

.section-tab {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: #d4af37;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-tab:hover,
.section-tab.active {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.section-tab:active {
    transform: scale(0.95);
}

/* Show mobile navigation elements */
@media (max-width: 768px) {
    .mobile-quick-nav {
        display: block !important;
    }
    
    .mobile-floating-nav {
        display: flex !important;
    }
    
    .section-progress {
        display: block;
    }
    
    .mobile-section-tabs {
        display: block;
    }
    
    /* Adjust body padding for fixed navigation */
    body {
        padding-bottom: 70px;
    }
    
    /* Adjust main content for section tabs */
    .main-content {
        margin-top: 50px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .quick-nav-item {
        font-size: 10px;
        padding: 6px 2px;
        min-width: 45px;
    }
    
    .quick-nav-item i {
        font-size: 16px;
    }
    
    .floating-nav-item {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .mobile-floating-nav {
        left: 8px;
    }
    
    .section-tab {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Dark mode support */
body.dark-mode .mobile-quick-nav {
    background: rgba(26, 26, 26, 0.95);
    border-top-color: rgba(212, 175, 55, 0.3);
}

body.dark-mode .quick-nav-item {
    color: #ccc;
}

body.dark-mode .quick-nav-item:hover,
body.dark-mode .quick-nav-item.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
}

body.dark-mode .floating-nav-item {
    background: rgba(26, 26, 26, 0.9);
    border-color: rgba(212, 175, 55, 0.3);
}

body.dark-mode .mobile-section-tabs {
    background: rgba(26, 26, 26, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

body.dark-mode .section-tab {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

/* Hide on landscape mobile to save space */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-section-tabs {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
}