*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;
}
:root{
    --text-color: #fff;
    --bg-color: #000;
    --main-color: #971e1d;

    --h1-font: 6rem;
    --h2-font: 3rem;
    --p-font: 1rem;
}
body{
    color: var(--text-color);
    background: var(--bg-color);
}
header{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    padding: 27px 17%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
}
.LogoA{
    display: flex;
}
.LogoA img{
    height: 90px;
}
.logo{
    font-size: 33px;
    color: var(--text-color);
    font-weight: 700;
}
span{
    color: var(--main-color);
}
.navbar{
    display: flex;
}
.navbar a{
    color: var(--text-color);
    font-size: var(--p-font);
    font-weight: 600;
    margin: 15px 22px;
    transition: all .50 ease;
}
.navbar a:hover{
    color: #971e1d;    
}
.h-right{
    display: flex;
    align-items: center;
}
.h-right a:first-child{
    color: var(--text-color);
    font-size: var(--p-font);
    margin-right: 20px;
}
.h-right a{
    vertical-align: middle;
    font-size: 20px;
    color: var(--text-color);
    margin-right: 18px;
    margin-left: 5px;
    transition: all .50s ease;
}
.h-right a:hover{
    color: var(--main-color);
    transform: translateY(-3px);
}
#menu-icon{
    color: var(--text-color);
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

section{
    padding: 70px 17% 60px;    
}
.home{
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(to left, rgba(0,0,0,0.6),rgba(0,0,0,0.3)), url(../Imagenes/Fondo.JPG);
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.home-text h5{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--main-color);
}
.home-text h1{
    font-size: var(--h1-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.home-text p{
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 35px;
}
.btn{
    display: inline-block;
    padding: 13px 40px;
    background: var(--main-color);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all .50s ease;
    cursor: pointer;
}
.btn:hover{
    transform: translateX(10px);
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
}

header.sticky{
    padding: 8px 17%;
    background: transparent;
    backdrop-filter: blur(35px);
}
.feature-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, auto));
    align-items: center;
    text-align: center;
    gap: 3rem;
}
.row-img{
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 50%;
    cursor: pointer;
}
.row-img img{
    width: 100%;
    display: block;
    transition: transform 0.7s;
}
.row-img:hover{
    transform: scale(1.2);
}
.feature-content h4{
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all .50s ease;
}
.feature-content h4:hover{
    color: var(--main-color);
}

.ventas{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 9rem;
}
.ventas-img img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.ventas-text h5{
    font-size: 50px;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
}
.ventas-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}
.ventas-text p{
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: #ffffffab;
    margin-bottom: 35px;
}

.center-text{
    text-align: center;
}
.center-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
}
.renta-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, auto));
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
}
.box{
    position: relative;
}
.box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(70%);
    transition: all .3s cubic-bezier(.499,.05,.55,.95);
    will-change: filter;
    display: block;
}
.box h6{
    position: absolute;
    left: 25px;
    bottom: 95px;
    font-size: 18px;
    font-weight: 500;
}
.box h4{
    position: absolute;
    left: 25px;
    bottom: 65px;
    font-size: 20px;
    font-weight: 700;
}
.box img:hover{
    filter: brightness(90%) ;
    transform: scale(1.04);
    cursor: pointer;
}
.center-btn{
    text-align: center;
    margin-top: 4rem;
}


.Hospedaje{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 9rem;
}
.Hospedaje-img img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.Hospedaje-text h5{
    font-size: 22px;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
}
.Hospedaje-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}
.Hospedaje-text p{
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: #ffffffab;
    margin-bottom: 35px;
}

.Contacto-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}
.Contacto-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    margin-bottom: 15px;
}
.Contacto-text p{
    font-size: var(--p-font);
    font-weight: 500;
    color: #ffffffab;
}
.Contacto-content form{
    display: grid;
    grid-template-columns: 2fr, 1fr;
    gap: 1rem;
}
.Contacto-content form input, 
.Contacto-content form textarea {
    padding: 15px;
    background: #202020;
    font-size: var(--p-font);
    color: var(--text-color);
    border-radius: 5px;
    border: none; /* Para eliminar bordes si los hay */
}

.Contacto-content form textarea {
    resize: none; /* Evita que el usuario cambie el tamaño del textarea */
    height: 100px; /* Altura inicial del textarea */
}


