
@import "tailwindcss";
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  
}

#barraPromo {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: #0b0b0b;
  padding: 2px;
  text-align: center;
  width: 100%;

}
#promoText {
  color: #fff;
  font-size: 12px;
  opacity: 1;
  transition: opacity 0.5s ease; /* transición suave */
}



.navbar {
  top: 30px; 
  transition: top 0.3s ease;
  position: fixed;      
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1); 
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 1rem;
  z-index: 1000;        /* Siempre encima de todo */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo img {
  width: 250px;   /* ancho deseado */
  height: auto;   /* mantiene proporción */
}

.nav-links{
  display: none;
}
.nav-links a {

  color: #333;
  font-size: 16px;
  font-weight: 600; /* más grueso para destacar */
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;

}
.nav-links a:hover {
  color: #0077ff;
  
}


.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajusta el video al contenedor */
  z-index: -1; /* detrás del contenido */
}


.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/src/images/modelo1.jpg");
  background-size:cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 27, 0.4);
}


.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.frase_bienvenbida{
    color: rgb(255, 255, 255);
    font-weight: 300;
    text-align:center;
}

.btn-hero {
  display: inline-block;
  padding: 12px 12px;
  border: 2px solid white;
  border-radius: 30px; /* redondeado */
  background: transparent; /* sin fondo */
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero:hover {
  transform: scale(1.05); /* crece un poco */
  background: rgba(255, 255, 255, 0.1); /* opcional: leve fondo al pasar el mouse */
}



@media (min-width: 768px) {
  .hero-content {
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 20px;
    padding-left: 20px;
    
  }
}

.container_sombreros{

  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
  flex-wrap: wrap;
  width: 100%;  
  gap: 8px;       
}
.card {
  
  display: block;
  width: 180px; /* ajusta según tu diseño */
  overflow: hidden;
  position: relative;
  text-decoration: none;
  border-radius: 12px; /* esquinas redondeadas */
  box-shadow: 0 1px 5px rgba(0,0,0,0.15); /* sombra suave */
  background: #fff; /* fondo limpio */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  gap: 50px;

}
/* Desktop: aparece en hover */
@media (min-width: 768px) {
  .card {

  display: block;
  width: 100px;
  overflow: hidden;
  position: relative;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}
}


.card-img{
  width: 100%; 
  height: 100%;              
  overflow: hidden; 
  position: relative;
  display: block;

}

.card img {
  width: 100%;
  transition: transform 0.4s ease; 
}

.card:hover img{
 transform: scale(1.10);
}



.navbar.scrolled {
  backdrop-filter: blur(12px); /* más blur al bajar */
  box-shadow: 0 10px 15px rgba(0,0,0,0.15); /* sombra ligera */
}




.scroll-section {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
}


.divisor {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 5px auto;
}

.envios h3{

font-weight: 300;
text-align: center;
margin:0;
}


.scroll-content {
  display: flex;
  gap: 20px;
  animation: scroll-infinito 12s linear infinite;
  width: max-content;
  margin: 0;
}

.scroll-content img {
  width: 170px;       
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(1.0) contrast(1.2);}

/* Animación continua */
@keyframes scroll-infinito {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* -50% porque el contenido está duplicado */
  }
}

.card-body h3 , .card-body p{


  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #0b0b0b;
  font-size: small;
  align-items: center;

}

.label1{

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}



.label1 h3,
.label1 h4 {
  
  margin: 1px 0;
  font-weight: 300; 
}


.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  height: 100vh;
}

.img1 {
  grid-column: 1 / 3; /* columna 1 */
  grid-row: 1 / 3;    /* ocupa las 2 filas */
}

.img2 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.img3 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}




/* new design */


.card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px); /* se eleva al pasar el mouse */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Wrapper de la imagen para posicionar la etiqueta */
.card-img-wrapper {
  position: relative; 
  width: 100%;
}

.card-img-wrapper img {
  width: 100%;
  object-fit:contain;
  display: block;
}

.etiqueta {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-body h3 {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 auto;
}

.card-body p {
  text-align: center;
  font-size: 10px;
  color: #888;
  margin: 1px 0;
}

/* Botón elegante */
.btn-ver-mas {
  margin-top: 6px;
  padding: 10px 0;
  width: 100%;
  background: transparent;
  border: 1.5px solid #1a1a1a;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-ver-mas:hover {
  background: #1a1a1a;
  color: #fff;
}

