/* Mobile Header Styles - Only for mobile and tablet */
@media (max-width: 1023px) {
    .header-section {
        position: relative;
        z-index: 1000; /* Higher than slider */
    }

    /* Mobile Header Top */
    .header-top.d-md-none {
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        padding: 10px 0;
        position: relative;
        z-index: 1001;
    }

    .header-top.d-md-none .header-top-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    /* User Dropdown Mobile */
    .user-dropdown-mobile-simple {
        position: relative;
    }

    .user-btn-mobile {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 8px 15px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .user-btn-mobile:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
    }

    .user-btn-mobile i {
        font-size: 16px;
    }

    .user-menu-mobile {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 15px 0;
        min-width: 200px;
        z-index: 1002;
        display: none;
        margin-top: 5px;
    }

    .user-menu-mobile.show {
        display: block;
        animation: fadeInDown 0.3s ease;
    }

    .user-menu-mobile a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .user-menu-mobile a:hover {
        background: #f8f9fa;
        color: #ff6b35;
    }

    .user-menu-mobile .divider {
        height: 1px;
        background: #e9ecef;
        margin: 10px 0;
    }

    .logout-btn {
        background: none;
        border: none;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
        color: #dc3545;
        font-size: 14px;
        width: 100%;
        text-align: left;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .logout-btn:hover {
        background: #f8f9fa;
        color: #c82333;
    }

    /* Auth Buttons Mobile */
    .auth-buttons-mobile {
        display: flex;
        gap: 10px;
    }

    .btn-login-mobile,
    .btn-register-mobile {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 8px 15px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .btn-login-mobile:hover,
    .btn-register-mobile:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        text-decoration: none;
    }

    .btn-register-mobile {
        background: rgba(255, 255, 255, 0.9);
        color: #ff6b35;
        border-color: rgba(255, 255, 255, 0.9);
    }

    .btn-register-mobile:hover {
        background: white;
        color: #ff6b35;
    }

    /* Header Bottom Mobile */
    .header-bottom {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1000;
    }

    .header-wrapper {
        display: flex;
        padding: 15px;
        align-items: center;
        align-content: center;
        justify-content: center;
    }

    .logo a img {
        max-height: 100%;
        width: 200px;
    }

    /* Menu Area Mobile */
    .menu-area {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-bar {
        padding: 10px 12px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        margin-left: 80px;
    }

    .header-bar span {
        width: 20px !important;
        height: 2px;
        background: #ff8540;
        transition: all 0.3s ease;
    }

    .header-bar:hover span {
        background: #ff6b35;
    }

    .ellepsis-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background: #f8f9fa;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .ellepsis-bar:hover {
        background: #ff6b35;
        color: white;
    }

    .ellepsis-bar i {
        font-size: 16px;
        color: #666;
        transition: color 0.3s ease;
    }

    .ellepsis-bar:hover i {
        color: white;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .header-top.d-md-none {
            padding: 8px 0;
        }
        
        .header-top.d-md-none .header-top-area {
            padding: 0 10px;
        }
        
        .user-btn-mobile,
        .btn-login-mobile,
        .btn-register-mobile {
            padding: 6px 12px;
            font-size: 12px;
        }
        
        .header-wrapper {
            padding: 12px 10px;
        }
        
        .logo a img {
            max-height: 100%;
        }
        
        .menu-area {
            gap: 10px;
        }
        
        .header-bar span {
            width: 18px;
        }
        
        .ellepsis-bar {
            width: 30px;
            height: 30px;
        }
        
        .ellepsis-bar i {
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .auth-buttons-mobile {
            gap: 8px;
        }
        
        .btn-login-mobile,
        .btn-register-mobile {
            padding: 5px 10px;
            font-size: 11px;
        }
        
        .user-btn-mobile {
            padding: 5px 10px;
            font-size: 11px;
        }
        
        .user-btn-mobile span {
            display: none;
        }
        
        .logo a img {
            max-height: 100%;
        }
    }

    /* Animation */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Ensure header is always on top */
    .header-section {
        position: relative;
        z-index: 1000 !important;
    }

    .header-section .header-top,
    .header-section .header-bottom {
        position: relative;
        z-index: 1001;
    }
}
