
/* estilos.css */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Helvetica, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #111;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.slider {
    
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slides img {
    width: 100%;
    max-width: 100vw; 
    height: 60vh;
    object-fit: cover;
    display: none;
}

.slides img:first-child {
    display: block;
}

.slide-text {
    position: absolute;
    top: 30%;
    left: 5%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem;
}

.slide-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.slide-text p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

section {
    padding: 4rem 2rem;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}



.columnas {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.col, .card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 1rem;
    background-color: #111;
    border-radius: 8px;
    text-align: center;
}

.card {
    background-color: #fff;
    color: #000;
}



.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.card button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 3rem 2rem;
}

.cta-texto {
    flex: 1;
}

.cta-boton {
    flex: 1;
    text-align: right;
}

.cta-boton button {
    padding: 1rem 2rem;
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.contacto .info {
    flex: 1;
}

.contacto form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto input, .contacto textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.contacto button {
    padding: 0.75rem;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: space-around;
    background-color: #111;
    padding: 2rem;
    color: #fff;
}

.footer-col h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.creditos {
    text-align: center;
    padding: 1rem;
    background-color: #000;
    font-size: 0.9rem;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 3rem 3rem;
  }
  
  .cta-texto {
    flex: 2;
  }

  .cta-boton {
    flex: 1;
    text-align: right;
    
  }
  
  .cta-texto h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
  }
  
  .cta-texto p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-style: italic;
    
  }
  
  
  
  .cta-boton button {
    padding: 1rem 6rem;
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
    border-radius: 4px;
  }
  
  @media (max-width: 768px) {
    .cta {
      flex-direction: column;
      text-align: center;
    }
  
    .cta-boton {
      text-align: center;
      margin-top: 1.5rem;
    }
  }
  

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .columnas, .cta, .contacto {
        flex-direction: column;
        align-items: center;
    }

    .cta-texto, .cta-boton {
        text-align: center;
    }

    .slide-text {
        top: 20%;
        left: 5%;
        padding: 1rem;
    }

    .slide-text h1 {
        font-size: 1.5rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}
