/* =========================================================
   Home page — loaded only from Views/Home/Index
   Depends on the tokens in nt-theme.css
   ========================================================= */

/* ---------------------------------------------------------
   1) Hero
   --------------------------------------------------------- */
.nt-hero {
    position: relative;
    margin-bottom: 0 !important;
    padding: 56px 0 140px;
    background: var(--nt-gradient-navy);
    overflow: visible;
    isolation: isolate;
}

    /* soft wave into the next section */
    .nt-hero::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -1px;
        left: 0;
        height: 90px;
        z-index: -1;
        background: #fff;
        -webkit-mask: radial-gradient(120% 90px at 50% 100%, #000 98%, transparent 100%);
        mask: radial-gradient(120% 90px at 50% 100%, #000 98%, transparent 100%);
    }

.nt-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

    .nt-hero-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .08;
        background-image: radial-gradient(#fff 1px, transparent 1px);
        background-size: 24px 24px;
    }

.nt-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
}

.nt-orb-1 {
    width: 560px;
    height: 560px;
    top: -280px;
    left: -140px;
    background: radial-gradient(circle, rgba(63, 162, 246, .6) 0%, rgba(63, 162, 246, 0) 70%);
    animation: nt-float 14s ease-in-out infinite;
}

.nt-orb-2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    right: -100px;
    background: radial-gradient(circle, rgba(150, 201, 244, .4) 0%, rgba(150, 201, 244, 0) 70%);
    animation: nt-float 18s ease-in-out infinite reverse;
}

.nt-orb-3 {
    width: 260px;
    height: 260px;
    top: 30%;
    right: 38%;
    background: radial-gradient(circle, rgba(255, 176, 32, .18) 0%, rgba(255, 176, 32, 0) 70%);
    animation: nt-float 22s ease-in-out infinite;
}

.nt-hero-plane {
    position: absolute;
    top: 46px;
    left: 9%;
    font-size: 30px;
    color: rgba(255, 255, 255, .22);
    transform: rotate(-35deg);
    animation: nt-plane 9s ease-in-out infinite;
}

@keyframes nt-float {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 24px);
    }
}

@keyframes nt-plane {
    0%, 100% {
        transform: translate(0, 0) rotate(-35deg);
    }

    50% {
        transform: translate(-26px, -12px) rotate(-35deg);
    }
}

/* the template positioned this row absolutely over a 650px banner */
.nt-hero .stick-to-hero-slider {
    position: static !important;
    top: auto;
    left: auto;
    right: auto;
}

.nt-hero-copy {
    margin: 0 auto 52px;
    color: #fff;
}

.nt-hero-title {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(28px, 4.6vw, 48px);
    font-weight: 800;
    line-height: 1.35;
}

.nt-roller {
    display: inline-block;
    height: 1.35em;
    overflow: hidden;
    vertical-align: bottom;
    color: var(--nt-accent);
}

.nt-roller-track {
    display: flex;
    flex-direction: column;
    animation: nt-roll 7.5s cubic-bezier(.7, 0, .3, 1) infinite;
}

    .nt-roller-track span {
        display: block;
        height: 1.35em;
    }

@keyframes nt-roll {
    0%, 26% {
        transform: translateY(0);
    }

    33%, 59% {
        transform: translateY(-1.35em);
    }

    66%, 92% {
        transform: translateY(-2.7em);
    }

    100% {
        transform: translateY(-4.05em);
    }
}

.nt-hero-sub {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .8);
    font-size: 15.5px;
}

/* ---------------------------------------------------------
   2) Search box
   --------------------------------------------------------- */
.nt-hero .search-explore-wrap > .container {
    padding: 0;
}

.nt-hero .search-wrap.overio {
    top: 0 !important;
    transform: none !important;
    background: transparent !important;
    border-radius: var(--nt-radius-lg) !important;
    box-shadow: none !important;
}

.nt-hero .search-wrap .fliore {
    position: relative;
}

/* service tabs: a floating pill bar over the white box */
.nt-hero .wrapper-row {
    top: -32px !important;
    z-index: 3;
}

