/* =========================================================
   The Viang Tak Riverside Hotel
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 5rem;
    /* scroll-behavior: smooth; Use JS to controll the scroll instead*/
}


/* ========== TOKENS ========== */

:root {
    --cream: #faf7f2;
    --sand: #f2ecdf;
    --white: #ffffff;
    --ink: #1c2b2d;
    --ink-soft: #46595c;
    --teal: #0e4f55;
    --teal-deep: #123a3e;

    --green: #5f7d20;
    --deep-green: #446e0c;
    --sage: #b7c77a;
    --gold: #c9a24b;

    --line-green: #05913f;
    --facebook-blue: #0b5fcc;



    --font-heading: "Playfair Display", "Noto Serif Thai", Georgia, serif;
    --font-body: "Inter", "Noto Sans Thai", sans-serif;
    --font-price: "Fraunces", "Playfair Display", Georgia, serif;
}


/* ========== SCROLLBAR ========== */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: #87764b;
    border-radius: 5px;
}

@media (hover: hover) {
    ::-webkit-scrollbar-thumb:hover {
        background: var(--gold);
    }
}

::-webkit-scrollbar-thumb:active {
    background: var(--gold);
}


/* ========== GLOBAL FOCUS ========== */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}



/* ======= Reservation page ======= */
#reserve-page {
    background-color: var(--sand);
}

#reserve-page .hotel-header {
    background-color: var(--cream);
    position: static;
}

#reserve-page .container {
    padding-top: 2rem;
}

#reserve-page .logo .brand-name {
    color: var(--green);
}

#reserve-page .logo .sub-brand-name {
    color: var(--teal);
}

#reserve-page .back-to-room {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: large;
    text-decoration: none;
    color: var(--ink);
}

#reserve-page .reserve-text-p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;

}

#reserve-page .form-container {
    padding: 3rem;
    background-color: var(--white);
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.1), -5px -5px 7px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

#reserve-page .form-container ul {
    list-style: none;
    margin: 0;
    padding: 2rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

#reserve-page .form-container ul .room-price span {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: .8rem;
    color: var(--ink-soft);
    margin-left: .3rem;
}


.guests-select-sec {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 2rem 0;

    background-color: var(--cream);
    border-radius: 20px;
    padding: 1.5rem 1.5rem;
}

.guests-select-text {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#reserve-page h1 {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 1rem;
    max-width: 35rem;
}

.guests-select-text p {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 400;
    letter-spacing: .5px;
    font-size: 1.1rem;
    margin: 0;
}

.guests-select-sec .room-max {
    font-family: var(--font-body);
    color: var(--ink);
    letter-spacing: .5px;
    font-weight: 300;
    font-size: .8rem;
}

.plus-minus-el {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;

}

.plus-minus-el button {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    border: 1px solid rgba(128, 128, 128, 0.522);
    border-radius: 50%;
    color: var(--ink);
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.plus-minus-el button:hover {
    border: 1px solid rgb(119, 54, 54);
}

.plus-minus-el span {
    font-size: 1.3rem;
    font-family: var(--font-price);
}

/* ======= Reservation — room options ======= */

.room-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 100%;
    padding: 1.5rem;
    border: 2px solid rgba(28, 43, 45, 0.15);
    border-radius: 20px;
    background-color: var(--cream);
    cursor: pointer;
    transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}

.room-option .room-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--ink);
}

.room-option .room-price {
    font-family: var(--font-price);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    color: var(--ink-soft);
}

.room-option .room-price span {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: .8rem;
    margin-left: .3rem;
}

.room-option .room-detail {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: .9rem;
    color: var(--ink-soft);
}

/* selected state — the radio drives it, no JS needed */
.room-option:has(input:checked) {
    border-color: var(--deep-green);
    background-color: #eefaf3;
}

/* focus lands on the hidden radio, so show the ring on the card */
.room-option:has(input:focus-visible) {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (hover: hover) {
    .room-option:hover {
        transform: translateY(-3px);
    }
}


/* ======= Reservation — form fields ======= */

.field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
    min-width: 0;
}

