/* =========================================================
   MAKKY TRAVEL
   FOOTER
   FINAL STRUCTURAL CSS
   ========================================================= */

.mvt-footer {
    width: 100%;
    box-sizing: border-box;
}

/* MVT FOOTER IMAGE OVERLAY */
.mvt-footer {
    position: relative;
    isolation: isolate;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mvt-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0B1E3A;
    opacity: 0.72;
    pointer-events: none;
}

.mvt-footer > .mvt-footer__inner {
    position: relative;
    z-index: 1;
}


.mvt-footer *,
.mvt-footer *::before,
.mvt-footer *::after {
    box-sizing: border-box;
}

.mvt-footer__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* =========================================================
   MAIN FOOTER GRID
   ========================================================= */

.mvt-footer__main {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(170px, 1.2fr)
        minmax(220px, 1.1fr)
        minmax(160px, 1fr)
        minmax(180px, 1.05fr);

    align-items: start;

    column-gap: 34px;
    row-gap: 40px;
}

.mvt-footer__brand,
.mvt-footer__column {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   BRAND STRUCTURE
   ========================================================= */

.mvt-footer__logo {
    display: flex;
    align-items: flex-start;
    justify-content: var(--mb2b-logo-alignment, flex-start);

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    text-decoration: none;
}

.mvt-footer__logo img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    object-fit: contain;
}

.mvt-footer__company-name,
.mvt-footer__description {
    margin-top: 0;
}

/* =========================================================
   SOCIAL
   ========================================================= */

.mvt-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    width: 100%;

    gap: var(--mb2b-social-gap, 9px);
}

