@charset "UTF-8";
@import '../stickyNavigation.css';
@import '../hero2.css';
@import '../footer.css';

a[href^="tel"] {
    color: #2e664c !important;
    text-decoration: underline;
}

/* room */
.split {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: min(85vw, 1200px);
    padding: 100px 40px;
    gap: 50px;
    justify-self: center;
    align-self: center;
}

.top-info {
    padding: 0 !important;
    width: 100% !important;
    text-align: left;
}

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

.image-wrapper {
    position: relative;
    overflow: hidden;
    /* prevents scaled image from spilling out */
    display: block;
}

.room-new-container .image-wrapper {
    position: relative;
    overflow: hidden;
    /* prevents scaled image from spilling out */
    display: block;
    height: 100%;
    width: 100%;
}

.room-grid-image {
    width: 100%;
    height: 100%;
    max-height: 270px;
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
    /* smooth scaling */
    object-fit: cover;
    filter: brightness(0.7);
}

.image-wrapper:hover .room-grid-image {
    transform: scale(1.05);
    filter: brightness(1.1);
    /* zoom in slightly on hover */
}

/* Room title in the middle of the image */

.hover-title-middle {
    opacity: 1 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: white;
    font-family: 'Federo', serif;
    font-size: 30px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* Room title in the middle top of the image */

.hover-title-top {
    opacity: 1 !important;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: white;
    font-family: 'Federo', serif;
    font-size: 30px;
    white-space: nowrap;
    width: fit-content;
}

.hover-title-top::after {
    content: "";
    opacity: 1 !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: white;
    font-family: 'Federo', serif;
    font-size: 30px;
    white-space: nowrap;
    border-bottom: solid 0.2px rgb(255, 255, 255);
    width: 50%;
}

/* Vertical label styling */
.vertical-label {
    position: absolute;
    bottom: 0;
    right: 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    font-size: 15px;
    height: 100%;
    color: white;
    background-color: rgba(20, 71, 56, 0.8);
    padding: 12px 2px;
    font-family: 'Zen Old Mincho', serif;
    white-space: nowrap;
}

/* room section divider */

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(20, 71, 56, 0) 0%,
            rgb(20, 71, 56) 50%,
            rgba(20, 71, 56, 0) 100%);
    border-radius: 1px;
    margin: auto;
    max-width: 70%;
    opacity: 0.6;
}

.grain-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            rgba(105, 51, 52, 0.1) 2px,
            /* Dark wood accent */
            transparent 4px);
    border-radius: 1px;
}


.top-info h2 {
    color: #144738;
    font-size: var(--desktop-title-size);
    text-align: center;
}

.top-info h3 {
    color: #333333;
    font-size: var(--desktop-paragraph-size) !important;
    line-height: 160% !important;
}

.room-background-container {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../images/beige\ washi\ 3.webp');
    background-size: contain;
    background-position: center;
}

.room-section-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* quad room display */
.quad-image-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

.quad-image {
    width: 25%;
    height: 150px;
    overflow: hidden;
    position: relative;
}

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

/* tri room display */
.tri-image-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    height: 200px;
}

.tri-image {
    width: 33%;
    height: 175px;
    overflow: hidden;
    position: relative;
}

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

/* CONTAINER */
.room-new-container {
    display: flex;
    width: min(85vw, 1200px);
    /* Use Flexbox for stacking */
    flex-direction: column;
    /* Stack text and image vertically */
    padding: 100px 40px;
    gap: 3vh;
    letter-spacing: 0.2em;
}

.room-new-container p {
    font-family: 'Zen Old Mincho';
}

/* CONTAINER TITLE */
h2 {
    font-family: 'Federo';
    font-weight: 100;
    font-size: var(--desktop-title-size);
    letter-spacing: 0.2em;
    line-height: 160%;
    color: #144738;
    opacity: 0.8;
}

h3 {
    font-size: var(--desktop-subtitle-size);
    align-self: left;
    font-weight: 100;
    margin: 0;
    font-family: 'Zen Old Mincho';
    line-height: 160%;
    letter-spacing: 0.3em;
    color: #144738;
    opacity: 0.8;
}

p {
    font-size: var(--desktop-paragraph-size);
}

/* CONTAINER TEXT */
.room-short-text {
    text-align: left;
    font-size: var(--desktop-paragraph-size);
    display: none;
    font-family: 'Zen Old Mincho';
    font-weight: 100;
    line-height: 160%;
    letter-spacing: 0.2em;
    padding-bottom: 1vh;
}

.room-full-text {
    text-align: left;
    font-size: var(--desktop-paragraph-size);
    display: block;
    font-family: 'Zen Old Mincho';
    font-weight: 100;
    line-height: 160%;
    letter-spacing: 0.2em;
    padding-bottom: 1vh;
}

.list {
    list-style-position: outside;
    font-family: 'Zen Old Mincho' !important;
    margin: 15px;
}

.room-new-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.room-extra-content {
    gap: 25px;
}

.see-more {
    text-decoration: none;
    display: none;
    justify-content: center;
    align-self: flex-end;
    color: rgba(20, 71, 56, 1);
    font-family: 'Zen Old Mincho';
    padding: 5px;
    border: none;
    width: 180px;
    height: 40px;
    letter-spacing: 0.2em;
    font-size: var(--desktop-paragraph-size);
    cursor: pointer;
    position: relative;
    z-index: 10;
    transition: opacity 0.8s ease;

}

