/* =========================================================
   TABARAK TOUR & TRAVEL
   MAIN CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {

    --green: #006b5b;
    --green-dark: #004e43;

    --green-soft: #e8f4f1;

    --gold: #e7ad2e;
    --gold-light: #f7d777;

    --text: #123b38;
    --muted: #71817f;

    --white: #ffffff;

    --bg: #f8faf9;

    --shadow:
        0 12px 35px rgba(0, 78, 67, .10);

}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    background: #eef2f1;

    color: var(--text);

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font: inherit;

    border: 0;

    cursor: pointer;

}



/* =========================================================
   APP
========================================================= */

.app-shell {

    width: min(100%, 1100px);

    margin: 0 auto;

    min-height: 100vh;

    background: var(--bg);

    box-shadow:
        0 0 50px rgba(0,0,0,.08);

    overflow: hidden;

}



/* =========================================================
   HEADER
========================================================= */

.topbar {

    height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 34px;

    background:
        rgba(255,255,255,.96);

    position: relative;

    z-index: 20;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

}


.logo-image {

    width: 250px;

    height: auto;

    display: block;

    object-fit: contain;

}


/* NOTIFICATION */

.notification-btn {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #ffffff;

    color: var(--green);

    font-size: 25px;

    box-shadow: var(--shadow);

    position: relative;

}


.notification-btn span {

    position: absolute;

    width: 10px;

    height: 10px;

    background: #e32939;

    border: 2px solid white;

    border-radius: 50%;

    top: 9px;

    right: 9px;

}



/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

}


.hero-slider {

    position: relative;

    min-height: 540px;

    overflow: hidden;

}


.hero-slide {

    position: absolute;

    inset: 0;

    display: flex;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .5s ease;

    background: #ffffff;

}


.hero-slide.active {

    opacity: 1;

    visibility: visible;

}


.hero-content {

    width: 46%;

    padding:
        72px
        0
        65px
        55px;

    position: relative;

    z-index: 3;

}


.eyebrow {

    display: inline-block;

    background:
        linear-gradient(
            135deg,
            #f2bf42,
            #e7ad2e
        );

    color: var(--green-dark);

    padding: 11px 21px;

    border-radius: 17px;

    font-weight: 700;

    font-size: 16px;

    line-height: 1.25;

    margin-bottom: 15px;

}


.hero h1 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            45px,
            5.4vw,
            74px
        );

    line-height: .92;

    letter-spacing: -2px;

    color: var(--green);

}


.hero h1 span {

    color: #c99724;

}


.hero p {

    margin-top: 22px;

    color: #425a58;

    font-size: 17px;

    line-height: 1.45;

}


.primary-btn {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    margin-top: 25px;

    background: var(--green);

    color: white;

    padding:
        9px
        10px
        9px
        22px;

    border-radius: 40px;

    font-weight: 700;

    font-size: 16px;

    box-shadow:
        0 10px 22px
        rgba(0,107,91,.20);

}


.primary-btn i {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    background: #f5bd30;

    color: var(--green-dark);

    border-radius: 50%;

}


/* HERO IMAGES */

.hero-image {

    width: 65%;

    position: absolute;

    right: 0;

    top: 0;

    bottom: 0;

    background:

        linear-gradient(
            90deg,
            #fff 0%,
            rgba(255,255,255,.70) 9%,
            transparent 35%
        ),

        url(
            "https://images.unsplash.com/photo-1565552645632-d725f8bfc19a?auto=format&fit=crop&w=1500&q=85"
        )
        center/cover;

    clip-path:
        polygon(
            18% 0,
            100% 0,
            100% 100%,
            0 100%
        );

}


.hero-image-2 {

    background:

        linear-gradient(
            90deg,
            #fff 0%,
            rgba(255,255,255,.60) 9%,
            transparent 35%
        ),

        url(
            "https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1500&q=85"
        )
        center/cover;

}


.hero-image-3 {

    background:

        linear-gradient(
            90deg,
            #fff 0%,
            rgba(255,255,255,.60) 9%,
            transparent 35%
        ),

        url(
            "https://images.unsplash.com/photo-1542816417-0983c9c9ad53?auto=format&fit=crop&w=1500&q=85"
        )
        center/cover;

}



