/* =====================================================
   KAIRA HOTEL — PREMIUM AVAILABLE ROOMS
   File: /css/available-rooms.css
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --gold: #bd9456;
    --gold-dark: #98703b;
    --ink: #24231f;
    --muted: #77756f;
    --cream: #f8f6f1;
    --white: #ffffff;
    --border: #e8e3da;
    --sidebar-width: 255px;
    --shadow: 0 16px 45px rgba(35, 30, 20, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* HEADER */

.site-header {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 84px;
    padding: 15px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    border-bottom: 1px solid rgba(189, 148, 86, 0.15);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 500;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.brand-copy strong {
    font-size: 16px;
    letter-spacing: 2.1px;
    font-weight: 700;
}

.brand-copy small {
    margin-top: 3px;
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 1.3px;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.header-nav a {
    position: relative;
    color: #5e5b55;
    font-size: 12px;
    font-weight: 600;
    transition: color .2s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--gold-dark);
}

.header-nav a.active::after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--gold);
}

.header-nav .nav-book {
    padding: 12px 18px;
    background: var(--ink);
    color: #fff;
    transition: background .2s ease;
}

.header-nav .nav-book:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* HERO */

.hero {
    position: relative;
    min-height: 485px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(23, 22, 19, .87) 0%,
        rgba(23, 22, 19, .65) 43%,
        rgba(23, 22, 19, .13) 100%),
        linear-gradient(0deg, rgba(23, 22, 19, .22), transparent),
        url('/assets/images/hotel-hero.jpg') center 52% / cover no-repeat,
        #4b463d;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(189, 148, 86, .15), transparent 45%);
}

.hero-content {
    width: min(760px, 86%);
    margin-left: 10%;
    padding: 70px 0 85px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 2.4px;
    font-weight: 700;
}

.hero .eyebrow {
    color: #e7c994;
}

.hero .eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    margin-top: 24px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(43px, 5.3vw, 70px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.9px;
}

.hero h1 em,
.section-heading h2 em,
.hospitality-strip h2 em {
    color: #d9b477;
    font-weight: 400;
}

.hero-content > p {
    max-width: 450px;
    margin-top: 21px;
    color: rgba(255, 255, 255, .77);
    font-size: 13px;
    line-height: 1.9;
}

.hero-button {
    margin-top: 31px;
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    gap: 26px;
    border: 1px solid var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: all .25s ease;
}

.hero-button span {
    color: #e6c18b;
    font-size: 18px;
}

.hero-button:hover {
    background: var(--gold);
    color: #1e1b16;
}

.hero-button:hover span {
    color: #1e1b16;
}

.hero-note {
    position: absolute;
    bottom: 27px;
    right: 7%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .73);
    font-size: 8px;
    letter-spacing: 1.6px;
}

.note-line {
    width: 27px;
    height: 1px;
    background: var(--gold);
}

/* SEARCH PANEL */

.search-wrap {
    position: relative;
    z-index: 2;
    padding: 0 7%;
}

.search-panel {
    max-width: 1320px;
    margin: -35px auto 0;
    padding: 29px 32px 32px;
    background: #fff;
    border: 1px solid rgba(189, 148, 86, .18);
    box-shadow: var(--shadow);
}

.search-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.dark-eyebrow {
    color: var(--gold-dark);
}

.search-heading h2 {
    margin-top: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.35;
}

.search-step {
    color: var(--gold-dark);
    font-size: 16px;
    font-weight: 700;
}

.search-step i {
    color: #aaa49a;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.search-fields {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr .8fr 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.search-field {
    min-width: 0;
    min-height: 67px;
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: #fbfaf7;
    border: 1px solid #eee9e0;
}

.search-field > span {
    color: #81786b;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.search-field input,
.search-field select {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    color: var(--ink);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
}

.search-button {
    min-width: 145px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    border: 0;
    background: var(--gold);
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    transition: background .2s ease;
}

.search-button b {
    font-size: 19px;
    font-weight: 400;
}

.search-button:hover {
    background: var(--gold-dark);
}

/* ROOM SECTION */

.rooms-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 85px 7% 90px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-top: 8px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 500;
    line-height: 1.25;
}

