/* apartamentos.css */

.page-hero__bg.apartamentos {
    background-image: url('../../imagens/bg-apartamentos.png');
}

.room-details {
    padding: 80px 0;
    background-color: #fff;
}

.room-details__container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.room-details__text-col {
    flex: 1;
}

/* 🔥 COLUNA IMAGEM */
.room-details__img-col {
    flex: 1;
    position: relative;
}

/* 🔲 FUNDO PRETO */
.room-details__img-col::before {
    content: "";
    position: absolute;
    top: 30px;
    left: -25px;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 0;
}

/* 🟨 FUNDO DOURADO */
.room-details__img-col::after {
    content: "";
    position: absolute;
    top: 15px;
    left: -12px;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    z-index: 1;
}

.room-details__title {
    color: var(--color-gold);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.room-details__subtitle {
    font-family: var(--font-secondary);
    font-size: 25px;
    color: #333;
    font-weight: 400;
    margin-bottom: 30px;
}

.room-details__subtitle span {
    font-size: 30px;
}

.room-details__desc {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.room-details__desc p {
    margin-bottom: 15px;
}

/* 🔥 COMODIDADES (mais moderno) */
.comodidades-title {
    font-size: 30px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.comodidades-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
}

/* 🔥 ITEM AGORA É COLUNA (box + texto separado) */
.comodidades-list li {
    width: calc(18% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔲 CAIXA DO ÍCONE */
.comod-icon {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    border: 1px solid #ccc;

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

    margin-bottom: 8px;
    transition: 0.3s;
}

/* imagem dentro da caixa */
.comod-icon img {
    width: 28px;
    height: 28px;
}

/* hover na caixa */
.comodidades-list li:hover .comod-icon {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

/* 📝 TEXTO FORA DA CAIXA */
.comodidades-list span {
    font-size: 10px;
    color: #777;
    text-align: center;
    letter-spacing: 1px;
}

/* 🔥 GALERIA */
.room-details__gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
    /* acima das molduras */
}

.room-details__gallery .room-details__title,
.room-details__gallery .room-details__subtitle {
    display: none;
}

/* ❌ REMOVE decoração antiga */
.room-details__gallery::before,
.room-details__gallery::after {
    display: none;
}

/* 🔥 IMAGEM PRINCIPAL */
.room-details__main-img {
    width: 520px;
    margin: 0 auto;
    position: relative;
}

/* 🔲 BARRA PRETA (mais ao fundo) */
.room-details__main-img::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -190px -280px 0;
    width: 560px;
    height: 380px;
    background: #1a1a1a;
    z-index: 0;
}

/* 🟨 BARRA DOURADA (na frente da preta) */
.room-details__main-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -205px -272.5px 0;
    width: 545px;
    height: 410px;
    background: var(--color-gold);
    z-index: 1;
}

.room-details__main-img img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.room-details__main-img:hover img {
    transform: scale(1.03);
}

/* 🔥 THUMBS */
.room-details__thumbs {
    display: flex;
    gap: 10px;
}

.room-details__thumbs img {
    width: 185px;
    height: 135px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.room-details__thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.room-details__thumbs img.active {
    opacity: 1;
    outline: 2px solid var(--color-gold);
}

/* ============================= */
/* OTHER ROOMS */
/* ============================= */

.other-rooms {
    background: radial-gradient(circle at center, #2b2b2b 0%, #000 100%);
    padding: 100px 0;
    color: #fff;
}

/* HEADER */
.other-rooms__header {
    margin-bottom: 60px;
    text-align: center;
}

.other-rooms__title {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 10px;
}

.other-rooms__subtitle {
    font-size: 20px;
    color: var(--color-gold);
}

/* GRID */
.other-rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* ============================= */
/* CARD */
/* ============================= */

.room-card {
    position: relative;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.room-card:hover {
    transform: translateY(-6px);
}

/* sombra embaixo */
.room-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    filter: blur(20px);
    z-index: -1;
}

/* IMAGEM */
.room-card__img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}

/* BLOCO DOURADO */
.room-card__content {
    background: var(--color-gold);
    padding: 20px;
    text-align: center;
    position: relative;
}

/* TITULO */
.room-card__title {
    font-size: 20px;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 10px;
}

/* DESCRIÇÃO */
.room-card__desc {
    font-size: 12px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* BOTÃO FLUTUANTE */
.btn-detalhes {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);

    background: #6A6B68;
    color: #fff;
    font-size: 12px;
    padding: 6px 14px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-detalhes:hover {
    background: #000;
}