/* =========================================================
   SLIDER DOT
========================================================= */

.slider-dots {

    position: absolute;

    z-index: 5;

    left: 50%;

    bottom: 15px;

    transform:
        translateX(-50%);

    display: flex;

    gap: 12px;

}


.dot {

    width: 15px;

    height: 15px;

    background: #d5dada;

    border-radius: 50%;

    transition: .25s;

}


.dot.active {

    width: 38px;

    border-radius: 20px;

    background: var(--green);

}





/* =========================================================
   QUICK MENU
========================================================= */

.quick-menu {
    margin: 0 38px;

    transform: translateY(-2px);

    background: rgba(255,255,255,.96);

    border-radius: 28px;

    box-shadow: var(--shadow);

    padding: 25px 28px;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    position: relative;

    z-index: 10;
}


.quick-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 9px;

    font-size: 16px;

    text-decoration: none;

    color: var(--green-dark);
}


.quick-icon {
    width: 82px;
    height: 82px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #e9f3f1;

    color: var(--green);

    font-size: 38px;

    overflow: hidden;
}




/* RESTORAN IMAGE */

.quick-icon.restaurant-logo {

    background: #fcf3df;

    overflow: hidden;

    padding: 9px;

}


.restaurant-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}





/* =========================================================
   PROGRAM BANNER
========================================================= */

.program-banner {

    margin: 30px 38px 0;

    min-height: 230px;

    border-radius: 27px;

    overflow: hidden;

    background: var(--green);

    color: white;

    position: relative;

    display: flex;

    align-items: center;

}


.program-banner::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .22;

    background-image:
        radial-gradient(
            circle at 20% 20%,
            #d7ad40 1px,
            transparent 1px
        );

    background-size: 16px 16px;

}


.program-copy {

    position: relative;

    z-index: 2;

    padding:
        25px
        0
        25px
        38px;

}


.program-copy small {

    display: flex;

    align-items: center;

    gap: 12px;

    letter-spacing: 5px;

    font-size: 12px;

}


.program-copy small span {

    width: 40px;

    height: 2px;

    background: var(--gold);

}


.program-copy h2 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 48px;

    line-height: 1;

    margin: 10px 0 5px;

}


.program-copy > strong {

    color: #f4bb2f;

    letter-spacing: 3px;

    font-size: 14px;

}


.program-features {

    display: flex;

    gap: 22px;

    margin-top: 25px;

}


.program-features span {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    line-height: 1.2;

}


.program-features i {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: 2px solid var(--gold);

    border-radius: 50%;

    color: var(--gold);

}


.program-art {

    position: absolute;

    right: -3%;

    top: 0;

    width: 52%;

    height: 100%;

    background:

        linear-gradient(
            90deg,
            #006b5b 0%,
            transparent 28%
        ),

        url(
            "https://images.unsplash.com/photo-1580418827493-f2b22c0a76cb?auto=format&fit=crop&w=1100&q=85"
        )
        center/cover;

    clip-path:
        polygon(
            25% 0,
            100% 0,
            100% 100%,
            0 100%
        );

}



/* =========================================================
   PACKAGES
========================================================= */

.packages-section {

    padding:
        35px
        38px
        0;

}


.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

}


.section-heading h2 {

    font-size: 27px;

    color: var(--green);

}


.section-heading a {

    color: var(--green);

    font-weight: 700;

}


.section-heading i {

    margin-left: 7px;

}



/* 3 KOLOM DESKTOP */

.package-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    width: 100%;

}



/* CARD */

.package-card {

    width: 100%;

    overflow: hidden;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 7px 22px
        rgba(0,0,0,.07);

}



/* =========================================================
   PACKAGE IMAGE
   PENTING: HANYA 108PX
========================================================= */

.package-photo {

    position: relative;

    width: 100%;

    height: 108px;

    min-height: 108px;

    max-height: 108px;

    overflow: hidden;

    background: #e8eeee;

}


.package-photo img {

    width: 100%;

    height: 108px;

    min-height: 108px;

    max-height: 108px;

    display: block;

    object-fit: cover;

    object-position: center;

}



/* BADGE */