.nt-hero .wrapper {
    height: 64px !important;
    padding: 8px !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--nt-shadow) !important;
    line-height: 48px !important;
}

    .nt-hero .wrapper nav button {
        position: relative;
        color: var(--nt-text);
        font-size: 14px;
        font-weight: 600;
        border-radius: 14px;
        transition: color .25s var(--nt-ease);
    }

        .nt-hero .wrapper nav button i {
            color: var(--nt-primary);
            transition: color .25s var(--nt-ease), transform .3s var(--nt-ease);
        }

        .nt-hero .wrapper nav button:hover i {
            transform: translateY(-2px);
        }

        .nt-hero .wrapper nav button.active,
        .nt-hero .wrapper nav button.active i {
            color: #fff !important;
        }

    .nt-hero .wrapper nav .tab {
        border-radius: 14px !important;
        background: var(--nt-gradient) !important;
        box-shadow: 0 10px 20px -10px rgba(15, 103, 177, .8);
        transition: right .35s var(--nt-ease) !important;
    }

/* white search panel */
.nt-hero .search-wrap .tab-content {
    padding: 58px 26px 26px !important;
    border-radius: var(--nt-radius-lg) !important;
    background: #fff !important;
    box-shadow: var(--nt-shadow-lg);
}

    .nt-hero .search-wrap .tab-content h4 {
        padding: 34px 0 20px;
        color: var(--nt-muted);
        font-size: 16px;
    }

        .nt-hero .search-wrap .tab-content h4::before {
            content: "\f017";
            display: block;
            margin-bottom: 10px;
            font-family: "Font Awesome 6 Free";
            font-weight: 400;
            font-size: 30px;
            color: var(--nt-sky);
        }

/* every field the same height and look */
.nt-hero .search-wrap .form-control,
.nt-hero .search-wrap .selections,
.nt-hero .search-wrap .booking-form__input.guests-input > button,
.nt-hero .search-wrap .custom-select,
.nt-hero .search-wrap #hotel-passenger-field,
.nt-hero .search-wrap .stay-time-btn {
    height: 54px !important;
    border: 1px solid var(--nt-line-2) !important;
    border-radius: 14px !important;
    background-color: var(--nt-primary-softer) !important;
    color: var(--nt-ink) !important;
    font-size: 13.5px !important;
    font-weight: 600;
    box-shadow: none !important;
    transition: border-color .2s var(--nt-ease), box-shadow .2s var(--nt-ease), background-color .2s;
}

    .nt-hero .search-wrap .form-control:hover,
    .nt-hero .search-wrap .selections:hover,
    .nt-hero .search-wrap .booking-form__input.guests-input > button:hover {
        border-color: var(--nt-sky) !important;
        background-color: #fff !important;
    }

    .nt-hero .search-wrap .form-control:focus {
        border-color: var(--nt-primary) !important;
        background-color: #fff !important;
        box-shadow: var(--nt-ring) !important;
    }

    .nt-hero .search-wrap .form-control[disabled],
    .nt-hero .search-wrap .form-control:disabled {
        background-color: #eef2f6 !important;
        color: #9aa7b5 !important;
        cursor: not-allowed;
    }

.nt-hero .search-wrap .selections {
    display: flex;
    align-items: center;
    padding: 0 14px !important;
}

.nt-hero .search-wrap .form-item .fa-close {
    left: 6px !important;
    top: 0 !important;
    height: 54px;
    line-height: 54px !important;
    color: #9aa7b5 !important;
    font-size: 15px !important;
}

    .nt-hero .search-wrap .form-item .fa-close:hover {
        color: var(--nt-danger) !important;
    }

/* origin / destination swap */
.nt-hero .switch-city {
    width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    bottom: 8px !important;
    left: -19px !important;
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    background: var(--nt-gradient) !important;
    color: #fff !important;
    font-size: 14px !important;
    box-shadow: 0 8px 18px -8px rgba(15, 103, 177, .9);
    transition: transform .4s var(--nt-ease);
}

    .nt-hero .switch-city:hover {
        transform: rotate(180deg);
    }

