* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

main {
  width: 100%;

}


html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #04000e;
  color: #5d4037;
}

a:focus, button:focus, input:focus {
  outline: 2px dashed #c2185b;
  outline-offset: 2px;
}

button {
 
  background-color: #c2185b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ================================
   TYPOGRAPHY
================================ */
h1 { font-family: 'Dancing Script', cursive; }
h2, h3 { font-family: 'Dancing Script', cursive; color: #c2185b; }
h2 { text-decoration: underline; }
h4.section-title {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}
.section-title {
  text-align: center;
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  /**background-image: url('images/prueva.webp');**/
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  background-color: #5a112f;
  padding: 1rem;

}

.logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

nav ul {
  list-style: none;
  gap: 1.5rem;
  color: white;
}

nav li {
  background-color: #38212a;
  border-radius: 15px;
  font-weight: bold;
  padding: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.mobile-nav.visible {
  right: 0;
}

nav a:hover {
  border: 1px solid white;
  border-radius: 5px;
  padding: 5px;
}

/* ================================
   HAMBURGUESA MENU
================================ */
#abrir {
  display: block;
  font-size: 2rem;
  background: none;
  border: none;
  color: #c2185b;
  cursor: pointer;
  z-index: 1001;
}

#cerrar {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}



/* Animación cuando está activo */


/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(56, 33, 42, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: right 0.3s ease-in-out;
  z-index: 1001;
}



.mobile-nav ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav ul li {
  margin: 1rem 0;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  transition: color 0.3s;
}

.mobile-nav ul li a:hover { color: #f8bbd0; }

/* ================================
   HERO SECTION
================================ */
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  overflow: hidden;
  margin-top: 1rem;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
max-width: 770px;
max-height: 451px;
overflow: hidden;
border: 1px solid #ccc;
margin: 0 auto;

}

#hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene la relación de aspecto y cubre todo el contenedor */
}

/* El "recuadro con ondulaciones" se crea con un pseudo-elemento */
#hero-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1; /* Coloca el borde ondulado sobre la imagen */
}


.custom-shape-divider-bottom-1779736248 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1779736248 svg {
    position: relative;
    display: block;
    width: calc(132% + 1.3px);
    height: 98px;
}

.custom-shape-divider-bottom-1779736248 .shape-fill {
    fill: #FFFFFF;
}

/*
.hero-img {
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit:fill;

}




*/



.overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(194, 24, 91, 0.5);
  padding: 2rem;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  max-width: 700px;
  color: white;
  text-align: center;
}

