/* General reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

/* Barra Superior */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/*.menu-toggle {
  font-size: 24px;
  cursor: pointer;
}*/

/* Variables de diseño */
:root {
  --menu-bg: #fff;
  --menu-fg: #333;
  --menu-shadow: rgba(0, 0, 0, 0.2);
  --menu-width: 250px;
  --transition-speed: 0.3s;
}

/* Estilo del menú desplegable */
.menu-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%); /* Fuera de la vista */
  transition: transform 0.3s ease-in-out; /* Transición suave */
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding-left:40px;
  padding-top:10px;
  overflow-y: auto;
}

.menu-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-dropdown ul li {
  margin: 10px 0;
}

.menu-dropdown ul button {
  background: none;
  border: none;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
  width: 100%;
}

.menu-dropdown ul button:hover {
  color: #007BFF;
}

/* Estado visible del menú */
.menu-dropdown.visible {
  transform: translateX(0); /* Dentro de la vista */
}

/* Botón toggle */
.menu-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  color: #333;
  background: none;
  border: none;
}





.logo {
  font-weight: bold;
  font-size: 20px;
}

.subscribe-btn {
  background-color: #ff3f81;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  margin-right:40px;
}

.subscribe-btn:hover {
  background-color: #e83674;
}

/* Sección de Banner y Foto de Perfil */
.banner-wrapper {
  position: relative;
  text-align: center;
}

/* Superposición del Nombre de Usuario */
.username-overlay {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo negro semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.username {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-transform: capitalize;
}

.banner-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.lob{
 font-family: 'Lobster';font-size: 18px;
 text-align:center;
 background-color: #ff3f81;
 padding:25px;
 color:white;
}
.lobi{
font-family: 'Lobster';font-size: 22px;
}

.profile-photo-container {
  position: absolute;
  bottom: -50px; /* Coloca la mitad de la foto sobre el banner */
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  width: 100px;
  height: 100px;
  background-color: #fff;
  z-index: 2;
  margin-bottom:10px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galería de Fotos */
/* Galería de Fotos */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 15px;
  padding-bottom:80px;
}

.photo-container {
  position: relative;
}

.photo-container img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modo de Visualización */
#photo-viewer {
  display: none; /* Ocultar el visor inicialmente */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

#photo-viewer.hidden {
  display: none; /* Asegurar que el estilo .hidden funcione */
}

#current-photo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}


/* Botones de Navegación */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease;
}

#prev-button {
  left: 20px;
}

#next-button {
  right: 20px;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #000;
}




/* Etiqueta NUEVO */
.new-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff3f81;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* nuevo */
/* Modal for expanded photo */
.photo-footer {
  padding: 8px;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
  text-align: left;
}

.description {
  font-size: 14px;
  color: #333;
  margin: 4px 0;
}

.reactions {
  display: flex;
  gap: 8px;
}

.reaction {
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.reaction:hover {
  transform: scale(1.2);
}

/* Modal */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.photo-modal.hidden {
  display: none;
}

#modal-photo {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

/* Barra de opciones de reacciones */
/* Barra de opciones de reacciones */
/* Barra de reacciones */
/*.reaction-bar {
  position: absolute;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0; 
  transform: scale(0.9); 
}

.reaction-bar.hidden {
  display: none; 
}*/

/* Barra de reacciones */
/* Estilo de la barra de reacciones */
.reaction-bar {
  position: absolute; /* Relativa al contenedor donde se coloca */
  background: rgba(255, 255, 255, 0.95); /* Fondo blanco semitransparente */
  border: 1px solid #ddd; /* Borde visible */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para resaltar */
  border-radius: 10px; /* Bordes redondeados */
  padding: 10px; /* Espaciado interno */
  display: flex; /* Alinear iconos en fila */
  gap: 15px; /* Espacio entre los iconos */
  z-index: 1000; /* Por encima de otros elementos */
  opacity: 0; /* Inicialmente oculta */
  transform: scale(0.9); /* Escala inicial más pequeña */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Transiciones suaves */
}

.reaction-bar.visible {
  opacity: 1; /* Hacer visible */
  transform: scale(1); /* Escalar a tamaño completo */
}

.reaction-bar.hidden {
  opacity: 0; /* Hacer transparente */
  transform: scale(0.9); /* Reducir tamaño */
}


/* Estilo de los iconos de las reacciones */
.reaction-option {
  font-size: 18px; /* Tamaño de los iconos */
  cursor: pointer; /* Indicador de clic */
  transition: transform 0.2s ease, color 0.3s ease; /* Animaciones suaves */
}

/* Efecto al pasar el cursor sobre los iconos */
.reaction-option:hover {
  transform: scale(1.2); /* Ampliar ligeramente */
  color: #007BFF; /* Cambiar color al pasar el cursor */
}



/* Reacciones registradas */
.reactions-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.reaction {
  font-size: 14px;
  cursor: default;
  transition: transform 0.3s ease, color 0.3s ease; /* Transición suave para transformaciones */
  transform: scale(1); /* Estado inicial */
  padding:3px;
}

.reaction.selected {
  color: #007BFF; /* Resaltar color de reacción seleccionada */
}

.reaction.bounce {
  animation: bounce 0.5s ease forwards; /* Aplicar animación de rebote */
}

.reaction.user-reacted {
  background-color: #007BFF; /* Fondo destacado */
  color: #fff; /* Texto más visible */
  border-radius: 5px;
  padding: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1); /* Escala inicial y final del efecto */
  }
  50% {
    transform: scale(1.8); /* Escala máxima durante el rebote */
  }
}




/* Footer - Menú de Pestañas */
/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ddd;
  z-index: 1000;
}

/* WhatsApp Container */
.whatsapp-container {
  display: flex;
  align-items: center;
  background-color: #25D366; /* Verde de WhatsApp */
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
  margin-right: 10px; /* Espacio entre el icono y el texto */
  object-fit: contain;
}

.whatsapp-text {
  font-size: 14px;
  color: white;
  font-weight: bold;
}

/* Tabs */
.tabs {
  display: flex;
  flex-grow: 1;
  justify-content: space-around;
  margin-left: 10px;
}

.tab {
  padding: 10px 15px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 14px;
  flex-grow: 1;
  text-align: center;
  color: #888;
  font-weight: bold;
}

.tab.active {
  color: #ff3f81;
  border-bottom: 2px solid #ff3f81;
}
