/* Maoucha Voyage brand and responsive refinements. */

:root {
    --primary-color: #FEB914;
    --secondary-color: #0A4B81;
}

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

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

nav.custom-navbar .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 5px 48px !important;
}

.header-brand-group {
    display: flex;
    align-items: center;
}

nav.custom-navbar .mobile-menu-toggle {
    display: none !important;
}

nav.custom-navbar .header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 82px;
    margin: 0;
    overflow: hidden;
}

nav.custom-navbar .maoucha-logo {
    flex: 0 0 auto;
    width: 112px !important;
    height: 112px;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.voyage-menu-title h1,
.section-title,
.section-subtitle,
.offer-title {
    letter-spacing: 0;
}

#mainCarousel .voyage-link {
    min-height: 500px;
}

#mainCarousel .voyage-meta {
    line-height: 1.55;
}

#mainCarousel .voyage-price small {
    display: inline-block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.8);
}

#offresCarousel .carousel-item {
    padding: 0 58px 8px;
}

#offresCarousel .offer-card {
    overflow: hidden;
}

#offresCarousel .offer-body {
    min-height: 150px;
    justify-content: center;
}

#offresCarousel .offer-price {
    flex-wrap: wrap;
}

.contact-phone-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-phone-row .contact-phone {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.contact-apps {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.footer-voyage .contact-apps a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #fff;
}

.footer-voyage .contact-apps a:hover {
    color: #fff;
    background: var(--primary-color);
}

.footer-voyage .contact-apps i {
    width: auto;
    margin: 0;
    color: inherit;
}

.footer-agency-name {
    margin: 10px 0 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer-maoucha-logo {
    display: block;
    width: 140px;
    height: 140px;
    margin: -20px auto;
    object-fit: contain;
    transform: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 150px;
    height: 100px;
    margin-bottom: 18px;
    overflow: hidden;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list {
    display: grid;
    gap: 10px;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-contact-row i {
    width: 20px !important;
    margin: 3px 0 0 !important;
    text-align: center;
}

.about-maoucha-logo {
    width: min(100%, 360px);
    max-height: 360px;
    object-fit: contain;
}

.voyage-search-btn,
.grid-price-badge,
.carousel-caption strong,
.offer-price strong,
.card .btn:not(.grid-btn):not(.detail-btn):not(.res-btn):not(.admin-btn),
.carousel-caption .btn {
    color: var(--secondary-color) !important;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

#aboutModal .modal-dialog {
    max-width: 980px;
}

#aboutModal .modal-content {
    max-height: calc(100vh - 40px);
}

#aboutModal .auth-card {
    overflow-y: auto;
}

#aboutModal .about-copy p:first-child {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 800;
}

#aboutModal .about-copy p {
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    nav.custom-navbar .header-main {
        position: relative;
        min-height: 72px;
        padding: 4px 10px !important;
    }

    .header-brand-group {
        flex: 0 0 44px;
        min-width: 44px;
    }

    nav.custom-navbar .mobile-menu-toggle {
        display: flex !important;
        width: 44px;
        min-width: 44px;
        margin: 0;
        padding: 0 !important;
        border: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }

    nav.custom-navbar .header-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 84px;
        height: 64px;
        transform: translate(-50%, -50%);
    }

    nav.custom-navbar .maoucha-logo {
        width: 90px !important;
        height: 90px;
    }

    nav.custom-navbar .header-actions {
        min-width: 76px;
        margin-left: auto;
    }

    nav.custom-navbar .header-actions .navbar-nav {
        justify-content: flex-end;
        gap: 4px !important;
    }

    nav.custom-navbar .header-actions .nav-item-fixed {
        width: 36px;
    }

    nav.custom-navbar .header-actions .nav-link {
        padding: 0 !important;
    }

    nav.custom-navbar .header-actions .mt-1 {
        display: none;
    }

    nav.custom-navbar .header-actions .icon-circle,
    nav.custom-navbar .mobile-menu-toggle .icon-circle {
        width: 32px;
        height: 32px;
    }

    nav.custom-navbar .mobile-hidden-action {
        display: none !important;
    }

    div.custom-navbar .mobile-nav-panel.collapse:not(.show) {
        display: none !important;
    }

    div.custom-navbar .mobile-nav-panel.collapse.show {
        display: block !important;
    }

    div.custom-navbar .mobile-nav-panel .navbar-nav {
        list-style: none;
    }
}

@media (min-width: 992px) {
    div.custom-navbar .mobile-nav-panel {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .voyage-field {
        min-width: 0;
    }

    #mainCarousel .row.g-0 {
        position: static;
        flex-wrap: wrap;
    }

    #mainCarousel .col-md-9,
    #mainCarousel .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #mainCarousel .carousel-image {
        height: 235px !important;
    }

    #mainCarousel .col-md-3 {
        position: static;
        inset: auto;
        display: block;
        pointer-events: auto;
    }

    #mainCarousel .voyage-link {
        min-height: 0;
        padding: 0;
        background: var(--secondary-color) !important;
    }

    #mainCarousel .carousel-caption {
        min-height: 205px;
        padding: 20px 44px !important;
    }

    #mainCarousel .carousel-caption h6 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    #mainCarousel .voyage-meta,
    #mainCarousel .voyage-price {
        display: block;
    }

    #mainCarousel .carousel-control-prev,
    #mainCarousel .carousel-control-next {
        top: 0;
        bottom: auto;
        height: 235px;
        width: 44px;
    }

    #offresCarousel .carousel-item {
        padding: 0 14px 8px;
    }

    #offresCarousel .offer-media {
        height: 230px;
    }

    #offresCarousel .offer-body {
        min-height: 190px;
        padding: 16px 44px 18px;
    }

    #offresCarousel .offer-title {
        font-size: 1.1rem;
    }

    #offresCarousel .offer-line {
        align-items: flex-start;
        line-height: 1.45;
    }

    #offresCarousel .carousel-control-prev,
    #offresCarousel .carousel-control-next {
        width: 44px;
    }

    #aboutModal .modal-dialog {
        margin: 10px;
    }

    #aboutModal .modal-content {
        max-height: calc(100vh - 20px);
    }

    .contact-phone-row {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-voyage {
        padding: 36px 0 18px;
    }

    .footer-voyage .row {
        row-gap: 0;
    }

    .footer-voyage .footer-section {
        width: 100%;
        margin: 0 0 34px;
        padding-right: 18px;
        padding-left: 18px;
        text-align: center !important;
    }

    .footer-voyage .footer-nav {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-voyage .footer-contact {
        order: 2;
    }

    .footer-voyage .footer-location {
        order: 3;
        margin-bottom: 12px;
    }

    .footer-brand {
        justify-content: center;
        width: 138px;
        height: 92px;
        margin: 0 auto 22px;
    }

    .footer-maoucha-logo {
        width: 126px;
        height: 126px;
        margin: -17px auto;
    }

    .footer-voyage .footer-title {
        margin-bottom: 14px;
        text-align: center;
    }

    .footer-links {
        display: grid;
        gap: 9px;
    }

    .footer-links li {
        margin: 0;
    }

    .footer-contact-list {
        width: min(100%, 350px);
        margin: 0 auto;
    }

    .footer-contact-row {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        text-align: left;
    }

    .footer-social {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .footer-social a {
        margin: 0;
    }

    .footer-location .mini-map-container {
        width: min(100%, 350px);
        margin: 0 auto;
    }

    .footer-location .footer-map {
        height: 190px;
        margin-top: 0;
    }

    .footer-voyage hr {
        margin: 20px 0 14px;
    }
}
