/* =========================================================
   BOOKING BAR - FUNCTIONAL CONTROLS
========================================================= */


/* =========================================
   CONTROL BUTTON
========================================= */

.booking-control {
    position: relative;

    width: 100%;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border: none;
    outline: none;

    background: transparent;

    cursor: pointer;

    font-family: inherit;
}


/* Remove default button styling */

.booking-control:focus {
    outline: none;
}


/* =========================================
   HIDDEN DATE INPUT
========================================= */

.booking-hidden-date {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;

    overflow: hidden;
}


/* =========================================
   DATE FIELD
========================================= */

.booking-date-field,
.booking-guest-field {
    position: relative;
}


/* =========================================
   GUEST DROPDOWN
========================================= */

.guest-dropdown {
    position: absolute;

    top: calc(100% + 8px);

    left: 50%;

    width: 190px;

    padding: 18px;

    transform:
        translateX(-50%)
        translateY(-8px);

    background: #fffdf8;

    border: 1px solid #ded5c8;

    box-shadow:
        0 12px 30px rgba(50, 40, 30, 0.15);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    z-index: 100;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


.guest-dropdown.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


/* =========================================
   DROPDOWN TITLE
========================================= */

.guest-dropdown-title {
    margin-bottom: 14px;

    font-family: var(--heading-font);

    font-size: 17px;

    color: #40372e;

    text-align: center;
}


/* =========================================
   COUNTER
========================================= */

.guest-counter {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.guest-counter button {
    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #cdbfa9;

    background: #f7f2e8;

    color: #806337;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.guest-counter button:hover {
    background: #a78955;

    color: #ffffff;
}


.guest-counter span {
    min-width: 25px;

    text-align: center;

    font-family: var(--body-font);

    font-size: 17px;

    font-weight: 600;

    color: #40372e;
}


/* =========================================
   BOOKING BUTTON
========================================= */

.booking-btn {
    border: none;

    cursor: pointer;
}


/* =========================================
   SUCCESS MESSAGE
========================================= */

.booking-success {
    position: fixed;

    left: 50%;

    bottom: 30px;

    z-index: 99999;

    width: min(90%, 450px);

    padding: 18px 22px;

    transform:
        translate(-50%, 120px);

    background: #40372e;

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.20);

    opacity: 0;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}


.booking-success.active {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


.booking-success strong {
    display: block;

    margin-bottom: 5px;

    font-family: var(--heading-font);

    font-size: 20px;

    font-weight: 400;
}


.booking-success span {
    font-family: var(--body-font);

    font-size: 13px;

    line-height: 1.6;

    color: rgba(255,255,255,0.82);
}


/* =========================================================
   BOOKING BAR - MOBILE FUNCTIONAL FIX
========================================================= */

@media (max-width: 768px) {

    .booking-control {
        justify-content: space-between;

        text-align: left;
    }


    .guest-dropdown {
        top: calc(100% + 5px);

        left: 15px;

        width: calc(100% - 30px);

        transform:
            translateY(-8px);
    }


    .guest-dropdown.active {
        transform:
            translateY(0);
    }


    .booking-success {
        bottom: 20px;
    }

}
/* =========================================================
   TESTIMONIAL SLIDER FUNCTIONAL EFFECT
========================================================= */

.testimonial-content {
    position: relative;
}


.testimonial-slide {
    opacity: 0;

    visibility: hidden;

    position: absolute;

    inset: 0;

    pointer-events: none;

    transform: translateY(12px);

    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0.5s ease;
}


.testimonial-slide.active {
    opacity: 1;

    visibility: visible;

    position: relative;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   TESTIMONIAL ARROWS
========================================================= */

.testimonial-arrow {
    cursor: pointer;

    transition:
        color 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}


.testimonial-arrow:hover {
    color: #a78955;

    transform: translateY(-50%) scale(1.1);
}


/* =========================================================
   MOBILE TOUCH
========================================================= */

.testimonial-slider {
    touch-action: pan-y;
}
/* =========================================================
   FOOTER SUBSCRIBE FUNCTIONAL UI
========================================================= */

/* .footer-subscribe {
    position: relative;
} */


/* =========================================================
   MESSAGE
========================================================= */

.footer-subscribe-message {
    position: absolute;

    left: 58px;

    bottom: 8px;

    font-family: var(--body-font);

    font-size: 11px;

    line-height: 1.4;

    opacity: 0;

    visibility: hidden;

    transform: translateY(5px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}


.footer-subscribe-message.error {
    color: #ffffff;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.footer-subscribe-message.success {
    color: #ffffff;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   BUTTON
========================================================= */

.footer-subscribe-form button {
    transition:
        opacity 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.footer-subscribe-form button:disabled {
    cursor: not-allowed;

    opacity: 0.75;
}


/* =========================================================
   INPUT ERROR
========================================================= */

.footer-subscribe-form input:focus {
    border-color: #ffffff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .footer-subscribe-message {
        position: relative;

        left: auto;

        bottom: auto;

        width: 100%;

        padding:
            0 22px 15px;

        font-size: 12px;

        text-align: left;
    }

}
/* =========================================================
   THE RAMILLA HEIGHTS
   ABOUT PAGE
   COMPLETE CSS
========================================================= */


/* =========================================================
   ABOUT INTRODUCTION
========================================================= */

.about-intro-section {
    position: relative;
    width: 100%;
    padding: 105px 40px 110px;
    background: #f7f2e8;
    overflow: hidden;
}

.about-intro-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}


/* HEADING */

.about-intro-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-section-subtitle {
    display: block;
    margin-bottom: 14px;

    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;

    color: #a18450;
}

.about-intro-heading h2 {
    margin: 0;

    font-family: var(--heading-font);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;

    color: #40372e;
}


/* CONTENT */

.about-intro-content {
    max-width: 930px;
    margin: 0 auto;

    text-align: center;
}

.about-intro-content p {
    margin: 0 auto 20px;

    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.85;

    color: #756b60;
}

.about-intro-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   INTRO STATS
========================================================= */

.about-intro-stats {
    max-width: 950px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid #d8cdbd;
    border-bottom: 1px solid #d8cdbd;
}

.about-stat {
    min-height: 120px;

    padding: 25px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.about-stat + .about-stat {
    border-left: 1px solid #d8cdbd;
}

.about-stat strong {
    display: block;

    margin-bottom: 7px;

    font-family: var(--heading-font);

    font-size: 38px;
    font-weight: 400;

    line-height: 1;

    color: #a78955;
}

.about-stat span {
    font-family: var(--body-font);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #756b60;
}


/* =========================================================
   OUR COMMITMENT
========================================================= */

.about-commitment-section {
    position: relative;

    width: 100%;

    padding: 105px 40px 110px;

    background: #fffdf8;

    overflow: hidden;
}

.about-commitment-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* HEADING */

.about-commitment-heading {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}

.about-commitment-heading h2 {
    margin: 0 0 18px;

    font-family: var(--heading-font);

    font-size: 50px;
    font-weight: 400;

    line-height: 1.15;

    color: #40372e;
}

.about-commitment-heading p {
    max-width: 650px;

    margin: 0 auto;

    font-family: var(--body-font);

    font-size: 16px;
    line-height: 1.8;

    color: #756b60;
}


/* CARDS */

.about-commitment-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.about-commitment-card {
    position: relative;

    min-height: 330px;

    padding: 35px 30px;

    background: #f7f2e8;

    border: 1px solid #e6ddcf;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.about-commitment-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px
        rgba(70, 55, 35, 0.10);
}

.about-commitment-number {
    margin-bottom: 25px;

    font-family: var(--body-font);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;

    color: #a78955;
}

.about-commitment-card h3 {
    margin: 0 0 17px;

    font-family: var(--heading-font);

    font-size: 28px;
    font-weight: 400;

    line-height: 1.25;

    color: #40372e;
}

.about-commitment-card p {
    margin: 0;

    font-family: var(--body-font);

    font-size: 14px;
    line-height: 1.8;

    color: #756b60;
}


/* Last card centered */

.about-commitment-card:last-child {
    grid-column: 2 / 3;
}


/* =========================================================
   ABOUT THE HOTEL
========================================================= */

.about-hotel-section {
    position: relative;

    width: 100%;

    padding: 110px 40px;

    background: #f7f2e8;

    overflow: hidden;
}

.about-hotel-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;
}


/* IMAGE */

.about-hotel-image {
    width: 100%;
    height: 620px;

    overflow: hidden;
}

.about-hotel-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.about-hotel-image:hover img {
    transform: scale(1.04);
}


/* CONTENT */

.about-hotel-content {
    max-width: 570px;
}

.about-hotel-content h2 {
    margin: 0 0 25px;

    font-family: var(--heading-font);

    font-size: 47px;
    font-weight: 400;

    line-height: 1.2;

    color: #40372e;
}

.about-hotel-content p {
    margin: 0 0 18px;

    font-family: var(--body-font);

    font-size: 15px;
    line-height: 1.85;

    color: #756b60;
}

.about-hotel-content p:last-of-type {
    margin-bottom: 30px;
}


/* BUTTON */

.about-section-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 170px;
    height: 50px;

    padding: 0 25px;

    background: #a78955;

    color: #ffffff;

    font-family: var(--body-font);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.about-section-btn:hover {
    background: #806337;

    transform: translateY(-2px);
}


/* =========================================================
   ABOUT PAGE TABLET
========================================================= */

@media (min-width: 577px) and (max-width: 1100px) {

    .about-intro-section,
    .about-commitment-section,
    .about-hotel-section {
        padding-left: 30px;
        padding-right: 30px;
    }


    /* INTRO */

    .about-intro-heading h2 {
        font-size: 45px;
    }

    .about-intro-content {
        max-width: 800px;
    }

    .about-intro-content p {
        font-size: 15px;
    }


    /* STATS */

    .about-intro-stats {
        max-width: 800px;
    }


    /* COMMITMENT */

    .about-commitment-heading h2 {
        font-size: 44px;
    }

    .about-commitment-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-commitment-card:last-child {
        grid-column: 1 / -1;
    }


    /* HOTEL */

    .about-hotel-container {
        gap: 40px;
    }

    .about-hotel-image {
        height: 520px;
    }

    .about-hotel-content h2 {
        font-size: 40px;
    }

    .about-hotel-content p {
        font-size: 14px;
    }

}


/* =========================================================
   ABOUT PAGE MOBILE
========================================================= */

@media (max-width: 576px) {

    .about-intro-section,
    .about-commitment-section,
    .about-hotel-section {
        padding: 70px 18px 75px;
    }


    /* INTRO */

    .about-intro-heading {
        margin-bottom: 35px;
    }

    .about-section-subtitle {
        margin-bottom: 10px;

        font-size: 9px;

        letter-spacing: 3px;
    }

    .about-intro-heading h2 {
        font-size: 38px;
        line-height: 1.2;
    }

    .about-intro-content p {
        font-size: 14px;
        line-height: 1.75;

        margin-bottom: 18px;
    }


    /* STATS */

    .about-intro-stats {
        margin-top: 45px;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-stat {
        min-height: 105px;

        padding: 20px 12px;
    }

    .about-stat:nth-child(3) {
        border-left: none;

        border-top: 1px solid #d8cdbd;
    }

    .about-stat:nth-child(4) {
        border-top: 1px solid #d8cdbd;
    }

    .about-stat strong {
        font-size: 32px;
    }

    .about-stat span {
        font-size: 9px;

        letter-spacing: 1px;
    }


    /* COMMITMENT */

    .about-commitment-heading {
        margin-bottom: 40px;
    }

    .about-commitment-heading h2 {
        font-size: 38px;
    }

    .about-commitment-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-commitment-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .about-commitment-card {
        min-height: auto;

        padding: 28px 23px;
    }

    .about-commitment-card:last-child {
        grid-column: auto;
    }

    .about-commitment-card h3 {
        font-size: 25px;
    }

    .about-commitment-card p {
        font-size: 14px;
        line-height: 1.75;
    }


    /* HOTEL */

    .about-hotel-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-hotel-image {
        height: 400px;

        order: 1;
    }

    .about-hotel-content {
        order: 2;
    }

    .about-hotel-content h2 {
        font-size: 36px;
    }

    .about-hotel-content p {
        font-size: 14px;
        line-height: 1.75;
    }

    .about-section-btn {
        width: 100%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .about-intro-heading h2,
    .about-commitment-heading h2 {
        font-size: 34px;
    }

    .about-hotel-content h2 {
        font-size: 32px;
    }

    .about-stat strong {
        font-size: 29px;
    }

}