/* ===== ESTILOS GENERALES ===== */
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }
  
  html, body {
      height: 100%;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      overflow-x: hidden;
  }
  
  body {
      display: flex;
      flex-direction: column;
      background-color: #f5f5f5;
      color: #333;
  }
  
  /* ===== BARRA SUPERIOR DE INFORMACIÓN ===== */
  .container_information {
      width: 100%;
      height: 40px;
      padding: 0 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #c0c0c0;
      background-color: #fff;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1002;
  }
  
  .container_redes {
      display: flex;
      align-items: center;
      border-right: 1px solid #c0c0c0;
      padding-right: 15px;
  }
  
  .container_redes a {
      margin-right: 10px;
      color: #6b6b6b;
      transition: color 0.3s;
  }
  
  .container_redes a:hover {
      color: #ff9800;
  }
  
  .container_contact a {
      color: #000;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      margin-left: 10px;
      transition: all 0.3s;
  }
  
  .container_contact a:hover {
      border-bottom-color: #000;
  }
  
  .container_contact .fa-solid {
      margin-right: 5px;
  }
  
  /* ===== HEADER ===== */
  header {
      width: 100%;
      height: 70px;
      padding: 10px 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #ddd;
      background: #fff;
      position: fixed;
      top: 40px;
      left: 0;
      z-index: 1001;
  }
  
  .container_logo img {
      height: 60px;
      margin-left: 20px;
  }
  
  .menu-toggle {
      background: none;
      border: none;
      color: #333;
      font-size: 24px;
      cursor: pointer;
      z-index: 1600;
  }
  
  /* ===== MENÚ LATERAL ===== */
  .sidebar {
      width: 260px;
      background: #333;
      color: white;
      position: fixed;
      top: 110px;
      left: -260px;
      height: calc(100vh - 110px);
      overflow-y: auto;
      transition: left 0.3s ease;
      z-index: 1500;
  }
  
  .sidebar.open {
      left: 0;
  }
  
  .sidebar .menu {
      display: flex;
      flex-direction: column;
      padding: 20px;
      opacity: 1;
      transition: opacity 0.3s;
  }
  
  .sidebar .menu a {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
      color: white;
      text-decoration: none;
      padding: 12px 0;
      transition: background-color 0.3s;
  }
  
  .sidebar .menu a:hover {
      background-color: rgba(255, 255, 255, 0.1);
  }
  
  .sidebar .menu i {
      width: 24px;
      text-align: center;
  }
  
  /* ===== OVERLAY ===== */
  .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1400;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
  }
  
  .sidebar.open ~ .sidebar-overlay {
      opacity: 1;
      visibility: visible;
  }
  
  /* ===== CONTENIDO PRINCIPAL ===== */
  .main-content {
      flex: 1;
      margin-left: 0;
      margin-top: 110px;
      padding: 30px;
      transition: margin-left 0.3s ease;
  }
  
  .main-content.shrink {
      margin-left: 260px;
  }
  
  .projects-container {
      max-width: 1200px;
      margin: 0 auto;
  }
  
  .projects-container h1 {
      color: #2c3e50;
      margin-bottom: 15px;
      font-size: 2.5rem;
  }
  
  .projects-container .subtitle {
      color: #666;
      margin-bottom: 30px;
      font-size: 1.2rem;
      font-weight: normal;
  }
  
  .tabs {
      display: flex;
      margin-bottom: 2rem;
      border-bottom: 1px solid #ddd;
      gap: 5px;
  }
  
  .tab-button {
      padding: 12px 24px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      font-size: 1rem;
      color: #666;
      transition: all 0.3s;
      position: relative;
      bottom: -1px;
  }
  
  .tab-button:hover {
      color: #333;
  }
  
  .tab-button.active {
      border-bottom-color: #ff9800;
      color: #ff9800;
      font-weight: bold;
  }
  
  .tab-content {
      display: none;
      animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  .project-card {
      display: flex;
      gap: 30px;
      margin-bottom: 30px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .project-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }
  
  .project-card img {
      width: 300px;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s;
  }
  
  .project-card:hover img {
      transform: scale(1.03);
  }
  
  .card-content {
      padding: 25px;
      flex: 1;
  }
  
  .card-content h3 {
      margin-bottom: 10px;
      color: #2c3e50;
      font-size: 1.5rem;
  }
  
  .card-content p {
      margin-bottom: 20px;
      color: #555;
      line-height: 1.6;
  }
  
  .btn {
      display: inline-block;
      padding: 10px 20px;
      background-color: #ff9800;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1rem;
      transition: all 0.3s;
      text-decoration: none;
  }
  
  .btn:hover {
      background-color: #e68900;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* ===== MODAL ===== */
  .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.9);
      z-index: 1050;
      overflow-y: auto;
  }
  
  .modal-content {
      background-color: #fff;
      margin: 5% auto;
      padding: 30px;
      width: 80%;
      max-width: 900px;
      border-radius: 8px;
      box-shadow: 0 5px 25px rgba(0,0,0,0.3);
      position: relative;
      animation: modalFadeIn 0.4s ease;
  }
  
  @keyframes modalFadeIn {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  .close {
      position: absolute;
      top: 20px;
      right: 25px;
      font-size: 1.8rem;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
  }
  
  .close:hover {
      color: #333;
  }
  
  .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 15px;
      margin: 25px 0;
  }
  
  .gallery img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s;
  }
  
  .gallery img:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .modal-details {
      margin-top: 25px;
  }
  
  .modal-details h3 {
      color: #2c3e50;
      margin-bottom: 15px;
      padding-bottom: 8px;
      border-bottom: 2px solid #3498db;
  }
  
  .modal-details ul {
      padding-left: 20px;
      margin-bottom: 20px;
  }
  
  .modal-details li {
      margin-bottom: 8px;
      line-height: 1.6;
  }
  
  /* ===== FOOTER ===== */
  .footer {
      background-color: #222;
      color: white;
      padding: 40px 0 0;
      margin-top: auto;
  }
  
  .footer-container {
      display: flex;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      flex-wrap: wrap;
  }
  
  .footer-section {
      flex: 1;
      min-width: 250px;
      margin-bottom: 30px;
      padding: 0 15px;
  }
  
  .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #2585d3;
      display: inline-block;
  }
  
  .footer-section p, 
  .footer-section a {
      color: #bbb;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.3s;
  }
  
  .footer-section a {
      text-decoration: none;
  }
  
  .footer-section a:hover {
      color: #2585d3;
  }
  
  .footer-section ul {
      list-style: none;
  }
  
  .footer-section ul li {
      margin-bottom: 10px;
  }
  
  .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 15px;
  }
  
  .social-icons a {
      font-size: 20px;
      color: #fff;
  }
  
  .social-icons a:hover {
      color: #2585d3;
  }
  
  .footer-bottom {
      text-align: center;
      padding: 20px;
      border-top: 1px solid #444;
      margin-top: 30px;
      font-size: 0.9rem;
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 768px) {
      .container_information {
          height: auto;
          padding: 10px 15px;
          flex-wrap: wrap;
      }
  
      .container_redes {
          border-right: none;
          padding-right: 0;
          margin-bottom: 5px;
      }
  
      header {
          height: 60px;
          padding: 10px 15px;
          top: 40px;
      }
  
      .container_logo img {
          height: 50px;
          margin-left: 10px;
      }
  
      .sidebar {
          width: 250px;
          left: -250px;
          top: 100px;
          height: calc(100vh - 100px);
          transition: left 0.3s ease;
      }
  
      .sidebar.open {
          left: 0;
      }
  
      .main-content,
      .main-content.shrink,
      .footer,
      .footer.shrink {
          margin-left: 0;
      }
  
      .tabs {
          flex-wrap: wrap;
          gap: 8px;
          justify-content: center;
      }
  
      .project-card {
          flex-direction: column;
          align-items: center;
      }
  
      .project-card img {
          width: 100%;
          height: auto;
      }
  
      .card-content {
          padding: 20px;
      }
  
      .gallery {
          grid-template-columns: 1fr;
      }
  
      .footer-container {
          flex-direction: column;
          align-items: center;
          padding: 0 15px;
      }
  
      .footer-section {
          text-align: center;
          margin-bottom: 20px;
      }
  }
