*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: 'arial black', sans-serif;
 }   
 
body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     line-height: 1.6;
     color: #0c0c0cd3;
     background-color: #0e6ae2;
}

header {
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin:  0 auto;
}

.logo {
    font-size: 1.5rem; 
    font-weight: bold;
    color: #333;
}

.nav-links { 
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #333131;
    font-weight: bold;
}

#hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('img/estructuras\ mayo\ portada.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding-top: 8rem; 
    color: white;


}

.hero-content {
   position: absolute;
   top: 4%; 
   left: 50%;
   transform: translateX(-50%);
   text-align: center;
   color: rgb(235, 11, 11);
   max-width: 800px;
   padding: 1rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;    
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.color1 {
  color: #8d8c8a; 
}

.color2 {
  color: #8d8c8a;
}

.color3 {
  color: #e0110a; 
}

.color4 {
  color: #8d8c8a;
}

.color5 {
  color: #8d8c8a;
}

.color6 {
  color: #e0110a; 
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: rgb(121, 117, 117);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-size: 2.5rem;
    font-weight: bold;
    padding: 1rem;
}

.cta-button {
    background-color: #1561b3;
    color: #949191;
    padding: .5rem  1rem;
    border: none;
    border-radius: 200px;
    cursor: pointer;
    margin-top: 40rem;
}

.cta-button:hover {
  background-color: #3d5c7e;
}

 #materiales {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}    

#materiales h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.materiales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.materiales-card {
    background-color: rgb(50, 135, 233);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.materiales-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.descripcion {
    padding: .5rem 1rem;
    color: #050111;
    font-weight: bold;
}

.propiedades-card button {
    margin: 1rem;
    padding: .5rem 1rem;
    background-color: #007bff;
    color: rgb(136, 133, 133);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.propiedades-card button:hover {
    background-color: #000000;
}

#contacto {
  background-color: #b8b0b0;
  padding: 4rem 2rem;
  text-align: center;
}
   
.contacto-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

#contacto h2 {
    text-align: center;
    margin-bottom: 2rem;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.info-contacto {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.whatsapp-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #12d312;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 24px;
  height: 24px;
}

form {      
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: .8rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

textarea {
    height: 150px;
    resize: vertical;
}

form button {
    padding: 1rem;
    background-color: #007bff;
    color: rgb(197, 190, 190);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #007bff;
}

footer {
    padding: 1rem;
    background-color: #333;
    color: #e4e6e9;
    text-align: center;
}    

 @media screen and (max-width: 768px) {
    nav {
        flex-direction: column; 
        padding: 1rem;
        align-items: center;
    }
    
    .nav-links {                        
        flex-direction: column; 
        margin-top: 1rem;
        gap: 1rem;
    }

}

@media screen and (max-width: 768px) {
  #hero {
    padding-top: 4rem;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 1.2rem;
  }

.hero-content span {
    display: block;
    margin-bottom: 0.3rem;
  }
}

 
.info-contacto {
    padding: 0 1rem;
    font-size: 0.95rem;
  }

  #contacto h2 {
    font-size: 1.8rem;
  }

  .contacto-contenido {
    gap: 1.5rem;
}

@media screen and (max-width: 430px) {
  .whatsapp-button {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 10px;
  }

  .whatsapp-button img {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 430px) {
  #materiales h2 {
    font-size: 1.5rem;
  }

  .materiales-card {
    max-width: 100%;
  }

.descripcion {
  font-size: 0.95rem;
  }
}


    