.footer {
    background-color: #000; /* Fondo negro total */
    color: #fff;
    padding: 3rem 1rem;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer-box {
    flex: 1 1 220px;
  }

  .footer-box h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
  }

  .footer-box p,
  .footer-box a {
    color: #ccc;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }

  .footer-box a:hover {
    color: #fff;
  }

  .social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ccc;
    transition: color 0.3s ease;
  }

  .social-icons a:hover {
    color: #fff;
  }

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  color: #777;
}

@media (max-width: 1700px){
    header{
        padding: 18px 8%;
    }
    header.sticky{
        padding: 7px 8%;
    }
    section{
        padding: 50px 8% 40px;
    }
}
@media (max-width: 1200px){
    header{
        padding: 14px 5%;
    }
    header.sticky{
        padding: 7px 5%;
    }
    section{
        padding: 45px 5% 35px;
    }
    :root{
        --h1-font: 4.6rem;
        --h2-font: 2.8rem;
        --p--font: 15px;
    }
    .home{
        height: 90vh;
    }
}

@media (max-width: 1050px){
    .feature-content{
        gap: 1.5rem;
    }
    .ventas{
        gap: 3rem;
    }
    .renta{
        gap: 3rem;
    }

    #menu-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 40px 60px;
        top: 0;
        bottom: 0;
        left: 100%;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all .50s ease;
    }
    .navbar a{
        display: block;
        color: #979797;
        padding: 0;
        margin: 0px 0px 40px 0px;
        font-size: 2.2rem;
        font-weight: 400;
    }
    .navbar.open{
        left: 0;
    }
}

@media (max-width: 800px){
   .ventas{
    grid-template-columns: 1fr;
   }
   .renta{
    grid-template-columns: 1fr;
   }
   .Hospedaje{
    grid-template-columns: 1fr;
   }
}

@media (max-width: 600px){
    :root{
        --h1-font: 3.5rem;
        --h2-font: 2.1rem;
    }
    .home{
        height: 85vh;
    }
}

@media (max-width: 450px){
    header{
        padding: 12px 3%;
    }
    header.sticky{
        padding: 7px 3%;
    }
    section{
        padding: 60px 3% 50px;
    }
}
.card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}
.card{
    width: 325px;
    background-color: #212121;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 20px;
}
.card img{
    width: 100%;
    height: 250px;
}
.card-content{
    padding: 16px;
}
.card-content h3{
    font-size: 28px;
    margin-bottom: 8px;
}
.card-content p{
    color: #666;
    font-size: 15px;
    line-height: 1.3;
}
.card-content .btn{
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 16px;
}
/* Estilo del precio */
.card-content .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff; /* Verde para destacar el precio */
    margin-top: 10px; /* Espaciado superior */
    text-align: right; /* Alinear a la derecha */
}
.btn-wsp{
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0df053;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}
.btn-wsp:hover{
    text-decoration:none;
    color: #0df053;
    background: #fff;
}
.hero{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(12,3,51,0.3), rgba(12,3,51,0.3));
    position: relative;
    padding: 0.5%;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav .logo{
    width: 80px;
}
nav ul li{
    list-style: none;
    display: inline-block;
    margin-left: 40px;
}
nav ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 17px;
}
.content{
    text-align: center;
}
.content h1{
    font-size: 160px;
    color: #fff;
    font-weight: 600;
    transition: 0.5s;
}
.content h1:hover{
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.content a{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

.back-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (min-aspect-ratio: 16/9){
    .back-video{
        width: auto;
        height: 100%;
    }
}
/*Contacto*/
.contact-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.contact-left-title h2{
    font-weight: 600;
    color: #fff;
    font-size: 40px;
    margin-bottom: 5px;
}
.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-inputs{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 50px;
}
.contact-left textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;   
}
.contact-inputs:focus{
    border: 2px solid #971e1d;
}
.contact-inputs::placeholder{
    color: #a9a9a9;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, #fff,#fa6d86);
    cursor: pointer;
}
.contact-left button img{
    height: 15px;
    width: 15px;
}
.contact-right img{
    width: 500px;
}
@media (max-width:800px){
    .contact-inputs{
        width: 80vw;
    }
    .contact-right{
        display: none;
    }
}
/* Estilos para el dropdown */
/* Dropdown para "Venta" */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    display: none; /* Ocultar por defecto */
    position: absolute;
    top: 100%; /* Aparece justo debajo del enlace "Venta" */
    left: 0;
    background-color: #202020; /* Fondo gris oscuro */
    padding: 10px 0;
    border-radius: 5px; /* Bordes redondeados suaves */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4); /* Sombra para destacar */
    z-index: 1000;
    width: 200px; /* Anchura rectangular */
}

