/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: url('images/ales-nesetril-Im7lZjxeLhg-unsplash.jpg') no-repeat center center fixed;
    background-size: cover;
    color: black;
    line-height: 1.6;
  }
  
  
  /* Navbar */
  .navbar {
    background-color: #0d6efd;
    color: white;
    padding: 12px 20px;
  }
  
  #langSelector {
    margin-left: auto;
  }
  
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    color: #fff;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #cce5ff;
  }
  
  /* Selector de idioma estilizado */
#langSelector {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    background-color: white;
    color: #0d6efd;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
  }
  
  #langSelector:hover {
    background-color: #f1f1f1;
  }
  
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .logo {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* Hero */
  .hero {
    background: transparent;
    color: white;
    padding: 60px 20px;
    text-align: center;
  }
  
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  /* Main content */
  .content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  h2 {
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  /* Projects */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  #projects-list div {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.6s ease-in;
    transition: transform 0.3s;
  }
  
  #projects-list div:hover {
    transform: translateY(-5px);
  }
  
  #projects img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  #projects a {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 6px 12px;
    background-color: #0d6efd;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  #projects a:hover {
    background-color: #084298;
    transform: scale(1.05);
  }
  
  #projects i {
    margin-right: 6px;
  }
  
  /* Contacto */
  #contacto {
    margin-top: 60px;
  }
  
  #contacto p {
    margin-bottom: 10px;
  }
  
  #contacto a {
    color: #0d6efd;
    text-decoration: none;
  }
  
  #contacto a:hover {
    text-decoration: underline;
  }

  #email-text {
  color: white;           
  font-weight: bold;         
  font-size: 1.1rem;         
  margin-right: 8px;         
}

 #linkedin-text {
  color: white;           
  font-weight: bold;         
  font-size: 1.1rem;         
  margin-right: 8px;         
}
  
.fas.fa-envelope {
  color: #0d6efd; /* azul clásico */
}

.fab.fa-linkedin {
  color: #0077b5; /* azul oficial de LinkedIn */
}


.fas.fa-envelope:hover,
.fab.fa-linkedin:hover {
  color: #084298; /* un azul más oscuro */
  transform: scale(1.1);
  transition: color 0.3s, transform 0.2s;
}

  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #e9ecef;
    margin-top: 40px;
  }
  
  /* Animación */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  