/* Estilos base */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
  }
  
  /* Encabezado */
  header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
  }
  
  .logo {
    width: 170px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .logo:hover {
    transform: scale(1.1);
  }
  
  nav {
    display: flex;
    gap: 20px;
  }
  
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  nav a:hover,
  nav a[aria-current="page"] {
    background-color: #3498db;
    color: #ffffff;
  }
  
  /* Menú hamburguesa móvil */
  .menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
  }
  
  /* Secciones */
  section {
    padding: 60px 20px;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  #inicio {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cloud.corferias.co/csw/modulos/Blog/Img/Blog1262.JPG');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
  }
  
  #acerca {
    max-width: 800px;
    margin: auto;
    text-align: center;
  }
  
  #acerca h3 {
    margin-top: 20px;
    color: #2c3e50;
  }
  
  #productos {
    max-width: 800px;
    margin: auto;
    text-align: center;
  }
  
  .product-carousel {
    position: relative;
    overflow: hidden;
  }
  
  .product-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .product-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
  }
  
  .product-slide.active {
    opacity: 1;
    position: relative;
  }
  
  .product-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .product-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }
  
  .product-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .product-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .product-dots {
    text-align: center;
    margin-top: 10px;
  }
  
  .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .dot.active {
    background: #3498db;
  }
  
  .cta-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .cta-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
  }
  
  /* Servicios */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .service-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
  }
  
  /* Formulario */
  form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
  }
  
  input,
  textarea {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
  }
  
  input:focus,
  textarea:focus {
    border-color: #3498db;
    outline: none;
  }
  
  textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  button {
    background-color: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
  }
  
  .form-message {
    text-align: center;
    margin-top: 10px;
    color: #27ae60;
  }
  
  /* Carrusel testimonios */
  .carousel {
    max-width: 700px;
    margin: auto;
    position: relative;
  }
  
  .slides {
    display: flex;
    overflow: hidden;
    position: relative;
    min-height: 150px;
  }
  
  .slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    text-align: center;
    padding: 20px;
  }
  
  .slide.active {
    opacity: 1;
    position: relative;
  }
  
  .controls {
    text-align: center;
    margin-top: 15px;
  }
  
  .controls button {
    background: none;
    border: none;
    font-size: 24px;
    color: #3498db;
    cursor: pointer;
    padding: 0 15px;
  }
  
  /* Mapa */
  .map-container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Footer */
  footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
  }
  
  .social-links {
    margin-top: 10px;
  }
  
  .social-links a {
    color: #ecf0f1;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: #3498db;
  }
  
  /* Botón Volver Arriba */
  #scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  #scroll-top:hover {
    background-color: #2980b9;
    transform: scale(1.1);
  }
  
  /* Animaciones */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    header {
      padding: 15px 20px;
    }
  
    .logo {
      width: 80px;
    }
  
    nav {
      display: none;
      flex-direction: column;
      background-color: #2c3e50;
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      padding: 10px 0;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
  
    nav.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  
    nav a {
      padding: 15px;
      text-align: center;
    }
  
    #inicio {
      padding: 80px 20px;
    }
  
    #acerca, #productos {
      padding: 40px 20px;
    }
  
    .product-slide img {
      max-height: 300px;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
    }
  }