/* Reset básico */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Header */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
}

.logo-container {
    padding: 5px;
}

.logo {
    height: 80px;
}

.location-link {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border: 2px solid #E06287;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-link:hover {
    background-color: #f0f0f0;
    border-color: #0056b3;
}

.location-link i {
    margin-right: 8px;
    color: red;
}

/* Menú de navegación */
.main-nav {
    background-color:#52b9db;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
    border: 2px solid #ffffff;
    border-top: none;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #e0e0e0;
    border-color: #007BFF;
}

.nav-link i {
    color:#ffffff;
}

/* Contenido principal */
.main-content {
    padding: 40px 20px;
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.section .text {
    flex: 1;
    max-width: 500px;
    margin-left: 100px; /* Añade un margen de 20px a la izquierda */
}
.section .text h2 {
    margin-bottom: 15px;
    font-size: 28px;
    color: #000000;
}

.section .text p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

/* Carruseles */
.carousel {
    flex: 1;
    position: relative;
    max-width: 700px;
    height: 300px;
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius:8px;
}
/* Estilo para la imagen en la sección "Sobre Nosotros" */
/* Estilo para la imagen en la sección "Sobre Nosotros" */
.image-container {
    width: 200%;  /* Coincide con el carrusel secundario */
    max-width: 700px; /* Tamaño máximo de la imagen */
    margin: 20px auto; /* Centra la imagen y agrega margen arriba y abajo */
    text-align: left;
}

/* Estilo para la imagen */
.image-container img {
    width: 100%; /* Ajusta la imagen al contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
}

/* Carrusel de imágenes secundarios */
.carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: none;
    background-color: #fff;
}

.carousel img.active {
    display: block;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

/* Orden específico */
.about {
    flex-direction: row;
}

.products {
    flex-direction: row-reverse;
}

/* Footer */
.main-footer {
    background-color: #52b9db;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 40px;
    border-top: 2px solid #ffffff;
    flex-wrap: wrap;
}

.footer-left p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
}

.footer-left i {
    margin-right: 30px;
    color: #e06287;
}

.footer-right {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.footer-right a {
    font-size: 30px;
    color: #e06287;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #0056b3;
}
.follow-text {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

/* Estilo de los íconos de redes sociales */
.social-icons {
    display: flex; /* Usamos flexbox para alinear los íconos horizontalmente */
    justify-content: center; /* Alinea los íconos al centro */
    align-items: center; /* Alinea verticalmente los íconos */
    gap: 20px; /* Espaciado entre los íconos, ajusta el valor según lo necesario */
}

/* Estilo para los íconos de Font Awesome */
.social-icons i {
    font-size: 32px; /* Tamaño de los íconos */
    color: #ff3471; /* Color de los íconos */
    transition: transform 0.3s ease; /* Transición suave al hacer hover */
}

/* Efecto hover para agrandar los íconos */
.social-icons i:hover {
    transform: scale(1.1); /* Agrandar los íconos un 10% */
}

/* Estilo para la sección de PDFs */
.pdf-section {
    padding: 40px 20px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pdf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #007BFF;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pdf-item iframe {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    border: none;
}

.pdf-title {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Estilo del botón de descarga */
.catalogo-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    border: 2px solid #0056b3;
}

.catalogo-btn:hover {
    background-color: #0056b3;
}
.footer-label {
    background-color: white;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  }
/* Estilos para el modal */
/* Estilo del modal */
.modal {
    display: none; /* Asegura que el modal esté oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Estilo del contenido del modal */
.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 50%; /* Aumentamos el ancho del modal */
    height: 50%; /* Aumentamos la altura del modal */
    padding: 10px; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* iframe que contiene el PDF */
.modal-content iframe {
    width: 100%;   /* El iframe ocupa todo el ancho del contenedor */
    height: 100%;  /* El iframe ocupa toda la altura del contenedor */
    border: none;  /* Sin bordes */
    border-radius: 6px;  /* Bordes redondeados */
}



.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
.hero-carousel {
    width: 100vw; /* ancho completo del viewport */
    margin: 0;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100vw; /* ancho total de la pantalla */
    max-height: 600px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    background-color: #fff;
}
.carousel-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* o cover si prefieres que llene */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel-container img.active {
    opacity: 1;
    z-index: 1;
}

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background-color: #e062886c;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
  }
  
  .carousel-btn.prev {
    left: 20px;
  }
  
  .carousel-btn.next {
    right: 20px;
  }
  /* Los estilos previos con la adición de los de la vista previa */
.catalogo-preview {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: cover;
}

.pdf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #007BFF;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}
/* Modal general ya existente */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Fondo oscuro semi-transparente */
    justify-content: center;
    align-items: center;
}

/* Estilo general de modals */
.modal-content {
    background: #fff;
    padding: 20px;
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* Estilo más chico solo para el modal de contacto */
.modal-content.small-modal {
    max-width: 350px;
    height: auto;
    gap: 10px;
    background-image: url('IMGS/F1.jpg'); /* Ruta de tu imagen de fondo */
    background-size: cover; /* Hace que la imagen cubra todo el fondo */
    background-position: center; /* Centra la imagen de fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

/* Estilo para el botón de cerrar */
.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo para el enlace del número de teléfono */
.footer-label a {
    display: block;
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
}

  /* Estilo general del contenedor de categorías */
.categories-container {
    text-align: center;
    margin-top: 50px;
}

.categories-container h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Estilo para la cuadrícula de categorías */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

/* Estilo para cada tarjeta de categoría */
.category-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.category-card:hover {
    transform: scale(1.05);
}

/* Estilo para la imagen de la categoría */
.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Estilo para el nombre de la categoría */
.category-card h2 {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #333;
}

/* Estilo para la descripción de la categoría */
.category-card p {
    font-size: 1rem;
    color: #777;
    margin-top: 10px;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estilo para el botón de ver productos */
.view-products-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-products-btn:hover {
    background-color: #0056b3;
}

  .productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.producto-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.producto-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}
/* Botón Detalle */
/* Estilo del botón detalle */
.detalle-btn {
    background-color: #007BFF;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;  /* Añadir margen inferior para evitar que tape contenido */
    transition: background-color 0.3s ease;
    display: inline-block;  /* Evitar que se expanda demasiado */
    white-space: nowrap;    /* Evitar que el texto se rompa */
}

/* Efecto hover para el botón */
.detalle-btn:hover {
    background-color: #0056b3;
}

/* Si el botón está dentro de un contenedor, asegúrate de que no se sobreponga */
.contenedor-btn {
    display: flex;
    justify-content: center; /* Centra el botón horizontalmente */
    align-items: center;     /* Centra el botón verticalmente si es necesario */
    margin-top: 20px;        /* Ajusta el espaciado */
}

.producto-detalle {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.producto-detalle-img {
    flex: 1;
    padding: 20px;
}

.producto-detalle-descripcion {
    flex: 2;
    padding: 20px;
    font-size: 1.2rem;
}

.producto-detalle-img img {
    width: 100%;
    max-width: 500px;
}

.producto-detalle-descripcion p {
    line-height: 1.6;
}
.tabla-variantes {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tabla-variantes th, .tabla-variantes td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.tabla-variantes th {
    background-color: #f4f4f4;
}

.producto-detalle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.producto-imagen {
    text-align: center;
    margin-bottom: 20px;
}

.producto-descripcion {
    text-align: justify;
    margin-bottom: 20px;
}

.caracteristicas-table {
    width: 80%;
    margin-top: 30px;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.caracteristicas-table th, .caracteristicas-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.caracteristicas-table th {
    background-color: #f2f2f2;
}

.regresar-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.regresar-btn:hover {
    background-color: #0056b3;
}
.producto-imagenes {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.producto-imagen {
    flex: 1;
    max-width: 100px;
}

.producto-imagen-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
/* Estilos generales para el carrusel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ancho máximo del carrusel */
    margin: 0 auto; /* Centra el carrusel en la página */
    overflow: hidden; /* Oculta las imágenes fuera del contenedor */
}

.carousel-images {
    display: flex; /* Alinea las imágenes horizontalmente */
    transition: transform 0.5s ease; /* Transición suave para mover las imágenes */
}

.carousel-item {
    width: 100%; /* Cada imagen ocupa el 100% del ancho del contenedor */
    height: auto; /* Ajusta la altura de la imagen automáticamente */
}

/* Estilos para los botones de navegación */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

button.prev, button.next {
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    color: white;  /* Color del icono */
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem; /* Tamaño del icono */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #52b9db;
  }
  @media (max-width: 768px) {
    .menu-toggle {
      display: block; /* muestra el botón hamburguesa */
    }
  
    .main-nav {
      display: none; /* oculta el menú por defecto */
      flex-direction: column;
      gap: 15px;
      background-color: #52b9db;
      width: 100%;
      padding: 10px 0;
    }
  
    .main-nav.show {
      display: flex; /* muestra el menú al hacer clic */
    }
  
    .nav-link {
      justify-content: center;
    }
  }
    