.see-more:hover {
    opacity: 0.6;
}

.extra-info {
    font-size: calc(var(--desktop-paragraph-size)*0.9);
    font-family: 'Zen Old Mincho' !important;
    display: block;
    line-height: 160%;
    letter-spacing: 0.2em;
    margin-left: 30px;
}

/* IMAGES */
.room-new-image {
    order: 2;
    align-items: center;
    width: 100%;
    position: relative;
    object-fit: cover;
    object-position: 50% 85%;
    height: 400px;
    filter: brightness(1.2);
}

.room-new-container .image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33.33%;
    background:
        radial-gradient(ellipse at center top,
            rgba(0, 0, 0, 0.6) 20%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* BUTTONS */
.reserve-room {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Zen Old Mincho';
    padding: 5px;
    border: none;
    transition: 1s;
    width: clamp(150px, 12vw, 240px);
    height: 50px;
    white-space: nowrap;
    letter-spacing: 0.2em;
    background-color: rgba(20, 71, 56, 1);
    opacity: 1;
    font-size: var(--desktop-paragraph-size);
}

a.reserve-room:hover {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: #144738;
    opacity: 0.8;
    transition: 0.5s;
    border: solid rgba(20, 71, 56, 1) 1px;
    font-size: var(--desktop-paragraph-size);
}

.learn-more {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #144738;
    font-family: 'Zen Old Mincho';
    padding: 5px;
    border: solid 1px;
    transition: 1s;
    width: clamp(120px, 12vw, 220px);
    height: clamp(40px, 5vh, 80px);
    letter-spacing: 0.1em;
    background-color: white;
    opacity: 1;
    font-size: var(--desktop-paragraph-size);
}

.learn-more:hover {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(20, 71, 56, 1);
    transition: 0.5s;
    border: solid rgba(20, 71, 56, 1) 1px;
    font-size: var(--desktop-paragraph-size);
}

/* TABLET */
@media (max-width: 1024px) and (min-width: 769px) {

    .top-info h3 {
        font-size: var(--tablet-font-size);
    }

    p {
        font-size: var(--tablet-font-size);
    }

    /* Shared tablet font size */
    .room-new-text,
    .room-short-text,
    .room-full-text,
    .see-more,
    .extra-info {
        font-size: var(--tablet-font-size);
    }

    /* Shared tablet subtitle size */
    .room-new-container h3,
    .reserve-room,
    .learn-more {
        font-size: var(--tablet-subtitle-size);
    }

    /* Tablet title size */
    .room-new-container h2 {
        font-size: var(--tablet-title-size);
    }

    /* Image alignment */
    .room-new-image {
        justify-content: flex-start;
    }

    /* Buttons */
    .reserve-room {
        width: 22vw;
    }

    .learn-more {
        width: clamp(120px, 23vw, 250px);
    }

    .top-info h2 {
        font-size: var(--tablet-title-size) !important;
        text-align: center;
    }

    .top-info h3 {
        font-size: var(--tablet-font-size) !important;
    }
}

/* PHONE */
@media (max-width: 767px) {
    p {
        font-size: var(--mobile-font-size);
    }

.tri-image-container {
        max-height: 100px;
    }

    .quad-image-container {
        height: 100px;
    }

    .room-short-text {
        display: block;
    }

    .room-full-text {
        display: none;
    }

    .see-more {
        display: flex;
    }

    .room-new-content {
        gap: 10px;
    }

    .room-new-container {
        gap: 15px;
    }

    a.reserve-room {
        margin-top: 0;
    }

    .vertical-label {
        display: none;
    }

    .room-grid-image {
        max-height: 100px;
    }

    .room-grid {
        grid-template-columns: 1fr;
    }

    .vertical-label {
        font-size: 12px;
    }

    .top-info h3 {
        font-size: var(--mobile-font-size);
    }

    .split {
        flex-direction: column;
        width: 100vw;
        padding: 10vw 4vw;
    }

    .top-info,
    .top-image {
        width: 100% !important;
    }

    .top-info h2 {
        font-size: var(--mobile-title-size) !important;
        text-align: center;
    }

    .top-info h3 {
        font-size: var(--mobile-font-size) !important;
    }

    /* Shared mobile font size */
    .room-new-text,
    .room-short-text,
    .room-full-text,
    .see-more,
    .extra-info {
        font-size: var(--mobile-font-size);
    }

    /* Shared mobile subtitle size */
    .room-new-container h3,
    .reserve-room,
    .learn-more {
        font-size: var(--mobile-subtitle-size);
    }

    /* Title font size */
    .room-new-container h2 {
        font-size: var(--mobile-title-size);
    }

    /* Image alignment */
    .room-new-image {
        height: 250px;
        justify-content: flex-start;
    }

    /* Button styles */
    .reserve-room,
    .learn-more {
        width: 35vw;
        height: 30px;
    }

    .reserve-room {
        margin-top: 10px;
    }

    .learn-more {
        margin-top: 25px;
    }

    /* Full container width */
    .room-new-container {
        width: 100vw;
        padding: 10vw 4vw;
    }
}