/* room-cards.css — extracted from pages.css */
/* === room-cards === */
/* --- ROOM SECTION WRAPPER --- */
.room-section {
    background: #f8fafc;
    padding: clamp(40px, 6vw, 80px) 20px;
}
.room-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(30px, 4vw, 50px);
}
.room-section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.room-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--primary);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.room-section-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* --- GRID --- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CARD --- */
.room-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8edf2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Image */
.room-image-container {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}
.room-image-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.room-card:hover .room-image-container img { transform: scale(1.04); }

/* Amenity overlay */
.amenity-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.92);
    color: white;
    padding: 24px;
    transform: translateY(101%);
    transition: 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.room-card:hover .amenity-overlay { transform: translateY(0); }
.overlay-list { list-style: none; padding: 0; margin: 0; }
.overlay-list li { margin-bottom: 10px; font-size: 0.88rem; display: flex; align-items: center; gap: 10px; }
.overlay-list i { color: var(--accent); width: 16px; text-align: center; }

/* Card body */
.room-content { padding: 22px 22px 16px; flex-grow: 1; }
.room-name { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin: 0 0 7px; letter-spacing: -0.3px; }
.room-tagline { color: #64748b; font-size: 0.88rem; line-height: 1.55; margin: 0; }
.room-meta {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.room-meta i { color: var(--accent); margin-right: 4px; }

/* CTA */
.btn-room-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    padding: 16px 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.2s;
    margin: 0 22px 22px;
    border-radius: 8px;
}
.btn-room-action:hover { background: var(--accent); }
.btn-room-action i { font-size: 0.85rem; }

@media (max-width: 480px) {
    .room-grid { gap: 16px; }
    .room-image-container { height: 200px; }
    .room-content { padding: 18px 18px 12px; }
    .btn-room-action { margin: 0 18px 18px; padding: 14px; }
}