.field-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#reserve-page .field,
#reserve-page .field-row {
    margin-top: 1.25rem;
}

#reserve-page .field-row .field {
    margin-top: 0;
}

.field label {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
}

.field .field-note {
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
    color: var(--gold);
}

.field input,
.field textarea {
    width: 100%;
    padding: .9rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    background-color: var(--cream);
    border: 1px solid rgba(28, 43, 45, 0.18);
    border-radius: 12px;
    transition: border-color .3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--ink-soft);
    opacity: .65;
}

.field input:focus-visible,
.field textarea:focus-visible {
    border-color: var(--deep-green);
}

.field textarea {
    resize: vertical;
    min-height: 7rem;
    line-height: 1.6;
}

#reserve-page .form-container .sub-form-kicker {
    margin-top: 2.5rem;
}

.form-note {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 1rem 0 0;
}

.submit-btn {
    display: inline-block;
    margin-top: 2.5rem;
    background-color: var(--green);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 1.1rem 1.9rem;
    cursor: pointer;
    transition: transform .3s ease, background-color .3s ease;
}

@media (hover: hover) {
    .submit-btn:hover {
        transform: translateY(-3px);
        background-color: var(--deep-green);
    }
}

.submit-btn:active {
    transform: scale(.97);
}


/* ======= screen-reader-only ======= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.submit-btn:disabled {
    background-color: #b9c0ad;
    cursor: not-allowed;
}

@media (hover: hover) {
    .submit-btn:disabled:hover {
        transform: none;
        background-color: #b9c0ad;
    }
}

/* ========== SKIP LINK ========== */

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;

    transform: translateY(-150%);

    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    border-radius: 0 0 10px 0;

    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}


/* ========== KICKERS ========== */

