/* ==================================================
   MOBILE DEFAULT (HIDE MOBILE HEADER ON DESKTOP)
   ================================================== */
.mobile-header {
    display: none;
}

/* ==================================================
   MOBILE ONLY CSS
   ================================================== */
@media screen and (max-width: 1024px) {

    /* ----------------------------------------------
       RESET & SAFETY
       ---------------------------------------------- */
    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body#index {
        background: none !important; /* remove index.jpg */
    }

    /* ----------------------------------------------
       MOBILE HEADER
       ---------------------------------------------- */
    .mobile-header {
        display: block;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .mobile-logo {
        text-align: center;
        padding: 10px 0;
    }

    .mobile-logo img {
        max-width: 250px !important; /* Force smaller logo */
        width: 250px !important;
        height: auto !important;
    }

    .mobile-menu-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #996600; /* Changed color */
        color: #fff;
        padding: 12px 0;
        cursor: pointer;
        font-weight: bold;
    }

    .mobile-menu-bar .hamburger {
        font-size: 24px !important;
        margin-right: 8px;
    }

    .mobile-menu-bar .menu-text {
        font-size: 18px !important; /* Increased MENU text size */
    }

    .mobile-menu {
        display: none;
        background: #996600; /* Changed from #f5f5f5 to #996600 */
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu > a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff; /* Changed to white for visibility on brown background */
        text-decoration: none;
        font-size: 14px;
        position: relative;
        text-align: left;
    }

    .mobile-menu > a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    /* Submenu styles */
    .mobile-menu-item {
        position: relative;
    }

    .mobile-menu-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff; /* Changed to white */
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        text-align: left;
    }

    .mobile-menu-item > a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-item .toggle-icon {
        margin-left: 8px;
        font-size: 20px;
        font-weight: normal;
        line-height: 1;
    }

    .mobile-submenu {
        display: none;
        background: #C18300; /* Submenu background color */
    }

    .mobile-submenu.open {
        display: block;
    }

    .mobile-submenu a {
        display: block;
        padding: 10px 12px 10px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        text-align: left;
    }

    .mobile-submenu a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    /* ----------------------------------------------
       DESKTOP HEADER: HIDE MENU, KEEP BANNER
       ---------------------------------------------- */
    .head {
        display: block !important;
        width: 100% !important;
    }

    .head .menu {
        display: none !important;
    }

    /* ----------------------------------------------
       BANNER (STATIC UNDER MOBILE MENU)
       ---------------------------------------------- */
    .banner,
    .banner img,
    .banner_top {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* ----------------------------------------------
       FULL-WIDTH CONTENT CONTAINER
       ---------------------------------------------- */
    .body,
    .content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ----------------------------------------------
       SINGLE COLUMN LAYOUT
       ---------------------------------------------- */
    .content_left,
    .content_middle,
    .content_right,
    .content_bottom {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* ----------------------------------------------
       ADD PADDING TO INNER CONTENT
       ---------------------------------------------- */
    .content_left > *,
    .content_middle > *,
    .content_right > *,
    .content_bottom > * {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* ----------------------------------------------
       FIX INNER FIXED-WIDTH BLOCKS
       ---------------------------------------------- */
    .news,
    .news_middle,
    .select_box,
    .select_box_1,
    .menu_bottom,
    .box_menu {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* ----------------------------------------------
       MEDIA SAFETY
       ---------------------------------------------- */
    img,
    iframe,
    table {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    iframe {
        display: block;
        margin: 0 auto;
    }

    /* ----------------------------------------------
       FOOTER
       ---------------------------------------------- */
    .footer {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    .menufooter {
        padding: 0 15px !important;
        box-sizing: border-box;
    }
}