body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('assets/images/back.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Overlay oscuro */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Asegura que el contenido esté sobre el overlay */
main, header, footer {
  position: relative;
  z-index: 1;
}

/* Hero container */
.hero {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding-left: 60px;
}

/* Caja tipo cristal */
.glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Tipografía */
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero h1 span {
  color: #00b4ff;
}

.hero h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ccc;
}

/* Botón */
.cta {
  padding: 12px 24px;
  border: 2px solid #00b4ff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s ease;
}

.cta:hover {
  background-color: #00b4ff;
  color: #000;
}
.servicios {
  padding: 80px 40px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
}

.servicios h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #00b4ff;
}

.opciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 180, 255, 0.3);
}
.icono {
  font-size: 36px;
  color: white;
  margin-bottom: 16px;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(8px);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  position: relative;
}

.cerrar {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}
.ejemplo-servicio {
  padding: 80px 40px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  color: white;
}

.ejemplo-servicio h2 {
  text-align: center;
  color: #00b4ff;
  margin-bottom: 40px;
  font-size: 36px;
}

.ejemplo-contenido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.ejemplo-img {
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.3);
}

.ejemplo-info h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.ejemplo-info ul {
  list-style: none;
  padding: 0;
}

.ejemplo-info li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.ejemplo-info li::before {
  content: "🛒";
  position: absolute;
  left: 0;
}
.ejemplo-servicio {
  padding: 80px 40px;
  color: white;
  text-align: center;
  background: url('assets/images/fondo-tienda.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

.ejemplo-servicio::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.ejemplo-servicio * {
  position: relative;
  z-index: 1;
}

.subtitulo {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ccc;
}

.grid-tienda {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.producto {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 0 16px rgba(0, 180, 255, 0.2);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.producto .contenido {
  flex-grow: 1;
}

.producto:hover {
  transform: translateY(-5px);
}

.producto img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
}

.producto h3 {
  margin-bottom: 8px;
}

.producto p {
  color: #00b4ff;
  font-weight: bold;
  margin-bottom: 12px;
}

.producto button {
  background-color: transparent;
  border: 2px solid #00b4ff;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.producto button:hover {
  background-color: #00b4ff;
  color: black;
}
#carrito-icono {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid #00b4ff;
  border-radius: 50%;
  padding: 16px;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,180,255,0.5);
  transition: box-shadow 0.3s;
}

#carrito-icono i {
  font-size: 20px;
  color: white;
}

#contador-carrito {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #00b4ff;
  color: black;
  border-radius: 50%;
  padding: 4px 7px;
  font-size: 12px;
  font-weight: bold;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content-carrito {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px;
  border-radius: 16px;
  color: white;
  width: 100%;
  max-width: 500px;
}

.modal-content-carrito input {
  width: 100%;
  margin: 10px 0 20px;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

.modal-content-carrito button {
  width: 100%;
  padding: 12px;
  background: #00b4ff;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cerrar-carrito {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

#lista-carrito {
  margin: 20px 0;
  text-align: left;
}
#carrito-flotante {
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 10;
}


#carrito-icono {
  position: relative;
  font-size: 28px;
  color: white;
  background: rgba(0, 180, 255, 0.15);
  border: 2px solid #00b4ff;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

#carrito-icono:hover {
  box-shadow: 0 0 12px #00b4ff;
}

#contador-carrito {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

.frutas-select {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}

.frutas-select label {
  font-size: 20px;
  cursor: pointer;
}

.input-pastel {
  margin: 8px 0;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
}

.producto.pequena {
  transform: scale(0.85);
  max-width: 220px;
  margin: 12px auto;
}


.producto.pequena img {
  height: auto;
  max-height: 140px;
}

.producto.pequena h3 {
  font-size: 16px;
}

.producto.pequena p,
.producto.pequena button,
.producto.pequena input,
.producto.pequena .frutas-select label {
  font-size: 14px;
}
#ejemplo-diseno-web {
  padding: 80px 40px;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


#ejemplo-diseno-web h2 {
  color: #00b4ff;
}

#ejemplo-diseno-web .subtitulo {
  color: #ccc;
}


.mockup-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.mockup-img:hover {
  transform: scale(1.02);
}
.item-carrito {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.item-carrito button.eliminar-item {
  background-color: transparent;
  color: red;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.item-carrito button.eliminar-item:hover {
  color: darkred;
}
.boton-secundario {
  background-color: transparent;
  color: #999;
  border: 1px solid #ccc;
  padding: 10px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.boton-secundario:hover {
  background-color: #f3f3f3;
  color: #333;
}
.mockup-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.mockup-img {
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.mockup-img:hover {
  transform: scale(1.02);
}
.image-hover-zoom {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-hover-zoom:hover {
  transform: scale(1.05);
}
.mockup-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.mockup-img {
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 1s ease, filter 0.5s ease;
}

.mockup-img.blur {
  filter: blur(4px);
  transform: scale(0.95);
  opacity: 0.7;
}

.mockup-img.focused {
  transform: scale(1.1);
  z-index: 2;
}
/* Estilo general para secciones como diseño web o responsive */
#ejemplo-responsive {
  padding: 80px 40px;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5); /* cristalino */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#ejemplo-responsive h2 {
  color: #00b4ff;
}

#ejemplo-responsive .subtitulo {
  color: #ccc;
  margin-bottom: 30px;
}

#ejemplo-responsive .responsive-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.15);
}

#ejemplo-responsive .responsive-box img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

#ejemplo-responsive .responsive-box p {
  font-size: 16px;
  color: #ccc;
}
/* --- SECCIÓN SINCRONIZACIÓN --- */
.sincronizacion-section {
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05); /* Transparente y suave */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin: 40px auto;
  max-width: 1000px;
}


