body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.hero {
    height: 100vh;
    background: url('../images') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    margin: 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s forwards ease-out;
}

p {
    font-size: 1.5rem;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s forwards ease-out 0.5s;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s forwards ease-out 1s;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 500px; /* Mueve los botones un poco a la izquierda */
}

.btn:hover {
    background: #cc5200;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos del menú de navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: medium;
    background: #fa1a1a;
    padding: 15px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ff6600;
}

/* Estilos del menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsivo: Menú hamburguesa en móviles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/*estilos de logo*/

.logo img {
    height: 200px; /* Ajusta la altura según necesites */
    width: auto; /* Mantiene la proporción */
    object-fit: contain; /* Asegura que la imagen no se deforme */
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.5)); /* Efecto 3D sutil */
    transition: transform 0.3s ease, filter 0.3s ease; /* Transición suave */
}

.logo img:hover {
    transform: scale(1.1); /* Hace que el logo sobresalga al pasar el mouse */
    filter: drop-shadow(6px 6px 10px rgba(0, 0, 0, 0.7)); /* Aumenta el efecto 3D */
}

/* Asegurar que el encabezado tenga suficiente altura */
.navbar {
    padding: 15px 30px;
    height: 50px; /* Ajusta la altura del encabezado */
    display: flex;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .logo img {
        height: 200px; /* Reduce el tamaño en pantallas pequeñas */
    }
}

/* --- CARRUSEL --- */
.carousel {
    position: relative;
    max-width: 90%;
    overflow: hidden;
}

/* Contenedor de las imágenes */
.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Estilos de cada slide */
.slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .prev, .next {
        font-size: 18px;
        padding: 8px 12px;
    }
}


footer {
    background: linear-gradient(145deg, #222222, #333333); /* Fondo elegante con degradado */
    color: #e0e0e0;
    padding: 60px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    border-top: 5px solid #B8B8B8; /* Borde superior gris suave */
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path/to/your/subtle-texture.png') repeat;
    opacity: 0.05; /* Textura sutil */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alineación de los elementos en la parte superior */
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.footer-logo {
    width: 220px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 40px; /* Separación de la derecha */
}

.footer-logo img {
    width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Efecto de sombra suave */
}

.footer-logo p {
    font-size: 14px;
    color: #B8B8B8;
    margin-top: 10px;
}

.footer-links, .footer-contact, .footer-social {
    max-width: 280px;
    padding: 20px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: #B8B8B8; /* Gris suave */
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.footer-links ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-links ul li i {
    margin-right: 10px; /* Espacio entre íconos y texto */
    font-size: 18px;
    color: #E50914; /* Color del ícono */
}

.footer-links ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: #A8A8A8; /* Gris metálico */
    transform: translateX(5px); /* Desplazamiento suave */
}

.footer-contact p {
    font-size: 15px;
    margin: 10px 0;
    color: #B8B8B8;
}

.footer-contact i {
    margin-right: 10px; /* Espacio entre íconos y texto */
    color: #E50914;
    font-size: 18px;
}

.footer-social a {
    font-size: 30px; /* Aumentar tamaño de los íconos */
    margin-right: 20px;
    color: #e0e0e0;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.3);
    color: #A8A8A8; /* Gris metálico */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); /* Sombra luminosa */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #B8B8B8;
    border-top: 1px solid #444;
    padding-top: 20px;
}


/* Estilos generales del encabezado */
.header {
    background-color: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Contenedor principal */
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo */
  .logo {
    flex: 1;
    min-width: 150px;
  }
  
  .logo img {
    max-width: 100%;
    height: auto;
  }
  
  /* Navegación principal */
  .nav-main {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .nav-link:hover {
    color: #ef4444;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ef4444;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover::after {
    transform: scaleX(1);
  }
  
  /* Buscador */
  .search-container {
    flex: 1;
    max-width: 400px;
  }
  
  .search-form {
    display: flex;
    gap: 1rem;
    background-color: #1a1a1a;
    padding: 0.5rem;
    border-radius: 50px;
    overflow: hidden;
  }
  
  .search-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: none;
    color: #fff;
    font-size: 0.875rem;
  }
  
  .search-input::placeholder {
    color: #666;
  }
  
  .search-button {
    padding: 0.75rem 1.5rem;
    background-color: #ef4444;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-button:hover {
    background-color: #dc2626;
  }
  
  /* Acciones rápidas */
  .quick-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }
  
  .cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .cart-link:hover {
    background-color: #ef4444;
  }
  
  .cart-count {
    background-color: #ef4444;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
  }
  
  /* Menu responsive */
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s ease;
  }
  
  /* Media queries para responsive */
  @media (max-width: 768px) {
    .header .container {
      flex-direction: column;
      gap: 1rem;
    }
  
    .nav-main {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem 0;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 1rem;
    }
  
    .search-container {
      max-width: none;
      width: 100%;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    /* Menu activo */
    .nav-active {
      display: flex !important;
    }
  }


  