@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --padding-container: 50px;
    --color-title: #333;
}


.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 50px;
}

.logooo-text {
    font-size: clamp(5rem, 7vw, 7rem); /* Tamaño adaptable según la pantalla */
    font-weight: bold;
}
.l-text {
    font-size: clamp(5rem, 7vw, 7rem); /* Tamaño adaptable según la pantalla */
    font-weight: bold;
    margin-left: 40px;
}

/* hero*/

.hero__container{
    
    --padding-container:0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    text-align: start;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__title{
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;

}

.hero__paragraph{
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    
}
.hero__t{
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-left: 40px;
    color: white;
}

.hero__p{
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    margin-left: 40px;
    color: white;
}


/* about*/

.about{
    text-align: center;
}

.subtitle{
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about__paragraph{
    line-height: 1.7;
}

.about__main{
    padding-top: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}

.about__icons{
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 260px;
    overflow: hidden;
    margin: auto;
}

.about__icon{
    width: 40px;
}

/* knowledeg*/

.knowledge{
    background-color: #e5e5f7;
    background-image:  radial-gradient(#9b1b4d 0.5px, transparent 0.5px), radial-gradient(#9b1b4d 0.5px, #e5e5f7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0,10px 10px;
    overflow: hidden;
}

.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge__picture{
    max-width: 500px;
}

.knowledge__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge__img{
    width: 100%;
    display: block;
}


/*testimony*/

.testimony{
    background-color: #e5e5f7;
}

.testimony_container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony_body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}

.testimony_body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony_img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}
.testimony_text{
    max-width: 700px;
}

.testimony_course{
    background-color: royalblue;
    color: #fff;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
}

.testimony_arrow{
    width: 90%;
    cursor: pointer;
}

/* questions*/

.questions{
    text-align: center;
}

.questions_container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions_padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #5454d4;
    border-radius: 6px;
}

.questions_padding--add{
    padding-bottom: 30px;
    overflow: hidden;
}

.questions_answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions_title{
    display: flex;
    font-size: 20px;
    padding:  30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.questions_arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition: transform .3s;
}

.questions_arrow--rotate{
    transform: rotate(180deg);
}

.questions_show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions_img{
    display: block;
}

.questions_copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.filters {
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.filters__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.filters__label {
    flex: 1;
    min-width: 150px;
}

.filters__input{
    width: 100%;
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.filters__select{
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.filters__button {
    background-color: #e60d0d;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.filters__button:hover {
    background-color: #b30a0a;
}

/* Habitaciones */
.ads__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ad {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ad__img {
    width: 100%;
    height: auto;
}

.ad__title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.ad__price {
    font-size: 16px;
    color: #e60d0d;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Testimonios */
.testimonies__list {
    display: grid;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}


.nav__links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav__link:hover {
    color: #e60d0d;
}

/* Submenús */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2a3a514b;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    display: none; /* Oculto por defecto */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav__item--dropdown:hover .nav__dropdown {
    display: block; /* Mostrar al pasar el ratón */
    opacity: 1;
    transform: translateY(0);
}

.nav__dropdown-link {
    text-decoration: none;
    color: #fff;
    padding: 8px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

.nav__dropdown-link:hover {
    background-color: #e60d0d;
    color: #fff;
}

/*contactos*/
.contacto-section {
    background: #fff;
    padding: 2rem;
    color: #012c6d;
}
  
.contact-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
  
.contact-info {
    flex: 2;
}
  
.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
  
.contact-info p {
    margin: 0.4rem 0;
    line-height: 1.6;
}
  
.social-links a {
    margin-right: 1rem;
    color: #012c6d;
    text-decoration: underline;
}
  
.contact-card {
    margin-top: 10px;
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
  
.contact-card .card-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
  
.contact-card .card-number {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #012c6d;
}
  
.contact-card .contact-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}
  
.btn-contacto {
    background: #3f448a;
    color: white;
    padding: 0.6rem 1.2rem;
    border: solid 1px transparent;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}
.btn-contacto:hover{
    background-color: white;
    color: #3f448a;
    border: solid 1px #3f448a;
}
  
.faq-container {
    
    padding: 2rem;
    border-radius: 12px;
    
    max-width: 100%;
    margin: 2rem auto;
}

.faq-title {
    color: #012c6d;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.faq-pregunta {
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    color: #012c6d;
}

.faq-pregunta::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
    color: #f4a024;
}

.faq-item.activo .faq-pregunta::after {
    transform: rotate(180deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #333;
    margin-top: 0.5rem;
    padding-left: 1rem;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.registro-invitacion {
    background-color: #f4f4f4;
    border-left: 6px solid #f4a024;
    padding: 25px;
    margin-bottom: 40px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.registro-invitacion h3 {
    color: #012c6d;
    margin-bottom: 10px;
}

.registro-invitacion p {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
}

.btn-registro {
    background-color: #f4a024;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    border: solid 1px transparent;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-registro:hover {
    background-color: white;
    color: #f4a024;
    border: solid 1px #f4a024;
}