/* autocomplete list */
.search-auto-complate {
    border: 1px solid var(--nt-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--nt-shadow-lg) !important;
    overflow: hidden;
}

/* passengers popover */
.nt-hero .guests-input__options,
.nt-hero #hotel-passenger-box,
.nt-hero .passenger-box {
    border: 1px solid var(--nt-line) !important;
    border-radius: 16px !important;
    box-shadow: var(--nt-shadow-lg) !important;
}

.nt-hero .guests-input__ctrl {
    border-radius: 10px !important;
    background: var(--nt-primary-soft) !important;
    color: var(--nt-primary-dark) !important;
}

    .nt-hero .guests-input__ctrl:hover {
        background: var(--nt-primary-dark) !important;
        color: #fff !important;
    }

.nt-hero .search-wrap .btn-primary {
    height: 54px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 14px !important;
    font-size: 15px;
}

/* ---------------------------------------------------------
   3) Services strip (overlaps the hero edge)
   --------------------------------------------------------- */
.nt-services {
    position: relative;
    z-index: 2;
    padding: 28px 0 0;
}

.nt-service {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    background: #fff;
    box-shadow: var(--nt-shadow-sm);
    transition: transform .3s var(--nt-ease), box-shadow .3s var(--nt-ease), border-color .3s;
}

    .nt-service:hover {
        transform: translateY(-4px);
        border-color: transparent;
        box-shadow: var(--nt-shadow);
    }

    .nt-service h3 {
        margin: 0 0 2px;
        font-size: 15px;
        font-weight: 700;
    }

    .nt-service p {
        margin: 0;
        color: var(--nt-muted);
        font-size: 12.5px;
        line-height: 1.7;
    }

.nt-service-ico {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 21px;
}

.is-blue .nt-service-ico,
.nt-why-ico.is-blue {
    background: #e7f2fe;
    color: #0F67B1;
}

.is-amber .nt-service-ico,
.nt-why-ico.is-amber {
    background: #fff4dd;
    color: #c77d00;
}

.is-green .nt-service-ico,
.nt-why-ico.is-green {
    background: #e2f6ee;
    color: #1c8a5d;
}

.is-purple .nt-service-ico,
.nt-why-ico.is-purple {
    background: #ecebff;
    color: #5151d8;
}

/* ---------------------------------------------------------
   4) Destinations — mosaic grid
   --------------------------------------------------------- */
.nt-dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}

.nt-dest-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--nt-radius-lg);
    background: #dfe8f2;
    box-shadow: var(--nt-shadow-sm);
}

    .nt-dest-card.is-wide {
        grid-column: span 2;
        grid-row: span 2;
    }

    .nt-dest-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s var(--nt-ease);
    }

    .nt-dest-card:hover img {
        transform: scale(1.07);
    }

.nt-dest-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 38, 78, 0) 35%, rgba(5, 38, 78, .85) 100%);
}

.nt-dest-caption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
}

.nt-dest-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-dest-card.is-wide .nt-dest-title {
    font-size: 22px;
}

.nt-dest-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--nt-ease), transform .35s var(--nt-ease);
}

.nt-dest-card:hover .nt-dest-cta,
.nt-dest-card:focus-visible .nt-dest-cta {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------
   5) Tour cards
   --------------------------------------------------------- */
.nt-tours-section {
    background: var(--nt-bg);
}

/* ---------------------------------------------------------
   6) Why us
   --------------------------------------------------------- */
.nt-why-visual {
    position: relative;
    padding: 18px;
}

    .nt-why-visual::before {
        content: "";
        position: absolute;
        inset: 40px 0 0 40px;
        z-index: -1;
        border-radius: var(--nt-radius-lg);
        background: var(--nt-primary-soft);
    }

    .nt-why-visual img {
        border-radius: var(--nt-radius-lg);
    }

