/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-padding-top: 160px;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Rubik', sans-serif;
    background: #f4f4f4;
    color: #333;
  }
  
  /* Header */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #222;
    color: white;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .header-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-container img {
    height: 50px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #ff6600;
  }
  
  nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    background: #ff6600;
    width: 0%;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  /* Sticky header shrink */
  #main-header.shrink {
    padding: 10px 0;
    background-color: #111;
  }
  
  #main-header.shrink h1 {
    font-size: 1.5em;
  }
  
  /* Language switch */
  .language-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 0.95em;
    z-index: 1001;
  }
  
  .language-switcher a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .language-switcher a:hover {
    color: #ff6600;
  }
  
  /* Hero actualizado */
  .hero {
    padding: 120px 20px 60px;
    background: url('assets/images/fondo-industrial.jpg') center center/cover no-repeat;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
  }
  
  .hero-content h2 {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 3px solid white;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2em;
    color: white;
  }
  
  /* Secciones */
  section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    animation: fadeInUp 0.9s ease forwards;
    opacity: 0;
    transform: translateY(30px);
  }
  
  section[data-aos] {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
  }
  
  section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    text-align: left;
    color: black;
    position: relative;
    animation: fadeInUp 1s ease both;
  }
  
  /* Trabajos */
  .trabajos-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .trabajo-item img,
  .trabajo-item video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .trabajo-item img:hover,
  .trabajo-item video:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  /* Contacto */
  .contact-section {
    position: relative;
    color: white;
    background: url('assets/images/fondo-industrial.jpg') center center/cover no-repeat;
    z-index: 0;
  }
  
  .contact-section .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .contact-section h2,
  .contact-section p,
  .contact-section label,
  .contact-section input,
  .contact-section textarea {
    color: white;
    position: relative;
    z-index: 2;
  }
  
  form {
    max-width: 600px;
    margin: auto;
    position: relative;
    z-index: 2;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    transition: all 0.3s ease;
  }
  
  input:hover,
  textarea:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
    transform: scale(1.03);
  }
  
  /* Botón animado */
  .btn-animado {
    background-color: #ff6600;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .btn-animado::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
  }
  
  .btn-animado:hover::after {
    left: 100%;
  }
  
  .btn-animado:hover {
    background-color: #e65c00;
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    font-size: 0.9em;
  }
  
  /* Animaciones */
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Responsive */
  .menu-toggle {
    display: none;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }
  
    nav {
      display: none;
      width: 100%;
    }
  
    nav.show {
      display: block;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin-top: 10px;
    }
  
    .header-content {
      flex-direction: column;
    }
  
    .language-switcher {
      position: static;
      margin-top: 10px;
    }
  }
  