.mvt-footer__social {
    width: 32px;
    height: 32px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    color: var(--mb2b-social-color, #FFFFFF) !important;

    border:
        1px solid
        var(
            --mb2b-social-border-color,
            rgba(255,255,255,0.45)
        );

    border-radius: 50%;

    background: transparent;

    line-height: 1;
    text-decoration: none;

    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

/*
 * Elementor can render icons as SVG with inline
 * fill/stroke attributes.
 *
 * !important is intentional here:
 * Elementor Color Control must be the final authority.
 */

.mvt-footer__social svg {
    display: block;

    width: 17px;
    height: 17px;

    max-width: 100%;
    max-height: 100%;

    margin: 0;
    padding: 0;

    color: currentColor !important;

    stroke: currentColor !important;
}

.mvt-footer__social svg path,
.mvt-footer__social svg circle,
.mvt-footer__social svg rect,
.mvt-footer__social svg line,
.mvt-footer__social svg polyline,
.mvt-footer__social svg polygon {
    color: currentColor !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.mvt-footer__social i {
    display: block;

    margin: 0;
    padding: 0;

    color: currentColor !important;

    font-size: 17px;
    line-height: 1;
}

.mvt-footer__social:hover,
.mvt-footer__social:focus-visible {
    color: var(--mb2b-social-hover-color, #FFA300) !important;

    border-color:
        var(
            --mb2b-social-hover-border-color,
            #FFA300
        );

    text-decoration: none;
}

.mvt-footer__social:hover svg,
.mvt-footer__social:hover svg *,
.mvt-footer__social:focus-visible svg,
.mvt-footer__social:focus-visible svg * {
    color: currentColor !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.mvt-footer__social:active {
    transform: translateY(1px);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.mvt-footer__title {
    margin-top: 0;
}

.mvt-footer__links {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mvt-footer__links li {
    margin: 0;
    padding: 0;
}

.mvt-footer__links a {
    display: inline-block;

    text-decoration: none;
}

.mvt-footer__links a:hover,
.mvt-footer__links a:focus-visible {
    text-decoration: none;
}

/* =========================================================
   CONTACT
   ========================================================= */

.mvt-footer__contacts {
    display: flex;
    flex-direction: column;

    gap: 11px;

    width: 100%;
}

.mvt-footer__contact {
    text-align:
        var(
            --mb2b-contact-text-align,
            left
        );
}

.mvt-footer__contact-item {
    justify-content:
        var(
            --mb2b-contact-justify,
            left
        );
}

.mvt-footer__contact-text {
    text-align:
        var(
            --mb2b-contact-text-align,
            left
        );
}

.mvt-footer__contact-item {
    display: flex;
    align-items: flex-start;

    width: 100%;
    min-width: 0;

    column-gap: 9px;

    margin: 0;
    padding: 0;

    text-decoration: none;
}

.mvt-footer__contact-item:hover,
.mvt-footer__contact-item:focus-visible {
    text-decoration: none;
}

.mvt-footer__contact-icon {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: inherit;

    line-height: 1;
}

.mvt-footer__contact-icon svg {
    display: block;

    width: 17px;
    height: 17px;

    max-width: 100%;
    max-height: 100%;

    color: currentColor !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.mvt-footer__contact-icon svg * {
    color: currentColor !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.mvt-footer__contact-icon i {
    display: block;

    color: currentColor;

    line-height: 1;
}

.mvt-footer__contact-text {
    min-width: 0;
}

/* =========================================================
   BOTTOM BAR
   ========================================================= */

.mvt-footer__bottom {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 26px;
    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.16);
}

.mvt-footer__copyright {
    min-width: 0;
}

.mvt-footer__legal {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    min-width: 0;
}

.mvt-footer__legal a {
    text-decoration: none;
}

.mvt-footer__legal a:hover,
.mvt-footer__legal a:focus-visible {
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE FOOTER LAYOUT
   ========================================================= */

/* Mobile: brand, navigasi dua kolom, lalu kontak */
@media (max-width: 767px) {
    .mvt-footer__main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 24px;
        align-items: start;
    }

    .mvt-footer__brand,
    .mvt-footer__column {
        width: 100%;
        min-width: 0;
    }

    .mvt-footer__brand,
    .mvt-footer__contact {
        grid-column: 1 / -1;
    }

    .mvt-footer__title {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 1.35;
    }

    .mvt-footer__links {
        gap: 6px;
    }

    .mvt-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 22px;
        padding-top: 16px;
        text-align: left;
    }

    .mvt-footer__legal {
        justify-content: flex-start;
    }
}

/* Tablet: brand di atas, navigasi dalam tiga kolom */
@media (min-width: 768px) and (max-width: 1024px) {
    .mvt-footer__main {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 30px;
        align-items: start;
    }

    .mvt-footer__brand {
        grid-column: 1 / -1;
        max-width: 360px;
    }

    .mvt-footer__column {
        width: 100%;
        min-width: 0;
    }
}

/* Desktop: enam kolom dengan lebar terukur */
@media (min-width: 1025px) {
    .mvt-footer__main {
        display: grid;
        grid-template-columns:
            minmax(180px, 1.35fr)
            repeat(4, minmax(115px, 1fr))
            minmax(150px, 1.1fr);
        column-gap: 28px;
        row-gap: 28px;
        align-items: start;
    }

    .mvt-footer__brand,
    .mvt-footer__column,
    .mvt-footer__contact {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   VICTORIA — MOBILE STICKY FOOTER
   Single source of truth
   ========================================================= */

.mvt-footer__sticky {
    display: none;

    --mvt-sticky-background: #1877E8;
    --mvt-sticky-border-color: #B9D7FF;
    --mvt-sticky-border-width: 1px;
    --mvt-sticky-radius: 36px;
    --mvt-sticky-icon-box-size: 30px;
    --mvt-sticky-icon-size: 21px;
    --mvt-sticky-icon-color: #FFFFFF;
    --mvt-sticky-title-color: #FFFFFF;
    --mvt-sticky-hover-icon-color: #FFFFFF;
    --mvt-sticky-hover-title-color: #FFFFFF;
    --mvt-sticky-item-gap: 3px;
}

@media (max-width: 767px) {
    .mvt-footer__sticky {
        position: fixed;
        top: auto;
        right: 14px;
        bottom: 10px;
        left: 14px;

        width: auto;
        max-width: 420px;
        height: auto;
        min-height: 0;
        max-height: none;

        margin: 0 auto;
        padding: 7px 8px;
        box-sizing: border-box;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        visibility: visible;
        opacity: 1;
        overflow: visible;
        z-index: 2147483647;

        background: var(--mvt-sticky-background);
        border: var(--mvt-sticky-border-width) solid
            var(--mvt-sticky-border-color);
        border-radius: var(--mvt-sticky-radius);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .14),
                    0 3px 10px rgba(0, 0, 0, .08);
        isolation: isolate;

        transition: opacity .28s ease-out,
                    transform .28s ease-out,
                    visibility 0s linear 0s;
    }

    .mvt-footer__sticky:not(.mvt-footer__sticky--visible) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, 16px, 0);
    }

    .mvt-footer__sticky.mvt-footer__sticky--visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }

    .mvt-footer__sticky-item {
        position: relative;
        min-width: 0;
        flex: 1 1 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--mvt-sticky-item-gap);

        margin: 0;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        text-decoration: none;
        text-align: center;
    }

    .mvt-footer__sticky-icon {
        width: var(--mvt-sticky-icon-box-size);
        height: var(--mvt-sticky-icon-box-size);
        flex: 0 0 auto;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;
        color: var(--mvt-sticky-icon-color);
        line-height: 1;
    }

    .mvt-footer__sticky-icon svg {
        display: block;
        width: var(--mvt-sticky-icon-size);
        height: var(--mvt-sticky-icon-size);
        max-width: 100%;
        max-height: 100%;

        margin: 0;
        padding: 0;
        color: currentColor;
        stroke: currentColor;
        fill: currentColor;
    }

    .mvt-footer__sticky-icon svg * {
        color: currentColor;
        stroke: currentColor;
        fill: currentColor;
    }

    .mvt-footer__sticky-label {
        display: block;
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;
        overflow: hidden;

        color: var(--mvt-sticky-title-color);
        font-size: 12px;
        line-height: 1.25;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mvt-footer__sticky-item:hover .mvt-footer__sticky-icon {
        color: var(--mvt-sticky-hover-icon-color);
    }

    .mvt-footer__sticky-item:hover .mvt-footer__sticky-label {
        color: var(--mvt-sticky-hover-title-color);
    }

    body.mvt-mobile-menu-open .mvt-footer__sticky {
        display: none;
    }
}



/* =========================================================
   VICTORIA TRAVEL PREMIUM THEME
   Visual-only layer; preserve existing content and behavior.
   ========================================================= */

.mvt-footer {
    background-color: #0B1E3A;
    background-image: linear-gradient(
        115deg,
        #0B1E3A 0%,
        #102946 55%,
        #1C3A5F 100%
    );
}

.mvt-footer__social:hover,
.mvt-footer__social:focus-visible {
    color: var(--mb2b-social-hover-color, #F4A62A) !important;
    border-color: var(--mb2b-social-hover-border-color, #F4A62A);
}

/* =========================================================
   VICTORIA FOOTER — MOCKUP ALIGNMENT
   ========================================================= */

.mvt-footer {
    color: #FFF7E6;
    background-color: #0B1E3A;
}

.mvt-footer__main {
    grid-template-columns:
        minmax(200px, 1.25fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(180px, 1fr);
    column-gap: clamp(24px, 3vw, 48px);
    row-gap: 32px;
}

.mvt-footer__brand,
.mvt-footer__column {
    min-width: 0;
}

.mvt-footer__title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.mvt-footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: #F4A62A;
}

.mvt-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mvt-footer__links li {
    margin: 0;
    padding: 0;
}

.mvt-footer__links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 247, 230, 0.86);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    transition: color 180ms ease;
}

.mvt-footer__links a::before {
    content: "›";
    flex: 0 0 auto;
    color: #F4A62A;
    font-weight: 700;
}

.mvt-footer__links a:hover,
.mvt-footer__links a:focus-visible {
    color: #F4A62A;
}

.mvt-footer__bottom {
    justify-content: space-between;
    gap: 16px 28px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 247, 230, 0.2);
}

.mvt-footer__copyright,
.mvt-footer__legal {
    color: rgba(255, 247, 230, 0.78);
    font-size: 13px;
    line-height: 1.6;
}

.mvt-footer__legal {
    margin-left: auto;
}

.mvt-footer__legal a {
    color: inherit;
}

.mvt-footer__legal a:hover,
.mvt-footer__legal a:focus-visible {
    color: #F4A62A;
}

@media (min-width: 1025px) {
    .mvt-footer__main {
        grid-template-columns:
            minmax(200px, 1.25fr)
            minmax(150px, 1fr)
            minmax(150px, 1fr)
            minmax(180px, 1fr);
    }
}

@media (max-width: 767px) {
    .mvt-footer__main {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 22px;
    }

    .mvt-footer__bottom {
        align-items: flex-start;
    }

    .mvt-footer__legal {
        margin-left: 0;
        justify-content: flex-start;
    }
}

/* Victoria sticky footer: compact mobile bar */
@media (max-width: 767px) {
    .mvt-footer__sticky {
        padding: 5px 8px;
    }

    .mvt-footer__sticky-item {
        gap: 2px;
    }

    .mvt-footer__sticky-icon {
        width: 24px;
        height: 24px;
    }

    .mvt-footer__sticky-icon svg {
        width: 19px;
        height: 19px;
    }

    .mvt-footer__sticky-label {
        font-size: 12px;
        line-height: 1.15;
    }
}
