* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #1c1c1c;
    color: #ffffff;
}


/* CABEÇALHO */

header {
    background: #252525;
    padding: 25px 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 2px solid #8b0000;
}

.logo h1 {
    font-size: 28px;
    color: #ffffff;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;

    transition: 0.3s;
}

nav a:hover {
    color: #e57373;
}


/* HERO */

.hero {
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 50px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        #333333;
}

.hero-content {
    max-width: 700px;
}

.subtitle {
    color: #e57373;
    font-size: 15px;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero p:not(.subtitle) {
    color: #d0d0d0;
    font-size: 20px;
    margin-bottom: 35px;
}


/* BOTÕES */

.botao {
    display: inline-block;

    background: #8b0000;
    color: #ffffff;

    padding: 14px 25px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.botao:hover {
    background: #c62828;
}


/* QUARTOS */

.quartos {
    padding: 80px 40px;
    text-align: center;
    background: #e8e8e8;
    color: #1c1c1c;
}

.quartos h2,
.sobre h2,
.localizacao h2,
.contato h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.descricao {
    color: #666666;
    margin-bottom: 45px;
}

.quartos-container {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.quarto {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

    text-align: left;
}

.quarto-imagem {
    height: 220px;

    overflow: hidden;
}

.quarto-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.quarto-info {
    padding: 25px;
}

.quarto-info h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.quarto-info p {
    color: #666666;
    line-height: 1.5;
}

.preco {
    margin: 20px 0;
    color: #8b0000 !important;
    font-size: 24px;
    font-weight: bold;
}

.preco span {
    font-size: 14px;
    color: #666666;
    font-weight: normal;
}


/* SOBRE */

.sobre {
    max-width: 900px;
    margin: 0 auto;

    padding: 80px 30px;

    text-align: center;
}

.sobre p {
    color: #c0c0c0;
    line-height: 1.7;
    margin-top: 15px;
}


/* LOCALIZAÇÃO */

.localizacao {
    padding: 80px 30px;

    text-align: center;

    background: #252525;
}

.localizacao p {
    color: #c0c0c0;
    margin-bottom: 30px;
}

.mapa {
    max-width: 900px;
    height: 350px;

    margin: 0 auto;

    background: #444444;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaaaaa;
}


/* CONTATO */

.contato {
    padding: 80px 30px;
    text-align: center;
}

.contato > p {
    color: #c0c0c0;
    margin-bottom: 30px;
}

.contato-info p {
    margin: 12px;
    color: #d0d0d0;
}


/* RODAPÉ */

footer {
    background: #111111;

    text-align: center;

    padding: 30px;

    color: #888888;

    border-top: 1px solid #8b0000;
}

/* PÁGINA DE DETALHES DO QUARTO */

.quarto-detalhes {
    max-width: 1100px;
    margin: 0 auto;

    padding: 70px 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;
}

.quarto-detalhes-imagem {
    height: 500px;

    background: #444444;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaaaaa;

    border-radius: 8px;
}

.quarto-detalhes-info {
    padding: 20px;
}

.quarto-detalhes-info .subtitle {
    color: #e57373;

    font-size: 14px;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.quarto-detalhes-info h2 {
    font-size: 42px;

    margin-bottom: 25px;
}

.quarto-descricao {
    color: #c0c0c0;

    line-height: 1.7;

    margin-bottom: 30px;
}


/* CARACTERÍSTICAS */

.caracteristicas {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-bottom: 35px;
}

.caracteristicas div {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #d0d0d0;
}

.caracteristicas strong {
    font-size: 20px;
}


/* PREÇO */

.quarto-preco {
    display: flex;

    align-items: baseline;

    gap: 8px;

    margin-bottom: 25px;
}

.quarto-preco span {
    color: #999999;

    font-size: 14px;
}

.quarto-preco strong {
    color: #e57373;

    font-size: 32px;
}


/* INFORMAÇÕES */

.informacoes-quarto {
    background: #252525;

    padding: 70px 30px;

    text-align: center;
}

.informacoes-quarto h2 {
    font-size: 32px;

    margin-bottom: 25px;
}

.informacoes-quarto p {
    max-width: 800px;

    margin: 0 auto 15px;

    color: #c0c0c0;

    line-height: 1.7;
}


/* VOLTAR */

.voltar {
    text-align: center;

    padding: 50px 30px;
}

.voltar a {
    color: #e57373;

    text-decoration: none;

    font-weight: bold;
}

.voltar a:hover {
    color: #ffffff;
}

/* GALERIA DO QUARTO */

.galeria-quarto {
    width: 100%;
}

.galeria-quarto > img {
    width: 100%;
    height: 400px;

    object-fit: cover;

    display: block;

    border-radius: 8px;
}

.fotos-menores {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 15px;
}

.fotos-menores img {
    width: 100%;
    height: 180px;

    object-fit: cover;

    display: block;

    border-radius: 8px;
}

.hotel-galeria {
    max-width: 1000px;
    margin: 40px auto 0;
}

.hotel-galeria > img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.hotel-fotos-menores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.hotel-fotos-menores img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.endereco-hotel {
    margin-top: 40px;
}

.endereco-hotel h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.endereco-hotel p {
    color: #c0c0c0;
}

/* Visualizador de imagens */

.visualizador {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.visualizador.ativo {
    opacity: 1;
    visibility: visible;
}

.visualizador > img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.fechar-visualizador {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
}

.fechar-visualizador:hover {
    color: #e57373;
}

/* =========================================
   VERSÃO PARA CELULAR
   ========================================= */

@media (max-width: 768px) {

    /* CABEÇALHO */

    header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo h1 {
        font-size: 25px;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 15px;
    }


    /* HERO */

    .hero {
        min-height: 500px;
        padding: 40px 20px;
    }

    .hero-content {
        width: 100%;
    }

    .subtitle {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero h2 {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero p:not(.subtitle) {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .botao {
        padding: 14px 22px;
        font-size: 15px;
    }


    /* QUARTOS */

    .quartos {
        padding: 60px 20px;
    }

    .quartos h2,
    .sobre h2,
    .localizacao h2,
    .contato h2 {
        font-size: 30px;
    }

    .descricao {
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .quartos-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .quarto-imagem {
        height: 230px;
    }

    .quarto-info {
        padding: 22px;
    }

    .quarto-info h3 {
        font-size: 21px;
    }


    /* SOBRE */

    .sobre {
        padding: 60px 20px;
    }

    .sobre p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* LOCALIZAÇÃO */

    .localizacao {
        padding: 60px 20px;
    }

    .localizacao p {
        line-height: 1.5;
    }

    .mapa {
        width: 100%;
        height: 300px;
    }


    /* CONTATO */

    .contato {
        padding: 60px 20px;
    }

    .contato > p {
        line-height: 1.5;
    }

    .contato-info p {
        margin: 15px 0;
        line-height: 1.5;
    }


    /* RODAPÉ */

    footer {
        padding: 25px 20px;
        font-size: 14px;
    }


    /* PÁGINA DE DETALHES DO QUARTO */

    .quarto-detalhes {
        padding: 50px 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quarto-detalhes-imagem {
        height: 300px;
    }

    .quarto-detalhes-info {
        padding: 0;
    }

    .quarto-detalhes-info h2 {
        font-size: 34px;
        line-height: 1.2;
    }


    /* CARACTERÍSTICAS */

    .caracteristicas {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    /* PREÇO */

    .quarto-preco strong {
        font-size: 28px;
    }


    /* INFORMAÇÕES DO QUARTO */

    .informacoes-quarto {
        padding: 55px 20px;
    }

    .informacoes-quarto h2 {
        font-size: 28px;
    }

    .informacoes-quarto p {
        line-height: 1.7;
    }


    /* VOLTAR */

    .voltar {
        padding: 40px 20px;
    }


    /* GALERIA DO QUARTO */

    .galeria-quarto > img {
        height: 280px;
    }

    .fotos-menores {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fotos-menores img {
        height: 130px;
    }


    /* GALERIA DO HOTEL */

    .hotel-galeria {
        width: 100%;
        margin-top: 30px;
    }

    .hotel-galeria > img {
        height: 280px;
    }

    .hotel-fotos-menores {
        gap: 10px;
    }

    .hotel-fotos-menores img {
        height: 140px;
    }


    /* ENDEREÇO */

    .endereco-hotel {
        margin-top: 30px;
    }

    .endereco-hotel h3 {
        font-size: 21px;
    }

    .endereco-hotel p {
        line-height: 1.5;
    }


    /* VISUALIZADOR DE IMAGENS */

    .visualizador {
        padding: 15px;
    }

    .visualizador > img {
        max-width: 100%;
        max-height: 85vh;
    }

    .fechar-visualizador {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }

}