.package-photo .badge {

    position: absolute;

    top: 12px;

    left: 12px;

    z-index: 5;

    padding:
        8px
        13px;

    border-radius: 13px;

    color: white;

    font-size: 12px;

    font-weight: 700;

}


.badge.green {

    background: var(--green);

}


.badge.gold {

    background: #e6ac2e;

}



/* PACKAGE BODY */

.package-body {

    padding: 14px;

    background: #ffffff;

}


.package-body h3 {

    font-size: 16px;

    margin-bottom: 4px;

}


.package-body p {

    font-size: 12px;

    color: #354d4a;

}


.package-body small {

    display: block;

    color: #9aa3a2;

    margin-top: 14px;

    margin-bottom: 4px;

}



/* PRICE */

.price-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}


.price-row strong {

    font-size: 17px;

    color: var(--green);

}


.gold-text {

    color: #d59d20 !important;

}


.price-row a {

    flex:
        0 0 38px;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #e2f0ed;

    color: var(--green);

}


.price-row .gold-circle {

    background: #fff4da;

    color: #d49d22;

}



/* =========================================================
   SERVICE MENU
========================================================= */

.service-menu {

    margin: 28px 38px 0;

    padding: 17px 8px;

    background: #f3f5f4;

    border-radius: 22px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

}


.service-menu a {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 7px;

    font-size: 14px;

    line-height: 1.2;

    position: relative;

}


.service-menu a:not(:last-child)::after {

    content: "";

    position: absolute;

    right: 0;

    height: 55px;

    width: 1px;

    background: #d8dfdd;

}


.service-menu i {

    color: var(--green);

    font-size: 29px;

}



/* =========================================================
   INFO CARDS
========================================================= */

.info-sections {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 16px;

    padding:
        30px
        38px
        120px;

}


.info-card {

    background: #ffffff;

    border-radius: 20px;

    padding: 25px;

    text-align: center;

    box-shadow:
        0 7px 22px
        rgba(0,0,0,.06);

}


.info-card i {

    color: var(--green);

    font-size: 30px;

    margin-bottom: 12px;

}


.info-card h3 {

    margin-bottom: 8px;

}


.info-card p {

    color: #687876;

    font-size: 14px;

    line-height: 1.5;

}



/* =========================================================
   MOBILE BOTTOM NAV
========================================================= */

.bottom-nav {

    position: fixed;

    left: 50%;

    bottom: 0;

    transform:
        translateX(-50%);

    width:
        min(
            100%,
            1100px
        );

    height: 78px;

    z-index: 50;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    background: var(--green);

    color: white;

    border-radius:
        27px
        27px
        0
        0;

    box-shadow:
        0 -8px 25px
        rgba(0,0,0,.14);

    padding:
        8px
        15px
        calc(
            8px +
            env(
                safe-area-inset-bottom
            )
        );

}


.bottom-nav a {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 4px;

    font-size: 12px;

    font-weight: 500;

    opacity: .95;

}


.bottom-nav i {

    font-size: 21px;

}


