/* rioquente.css */

/* Estilos para a seção de cartões de resorts */
.response-section{
    padding: 0 20px;
}

.resort-cards-section {
    margin-bottom: 40px;
}

#text{
    margin-bottom: 24px;
    max-width: 1024px;
    margin: auto;
    text-align: center;
}

#text h2{
    font-size: 1.5rem;
    color: #0072CE;
    font-weight: bold;
}

#text p {
    font-size: 1rem;
    color: #000000;
    margin-top: 5px;
}

#text p, #text h2{
    animation: fadeInUp 0.5s ease-out forwards;
}

.resort-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.Titulo-Resort{
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 40px;

}

.Titulo-Resort h2 {
    font-size: 2em;
}

.resort-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    width: calc(28.333% - 20px); /* Três cartões por linha */
    text-align: center;
    text-decoration: none;

    animation: fadeInUp 0.5s ease-out forwards;
}

.resort-card img {
    width: 100%;
    height: auto;
}

.resort-card-content {
    padding: 15px;
}

.resort-card h3 {
    font-size: 1.5em;
    margin: 0 0 10px;
    color: #052e74;
}

.resort-card p {
    color: #666;
    margin: 5px 0;
}

.hotel-button {
    font-size: 1.02em;
    color: #054E72;
    margin: 5px auto;
    text-align: center;
    padding: 15px;
    width: 200px;
    border-radius: 24px;
    background-color: #FFC600;
    border: none;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.hotel-button:hover{
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.44) 0px 3px 8px;
}

.resort-card:hover {
    transform: translateY(-5px);
}

/*Animação*/

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de saída */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Classe para saída suave */
.fade-out {
    animation: fadeOut 0.5s ease-in forwards;
}

/* Responsividade */
@media (max-width: 1024px) {
    .resort-card {
        width: calc(50% - 20px); /* Dois cartões por linha em telas menores */
    }
}

@media (max-width: 768px) {
    .resort-card {
        width: 100%; /* Um cartão por linha em telas pequenas */
    }
}