#reserve-page .reserve-kicker,
.dining-text .kicker,
.welcome-section .welcome-kicker,
.room-section-text .room-kicker,
.zag-body .zag-kicker,
.event-kicker,
.amenities-kicker,
.contact-kicker,
.sub-contact-kicker,
.form-kicker,
.sub-form-kicker {
    margin: 0;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.welcome-section .welcome-kicker,
.room-section-text .room-kicker,
.event-kicker,
.amenities-kicker,
.sub-contact-kicker {
    color: var(--deep-green);
}

.dining-text .kicker,
.zag-body .zag-kicker {
    color: var(--sage);
}

.zag-body .zag-kicker {
    font-size: 0.75rem;
}

.contact-kicker {
    color: var(--ink);
}

#reserve-page .reserve-kicker,
.form-kicker,
.sub-form-kicker {
    color: var(--gold)
}

/* ======= forms ======= */
.hidden {
    position: absolute;
    left: -9999px;
}

/* ======= h2 ====== */

h2 {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 1rem;
    max-width: 35rem;
}

.dining-section h2 {
    color: var(--white);
}

/* anchor tag and card kicker */
.booking-page .booking-kicker {
    color: var(--gold);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.booking-page .change-btn {
    font-family: var(--font-body);
    color: rgb(219, 29, 29);
    font-size: 1.1rem;
    text-underline-offset: 5px;
}

/* ======= HEADER BAR AND LOGO ======= */

.hotel-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;

    transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}

.hotel-header.scrolled {
    background-color: var(--white);
    padding: .6rem 2rem;
    box-shadow: 0 1px 12px rgba(0, 0, 0, .08);
}


.logo {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    text-align: center;
    width: max-content;

    font-family: var(--font-heading);
    color: whitesmoke;
    text-decoration: none;
    line-height: 1.3;

    border-bottom: 1px solid rgb(175, 177, 84);
    padding-bottom: .4em;

    transition: color .3s ease, line-height .3s ease;
}

.scrolled .logo {
    color: black;
    line-height: 1;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 600;
    text-shadow: 0 0 .5px black;

    transition: font-size .3s ease, margin-bottom .3s ease;
}

.scrolled .brand-name {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
    text-shadow: none;
}

.sub-brand-name {
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .34em;
    margin-right: -.34em;
    text-transform: uppercase;
    opacity: 0.8;
    text-shadow: 0 0 .5px black;

    transition: font-size .3s ease, letter-spacing .3s ease, margin-right .3s ease;
}

.scrolled .sub-brand-name {
    font-size: .60rem;
    letter-spacing: .30em;
    margin-right: -.30em;
    text-shadow: none;
}


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

/* Language toggle */

.lang-sand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle {
    font-size: 0.9rem;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    letter-spacing: normal;
    padding: 0.5rem 1rem;
    margin: 0 1rem;
    border: 1px solid white;
    border-radius: 10px;
    transition: color .3s ease, border-color .3s ease, transform 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .lang-toggle:hover {
        transform: translateY(-3px);
    }
}

.lang-toggle:active {
    transform: scale(.97);
}

.lang-toggle.after {
    display: none;
}

.scrolled .lang-toggle {
    color: black;
    border-color: black;
    text-shadow: none;
}

/* The hamburger */

.nav-toggle {
    position: relative;
    z-index: 20;

    display: flex;
    flex-direction: column;
    gap: 6px;

    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .nav-toggle:hover {
        transform: translateY(-3px);
    }
}

.nav-toggle:active {
    transform: scale(.97);
}

/* The 3 bars */

.nav-toggle .bar {
    display: block;
    width: 26px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

.scrolled .nav-toggle .bar {
    background-color: black;
}


.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 78%;
    max-width: 320px;
    z-index: 15;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(18, 22, 14, 0.97);

    visibility: hidden;
    transform: translateX(100%);
    transition: transform .35s ease, visibility .35s ease;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.primary-nav a {
    display: block;
    font-family: var(--font-body);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .primary-nav a:hover {
        transform: translateY(-3px);
    }
}

.primary-nav a:active {
    transform: scale(.97);
}

.primary-nav .book-btn {
    display: block;
    background-color: var(--green);
    padding: .85rem 1.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .primary-nav .book-btn:hover {
        background-color: var(--deep-green);
    }
}

.primary-nav .book-btn:active {
    transform: scale(.97);
}

/* The nav open state */

body.nav-open {
    overflow: clip;
}

.nav-open .primary-nav {
    visibility: visible;
    transform: translateX(0%);
}

.nav-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-open .nav-toggle .bar {
    background-color: whitesmoke;
}


/* ====== HERO SECTION ====== */

.hero-section {
    width: 100%;
    height: 100dvh;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(18, 33, 36, 0) 0%,
            rgba(18, 33, 36, 0) 35%,
            rgba(18, 33, 36, 0.5) 100%);
}

.hero-text {
    display: block;
    max-width: 90svw;
    position: absolute;
    top: 50%;
    left: 5vw;
    transform: translateY(-50%);
    color: white;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.hero-kicker {
    font-family: var(--font-body);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.20rem;
    font-size: 0.825rem;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-weight: 700;
    text-shadow: 0 0 1px black;
    font-size: clamp(2.1rem, 7vw, 4rem);
    margin: 0;
}

.hero-text .hero-paragraph {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 400;
    text-shadow: 0 0 1px black;
    line-height: 1.7;
    width: 90%;
}


.hero-text .explore-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 1rem 1.5rem 1rem 1.1rem;
    background-color: var(--green);
    border: none;
    border-radius: 50px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.explore-btn svg {
    margin-right: .3rem;
}

@media (hover: hover) {
    .hero-text .explore-btn:hover {
        transform: translateY(-3px);
        background-color: var(--deep-green);
    }
}

.hero-text .explore-btn:active {
    transform: scale(0.97);
}


/* ======= LAYOUT CONTAINER ======= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}


/* ======= WELCOME SECTION ======= */

.welcome-section {
    background-color: var(--cream);
}

.welcome-img-container {
    position: relative;
}

.welcome-img {
    display: block;
    margin: 0 auto;

    width: 100%;
    border-radius: 20px;
}

.welcome-float-img {
    position: absolute;
    bottom: -1.2rem;
    right: -1.2rem;
    z-index: 2;
    display: block;

    width: 50%;
    border: 4px solid whitesmoke;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171);
    border-radius: 15px;
}

.welcome-section p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;
}