.nt-why-badge {
    position: absolute;
    left: 0;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--nt-radius);
    background: #fff;
    box-shadow: var(--nt-shadow);
}

    .nt-why-badge > i {
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: #fff4dd;
        color: #c77d00;
        font-size: 20px;
    }

    .nt-why-badge b {
        display: block;
        color: var(--nt-navy);
    }

    .nt-why-badge small {
        color: var(--nt-muted);
    }

.nt-why-title {
    margin: 12px 0;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
}

.nt-why-lead {
    margin-bottom: 26px;
    color: var(--nt-muted);
}

.nt-why-item {
    height: 100%;
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius);
    background: #fff;
    transition: border-color .3s, box-shadow .3s;
}

    .nt-why-item:hover {
        border-color: transparent;
        box-shadow: var(--nt-shadow);
    }

    .nt-why-item h3 {
        margin: 0 0 4px;
        font-size: 15px;
        font-weight: 700;
    }

    .nt-why-item p {
        margin: 0;
        color: var(--nt-muted);
        font-size: 13px;
        line-height: 1.8;
    }

.nt-why-ico {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
}

/* ---------------------------------------------------------
   8) Call to action
   --------------------------------------------------------- */
.nt-cta-section {
    padding: 72px 0;
}

.nt-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--nt-gradient);
    color: #fff;
    box-shadow: 0 30px 60px -28px rgba(15, 103, 177, .8);
    isolation: isolate;
}

    .nt-cta h2 {
        margin: 14px 0 8px;
        color: #fff;
        font-size: clamp(20px, 2.8vw, 28px);
        font-weight: 800;
    }

    .nt-cta p {
        margin: 0;
        color: rgba(255, 255, 255, .85);
    }

.nt-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    transition: transform .25s var(--nt-ease), background .25s;
}

    .nt-cta-btn.is-light {
        background: #fff;
        color: var(--nt-primary-dark) !important;
    }

    .nt-cta-btn.is-ghost {
        border: 1px solid rgba(255, 255, 255, .5);
        color: #fff !important;
    }

        .nt-cta-btn.is-ghost:hover {
            background: rgba(255, 255, 255, .12);
        }

    .nt-cta-btn:hover {
        transform: translateY(-2px);
    }

.nt-cta-globe {
    position: absolute;
    z-index: -1;
    left: 24%;
    bottom: -60px;
    font-size: 220px;
    color: rgba(255, 255, 255, .08);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .nt-hero .wrapper nav button {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .nt-hero {
        padding: 40px 0 120px;
    }

    .nt-hero-copy {
        margin-bottom: 48px;
    }

    .nt-dest-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }

    .nt-hero .switch-city {
        bottom: -27px !important;
        left: 16px !important;
        transform: rotate(90deg);
        z-index: 5 !important;
    }

        .nt-hero .switch-city:hover {
            transform: rotate(270deg);
        }

    .nt-why-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .nt-hero-sub {
        font-size: 14px;
    }

    .nt-hero .wrapper {
        height: 56px !important;
        line-height: 40px !important;
    }

        .nt-hero .wrapper nav button {
            padding: 0 !important;
        }

            .nt-hero .wrapper nav button i {
                font-size: 16px;
                margin: 0;
            }

    .nt-hero .search-wrap .tab-content {
        padding: 50px 14px 18px !important;
    }

    .nt-hero .search-wrap .form-control,
    .nt-hero .search-wrap .selections,
    .nt-hero .search-wrap .booking-form__input.guests-input > button,
    .nt-hero .search-wrap .btn-primary {
        height: 50px !important;
    }

    .nt-cta {
        padding: 32px 24px;
    }

    .nt-cta-actions,
    .nt-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .nt-dest-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
        gap: 12px;
    }

    .nt-dest-card.is-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .nt-dest-title,
    .nt-dest-card.is-wide .nt-dest-title {
        font-size: 14px;
    }

    .nt-service {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .nt-why-badge {
        position: static;
        margin-top: -30px;
        margin-right: 20px;
        width: fit-content;
    }
}
