/* reset.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  /* styles.css */
  /* --------- GLOBAL --------- */
  body {
    background: #f4f4f4;
  }
  
  /* Navegación fija arriba */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #34495e;
    color: white;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #1abc9c;
  }
  
  /* Botón hamburguesa */
  .menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  
  /* Responsivo navbar */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      background: #34495e;
      padding: 10px 0;
    }
    .nav-links.active {
      display: flex;
      align-items: center;
    }
    .menu-toggle {
      display: block;
    }
  }
  
  /* Contenedor que engloba todo, excepto la navbar fija */
  .container {
    /* Deja un espacio arriba igual al alto aproximado de la navbar */
    padding-top: 60px; 
  }
  
  /* --------- HEADER / HERO SECTION --------- */
  .hero-section {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 60px 20px;
  }
  
  /* --------- PROYECTOS --------- */
  .proyectos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 20px;
  }
  
  .proyectos h2 {
    width: 100%;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .proyecto {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    width: 250px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .proyecto img {
    max-width: 100%;
    border-radius: 8px;
  }
  
  /* --------- CONTACTO --------- */
  .contacto {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .contacto h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
  }
  
  .contacto form {
    display: flex;
    flex-direction: column;
  }
  
  .contacto label {
    margin-top: 10px;
    font-weight: bold;
  }
  
  .contacto input,
  .contacto textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .contacto button {
    margin-top: 15px;
    padding: 10px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .contacto button:hover {
    background: #1abc9c;
  }
  
  /* --------- FOOTER --------- */
  .footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px; /* Un poco de espacio arriba si se desea */
  }