.welcome-section ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.welcome-section li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    color: var(--ink);
}

.welcome-section li::before {
    content: '';
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    background-color: var(--deep-green);
    -webkit-mask: url('assets/check.svg') no-repeat center / contain;
    mask: url('assets/check.svg') no-repeat center / contain;
}


/* ======= ROOM CARDS SECTION ======= */

.room-card-section {
    background-color: var(--sand);
}

.room-section-text p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    color: var(--ink);
}

.room-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.128);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .room-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }
}

.room-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.room-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .room-card:hover .room-photo img {
        transform: scale(1.03);
    }
}

.room-body {
    padding: 1rem 2rem;
}

.room-body h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 500;
    font-size: 1.5rem;
}

.room-body p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;
}

.room-body ul {
    color: var(--ink);
    font-family: var(--font-body);
    list-style: none;
    padding: 0 0 .5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}

.room-body li {
    border: 1px solid #b2d8a5;
    border-radius: 20px;
    background-color: #eefaf3;
    padding: .7rem .9rem;
    font-size: .85rem;
    letter-spacing: .5px;
}

.room-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(110, 111, 48, 0.416);
    padding: 1.5rem 0 .5rem 0;
}

.room-foot .room-price {
    font-family: var(--font-price);
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    margin: 0;
}

.room-foot .room-price span {
    font-weight: 300;
    font-family: var(--font-body);
    color: var(--ink-soft);
    font-size: .8rem;
    margin-left: .3rem;
}

.room-foot .room-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--ink);
    letter-spacing: 1px;
    padding: .9rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .room-foot .room-btn:hover {
        background-color: var(--teal);
        border-color: var(--teal);
        color: white;
        transform: translateY(-3px);
    }
}

.room-foot .room-btn:active {
    transform: scale(.97);
}


/* ======= BREAKFAST SECTION ======= */

.dining-section {
    background-color: var(--teal-deep);
    color: #f9f9f6;
}

.dining-text p {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.5;
}

.dining-text .breakfast-paragraph {
    max-width: 42rem;
    margin-top: 1rem;
}

/* two-class selector so font-weight survives ".dining-text p" */
.dining-text .breakfast-time {
    display: inline-block;
    margin-top: 1.4rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
}

.dining-text .breakfast-time span {
    color: var(--white);
}

/* --- hero image --- */

.dining-hero-fig {
    margin: 2.5rem 0 0;
}

.dining-hero {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}

/* --- feature row --- */

.zag {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-top: 3.5rem;
}

.zag-media img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}

.zag-body h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--white);
    margin: 0.6rem 0 0.8rem;
}

.zag-body p {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--cream);
    margin: 0;
    max-width: 34rem;
}

/* --- the trio --- */

.buffet-intro {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.buffet-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.buffet-item img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.buffet-item h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--white);
    margin: 1rem 0 0.4rem;
}

.buffet-item p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--cream);
    margin: 0;
}


/* ======= AMENITIES ======= */

.amenities-section {
    background-color: var(--sand);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    color: var(--ink);
    font-family: var(--font-body);
    padding: 0;
}

.amenities-grid svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--deep-green);
    margin-bottom: .85rem;
    stroke-width: 1.5;
}

.amenities-grid h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: .5px;
    margin: 0;
}

.amenities-grid p {
    font-family: var(--font-heading);
    letter-spacing: .5px;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    margin-top: .5rem;
}


/* ======= WEDDINGS AND BANQUETS ======= */

.event-section {
    background-color: var(--cream);
}

.event-text .event-intro {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;
    max-width: 42rem;
}

.event-straight {
    grid-area: img1;
}

.event-side {
    grid-area: img2;
}

.seminar {
    grid-area: img3;
}

.event-white {
    grid-area: img4;
}

.event-close {
    grid-area: img5;
}

.event-grid {
    display: grid;
    gap: 1rem;
    grid-template-areas:
        "img1 img1"
        "img1 img1"
        "img2 img3"
        "img4 img5";
}

.event-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.event-subhead {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    margin: 3.5rem 0 1.5rem;
}