.section-heading h2 em {
    color: var(--gold-dark);
}

.section-heading p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.result-count {
    min-width: 95px;
    padding: 9px 0 9px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-left: 1px solid var(--border);
}

.result-count strong {
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.2;
}

.result-count span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* DATE SUMMARY */

.stay-summary {
    margin-bottom: 24px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
}

.stay-summary > span:first-child {
    margin-right: 5px;
    color: var(--gold-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.stay-summary strong {
    font-size: 12px;
    font-weight: 700;
}

.stay-summary .stay-arrow {
    color: var(--gold-dark);
}

.stay-summary i {
    margin-left: auto;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}

/* ROOM GRID & CARDS */

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.room-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eae5dc;
    transition: transform .25s ease, box-shadow .25s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(35, 30, 20, .10);
}

.room-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #e8e1d5;
}

.room-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.045);
}

.room-category {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, .94);
    color: #6f512a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.photo-count {
    position: absolute;
    right: 13px;
    bottom: 13px;
    padding: 5px 9px;
    background: rgba(25, 24, 21, .72);
    color: #fff;
    font-size: 10px;
}

.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #e9e1d4, #d5c7b2);
    color: #7a6649;
}

.no-photo span {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 2px;
}

.no-photo small {
    font-size: 10px;
}

.room-content {
    flex: 1;
    padding: 21px 20px 20px;
    display: flex;
    flex-direction: column;
}

