* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #24352b;
    background: #f8f6f0;
    line-height: 1.6;
}


/* NAVBAR */

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 7%;

    z-index: 10;

    color: white;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    color: inherit;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
}


/* HERO */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    padding: 120px 7%;

    background-image:
        linear-gradient(
            rgba(20, 40, 30, 0.45),
            rgba(20, 40, 30, 0.45)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;

    color: white;
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 80px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 14px 30px;

    background: #d58b4c;
    color: white;

    text-decoration: none;

    border-radius: 30px;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-2px);
}


/* GENERAL SECTIONS */

section {
    padding: 100px 7%;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading p {
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 40px;
}


/* TOURS */

.tour-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.tour-card {
    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}

.tour-image {
    height: 260px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-content {
    padding: 25px;
}

.tour-content h3 {
    margin-bottom: 10px;
}

.tour-content p {
    margin-bottom: 20px;
    color: #666;
}

.tour-content a {
    color: #24352b;
    text-decoration: none;
    font-weight: bold;
}

.tour-duration {
    display: inline-block;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #b8753c;

    margin-bottom: 8px;
}

.tour-content h3 {
    font-size: 24px;

    margin-bottom: 12px;
}

.tour-content p {
    font-size: 15px;

    line-height: 1.7;

    color: #666;

    margin-bottom: 25px;
}

.tour-bottom {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 15px;
}

.tour-bottom small {
    display: block;

    color: #888;

    font-size: 12px;

    margin-bottom: 3px;
}

.tour-bottom strong {
    display: block;

    font-size: 20px;

    color: #24352b;
}

.tour-bottom a {
    white-space: nowrap;

    color: #24352b;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;
}

.tour-bottom a:hover {
    color: #b8753c;
}


/* WHY US */

.why-us {
    background: #e9ede5;
}

.features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    text-align: center;
}

.features h3 {
    margin-bottom: 15px;
}


/* CONTACT */

.contact {
    text-align: center;
}

.contact h2 {
    font-size: 40px;
    margin: 20px 0 30px;
}


/* FOOTER */

footer {
    padding: 50px 7%;

    background: #24352b;

    color: white;

    text-align: center;
}

footer h3 {
    letter-spacing: 3px;
}

footer p {
    margin-top: 10px;
}


/* LANGUAGE SWITCHER */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.language-switcher button {
    border: none;
    background: transparent;

    color: white;

    font-size: 14px;

    cursor: pointer;

    padding: 4px 0;

    opacity: 0.65;

    transition: 0.3s;
}

.language-switcher button:hover {
    opacity: 1;
}

.language-switcher button.active {
    opacity: 1;
    font-weight: bold;
}

/* WHY BALI NAGOMI */

.why-us {
    background: #e9ede5;
}

.section-description {
    max-width: 650px;
    margin: 20px auto 0;

    color: #666;

    font-size: 16px;
}

.features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.65);

    padding: 40px 25px;

    text-align: center;

    border-radius: 15px;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 38px;

    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.feature-item p {
    color: #666;

    font-size: 14px;

    line-height: 1.7;
}

/* ABOUT */

.about {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

    background: #f8f6f0;
}

.about-image {
    height: 500px;

    overflow: hidden;

    border-radius: 20px;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content {
    max-width: 550px;
}

.about-content > p:first-child {
    letter-spacing: 3px;

    font-size: 13px;

    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 45px;

    line-height: 1.2;

    margin-bottom: 25px;
}

.about-content p {
    color: #666;

    line-height: 1.9;

    margin-bottom: 30px;
}

/* CONTACT */

.contact {
    text-align: center;

    background: #f8f6f0;

    padding: 110px 7%;
}

.contact-description {
    max-width: 600px;

    margin: 20px auto 40px;

    color: #666;

    line-height: 1.8;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.contact-button {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 260px;

    padding: 18px 25px;

    border-radius: 12px;

    text-decoration: none;

    color: white;

    text-align: left;

    transition: 0.3s;
}

.contact-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.12);
}

.contact-button > span {
    font-size: 28px;
}

.contact-button strong {
    display: block;

    font-size: 15px;
}

.contact-button small {
    display: block;

    margin-top: 3px;

    opacity: 0.8;
}

.whatsapp {
    background: #24352b;
}

.line {
    background: #6b765e;
}

/* TOUR DETAIL */

.tour-detail-hero {
    min-height: 55vh;

    display: flex;

    align-items: flex-end;

    padding: 100px 7% 70px;

    color: white;

    background:
        linear-gradient(
            rgba(20, 40, 30, 0.45),
            rgba(20, 40, 30, 0.55)
        ),
        url("images/ubud.jpg");

    background-size: cover;

    background-position: center;
}

.tour-detail-hero h1 {
    font-size: clamp(45px, 6vw, 70px);

    margin: 10px 0;
}

.tour-detail {
    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 60px;

    padding: 100px 7%;
}

.tour-detail-main img {
    width: 100%;

    max-height: 500px;

    object-fit: cover;

    border-radius: 18px;

    margin-bottom: 40px;
}

.tour-detail-main h2 {
    font-size: 38px;

    margin-bottom: 20px;
}

.tour-detail-main h3 {
    font-size: 24px;

    margin-top: 40px;

    margin-bottom: 15px;
}

.tour-detail-main p {
    color: #666;

    line-height: 1.9;
}