.hero-text h1 {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: white;
  color: #c2185b;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover { background-color: #f8bbd0; }

/* ================================
   CONTENT SECTIONS
================================ */
.container {
  max-width: 1300px;
  margin: 0 auto;
  background-color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.box {
  display: flex;
  justify-items: center;
  background-color: #fff8f5;
}

.featured-products {
  text-align: center;
  padding: 2rem;
  background-color: #fff8f5;
}

.featured { padding: 20px; background-color: #fdeef2; }

.seasonal-specials {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #fff8f5;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#subscribe-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#subscribe-form input[type="email"] {
  padding: 0.5rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.about-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
  background-color: #fff8f5;
}

.about-contact h2 { color: #c2185b; }

.about, .contact {
  border: solid 1px #ccc;
  border-radius: 5px;
  border-style: outset;
  padding: 20px;
  background-color: #fff8f5;
  text-align: center;
}

.experience-section { background-color: #080808; }

.map {
  background-color: #080808;
  display: flex;
  justify-content: center;
}

/* ================================
   PRODUCT CARDS
================================ */
.item-card, .items-card {
  justify-content: center;
  background-color: white;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.item-card:hover { transform: translateY(-5px); }

.item-card img {
  width: 150px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.items-card img {

  object-fit: cover;
  border-radius: 8px;
}

.item-card h3 { margin-top: 0.75rem; color: #c2185b; }
.item-card p { font-size: 0.95rem; color: #5d4037; }
.item-card strong { display: block; margin-top: 0.5rem; color: #c2185b; font-size: 1.1rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-items: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}


/* ================================
   VIDEO SECTION
================================ */
.videos-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.video-container {
  flex: 1 1 45%;
  max-width: 500px;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ================================
   SUBSCRIBE SECTION
================================ */
.subscribe-section {
  background-image: url('images/semita2.webp');
  background-size: cover;
  background-position: center;
  height: 50vh;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  border: 1px solid #cce3f2;
}

.subscribe-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(83, 83, 83, 0.65);
  z-index: 1;
}

.subscribe-section * { position: relative; z-index: 2; }
.subscribe-section p { margin-bottom: 1rem; font-size: 1rem; }
.privacy-note { font-size: 0.9em; margin-top: 15px; }

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscribe-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subscribe-form input[type="email"] {
  padding: 0.5rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button:hover {
     transform: scale(1.1);
}


/* ================================
   FOOTER
================================ */
footer {
  text-align: center;
  padding: 20px;
  background-color: #38212a;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  margin: 0 auto;
}

.social-icons {
  display: flex;
  justify-content: right;
  gap: 2rem;
}

.social-icons img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-icons img:hover { transform: scale(1.1); }

  header, footer {

  text-align: center;
  align-items: center;
}

.container,
.hero,
.overlay,
.about-contact,
.seasonal-specials,
.footer-content {
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}  

.about-contact {
  grid-template-columns: 1fr;
}



/* ================================
   CARRUSEL (solo visible <700px)
================================ */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: none; /* Oculto por defecto */
}

.carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: auto;
  border-radius: 0px;
}

/* Botones */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-1%);
  background-color: rgba(194, 24, 91, 0.7);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(194, 24, 91, 1);
}

.prev { left: 1px; }
.next { right: 1px; }


/* ================================
   MEDIA QUERIES
================================ */




/* Large screens */
@media (min-width: 700px) {


 header, footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .about-contact {
    grid-template-columns: repeat(2, 1fr);
  }

.container {
  max-width: 1300px;
  margin: 0 auto;
  background-color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


  #logo { display: block; }



#abrir {  display: none;}
#cerrar {  display: none;}

  .mobile-nav {
    display: flex;
    position: static;
    transform: none;
    height: auto;
    flex-direction: row;
    background: none;
    width: auto;
    justify-content: flex-end;
  }

.mobile-nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  transition: color 0.3s;
}




li a:hover { color: #f8bbd0; }
  nav ul {
  color: white;
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

button {
 
  background-color: #c2185b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

nav li {
    background-color: #38212a;
    border-radius: 15px;
    font-weight: bold;
    padding: 10px;
}

  .about-contact {
    flex-direction: row;
  }
  .item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

  }





}




/* Medium screens */
@media (max-width: 1200px) {
  .container, .seasonal-specials { }




}

@media (max-width: 992px) {
  header { justify-content: space-between; align-items: center; padding: 10px 20px; background-color: #c2185; border-style: groove; }
  nav ul {font-size: 0.9rem;align-items: center;gap: 0.75rem;padding: 1rem 0;}
  .logo { width: 120px; height: 120px; margin-bottom: 1rem; }
  .about-contact { grid-template-columns: 1fr; max-width: 850px; text-align: center; justify-content: center;}
  .video-container { flex: 1 1 50%; max-width: 50%; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .overlay { padding: 1rem; }
  .item-card img, .items-card img { width: 100%; height: auto; justify-content: center; }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

  .footer-content { text-align: center; }
  .social-icons { justify-content: center; margin-top: 1rem; }
.product-grid {

  gap: 20px;}

  .products-grid { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 



}



@media (max-width: 768px) {
  .hero { height: auto;flex-direction: column; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 1rem; }
  .subscribe-section { height: auto; padding: 2rem 1rem; }
  .subscribe-form input[type="email"] { width: 100%; max-width: 100%; }
  .box { flex-direction: column; align-items: center; }
  .nav li { width: 100%; }


}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2, h3, h4.section-title { font-size: 1.4rem; }
  .btn { padding: 0.5rem 1rem; font-size: 1rem; }
  .item-card {padding: 1.75rem;}
  .social-icons { gap: 1rem; }

  .carousel-container { display: block; }
  .product-grid { display: none; } /* Oculta el grid normal */



}

  