/* ==========================================================================
   GETTING THERE SECTION - PREMIUM MALDIVES STYLE FOR VIETNAM
   ========================================================================== */

.getting-there-wrapper {
    padding: 40px 0;
    background-color: var(--soft-beige);
    font-family: var(--font-body);
    scroll-margin-top: 90px;
    /* Offset for sticky/fixed navbar */
}

@media (min-width: 1025px) {
    .getting-there-wrapper {
        /* height: 100vh; */
        /* max-height: 720px; */
        min-height: 480px;
        padding: 3vh 0;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
}

.gt-container {
        max-width: 80%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 1025px) {
    .gt-container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Main Container holding the panels */
.gt-curved-layout {
    display: flex;
    position: relative;
    background-color: #F9F6F0;
    /* Elegant light cream/beige */
    border: 3px solid var(--deep-forest);
    border-radius: 8px;
    overflow: hidden;
    min-height: 460px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1025px) {
    .gt-curved-layout {
        height: 100%;
        min-height: 430px;
    }
}

/* Inner Gold Border */
.gt-inner-border {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1.5px solid var(--copper-solid);
    pointer-events: none;
    z-index: 5;
}

/* Corner Ornaments */
.gt-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 6;
}

.gt-corner.tl {
    top: 6px;
    left: 6px;
}

.gt-corner.tr {
    top: 6px;
    right: 6px;
    transform: rotate(90deg);
}

.gt-corner.bl {
    bottom: 6px;
    left: 6px;
    transform: rotate(-90deg);
}

.gt-corner.br {
    bottom: 6px;
    right: 6px;
    transform: rotate(180deg);
}

/* --- LEFT CONTENT PANEL --- */
.gt-content-panel {
    flex: 0 0 42%;
    max-width: 41%;
    padding: 1.2rem 1.5rem 1.2rem 2.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

/* Header & Lotus Emblem */
.gt-header-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gt-lotus {
    margin-bottom: 0.5rem;
}

.gt-title {
    font-family: var(--font-heading);
    color: var(--deep-forest);
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.gt-subtitle {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--copper-solid);
    margin-bottom: 0.5rem;
}

/* Divider with Flourish */
.gt-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.gt-line {
    flex: 1;
    height: 1px;
    background-color: var(--copper-solid);
    opacity: 0.6;
}

.gt-flourish {
    font-size: 1.2rem;
    color: var(--copper-solid);
    margin: 0 10px;
    line-height: 1;
}

/* Features List */
.gt-features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gt-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.5rem 0;
}

.gt-feature-item:not(:last-child) {
    border-bottom: 1px dashed rgba(198, 139, 89, 0.4);
}

.gt-feature-icon {
    width: 36px;
    height: 36px;
    background-color: var(--deep-forest);
    border: 1.5px solid var(--copper-solid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--copper-solid);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gt-feature-text p {
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--deep-forest);
    margin: 0;
    font-weight: 400;
}

.gt-feature-text strong {
    color: var(--deep-forest);
    font-weight: 600;
}

/* Quote & Leaf Sprigs */
.gt-quote-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
}

.gt-quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.98rem;
    color: var(--deep-forest);
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.gt-leaf-sprig {
    flex-shrink: 0;
    opacity: 0.8;
}

.gt-leaf-sprig.right {
    transform: scaleX(-1);
}

/* Banner Button & Arrow */
.gt-action-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.btn-gt-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--deep-forest);
    color: #F9F6F0;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    /* width: 100%; */
    padding: 10px 16px;
    border: 1px solid var(--copper-solid);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 0 0 2px var(--copper-solid);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-align:center;
}

