html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

section {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.custom-navbar {
    background: linear-gradient(181deg, rgb(253, 191, 85) 12%, rgba(225, 229, 237, 1) 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    width: 125px;
    height: auto;
    display: block;
}

.nav-item {
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #222;
    padding: 10px 14px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #001847;
}

.navbar-right {
    margin-left: auto;
}

.user-dropdown {
    min-width: 280px;
}

.user-dropdown .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
}

.user-dropdown .dropdown-item:hover {
    background: #f1f3f5;
}
/* ========================= */
/* NAVBAR MOBILE */
/* ========================= */
@media (max-width: 991.98px) {

    .custom-navbar {
        width: 100%;
        overflow: visible;
    }

    .custom-navbar .container-fluid,
    .custom-navbar .container {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-brand {
        margin: 0;
        flex: 0 0 auto;
    }

    .navbar-brand img {
        width: 110px;
        height: auto;
        display: block;
    }

    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 52px;
        height: 46px;
        border-radius: 12px;
        background: rgba(255,255,255,0.45);
        border: 1px solid rgba(0,0,0,0.2);
        flex-shrink: 0;
    }

    .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
    }

    .custom-navbar-collapse {
        width: 100%;
        margin-top: 18px;
        padding: 20px 24px;
        border-radius: 22px;
        background: linear-gradient(180deg, #fff7e6 0%, #eef1f7 100%);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);

        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
    }

    .navbar-nav {
        width: auto;
        flex: 1;
        gap: 6px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 10px 0;
    }

    .navbar-right {
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start !important;
        margin-left: auto;
    }

    .user-menu {
        position: relative;
        margin-left: 0;
    }

    .user-menu .btn {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        min-width: 250px;
        max-width: calc(100vw - 40px);
        z-index: 9999;
    }
}
 /* ========================= */
/* HERO SECTION */
/* ========================= */

.hero-section {
    min-height: 720px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        url("/img/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    width: 100%;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-overlay {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.hero-top-text {
    font-size: clamp(18px, 4vw, 45px);
    font-weight: bold;
    letter-spacing: 6px;
    margin-bottom: 30px;
    transform: translateY(-50px);
    color: black;
    text-shadow: 2px 2px 10px rgba(253, 253, 253, 0.908);
}

.hero-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.plane {
    width: 400px;
    max-width: 80%;
    transform: translateY(30px);
    margin-top: -80px;
    margin-bottom: -30px;
}

.hero-title {
    font-size: clamp(42px, 10vw, 100px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5);
    color: white;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: clamp(22px, 4.5vw, 55px);
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle span {
    color: #ff914d;
}

/* HERO SEARCH */

.hero-search-box {
    width: min(1000px, 92%);
    margin: 35px auto 0;
    background: white;
    padding: 14px;
    border-radius: 18px;

    display: flex;
    align-items: stretch;
    gap: 12px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-search-input {
    flex: 1;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;

    text-align: left;
}

.hero-search-input i {
    font-size: 26px;
    color: #ff4a3d;
}

.hero-search-input label {
    display: block;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.hero-search-input .form-select {
    border: none;
    padding-left: 0;
    box-shadow: none;
    color: #777;
}

.hero-search-btn {
    width: 170px;
    border: none;
    border-radius: 12px;
    background: #ff4a3d;
    color: white;

    font-weight: 700;
    font-size: 16px;
}

.hero-search-btn i {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

/* ========================= */
/* SLIDER KARTU */
/* ========================= */

.trip-slider-section {
    overflow: hidden;
    width: 100%;
    padding: 50px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollSlider 10s linear infinite;
}

.kartu-trip {
    width: 350px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.kartu-trip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollSlider {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================= */
/* HERO + SLIDER MOBILE */
/* ========================= */

@media (max-width: 768px) {

    .hero-section {
        min-height: 720px;
        padding: 60px 0 40px;
    }

    .hero-top-text {
        font-size: clamp(14px, 5vw, 24px);
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: clamp(36px, 13vw, 70px);
    }

    .hero-subtitle {
        font-size: clamp(18px, 5.5vw, 30px);
    }

    .plane {
        width: 180px;
    }

    .hero-search-box {
        flex-direction: column;
        margin-top: 25px;
        padding: 12px;
    }

    .hero-search-input {
        padding: 12px 14px;
    }

    .hero-search-btn {
        width: 100%;
        padding: 14px;
    }

    .kartu-trip {
        width: 250px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-top-text {
        letter-spacing: 2px;
    }
}

/* ========================= */
/* ABOUT COMPANY */
/* ========================= */

.about-company-section {
    background: #f8f9fc;
}

.about-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    line-height: 1;
    color: #001847;
}

.about-title span {
    color: #ff914d;
}

.about-description {
    font-size: 18px;
    line-height: 2;
    color: #444;
}

.about-image {
    width: 70%;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image-background {
    width: 80%;
    height: 100%;
    background: #001847;
    position: absolute;
    right: -20px;
    top: -20px;
    border-radius: 30px;
    z-index: 1;
}

/* ========================= */
/* VISI MISI */
/* ========================= */

.vision-section {
    background: white;
}

.vision-main-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    color: #001847;
}

.vision-card {
    background: #001847;
    color: white;
    padding: 50px;
    border-radius: 30px;
    height: 100%;
    transition: 0.4s;
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.vision-card h3 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.vision-card p {
    font-size: 18px;
    line-height: 2;
}

/* ========================= */
/* TEAM */
/* ========================= */

.team-section {
    background: #f8f9fc;
}

.team-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    color: #001847;
}

.team-subtitle {
    font-size: 18px;
    color: #666;
}

.team-card {
    transition: 0.4s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image-wrapper {
    overflow: hidden;
    border-radius: 30px;
}

.team-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}

.team-card:hover .team-image {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team-card h3 {
    margin-top: 25px;
    font-size: 32px;
    font-weight: 800;
    color: #001847;
}

.team-card p {
    color: #777;
    font-size: 18px;
}

.middle-team {
    margin-top: 60px;
}

/* ========================= */
/* ABOUT / VISION / TEAM MOBILE */
/* ========================= */

@media (max-width: 768px) {

    .about-company-section,
    .vision-section,
    .team-section {
        padding: 80px 0;
    }

    .about-image-background {
        display: none;
    }

    .vision-up,
    .vision-down,
    .middle-team {
        margin-top: 0;
    }

    .team-image {
        height: 350px;
    }

    .vision-card {
        padding: 35px;
    }
}

/* ========================= */
/* GALERI */
/* ========================= */

.gallery-section {
    padding: 60px 0;
    background: #f8f9fc;
}

.gallery-title {
    font-size: clamp(20px, 6vw, 80px);
    font-weight: 600;
    color: #001847;
}

.gallery-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 25px;
    height: 280px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-hidden {
    display: none;
}

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.gallery-close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 50px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    user-select: none;
}
@media (max-width: 768px) {

    .gallery-section {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-item {
        height: 110px;
        border-radius: 12px;
    }

    .gallery-subtitle {
        font-size: 14px;
        padding: 0 15px;
    }

    .gallery-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

}

/* ========================= */
/* TRIP SECTION */
/* ========================= */

.trip-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.trip-main-title {
    font-size: 55px;
    font-weight: 800;
}

.trip-main-subtitle {
    color: gray;
    font-size: 18px;
}

.trip-carousel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
}

.trip-slide {
    display: none;
    position: relative;
    min-height: 480px;
    animation: tripFade 0.6s ease;
}

.trip-slide.active {
    display: block;
}

@keyframes tripFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.trip-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.trip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 35%,
        rgba(255, 255, 255, 0.10) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.trip-left {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 55px 40px 55px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 480px;
}

.trip-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    border: 1px solid #bbb;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.6);
}

.trip-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.0;
    margin: 0 0 18px;
    text-transform: uppercase;
    color: #111;
}

.trip-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 30px;
    max-width: 310px;
}

.trip-btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    background: #111;
    color: #fff;
    width: fit-content;
    transition: transform 0.2s, background 0.2s;
}

.trip-btn:hover {
    transform: scale(1.04);
    background: #333;
    color: #fff;
}

.trip-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}

.trip-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    line-height: 1;
    transition: background 0.2s;
}

.trip-nav-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.trip-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.trip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.trip-dot.active {
    background: #444;
    transform: scale(1.3);
}

@media (max-width: 992px) {

    .trip-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.60) 60%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .trip-left {
        width: 100%;
        padding: 40px 30px;
        min-height: auto;
    }

    .trip-title {
        font-size: 44px;
    }
}


/* ========================= */
/* CONTACT */
/* ========================= */

.contact-section {
    padding: 120px 0;
    background: #f5f5f7;
    overflow: hidden;
}

/* TITLE */
.contact-title {
    font-size: clamp(45px, 7vw, 100px);
    font-weight: 800;
    color: #001847;
}

.contact-subtitle {
    font-size: 22px;
    color: #222;
}

/* ========================= */
/* BOX */
/* ========================= */

.contact-info-box {

    background: rgba(0, 24, 71, 0.96);

    border-radius: 35px;

    padding: 70px;

    width: calc(100% + 850px);

    margin-left: -140px;

    min-height: 430px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 65px;

    align-content: center;

    box-shadow: 0 20px 50px rgba(0,0,0,0.12);

    position: relative;
    z-index: 1;
}

/* EMAIL GESER */
.contact-email {
    margin-left: -180px;
}

/* ========================= */
/* CONTACT ITEM */
/* ========================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* JUDUL */
.contact-info h4 {

    font-size: 26px;

    font-weight: 800;

    color: white;

    margin: 0;
}

/* ========================= */
/* LINK */
/* ========================= */

.contact-link {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    width: fit-content;

    color: rgba(255,255,255,0.92);

    text-decoration: none;

    font-size: 24px;

    transition: 0.25s ease;
}

/* ICON */
.contact-link i {

    color: #ffd25f;

    font-size: 32px;

    transition: 0.25s ease;
}

/* HOVER */
.contact-link:hover {

    color: #ffd25f;

    transform: translateX(4px);
}

.contact-link:hover i {
    transform: scale(1.08);
}

/* ========================= */
/* PHONE IMAGE */
/* ========================= */

.contact-phone {

    width: 270px;

    position: relative;

    z-index: 2;
}

/* FRAME */
.phone-frame {

    width: 100%;

    height: 530px;

    background: #000;

    border-radius: 50px;

    padding: 14px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* IMAGE */
.phone-frame img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 40px;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 992px) {

    .contact-info-box {
        width: 100%;
        margin-left: 0;
        grid-template-columns: 1fr;
        padding: 45px 30px;
        min-height: auto;
        gap: 40px;
    }

    .contact-email {
        margin-left: 0;
    }

    .contact-phone {
        display: none;
    }

    .contact-info h4 {
        font-size: 22px;
    }

    .contact-link {
        font-size: 20px;
    }

    .contact-link i {
        font-size: 26px;
    }
}



/* ========================= */
/* BACK TO TOP */
/* ========================= */

#backToTopBtn {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #001847;
    color: white;
    font-size: 28px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

#backToTopBtn:hover {
    background: #000f2e;
}