.navbar .dropdown-menu li {
    list-style: none;
}

.navbar .dropdown-menu a {
    display: block;
    width: 100%; /* Ocupa todo el ancho del contenedor */
    padding: 10px 20px; /* Espaciado interno */
    background-color: #202020; /* Fondo gris oscuro */
    color: #fff; /* Texto blanco */
    font-size: var(--p-font);
    text-align: left; /* Alinear texto a la izquierda */
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .dropdown-menu a:hover {
    background-color: #971e1d; /* Fondo rojo al pasar el mouse */
    color: #fff; /* Texto blanco */
    border-radius: 5px; /* Bordes redondeados al hacer hover */
}

/* Mostrar el menú al pasar el mouse */
.navbar .dropdown:hover .dropdown-menu {
    display: block; /* Mostrar el menú */
}
/* Contenedor para el video */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh; /* La imagen abarcará toda la altura de la pantalla */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción de la imagen y recorta si es necesario */
    object-position: center; /* Centra la imagen dentro del contenedor */
}

.hero-text {
    position: absolute;
    top: 50%; /* Coloca el texto en el centro vertical */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta para centrar exactamente */
    color: white;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

.hero-text h1 {
    font-size: 6rem; /* Tamaño del texto */
    font-weight: bold;
    margin: 0;
    color: transparent; /* Texto inicial invisible */
    -webkit-text-stroke: 2px white; /* Borde inicial del texto */
    transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease; /* Transición suave */
}

/* Efecto hover: relleno transparente y borde visible */
.hero-text h1:hover {
    color: white; /* Aparece el relleno blanco */
    -webkit-text-stroke-color: transparent; /* Desaparece el borde */
}

.hero-text h1 {
    font-size: 6rem; /* Tamaño del texto */
    font-weight: bold;
    margin: 0;
    color: transparent; /* Texto inicial invisible */
    -webkit-text-stroke: 2px white; /* Borde inicial del texto */
    transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease; /* Transición suave */
}

/* Efecto hover: relleno transparente y borde visible */
.hero-text h1:hover {
    color: white; /* Aparece el relleno blanco */
    -webkit-text-stroke-color: transparent; /* Desaparece el borde */

}
.carousel-container {
    margin: 40px auto;
    width: 90%;
}
.carousel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}
.carousel .slick-slide {
    margin: 0 10px;
}
.carousel .slick-list {
    margin: 0 -10px;
}
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin: 20px 0 30px;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.property-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    font-size: 1em;
    text-align: center;
    border-radius: 0 0 20px 20px;
}
.carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.slick-prev, .slick-next {
    font-size: 2em;
    color: #000;
}
/* Cartas propiedad*/
.property-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    width: 90%;
}
.property-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #202020;
}

.property-card:hover {
    transform: scale(1.02); /* Un pequeño zoom */
}

.property-card img {
    width: 100%;
    height: 250px; /* Tamaño uniforme para las imágenes */
    object-fit: cover;
}

.property-card .property-title {
    position: absolute;
    bottom: 0; /* Fija el título en la parte inferior */
    left: 0;
    width: 100%; /* Ocupa todo el ancho de la tarjeta */
    background: rgba(0, 0, 0, 0.7); /* Tira negra semi-transparente */
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 10px 0; /* Espaciado interno */
    z-index: 5;
    transition: opacity 0.4s ease; /* Transición suave para desaparecer */
}

.property-card:hover .property-title {
    opacity: 0; /* Hace que el título sea invisible */
}

.property-card .property-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Fondo oscuro para la descripción */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease; /* Transición suave */
    padding: 20px;
    transform: translateY(100%); /* Oculto inicialmente */
}

.property-card:hover .property-overlay {
    transform: translateY(0); /* Muestra el contenido al hacer hover */
}

.property-card .property-overlay h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.property-card .property-overlay p {
    font-size: 1em;
    margin: 5px 0;
}

.property-card .property-overlay .icon-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.property-card .property-overlay .icon-list i {
    font-size: 1.5em;
    color: #fff;
}

.slick-prev, .slick-next {
    font-size: 2em;
    color: #000;
}
/*Nosotros seccion*/
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #000;
}

.about-content {
    width: 50%;
    padding-right: 20px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.about-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
}

.about-image {
    width: 40%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-services {
    background-color: #971e1d;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.about-services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.services-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-card {
    background-color: #671313;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: #ddd;
}