* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color:  #f9fafb;
    color: #1f2937;
    line-height: 1.6;
   
}

header {
    background-color: #f9fafb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: pulseHeader 3s ease-in-out infinite;        
}

@keyframes pulseHeader  { 
    0%, 100% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);}
    50% { box-shadow: 0 2px  rgba(173, 41, 41, 0.2);} 
}

.container {
    max-width: 2000px;
    margin:  0 auto;
    padding: 1rem;  
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;   
}

.logo-cabecera { 
    height: 100px;
    width: 100px;
    margin-left: 50px;
 }

.img-1 {
    width: 1000px;
    height: 500px;
    margin-right: 400px; 
}

.img-2 {
    width: 1000px;
    height: 500px;
    margin-left: 10px;
}

.img-3 {
    width: 1000px;
    height: 500px;
    margin-left: 10px;
}

.img-4 {
    width: 1000px;
    height: 500px;
    margin-left:  10px;
}

.textos-cabecera {
    text-align: center;
    color: black;    
}

nav {
    display: flex;
    gap: 1rem;
    
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #8fe2b5;
}

.menu-toggle {
    display: none;
    font-size: 3rem;
    cursor: pointer;
    color: #4f46e5;
    height: 30px;
}

form {
    padding: 50px 55px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    width: 340px;
   
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    
 }
form h2 {
    color: #14f9A6;
    font-size: 25px;
}

label {
    color: #283629;
    font-size: 15px;            
    font-weight: 600;
    margin-bottom: 15px;

}

input , textarea {
    padding: 17px 25px;
    border-radius: 25px;
    margin-bottom: 20px;
    background-color: #EDFFF0;
    border: 2px solid #F0FAF1; 
    color: #283629;
    outline: none;
}


input::placeholder, textarea::placeholder {
    color: #b5b5b6;
}

.form-txt {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.form-txt a {
   color: #76b28e;
   font-size: 14px;
   font-weight: 600;
   text-decoration: none;
}

.btnc {
    font-size: 16px;
    color: #FFFFFF;
    border: 0;
    border-radius: 25px;
    background-color: #51D94C;
    box-shadow: 0 0 20px rgb(25, 254, 0, 0.4);
    cursor: pointer;

}

.btnc:hover {
    background-color: #14EA98;
}



/*Icono hamburguesa oculto en desktop*/

/*responsive*/

@media (max-width: 768px) {
    nav {
        display: none;
        grid-area: 1.rem;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        
    
    }
    nav a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        transition: color 0.3s;

    }
    
    nav a:hover {
        color: #0866ff;

    }

    nav.active {  
         display: flex;
    }
    
    .menu-toggle {
       display: block;
    
    }

    form {
        padding: 50px 30px;
        width: 100%;
    }

    input {
        padding: 15px;
    }


}

.hero {
    background-color: #fff;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 70px;
}

.hero::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
}

.hero-text {
    width: 100%;
    position: absolute;
    display: center;
    flex-direction: column;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;  
} 
.hero video {
    width: 100%;
    border: solid 2px #000;
    border-radius: 5px;
    box-shadow: 10px 10px 5px -1px rgba(0, 0, 0, 0.75);
}

.hero-content {

    position: relative; 
    z-index: 2;
    animation: fadeIn 3s ease-in-out; 
    color: rgb(245, 245, 245);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
   
}

.hero p {
    font-size: 2rem;
    margin-bottom: 16px;    
}

.btn {
    text-decoration: none;
    background: #0866ff;
    color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s transform 0.3s;
}

.btn1 {
    text-decoration: none;
    background: #0866ffff;
    color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s transform 0.3s;
    
}
.btn2 {
    text-decoration: none;
    background: #0866ffff;
    color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s transform 0.3s;
    
}

.btn3 {
    text-decoration: none;
    background: #0866ffff;
    color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s transform 0.3s;
    
}
.btn4 {
    text-decoration: none;
    background: #0866ffff;
    color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s transform 0.3s;
    
}

.btn:hover {
    margin-bottom: 1rem;
    transform: scale(1.5);
}

section {
    padding: 2rem 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
 }   
    
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card{
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
   
}


.card:hover {
    transform: translateY(-5px);

}

.card img {
    width: 100%;
    display: block;
}

.card-body {
    padding: 1rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;

}

.card-body p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    text-align: center;
}

.property-price {
    color: #4f46e5;
   font-weight: bold;
}

.about-section {
    background-color: #f3f4f6;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-section {
    background-color: #fff; 
}

.location-tilte {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.location-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;

}

.map-container{
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0  4px 10px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: #1f2937;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.social-menu {
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.social-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: white;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}
.social-menu a:hover {
    background-color: #555;
    transform: translateX(-5px);
}
/*Estlio personalizados por red*/

.social-menu a.facebook {
    background-color: #0866ff;
}

.social-menu a.twitter {
    background-color: #000000;
    
}

.social-menu a.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    
}

.social-menu a.youtube {
    background-color: #ff0000;
    
}