.room-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.room-number {
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.room-title-row h3 {
    margin-top: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 500;
}

.room-rating {
    flex-shrink: 0;
    padding: 5px 7px;
    border: 1px solid #eee5d6;
    color: #71614b;
    font-size: 9px;
    white-space: nowrap;
}

.room-rating span {
    color: var(--gold);
}

.room-features {
    margin-top: 15px;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 17px;
    border-top: 1px solid #eeeae3;
    border-bottom: 1px solid #eeeae3;
    color: #77736b;
    font-size: 10px;
}

.room-description {
    min-height: 44px;
    margin-top: 14px;
    color: #77736b;
    font-size: 11px;
    line-height: 1.8;
}

.amenities {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amenities span {
    padding: 4px 8px;
    background: #f7f4ee;
    color: #655b4e;
    font-size: 9px;
}

.room-card-footer {
    margin-top: auto;
    padding-top: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.price {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
}

.price strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.price > span {
    color: var(--muted);
    font-size: 10px;
}

.price small {
    flex-basis: 100%;
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 10px;
    line-height: 1.5;
}

.details-button {
    min-height: 40px;
    padding: 0 12px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid var(--gold);
    color: #74552e;
    font-size: 10px;
    font-weight: 700;
    transition: all .2s ease;
}

.details-button span {
    font-size: 16px;
}

.details-button:hover {
    background: var(--gold);
    color: #fff;
}

/* NOTICES & EMPTY STATE */

.notice {
    margin-bottom: 22px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    font-size: 12px;
}

.info-notice {
    background: #fff;
    color: #6c655a;
}

.error-notice {
    margin-top: 18px;
    margin-bottom: 0;
    background: #fff4f2;
    border-color: #f1c9c1;
    color: #9b392b;
}

.empty-state {
    min-height: 270px;
    padding: 40px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
}

.empty-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border: 1px solid #dfc69f;
    border-radius: 50%;
    color: var(--gold-dark);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 500;
}

.empty-state p {
    max-width: 470px;
    margin-top: 9px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

/* HOSPITALITY STRIP */

.hospitality-strip {
    margin: 0 7% 75px;
    padding: 38px 5%;
    display: flex;
    align-items: center;
    gap: 25px;
    background: #292822;
    color: #fff;
}

.strip-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: #e5c28e;
    font-size: 27px;
}

.hospitality-strip .eyebrow {
    color: #d5b47f;
}

.hospitality-strip h2 {
    margin-top: 8px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 33px);
    font-weight: 400;
    line-height: 1.35;
}

.strip-link {
    margin-left: auto;
    padding: 13px 0 13px 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.strip-link span {
    color: #e0bd86;
    font-size: 18px;
}

.strip-link:hover {
    color: #e0bd86;
}

/* FOOTER */

.site-footer {
    min-height: 85px;
    padding: 23px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

.footer-brand {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .site-header {
        padding-right: 4%;
        padding-left: 4%;
    }

    .header-nav {
        gap: 19px;
    }

    .search-wrap {
        padding-right: 4%;
        padding-left: 4%;
    }

    .search-panel {
        padding: 26px;
    }

    .search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-button {
        min-height: 58px;
    }

    .rooms-section {
        padding-right: 4%;
        padding-left: 4%;
    }

    .room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .hospitality-strip {
        margin-right: 4%;
        margin-left: 4%;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: auto;
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 17px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
        font-size: 23px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .header-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 23px;
        overflow-x: auto;
        padding: 4px 0 8px;
    }

    .header-nav a {
        flex-shrink: 0;
        font-size: 11px;
    }

    .header-nav .nav-book {
        padding: 9px 12px;
    }

    .hero {
        min-height: 425px;
        background-position: center, center, 60% center;
    }

    .hero-content {
        width: 90%;
        margin-left: 5%;
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: clamp(42px, 9vw, 58px);
    }

    .hero-content > p {
        max-width: 360px;
        font-size: 12px;
    }

    .hero-note {
        right: 5%;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .search-wrap {
        padding-right: 4%;
        padding-left: 4%;
    }

    .search-panel {
        margin-top: -22px;
        padding: 22px 17px;
    }

    .search-heading h2 {
        font-size: 23px;
    }

    .search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .search-field {
        min-height: 64px;
        padding: 10px;
    }

    .search-button {
        grid-column: 1 / -1;
        min-height: 48px;
    }

    .rooms-section {
        padding: 61px 4% 60px;
    }

    .section-heading {
        align-items: flex-end;
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 33px;
    }

    .section-heading p {
        max-width: 290px;
        font-size: 11px;
    }

    .result-count {
        min-width: 65px;
        padding-left: 12px;
    }

    .result-count strong {
        font-size: 29px;
    }

    .result-count span {
        font-size: 7px;
        letter-spacing: .8px;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .room-image {
        height: clamp(210px, 57vw, 330px);
    }

    .room-content {
        padding: 20px;
    }

    .room-title-row h3 {
        font-size: 25px;
    }

    .room-description {
        min-height: auto;
    }

    .stay-summary {
        gap: 8px;
        padding: 12px;
    }

    .stay-summary i {
        flex-basis: 100%;
        margin-left: 0;
    }

    .hospitality-strip {
        margin: 0 4% 45px;
        padding: 28px 22px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .strip-icon {
        width: 43px;
        height: 43px;
        font-size: 22px;
    }

    .hospitality-strip > div:nth-child(2) {
        flex: 1;
        min-width: 180px;
    }

    .hospitality-strip h2 {
        font-size: 25px;
    }

    .strip-link {
        width: 100%;
        margin-left: 0;
        padding: 14px 0 0;
        justify-content: space-between;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }

    .site-footer {
        padding: 23px 5%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 20px;
    }

    .site-footer > span:last-child {
        flex-basis: 100%;
    }
}

@media (max-width: 380px) {
    .brand-copy small {
        font-size: 7px;
        letter-spacing: .8px;
    }

    .search-heading h2 {
        font-size: 21px;
    }

    .search-field input,
    .search-field select {
        font-size: 11px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .room-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .details-button {
        width: 100%;
    }

    .room-rating {
        font-size: 8px;
    }
}

