/* AC Mobile Menu Bridge - Style v3.0 */

/* Desktop sakrivanje */
.ac-bridge-trigger {
    display: none;
}

/* Mobilni stilovi */
@media (max-width: 768px) {
    /* Trigger dugme */
    .ac-bridge-trigger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: #f8f8f8;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 500;
    }
    
    .ac-bridge-icon {
        width: 24px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .ac-bridge-icon span {
        display: block;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }
    
    /* Overlay meni - preko cijelog ekrana */
    .ac-bridge-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 999999 !important;
        overflow: hidden;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    
    /* Header sa logotipom */
    .ac-bridge-header {
        padding: 20px 16px;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .ac-bridge-logo-main {
        font-size: 22px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
    }
    
    .ac-bridge-logo-sub {
        font-size: 12px;
        color: #666;
        letter-spacing: 0.5px;
        margin-top: 2px;
    }
    
    .ac-bridge-close {
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        color: #999;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s;
    }
    
    .ac-bridge-close:hover {
        background: #f0f0f0;
        color: #333;
    }
    
    /* Root meni */
    .ac-bridge-root {
        height: calc(100% - 80px);
        overflow-y: auto;
        transition: transform 0.3s ease;
    }
    
    .ac-bridge-root ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .ac-bridge-root li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: #333;
        font-size: 16px;
        font-weight: 400;
        transition: background 0.2s;
    }
    
    .ac-bridge-root li a:active {
        background: #f5f5f5;
    }
    
    .ac-bridge-arrow {
        font-size: 24px;
        color: #ccc;
        font-weight: 300;
    }
    
    /* Submeni */
    .ac-bridge-sub {
        height: calc(100% - 80px);
        overflow-y: auto;
        display: none;
        transition: transform 0.3s ease;
    }
    
    .ac-bridge-sub.active {
        display: block;
    }
    
    /* Back dugme */
    .ac-bridge-back {
        padding: 16px 20px;
        background: #f8f8f8;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        color: #0073aa;
        font-weight: 500;
    }
    
    .ac-bridge-back-arrow {
        font-size: 24px;
        line-height: 1;
    }
    
    .ac-bridge-back-text {
        font-size: 16px;
    }
    
    .ac-bridge-back:active {
        background: #f0f0f0;
    }
    
    /* Submeni linkovi */
    .ac-bridge-sub ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .ac-bridge-sub li a {
        display: block;
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: #333;
        font-size: 15px;
        transition: background 0.2s;
    }
    
    .ac-bridge-sub li a:active {
        background: #f5f5f5;
        padding-left: 24px;
    }
    
    /* Lock body kada je meni otvoren */
    body.ac-bridge-lock {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* Desktop - sakrij overlay */
@media (min-width: 769px) {
    .ac-bridge-overlay {
        display: none !important;
    }
}