.contenedor-simulacion {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.simulador-web {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  min-height: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: left;
}

/* Estilo celular para .simulador-app */
.simulador-app {
  background: white;
  padding: 20px 20px 60px; /* espacio extra para botones inferiores */
  border-radius: 40px;
  width: 280px;
  min-height: 500px;
  box-shadow: inset 0 0 0 4px #ccc, 0 20px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ccc;
}

/* Simula el notch o parlante superior */
.simulador-app::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #333;
  border-radius: 10px;
  opacity: 0.25;
  z-index: 1;
}

/* Botonera inferior tipo móvil */
.barra-inferior {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  border-top: 1px solid #ddd;
  background: #f8f8f8;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 0 0 40px 40px;
}

.barra-inferior button {
  background: none;
  border: none;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}

.barra-inferior button:hover {
  color: #00bcd4;
}


/* Títulos */
.simulador-web h3,
.simulador-app h3 {
  text-align: center;
  color: #00bcd4;
}

/* Listas */
ul, #lista-eventos, #notificaciones {
  margin: 15px 0;
  padding-left: 20px;
}

ul li, #lista-eventos li, #notificaciones li {
  margin-bottom: 10px;
}

/* Botón */
#crear-evento {
  display: block;
  margin: 0 auto;
  padding: 10px 15px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

#crear-evento:hover {
  background-color: #0097a7;
}

/* Animación para nuevos elementos */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-simulacion {
    flex-direction: column;
    align-items: center;
  }
}
.simulador-app,
.simulador-app h3,
.simulador-app ul,
.simulador-app li {
  color: #333; /* texto oscuro para buena visibilidad */
}

.simulador-app li {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  font-size: 15px;
}
.simulador-web,
.simulador-web h3,
.simulador-web label,
.simulador-web select,
.simulador-web input,
.simulador-web ul,
.simulador-web li {
  color: #333;
}

/* Mejora visual para inputs y selects */
.simulador-web select,
.simulador-web input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 15px;
}

/* Estilo para items en lista de pedidos */
.simulador-web li {
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
  font-size: 15px;
}
.app-header {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
  padding-top: 10px;
}

.notificaciones-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notificacion-burbuja {
  background: #e0f7fa;
  color: #333;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease;
}
/* Contenedor general de la simulación */
.contenedor-simulacion {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------------- Simulador Web ---------------- */
.simulador-web {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  min-height: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: left;
  color: #333;
}

.simulador-web h3 {
  text-align: center;
  color: #00bcd4;
}

.simulador-web label,
.simulador-web select,
.simulador-web input,
.simulador-web ul,
.simulador-web li {
  color: #333;
}

.simulador-web select,
.simulador-web input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 15px;
}

.simulador-web li {
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
  font-size: 15px;
}

/* ---------------- Simulador App tipo celular ---------------- */
.simulador-app {
  background: white;
  padding: 20px 20px 60px; /* espacio extra para barra inferior */
  border-radius: 40px;
  width: 280px;
  min-height: 500px;
  box-shadow: inset 0 0 0 4px #ccc, 0 20px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ccc;
  color: #333;
}

/* Notch superior */
.simulador-app::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #333;
  border-radius: 10px;
  opacity: 0.25;
  z-index: 1;
}

/* Título del encabezado de la app */
.app-header {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
  padding-top: 10px;
}

/* Contenedor de notificaciones */
.notificaciones-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px 10px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notificacion-burbuja {
  background: #e0f7fa;
  color: #333;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Barra inferior estilo app */
.barra-inferior {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  border-top: 1px solid #ddd;
  background: #f8f8f8;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 0 0 40px 40px;
}

.barra-inferior button {
  background: none;
  border: none;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}

.barra-inferior button:hover {
  color: #00bcd4;
}

/* Listas generales */
ul, #lista-eventos, #notificaciones {
  margin: 15px 0;
  padding-left: 20px;
}

ul li,
#lista-eventos li,
#notificaciones li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  font-size: 15px;
}

/* Botón Crear Evento */
#crear-evento {
  display: block;
  margin: 0 auto;
  padding: 10px 15px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

#crear-evento:hover {
  background-color: #0097a7;
}

/* Animación entrada */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-simulacion {
    flex-direction: column;
    align-items: center;
  }
}
html {
  scroll-behavior: smooth;
}
.imagen-preview {
  margin-top: 15px;
  max-width: 100%;
  border-radius: 8px;
}
.hidden {
  display: none;
}
.footer {
  background: #0a0a0a;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid #222;
}

.footer-content {
  max-width: 800px;
  margin: auto;
}

.footer .redes-sociales {
  margin-top: 10px;
}

.footer .redes-sociales a {
  color: #00bcd4;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer .redes-sociales a:hover {
  color: #ffffff;
}
.calificacion {
  background: #f2f2f2;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.calificacion h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.estrellas i {
  font-size: 2rem;
  color: #ccc;
  margin: 0 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.estrellas i.seleccionada,
.estrellas i:hover {
  color: #ffc107;
}

#mensaje-calificacion {
  margin-top: 15px;
  color: #555;
  font-size: 1rem;
}
.boton-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.2s ease;
}
.boton-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #25D366;
}
.boton-whatsapp i {
  font-size: 20px;
}
