* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= HEADER ================= */

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow-x: hidden;
}

.wrapper {
  background-image: url("/imagenes/pexels-fotios-photos-34133957.jpg"); /* fondo panadería */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.liquid-glass-button {
  cursor: pointer;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.liquid-glass-button:hover {
  transform: scale(1.2);
}

.liquid-glass-button .inner {
  border-radius: 2rem;
  backdrop-filter: blur(3px);
  padding: 1rem 2rem;
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.4),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.4);
}

/* ============ MENÚ SUPERIOR TRANSPARENTE ============ */
.menu {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}

.menu .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.menu .navbar-brand {
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.menu .nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu .nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu .nav-link:hover {
  color: #fdd835;
}

.social-icons a {
  color: white;
  margin-left: 10px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fdd835;
}

/* Menú hamburguesa */
.menu-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.menu-icon span {
  height: 3px;
  background: #e91e63;
  border-radius: 3px;
}

/* ================= SLIDER ================= */

main {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #111; /* Fondo oscuro */
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}

.item {
  width: 200px;
  height: 300px;
  list-style-type: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

/* Esto va fuera */
.item:not(:nth-child(1)):not(:nth-child(2)) {
  opacity: 0.6;
  filter: brightness(0.8);
}

.item:nth-child(1),
.item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.item:nth-child(3) { left: 50%; }
.item:nth-child(4) { left: calc(50% + 220px); }
.item:nth-child(5) { left: calc(50% + 440px); }
.item:nth-child(6) { left: calc(50% + 660px); opacity: 0; }

.content {
  width: min(30vw,400px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  opacity: 0;
  display: none;
}

.content .title {
  font-family: 'arial-black';
  text-transform: uppercase;
}

.content .description {
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  font-size: 0.8rem;
}

.content button {
  width: fit-content;
  background-color: rgba(0,0,0,0.1);
  color: white;
  border: 2px solid white;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
}

.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
}

.nav .btn {
  background-color: rgba(255,255,255,0.5);
  color: rgba(0,0,0,0.7);
  border: 2px solid rgba(0,0,0,0.6);
  margin: 0 0.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
}

.nav .btn:hover {
  background-color: rgba(255,255,255,0.3);
}

/* RESPONSIVE */
@media (width > 650px) and (width < 900px) {
  .content .title { font-size: 1rem; }
  .content .description { font-size: 0.7rem; }
  .content button { font-size: 0.7rem; }
  .item { width: 160px; height: 270px; }
  .item:nth-child(4) { left: calc(50% + 170px); }
  .item:nth-child(5) { left: calc(50% + 340px); }
  .item:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
}

@media (width < 650px) {
  .content .title { font-size: 0.9rem; }
  .content .description { font-size: 0.65rem; }
  .content button { font-size: 0.7rem; }
  .item { width: 130px; height: 220px; }
  .item:nth-child(4) { left: calc(50% + 140px); }
  .item:nth-child(5) { left: calc(50% + 280px); }
  .item:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
}

.wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
}

/* ======= DIVIDER ANIMADO CONTINUO ======= */
.divider {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
  padding: 10px 0;
}

.marquee {
  display: flex;
  width: 200%;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4rem;
  white-space: nowrap;
}

.marquee-content li {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #00137f;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.marquee-content i {
  font-size: 1.2rem;
  color: #00137f;
}

/* 🔁 Animación continua */
@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sombra suave en los bordes */
.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.divider::before {
  left: 0;
  background: linear-gradient(to right, #fff 40%, transparent);
}

.divider::after {
  right: 0;
  background: linear-gradient(to left, #fff 40%, transparent);
}

/* ====== SECCIÓN "NUESTRA PASIÓN ARTESANAL" ====== */
.about-section {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  gap: 3rem;
}

.about-text {
  flex: 1 1 500px;
  text-align: left;
}

.about-text h2 {
  font-family: 'Abril Fatface', serif;
  font-size: 2.5rem;
  color: #00137f;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.about-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.btn-about {
  background-color: #00137f;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.btn-about:hover {
  background-color: #4058c4;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ====== SECCIÓN PRODUCTOS DE CALIDAD ====== */
.quality-section {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 2px solid #eee;
}

.quality-container {
  max-width: 1200px;
  margin: 0 auto;
}

.quality-section .subtitle {
  font-family: 'Pacifico', cursive;
  color: #c5a23e;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quality-section .title {
  font-family: 'Abril Fatface', serif;
  color: #00137f;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.quality-section .description {
  font-family: 'Roboto', sans-serif;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* Grid de íconos */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.quality-item {
  background: #fff6f3;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-5px);
}

.quality-item i {
  font-size: 2rem;
  color: #00137f;
  margin-bottom: 1rem;
}

.quality-item p {
  font-family: 'Roboto', sans-serif;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ====== DISTINCIONES ====== */
.awards {
  background-color: #fff6f3;
  margin-top: 3rem;
  padding: 3rem 2rem;
}

.awards-subtitle {
  font-family: 'Pacifico', cursive;
  color: #00137f;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.awards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.award h4 {
  font-family: 'Abril Fatface', serif;
  font-size: 2rem;
  color: #c5a23e;
  margin-bottom: 0.5rem;
}

.award:nth-child(2) h4 {
  color: #d25b73;
}

.award:nth-child(3) h4 {
  color: #00137f;
}

.award p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #333;
  text-transform: uppercase;
}

/* SOBRE NOSOTROS */
.sobre-nosotros {
  background: #1d3a8a;
  color: white;
  padding: 6rem 2rem; /* más alto */
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
}

.sobre-img img {
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sobre-texto {
  max-width: 500px;
  text-align: left;
}

.sobre-texto h2 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.sobre-texto h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.btn-sobre {
  display: inline-block;
  margin-top: 1rem;
  background: white;
  color: #1d3a8a;
  padding: 0.8rem 2.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-sobre:hover {
  background: #eaeaea;
}

/* RESEÑAS */
.resenas {
  background: #f8f9fa;
  text-align: center;
  padding: 6rem 2rem 8rem;
}

.resenas h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #1d3a8a;
}

.resenas .subtitulo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.resenas .descripcion {
  font-style: italic;
  color: #777;
  margin-bottom: 40px;
}

.resena-carrusel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resenas-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.resenas-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.resena {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 2rem;
  margin: 0 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.resena p.comilla {
  font-size: 2rem;
  color: #1d3a8a;
  margin-bottom: 1rem;
}

.resena .autor {
  margin-top: 1rem;
  font-weight: 600;
}

.flecha {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #1d3a8a;
  padding: 0.5rem 1rem;
  transition: 0.3s;
}

.flecha:hover {
  transform: scale(1.2);
  color: #4058c4;
}

/* FOOTER */
.footer {
  background: #f9f9f9;
  color: #333;
  text-align: center;
  padding: 5rem 2rem; /* más alto */
}

.footer-contenido {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 3rem;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 0.5rem;
}

.footer-logo h4 {
  margin-top: 0.8rem;
  font-weight: bold;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copy {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  color: #666;
}

.fa-instagram {
  color: #1d3a8a;
  font-size: 1.8rem;
  margin-top: 0.8rem;
}

/* 🟢 BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 50;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
/* === NAVBAR === */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  z-index: 100;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu li a:hover {
  color: #ffd700;
}

.navbar-social {
  display: flex;
  gap: 1rem;
}

.navbar-social a {
  color: #fff;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-social a:hover {
  transform: scale(1.2);
  color: #25D366; /* color de WhatsApp */
}

.navbar-social a:last-child:hover {
  color: #E1306C; /* color Instagram */
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
  }

  .navbar-social {
    margin-top: 1rem;
  }
}
.carrito-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}
#lista-carrito {
  max-width: 400px;
  margin: 20px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
}
.item-carrito {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1rem;
}
#btn-pagar {
  background: #00137f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
#btn-pagar:hover {
  background: #4058c4;
}
