
/* =========================================
   SMILE TAXI - RESPONSIVE HEADER
   Shared responsive rules
========================================= */

/* Prevent unexpected sizing */
.st-header,
.st-header *,
.st-header *::before,
.st-header *::after {
    box-sizing: border-box;
}

/* Default: mobile button hidden on desktop */
.st-header .st-mobile-menu {
    display: none;
}

/* =========================================
   TABLET AND MOBILE
========================================= */

@media (max-width: 1000px) {

    /* Header */
    .st-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-height: 76px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #08172c !important;
        z-index: 99999 !important;
    }

    .st-header-inner {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 76px !important;
        height: 76px !important;
        margin: 0 !important;
        padding: 8px 20px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    /* Logo */
    .st-header .st-logo {
        display: flex !important;
        flex: 0 1 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        max-width: 150px !important;
        min-width: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        text-decoration: none !important;
    }

    .st-header .st-logo img {
        display: block !important;
        width: 75px !important;
        max-width: 100% !important;
        height: 44px !important;
        object-fit: contain !important;
    }

    .st-header .st-logo .st-logo-text {
        display: block !important;
        width: 100% !important;
        margin-top: 2px !important;
        color: #f5bd18 !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: 1.2px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* Hide desktop contact / booking actions */
    .st-header .st-header-actions {
        display: none !important;
    }

    /* Hamburger */
    .st-header #menuToggle {
        display: inline-flex !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;

        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 50% !important;

        background: #f5bd18 !important;
        color: #101827 !important;
        font-size: 21px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 100002 !important;
    }

    .st-header #menuToggle i {
        pointer-events: none;
    }

    /* Mobile navigation - closed */
    .st-header #mainNavigation {
        display: none !important;

        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 12px !important;
        right: 12px !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        max-height: calc(100vh - 100px) !important;
        max-height: calc(100dvh - 100px) !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 3px !important;

        margin: 0 !important;
        padding: 12px !important;

        background: #19263d !important;
        border: 1px solid rgba(255,255,255,.12) !important;
        border-radius: 14px !important;
        box-shadow: 0 12px 30px rgba(0,0,0,.30) !important;

        z-index: 100001 !important;
    }

    /* Mobile navigation - open */
    .st-header #mainNavigation.open {
        display: flex !important;
    }

    /* Navigation links */
    .st-header #mainNavigation a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-height: 46px !important;
        height: auto !important;

        margin: 0 !important;
        padding: 12px 16px !important;

        border: none !important;
        border-radius: 8px !important;

        background: transparent !important;
        color: #ffffff !important;

        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .st-header #mainNavigation a.active {
        color: #f5bd18 !important;
        background: rgba(255,255,255,.10) !important;
    }

    .st-header #mainNavigation a:hover {
        color: #f5bd18 !important;
        background: rgba(255,255,255,.07) !important;
    }

    /* Offset page content for fixed navbar */
    body {
        padding-top: 85px !important;
    }

    html {
        scroll-padding-top: 95px;
    }
}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .st-header-inner {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 8px !important;
    }

    .st-header .st-logo img {
        width: 65px !important;
        height: 42px !important;
    }

    .st-header .st-logo .st-logo-text {
        font-size: 7px !important;
        letter-spacing: 1px !important;
    }

    .st-header #menuToggle {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
    }
}