.venue-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.venue {
    border-top: 1px solid rgba(28, 43, 45, 0.18);
    padding-top: 1rem;
}

.venue h4 {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 500;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.venue p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.included-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem 2rem;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.5;
}

.included-list li::before {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    background-color: var(--deep-green);
    -webkit-mask: url('assets/check.svg') no-repeat center / contain;
    mask: url('assets/check.svg') no-repeat center / contain;
}

.event-cta {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(28, 43, 45, 0.18);
}

.event-cta p {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.event-btn {
    display: inline-block;
    background-color: var(--green);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    padding: 1.1rem 1.9rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .event-btn:hover {
        transform: translateY(-3px);
        background-color: var(--deep-green);
    }
}

.event-btn:active {
    transform: scale(.97);
}


/* ======= CONTACT SECTION ======= */

.contact-section {
    background-color: #EFE6D6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

.contact-detail ul {
    list-style: none;
    padding: 0;
}

.contact-detail li {
    margin-bottom: 2rem;
}

.sub-contact-detail {
    font-family: var(--font-body);
    color: var(--ink);
    font-weight: 400;
    letter-spacing: .5px;
    margin-top: .6rem;
}

.sub-contact-detail a {
    text-decoration: dotted underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    color: var(--ink);
}



/* --- LINE and Facebook buttons --- */

.channel-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 340px;
    margin-top: 0.75rem;
}

.btn-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
    .btn-channel:hover {
        filter: brightness(1.1);
        transform: translateY(-3px);
    }
}

.btn-channel:active {
    transform: scale(.97);
}

.btn-line {
    background-color: var(--line-green);
}

.btn-facebook {
    background-color: var(--facebook-blue);
}

.btn-channel svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* --- LINE QR dialog --- */

#line-modal {
    border: none;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 320px;
    background-color: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
}

#line-modal::backdrop {
    background: rgb(0 0 0 / 0.6);
}

#line-modal h2 {
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
    max-width: none;
}

#line-modal img {
    display: block;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid rgba(28, 43, 45, 0.12);
    border-radius: 8px;
    padding: 8px;
}

#line-modal p {
    font-weight: 300;
    line-height: 1.5;
    margin: 1rem 0 1.5rem;
}

.modal-close {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--deep-green);
    background-color: transparent;
    border: 1px solid var(--deep-green);
    border-radius: 50px;
    padding: 0.9rem 1.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) {
    .modal-close:hover {
        background-color: var(--deep-green);
        color: white;
    }
}


/* --- Google Maps --- */

.google-map-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background-color: transparent;
    color: var(--deep-green);
    border: 1px solid var(--deep-green);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    padding: 1.1rem 1.9rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.google-map-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (hover: hover) {

    .google-map-btn:hover,
    .google-map-btn:focus-visible {
        background-color: var(--deep-green);
        color: white;
        transform: translateY(-3px);
    }
}

.google-map-btn:active {
    transform: scale(.97);
}

.google-map iframe {
    margin: 0 auto;
    border-radius: 20px;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
}


/* ======= FOOTER ======= */

.site-footer {
    --footer-line: rgba(255, 255, 255, 0.14);
    --footer-text: #c9d4cf;
    --footer-muted: #8fa39d;

    background-color: var(--ink);
    color: var(--footer-text);
    font-family: var(--font-body);
    padding: 4rem 1.5rem 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

/* --- brand column --- */

.footer-wordmark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0;
    line-height: 1.2;
}

.footer-wordmark-sub {
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0.35rem 0 0;
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--footer-muted);
    margin: 1rem 0 1.5rem;
    max-width: 26ch;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a,
.footer-social button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 1px solid var(--footer-line);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

@media (hover: hover) {

    .footer-social a:hover,
    .footer-social button:hover {
        border-color: var(--gold);
        color: var(--cream);
        transform: translateY(-3px);
    }
}

.footer-social a:active,
.footer-social button:active {
    transform: scale(.97);
}

/* --- shared column headings --- */

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 1.25rem;
    max-width: none;
}