.btn-gt-banner:hover {
    background-color: #172b22;
    color: var(--copper-solid);
    border-color: var(--copper-solid);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-scroll-ornament {
    flex-shrink: 0;
}

.gt-arrow-down {
    margin-top: 6px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* --- MIDDLE IMAGES PANEL WITH FLIPPED S-CURVE --- */
.gt-images-panel {
    flex: 0 0 33%;
    max-width: 33%;
    position: relative;
    z-index: 1;
}

.gt-top-photo {
    position: absolute;
    top: 0;
    left: -100px;
    /* width: calc(100% + 300px); */
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Flipped S-Curve SVG Mask */
.gt-curve-svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -300px;
    width: 360px;
    height: 100%;
    z-index: 7;
    pointer-events: none;
}

/* Arched Bottom Photo - Filled to the right and bottom */
.gt-bottom-photo-frame {
    position: absolute;
    bottom: 0;
    left: -110px;
    /* extends under curve SVG */
    right: 0;
    /* fills to the right */
    height: 220px;
    width: 380px;
    /* fills bottom half height */
    border-radius: 0 999px 0 0;
    /* arch on top-left */
    border: 4px solid #F9F6F0;
    border-right: none;
    border-bottom: none;
    outline: 1.5px solid var(--copper-solid);
    overflow: hidden;
    z-index: 5;
    /* behind the curve svg (z-index: 7) */
    box-shadow: -5px -5px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

.gt-bottom-photo-frame:hover {
    transform: translateY(-2px);
}

.gt-inset-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- RIGHT MAP PANEL --- */
.gt-map-panel {
    flex: 0 0 30%;
    max-width: 50%;
    background-color: #F9F6F0;
    display: flex;
    padding: 0;
    position: relative;
    z-index: 3;
    margin-left: -5%;
    /* overlap the top scenery photo */

    /* Fade the left side of the map panel */
    mask-image: linear-gradient(to right, transparent 0%, black 80px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px);
}

.gt-map-graphic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fill the height completely */
    object-position: center;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .gt-curved-layout {
        flex-direction: column;
        min-height: auto;
    }

    .gt-content-panel {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 3rem 2.5rem;
    }

    .gt-images-panel {
        flex: 0 0 100%;
        max-width: 100%;
        height: 400px;
        overflow: hidden;
    }

    .gt-top-photo {
        left: 0;
        width: 100%;
    }

    .gt-curve-svg {
        display: none;
        /* Hide S-curve on stacked layout */
    }

    .gt-bottom-photo-frame {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 220px;
        border-radius: 0;
        border: none;
        outline: none;
        z-index: 8;
    }

    .gt-map-panel {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 3rem 2rem;
        border-top: 1px dashed rgba(198, 139, 89, 0.4);
        margin-left: 0;
        mask-image: none;
        -webkit-mask-image: none;
        height: auto;
    }

    .gt-map-graphic {
        height: 350px;
        object-fit: contain;
    }
}

/* ==========================================================================
   SCENIC PLACES SECTION REDESIGN
   ========================================================================== */

/* Section header styling with lines around EXPLORE THE COUNTRY */
.scenic-section .section-subtitle-line {
    width: 30px;
    height: 1px;
    background-color: var(--copper-solid);
    display: inline-block;
}

/* Tabs layout */
.scenic-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 5;
    padding-left: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
}

.scenic-tabs .nav-item {
    display: flex;
    align-items: center;
}

/* Vertical line separators between tabs */
.scenic-tabs .nav-item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 16px;
    background-color: rgba(198, 139, 89, 0.4);
    margin: 0 8px;
    display: inline-block;
    vertical-align: middle;
}

.scenic-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--deep-forest) !important;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0 !important;
    border-top: 3px solid transparent !important;
}

.scenic-tabs .nav-link .tab-icon {
    width: 16px;
    height: 16px;
    color: var(--copper-solid);
    stroke-width: 2px;
}

/* Active tab style */
.scenic-tabs .nav-link.active {
    background-color: var(--deep-forest) !important;
    color: #ffffff !important;
    border-top: 3px solid var(--copper-solid) !important;
    border-left: 1px solid rgba(198, 139, 89, 0.3) !important;
    border-right: 1px solid rgba(198, 139, 89, 0.3) !important;
    margin-bottom: -1px;
    position: relative;
    z-index: 6;
}

.scenic-tabs .nav-link.active .tab-icon {
    color: var(--copper-solid) !important;
}