.bottom-nav a.active {

    color: #f6bd2d;

    font-weight: 700;

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {


    body {

        background: var(--bg);

    }


    .app-shell {

        width: 100%;

    }



    /* HEADER */

    .topbar {

        height: 75px;

        padding:
            12px
            20px;

        justify-content: center;

    }


    .logo {

        position: absolute;

        left: 50%;

        top: 50%;

        transform:
            translate(
                -50%,
                -50%
            );

        display: flex;

        align-items: center;

        justify-content: center;

    }


    .logo-image {

        width: 190px;

        height: auto;

        display: block;

    }


    .notification-btn {

        width: 48px;

        height: 48px;

        font-size: 22px;

        position: absolute;

        right: 20px;

        top: 50%;

        transform:
            translateY(-50%);

        z-index: 5;

    }



    /* HERO */

    .hero-slider {

        min-height: 570px;

    }


    .hero-slide {

        display: block;

    }


    .hero-content {

        width: 100%;

        padding:
            40px
            28px
            0;

    }


    .eyebrow {

        font-size: 14px;

        padding:
            9px
            15px;

    }


    .hero h1 {

        font-size:
            clamp(
                45px,
                13vw,
                64px
            );

    }


    .hero p {

        font-size: 14px;

        margin-top: 16px;

    }


    .primary-btn {

        font-size: 14px;

        margin-top: 17px;

    }


    .hero-image {

        width: 100%;

        height: 300px;

        top: auto;

        bottom: 0;

        clip-path: none;

        background:

            linear-gradient(
                180deg,
                #fff 0%,
                rgba(255,255,255,.45) 18%,
                transparent 45%
            ),

            url(
                "https://images.unsplash.com/photo-1565552645632-d725f8bfc19a?auto=format&fit=crop&w=1100&q=85"
            )
            center/cover;

    }


    .hero-image-2 {

        background:

            linear-gradient(
                180deg,
                #fff 0%,
                rgba(255,255,255,.45) 18%,
                transparent 45%
            ),

            url(
                "https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1100&q=85"
            )
            center/cover;

    }


    .hero-image-3 {

        background:

            linear-gradient(
                180deg,
                #fff 0%,
                rgba(255,255,255,.45) 18%,
                transparent 45%
            ),

            url(
                "https://images.unsplash.com/photo-1542816417-0983c9c9ad53?auto=format&fit=crop&w=1100&q=85"
            )
            center/cover;

    }



    /* QUICK MENU */

    .quick-menu {

        margin:
            -2px
            15px
            0;

        padding:
            19px
            8px;

        border-radius: 21px;

    }


    .quick-icon {

        width: 60px;

        height: 60px;

        font-size: 27px;

    }


    .quick-item {

        font-size: 13px;

    }


    .restaurant-logo {

        padding: 7px;

    }



    /* PROGRAM */

    .program-banner {

        margin:
            20px
            15px
            0;

        min-height: 180px;

    }


    .program-copy {

        padding: 20px;

    }


    .program-copy h2 {

        font-size: 32px;

    }


    .program-copy > strong {

        font-size: 10px;

        letter-spacing: 1.5px;

    }


    .program-features {

        gap: 9px;

        margin-top: 17px;

    }


    .program-features span {

        font-size: 9px;

    }


    .program-features i {

        width: 30px;

        height: 30px;

        font-size: 12px;

    }


    .program-art {

        width: 55%;

    }



    /* =====================================================
       PACKAGE MOBILE
    ====================================================== */

    .packages-section {

        padding:
            27px
            15px
            0;

    }


    .section-heading h2 {

        font-size: 21px;

    }


    .section-heading a {

        font-size: 13px;

    }


    .package-grid {

        display: flex;

        gap: 12px;

        overflow-x: auto;

        scroll-snap-type:
            x mandatory;

        padding-bottom: 8px;

        scrollbar-width: none;

    }


    .package-grid::-webkit-scrollbar {

        display: none;

    }


    .package-card {

        flex:
            0 0 79%;

        scroll-snap-align: start;

    }


    /* FOTO MOBILE */

    .package-photo {

        height: 105px !important;

        min-height: 105px !important;

        max-height: 105px !important;

    }


    .package-photo img {

        width: 100% !important;

        height: 105px !important;

        min-height: 105px !important;

        max-height: 105px !important;

        object-fit: cover !important;

    }


    .package-body {

        padding: 12px;

    }


    .package-body h3 {

        font-size: 15px;

    }


    .package-body p {

        font-size: 11px;

    }


    .package-body small {

        margin-top: 12px;

    }


    .price-row strong {

        font-size: 15px;

    }


    .price-row a {

        width: 34px;

        height: 34px;

        flex-basis: 34px;

    }



    /* SERVICE */

    .service-menu {

        margin:
            20px
            15px
            0;

        padding:
            15px
            0;

    }


    .service-menu a {

        font-size: 11px;

    }


    .service-menu i {

        font-size: 23px;

    }


    .service-menu a:not(:last-child)::after {

        height: 45px;

    }



    /* INFO */

    .info-sections {

        grid-template-columns: 1fr;

        padding:
            22px
            15px
            100px;

    }


    /* BOTTOM NAV */

    .bottom-nav {

        height: 72px;

        border-radius:
            22px
            22px
            0
            0;

    }

}



/* =========================================================
   DESKTOP: BOTTOM NAV HIDDEN
========================================================= */

@media (min-width: 801px) {

    .bottom-nav {

        display: none;

    }

}