/* --- nav column --- */

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .footer-nav a:hover {
        color: var(--gold);
    }
}

/* --- contact column --- */

.footer-contact address {
    font-style: normal;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact address a {
    color: var(--footer-text);
    text-decoration: none;
    width: fit-content;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .footer-contact address a:hover {
        color: var(--gold);
    }
}

.footer-note {
    font-size: 0.875rem;
    color: var(--footer-muted);
    margin: 0.75rem 0 0;
}

/* --- bottom bar --- */

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--footer-line);
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--footer-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-credit a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-top svg {
    width: 14px;
    height: 14px;
}

@media (hover: hover) {
    .footer-top:hover {
        color: var(--gold);
    }
}


/* for thai version */

#thai-version .primary-nav a {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

#thai-version .explore-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem 1rem 1.1rem;
}



/* ====== RESPONSIVE — 768px ====== */

@media (min-width: 768px) {

    /* hero */
    .hero-text {
        left: 10vw;
        max-width: 70vw;
    }

    .hero-text h1 {
        text-shadow: 0 0 1px black;
        font-weight: 600;
    }

    .hero-kicker {
        margin-bottom: 0.5rem;
    }

    .hero-text .hero-paragraph {
        font-size: 1.1rem;
    }

    /* welcome */
    .sub-welcome-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5rem;
    }

    .welcome-text-container,
    .welcome-img-container {
        width: 50%;
    }

    .welcome-float-img {
        right: auto;
        bottom: -1.2rem;
        left: -1.2rem;
    }

    /* breakfast */
    .dining-hero {
        aspect-ratio: 18 / 9;
    }

    .zag {
        grid-template-columns: 1.15fr 1fr;
        gap: 3.5rem;
        margin-top: 5rem;
    }

    /* add class "reverse" to any .zag row to flip it */
    .zag.reverse .zag-media {
        grid-column: 2;
        grid-row: 1;
    }

    .zag.reverse .zag-body {
        grid-column: 1;
        grid-row: 1;
    }

    .buffet-intro {
        margin-top: 5rem;
    }

    /* events */
    .event-grid {
        grid-template-areas:
            "img1 img1 img2 img3"
            "img1 img1 img4 img5";
    }

    /* contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* footer */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* ======= forms ======= */
    .field-row {
        flex-direction: row;
        gap: 1rem;
    }
}


/* ====== RESPONSIVE — 840px (nav switches to horizontal) ====== */

@media (min-width: 840px) {

    /* for thai version */
    #thai-version .primary-nav a {
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: none;
    }

    body.nav-open {
        overflow: auto;
    }

    .primary-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background-color: transparent;
        visibility: visible;
        transform: none;
    }

    .primary-nav ul {
        flex-direction: row;
        gap: 1.5rem;
    }

    .primary-nav a {
        letter-spacing: 0.1em;
        font-size: 0.7rem;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
        transition: color .3s ease, transform 0.3s ease;
    }

    .scrolled .primary-nav a {
        color: black;
        font-size: 0.65rem;
        text-shadow: none;
    }

    .primary-nav .book-btn {
        padding: .9rem 1.5rem;
        font-size: 0.7rem;
        letter-spacing: .1em;
        margin-top: 0;
        border: 1px solid white;
        text-shadow: none;
    }

    .scrolled .primary-nav .book-btn {
        color: white;
        border-color: transparent;
    }

    .lang-toggle.before {
        display: none;
    }

    .lang-toggle.after {
        display: block;
        padding: .7rem 1.5rem;
        font-size: 0.85rem;
        margin: 0;
    }
}


/* ====== RESPONSIVE — 1024px ====== */

@media (min-width: 1024px) {

    .hero-text {
        left: 15vw;
        max-width: 750px;
    }

    .hero-kicker {
        margin-bottom: 0.3rem;
    }

    .hero-text .hero-paragraph {
        font-size: 1.25rem;
    }

    .hotel-header {
        padding: 1rem 7rem;
    }

    /* footer */
    .footer-inner {
        grid-template-columns: 1.2fr 0.8fr 1.1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}


/* ====== REDUCED MOTION ====== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}