:root {
    --ink: #17312b;
    --muted: #5e716b;
    --cream: #f7f4ed;
    --white: #fff;
    --accent: #b58b55;
    --line: #dfe5e1
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

/* .nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line)
}

.nav-inner {
    max-width: 1180px;
    margin: auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
} */

/* .logo {
   font-size: 20px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.logo small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500
} */

/* .links {
    display: flex;
    gap: 22px;
    font-size: 14px
}

.links a:hover {
    color: var(--accent)
} */



/* =========================
   NAVIGATION
   ========================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 89px;
    height: 50px;
    object-fit: contain;
}

.links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    white-space: nowrap;
}


/* =========================
   HAMBURGER BUTTON
   ========================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;
    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    background: currentColor;
    border-radius: 2px;

    transition: 0.25s ease;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .nav-inner {
        padding: 8px 16px;
    }

    .logo img {
        width: 78px;
        height: 44px;
    }

    .menu-toggle {
        display: flex;
    }

    .links {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

        padding: 8px 0;
    }

    .links.active {
        display: flex;
    }

    .links a {
        padding: 14px 22px;
        text-align: center;
    }

    .links a:hover {
        background: rgba(0, 0, 0, 0.05);
    }


    /* Animate hamburger into X */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}




.hero {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 90px 22px;
    background: linear-gradient(180deg, rgba(13, 43, 37, .28), rgba(13, 43, 37, .55)), url('images/Homestay_stairs.png') center/cover;
    color: white
}

.hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    margin: 0 0 12px;
    line-height: 1.02
}

.hero p {
    font-size: clamp(18px, 2.4vw, 25px);
    margin: 0 auto 28px;
    max-width: 760px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 30px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    margin-top: 20px;
}

.btn.alt {
    background: white;
    color: var(--ink)
}

section {
    max-width: 1180px;
    margin: auto;
    padding: 60px 22px
}

.intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.intro h2,
.section-title {
    font-size: 38px;
    margin: 0 0 14px
}

.muted {
    color: var(--muted)
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: white;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px
}

.card h3 {
    margin-top: 0
}

.icon {
    font-size: 30px
}

.rooms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.room {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line)
}

.room img {
    width: 100%;
    height: 270px;
    object-fit: cover
}

.room div {
    padding: 24px
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.gallery img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px
}

.location {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: stretch
}

.mapbox {
    background: #ffffff;
    border-radius: 20px;
    min-height: 340px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    margin-top: 20px;
    width: 100%;
    border: 1px solid #dfe5e1;
}
.map-content {
    width: 100%;
}
.map-frame{
    box-shadow: 0px 0px 10px #c1c1c1;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}
/* Mobile */
@media (max-width: 600px) {
    .map-frame iframe {
        height: 300px;
    }
}

.distance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.distance div {
    background: white;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid var(--line)
}

.cta {
    background: var(--ink);
    color: white;
    border-radius: 24px;
    padding: 55px 35px;
    text-align: center
}

.cta h2 {
    font-size: 40px;
    margin: 0 0 10px
}

footer {
    background: #10241f;
    color: #dce8e3;
    padding: 35px 22px
}

.footer-inner {
    max-width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

@media(max-width:800px) {
    .links {
        display: none
    }

    .grid,
    .rooms,
    .location {
        grid-template-columns: 1fr
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero {
        min-height: 70vh
    }

    .hero h1 {
        font-size: 48px
    }

    .intro h2,
    .section-title,
    .cta h2 {
        font-size: 32px
    }
}






/* ==============================
   RESPONSIVE PHOTO SLIDER
   ============================== */

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    margin-top: 28px;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 25%;
    padding: 0 8px;
    box-sizing: border-box;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 14px;
}

/* Navigation buttons */

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    color: #123c36;

    font-size: 25px;
    line-height: 44px;

    cursor: pointer;
    z-index: 5;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);

    transition: 0.2s ease;
}

.gallery-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev {
    left: 14px;
}

.gallery-next {
    right: 14px;
}

/* Dots */

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c7cfcc;
    cursor: pointer;
    transition: 0.25s ease;
}

.gallery-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #164d43;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 900px) {

    .gallery-slide {
        flex: 0 0 50%;
    }

    .gallery-slide img {
        height: 175px;
    }
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 600px) {

    .gallery-slider {
        border-radius: 14px;
    }

    .gallery-slide {
        flex: 0 0 100%;
        padding: 0;
    }

    .gallery-slide img {
        height: 175px;
        border-radius: 14px;
    }

    .gallery-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
        line-height: 38px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}