.tour-detail-main li {
    margin-bottom: 10px;
}

.tour-detail-sidebar {
    align-self: start;

    position: sticky;

    top: 30px;

    padding: 35px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}

.tour-detail-sidebar p {
    color: #888;

    margin-bottom: 5px;
}

.tour-detail-sidebar strong {
    display: block;

    font-size: 32px;

    margin-bottom: 5px;
}

.tour-detail-sidebar small {
    display: block;

    color: #888;

    margin-bottom: 25px;
}

.tour-detail-sidebar .button {
    width: 100%;

    text-align: center;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 1024px) {
    .tour-grid,
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about {
        gap: 40px;
    }

    .tour-detail {
        grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.85fr);
        gap: 32px;
        padding-inline: 5%;
    }

    .tour-detail-main,
    .tour-detail-sidebar {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: clip;
    }

    .navbar {
        top: env(safe-area-inset-top, 0px);
        padding: 16px 20px;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
    }

    .logo {
        font-size: clamp(16px, 4.6vw, 19px);
        letter-spacing: 1.5px;
    }

    .navbar nav {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin-left: 0;
        margin-top: 2px;
    }

    .navbar nav > a {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        white-space: nowrap;
    }

    .language-switcher {
        gap: 6px;
        margin-left: auto;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(20, 40, 30, 0.35);
    }

    .language-switcher button,
    .navbar nav .language-toggle {
        font-size: 12px;
    }

    .navbar nav .language-toggle {
        padding: 7px 10px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 999px;
        background: rgba(20, 40, 30, 0.35);
        color: white;
        line-height: 1.2;
        cursor: pointer;
    }

    .hero {
        min-height: 78vh;
        min-height: min(760px, 82svh);
        align-items: flex-end;
        padding: 120px 22px 64px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
        max-width: 36rem;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.75rem);
        line-height: 1.05;
        margin-bottom: 18px;
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 22px;
    }

    section {
        padding: 56px 20px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .contact h2 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .tour-grid,
    .features {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .tour-image {
        height: clamp(210px, 62vw, 300px);
    }

    .tour-content {
        padding: 20px;
    }

    .tour-content h3 {
        font-size: 21px;
    }

    .tour-bottom {
        align-items: center;
        gap: 12px;
    }

    .tour-bottom strong {
        font-size: 18px;
    }

    .feature-item {
        padding: 26px 20px;
    }

    .about {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .about-image {
        height: clamp(230px, 65vw, 360px);
    }

    .about-content {
        max-width: none;
    }

    .about-content h2 {
        font-size: clamp(1.9rem, 8vw, 2.3rem);
    }

    .contact {
        padding: 64px 20px;
    }

    .contact-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .contact-button {
        width: 100%;
        min-width: 0;
        max-width: 420px;
        margin-inline: auto;
        padding: 16px 18px;
    }

    footer {
        padding: 36px 20px;
    }

    .tour-detail-hero {
        min-height: 55vh;
        min-height: clamp(420px, 62svh, 560px);
        padding: calc(110px + env(safe-area-inset-top, 0px)) 22px 38px;
        background-position: center;
    }

    .tour-detail-hero > div {
        width: 100%;
        max-width: 38rem;
    }

    .tour-detail-hero h1 {
        max-width: 15ch;
        font-size: clamp(2rem, 8.4vw, 3.4rem);
        line-height: 1.08;
        margin: 10px 0 16px;
        overflow-wrap: anywhere;
    }

    .tour-detail-hero p {
        font-size: 16px;
        line-height: 1.5;
    }

    .tour-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 32px 20px 56px;
    }

    .tour-detail-main {
        display: contents;
    }

    .tour-detail-main img {
        grid-column: 1;
        grid-row: 1;
    }

    .tour-detail-sidebar {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
    }

    .tour-detail-main img {
        display: block;
        width: 100%;
        height: clamp(240px, 70vw, 420px);
        max-height: none;
        margin-bottom: 26px;
    }

    .tour-detail-main h2 {
        font-size: clamp(1.75rem, 7.5vw, 2.15rem);
        line-height: 1.18;
        margin-bottom: 14px;
    }

    .tour-detail-main h3 {
        font-size: 1.25rem;
        margin-top: 28px;
        margin-bottom: 10px;
    }

    .tour-detail-main p {
        line-height: 1.75;
    }

    .tour-detail-main ul {
        padding-left: 1.2rem;
    }

    .tour-detail-main li {
        margin-bottom: 8px;
        padding-left: 2px;
    }

    .tour-detail-sidebar {
        position: static;
        padding: 22px;
        border-radius: 16px;
    }

    .tour-detail-sidebar strong {
        font-size: clamp(1.8rem, 8vw, 2.1rem);
    }

    .tour-detail-sidebar small {
        margin-bottom: 18px;
    }

    .tour-detail-sidebar .button {
        display: block;
        width: 100%;
        padding: 14px 18px;
        white-space: normal;
    }
}

@media (max-width: 390px) {
    .navbar {
        padding-inline: 16px;
    }

    .hero,
    section,
    .tour-detail-hero {
        padding-inline: 18px;
    }

    .tour-content {
        padding: 18px;
    }

    .tour-detail {
        padding-inline: 18px;
    }

    .tour-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .tour-bottom a {
        padding-top: 4px;
    }
}