/* Content card layout */
.scenic-content-card {
    background-color: #fcfaf5;
    border: 1px solid rgba(198, 139, 89, 0.3);
    border-top: 4px solid var(--deep-forest);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

/* Title row inside card */
.scenic-card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.scenic-card-title-row .title-icon {
    width: 24px;
    height: 24px;
    color: var(--deep-forest);
    stroke-width: 2px;
    flex-shrink: 0;
}

.scenic-card-title-text {
    font-family: var(--font-heading);
    color: var(--deep-forest);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    margin: 0;
    line-height: 1.3;
}

.scenic-card-title-text strong {
    font-weight: 700;
}

.scenic-card-title-text .subtitle-decor {
    font-family: var(--font-heading);
    font-weight: 400;
    color: #333333;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-left: 8px;
}

.scenic-card-desc {
    font-family: var(--font-heading);
    font-size: 15.5px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 24px;
}

/* Airport banner design */
.scenic-airport-banner {
    background-color: var(--deep-forest);
    border-radius: 6px;
    padding: 14px 20px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scenic-airport-banner .plus-icon {
    color: var(--copper-solid);
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
    flex-shrink: 0;
}

.scenic-airport-banner-text {
    margin: 0;
}

.scenic-airport-banner-text strong {
    color: #ffffff;
}

.scenic-airport-code {
    color: var(--copper-solid);
    font-weight: 700;
}

/* View Destination Images Toggler and separators */
.view-images-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
}

.view-images-decor-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--copper-solid) 50%, var(--copper-solid) 100%);
    flex-grow: 1;
    opacity: 0.4;
}

.view-images-wrapper .right-line {
    background: linear-gradient(to left, transparent, var(--copper-solid) 50%, var(--copper-solid) 100%);
}

.view-images-decor-star {
    color: var(--copper-solid);
    font-size: 16px;
    margin: 0 10px;
    opacity: 0.8;
}

.btn-view-images {
    background-color: var(--deep-forest);
    color: #ffffff;
    border: 1px solid var(--copper-solid);
    box-shadow: 0 0 0 1px var(--deep-forest), 0 0 0 2.5px var(--copper-solid);
    border-radius: 6px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    margin: 0 15px;
    outline: none;
}

.btn-view-images:hover {
    background-color: #163224;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--deep-forest), 0 0 0 2.5px var(--copper-solid);
}

.btn-view-images:active {
    transform: translateY(0);
}

.btn-view-images .btn-text {
    letter-spacing: 0.5px;
}

.btn-view-images .btn-arrow {
    color: var(--copper-solid);
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view-images.open .btn-arrow {
    transform: rotate(180deg);
}

/* Collapse wrapper around carousel */
.carousel-collapse-wrapper {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.carousel-collapse-wrapper.show {
    opacity: 1;
}

/* Slide Caption Header Overlay (vintage gold-bordered style) */
.scenic-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(22, 50, 36, 0.95) 0%, rgba(22, 50, 36, 0.85) 60%, rgba(22, 50, 36, 0.6) 80%, transparent 100%);
    padding: 24px 20px 48px 20px;
    text-align: center;
    z-index: 4;
}

.scenic-slide-frame {
    border: 1px solid var(--copper-solid);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    padding: 16px 20px;
    position: relative;
    border-radius: 4px;
}

/* Top Snowflake ornament overlaying top border gap */
.scenic-frame-top-ornament {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #173224;
    /* Match overlay color closely */
    padding: 0 12px;
    color: var(--copper-solid);
    font-size: 14px;
}

.scenic-slide-frame::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(198, 139, 89, 0.25);
    pointer-events: none;
    border-radius: 2px;
}

/* Vintage border corner notches */
.scenic-slide-frame::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid var(--copper-solid);
    pointer-events: none;
    clip-path: polygon(0% 8px, 8px 8px, 8px 0%,
            100% 0%, 100% 100%, 0% 100%);
}

/* Corner custom notches */
.scenic-corner-notch {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--copper-solid);
    pointer-events: none;
}

.scenic-corner-notch.tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.scenic-corner-notch.tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

.scenic-corner-notch.bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 4px;
}

.scenic-corner-notch.br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

.scenic-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    color: var(--copper-solid);
    margin: 0 0 4px 0;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.2;
}

.scenic-slide-subtitle {
    font-family: var(--font-body);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.scenic-slide-subtitle-decor {
    color: var(--copper-solid);
    font-size: 10px;
}

.sc-arrow-new:hover {
    background: var(--copper-solid) !important;
}

/* Custom responsiveness */
@media (max-width: 768px) {
    .scenic-tabs .nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }

    .scenic-tabs .nav-item:not(:last-child)::after {
        margin: 0 4px;
    }

    .scenic-content-card {
        padding: 24px 20px;
    }

    .scenic-airport-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .scenic-slide-frame {
        padding: 10px 12px;
    }

    .scenic-carousel-new {
        height: 300px !important;
    }

    .sc-arrow-new {
        width: 36px !important;
        height: 36px !important;
    }
}