body {
  font-family: Arial, sans-serif; 
/*  font-family: 'Dancing Script', cursive;*/
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.fondo {
  background-image: url('/img/feminine_background_high_quality.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Esto asegura que la imagen de fondo no se desplace al hacer scroll */
}

h1 {
  font-size: 16px;
  color: #000;
}

h2 {
  font-size: 26px;
  color: #000;
}

h3 {
  font-size: 16px;
  color: #000;
}


.divh1 {
  width: 70%;
  /* Ocupa el 70% del ancho */
  margin: 0 auto;
  /* Centra el contenido */
  text-align: center;
  /* Centra el texto dentro del div */
  font-size: 1.5rem;
  /* Ajusta el tamaño del texto */
  padding: 20px;
  /* Espaciado interno */
}



.navbar-brand:hover svg {
  fill: #E1306C;
  /* Color de Instagram o cualquier color que desees */
}


.div_horizontal {
  display: flex;
  gap: 20;
  flex-direction: row;
  /* Organiza los elementos en una columna */
  min-height: 1;
}

.div_vertical {
  display: flex;
  flex-direction: column;
  /* Organiza los elementos en una columna */
  min-height: 1;
}

.circle-btn {
  border-radius: 50%;
}

/* Contenedor de las pestañas */
.tab-container {
  width: 100%;
  margin: 20px auto;
}

/* Estilo del encabezado de pestañas */
.tabs {
  display: flex;
  gap: 20px;
  background-image: url('/img/logo.png');
  background-size: 30%;
  /* Ajustar tamaño del fondo */
  background-position: center center;
  /* Posicionar el fondo */
  background-repeat: no-repeat;
  /* Evitar que el fondo se repita */
}

/* Estilo del encabezado de pestañas */
.tabs-v {
  display: grid;
  gap: 20px;
}

.tab:hover {
  transform: scale(1.1);
  /* Aumenta ligeramente el tamaño al pasar el mouse */
}

/*
  .tab.active {
    border-bottom: 3px solid black;
  }*/

/* Imágenes de las pestañas */
.tab-image {
  width: 30%;
  /* Tamaño de las imágenes */
  height: 30%;
  border-radius: 50%;
  /* Imágenes redondeadas */
  object-fit: cover;
  /* Asegura que la imagen encaje en el contenedor */
  transition: border 0.3s ease;
}

.tab-image-logo {
  width: 100%;
  /* Tamaño de las imágenes */
  height: 50%;
  /* Asegura que la imagen encaje en el contenedor */
  transition: border 0.3s ease;
}

.tab.active .tab-image {
  border: 3px solid black;
  transform: scale(1.2)
    /* Borde negro cuando está activa */
}

/* Contenedor de contenido */
.tab-content {
  padding: 20px;
  text-align: center;
}

/* Cada contenido */
.content {
  display: none;
  text-align: justify;
  /* Fuente más atractiva para el título */
  font-size: 2em;
  /* Define el alto máximo */
  /* Activa el desplazamiento vertical si es necesario */

}

/* Cada contenido */
.texto_fijo {
  text-align: justify;
  /* Fuente más atractiva para el título */
  font-size: 2em;
  max-height: 300px;
  /* Define el alto máximo */
  /*overflow-y: auto;  /* Activa el desplazamiento vertical si es necesario */

}

.tab-subtitle {
  /* Fuente más atractiva para el título */
  font-size: 3em;
  color: #000;

}

.subtitle {
  /* Fuente más atractiva para el título */
  font-size: 3em;
  color: #000;
  text-align: center;

}


.content.active {
  display: block;
}

/* Botón flotante de WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 1000;
}

.whatsapp-button:hover {
  background-color: #20b954;
}


/* Contenedor de cada pestaña y su contenido */
.tab-content-wrapper-selection {
  display: flex;
  flex-direction: column;
  /* Alinear verticalmente pestaña y contenido */
  align-items: center;
  /* Centrar el contenido */
  margin: 50px auto;
  /* Separación entre las pestañas */
  width: 40%;
  /* Ancho total del contenedor */
  border-radius: 15px;
  /* Bordes redondeados 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
  overflow: hidden;
  /* Esconde elementos fuera del borde redondeado */
  cursor: pointer;
  /* Cursor de clic */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Animación suave al hover */
}

/* Efecto al hacer hover sobre el contenedor */
.tab-content-wrapper-selection:hover {
  transform: scale(1.03);
  /* Efecto de zoom ligero 
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    /* Sombra más pronunciada */
}

.tab-content-wrapper {
  display: flex;
  flex-direction: column;
  /* Alinear verticalmente pestaña y contenido */
  align-items: center;
  /* Centrar el contenido */
  /* Separación entre las pestañas */
  /* Ancho total del contenedor 
    background-color: rgba(255, 240, 200, 0.8);
    /* Fondo color crema semi-transparente */
  border-radius: 15px;
  /* Bordes redondeados 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
  overflow: hidden;
  /* Esconde elementos fuera del borde redondeado */
  cursor: pointer;
  /* Cursor de clic */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Animación suave al hover */
}

/* Pestaña (parte superior) */
.tab {
  width: 60%;
  /* La pestaña ocupa todo el ancho del contenedor */
  height: 100%;
  /* Altura de la pestaña */
  display: flex;
  padding-left: 0px;
  justify-content: center;
  /* Centrar imagen */
  align-items: center;
  /* Centrar imagen */
  overflow: hidden;
  /* Esconde elementos fuera del borde redondeado */
  border-radius: 15px;
  /* Bordes redondeados 
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    /* Separación con el contenido */
}

/* Imagen dentro de la pestaña */
.tab img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  /* Ajustar imagen al tamaño de la pestaña */
  transition: transform 0.3s ease;
  /* Animación suave */
}

/* Efecto hover en la pestaña */
.tab:hover img {
  transform: scale(1.1);
  /* Zoom en la imagen al pasar el cursor */
}


/* Contenido del cuadro activado por la pestaña */
.tab-content {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
  /* Color de texto */
  width: 100%;
  /* Ancho completo del contenedor */
}



.fijo {
  width: 100%;
  height: 100%;
}


.index {
  width: 100vw;
  height: auto;
}

.navbar {
  background: #0071bc !important;
}

.nav-link {
  color: #fff !important;
  font-size: 16px;
}


.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}

#carousel-images {
  display: flex; /* Asegura que las imágenes estén en fila */
  flex-direction: row; /* Mantiene la disposición horizontal */
  gap: 10px; /* Espacio entre imágenes */
  overflow: hidden; /* Permite desplazamiento horizontal en móviles */
  scroll-snap-type: x mandatory;
}

.carousel-img-container {
  position: relative;
  margin: 0 10px;
  /* Separación de 20px entre imágenes */
  display: inline-block;
}

.carousel-img {
  width: 300px;
  height: auto;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.3s;
  cursor: pointer;
  border-radius: 15px;
  /* Bordes redondeados */
}

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

.carousel-img-container:hover .image-desc {
  opacity: 1;
}

.image-desc {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

#selected {
  display: none;
  /* Oculto por defecto */
  margin-top: 20px;
}

#selected img {
  width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 35px;
}

#selected p{
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  font-size: 1em;
    line-height: 1.5;
    text-align: justify; /* Hace que el texto se vea más ordenado */
}

#instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Se adapta automáticamente */
  gap: 15px;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Estilos de los posts */
.post {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease-in-out;
}

.post:hover {
  transform: scale(1.05);
}

/* Imágenes y videos dentro del post */
.post img,
.post video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Estilos para la descripción */
.caption {
  padding: 10px;
  text-align: center;
  font-size: 14px;
}


/* ✅ MEDIA QUERIES PARA RESPONSIVE */

/* Para pantallas grandes (escritorio) */
@media (min-width: 1024px) {
  #instagram-feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Para tablets */
@media (max-width: 1023px) {
  #instagram-feed {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Para móviles */
@media (max-width: 600px) {
  #instagram-feed {
    grid-template-columns: repeat(1, 1fr);
  }
  
  #selected {
    display: block; /* Asegura que el div ocupe todo el ancho disponible */
    width: 100%;
    max-width: 600px; /* Ajusta este valor si es necesario */
    margin: 20px auto;
    overflow: hidden; /* Evita problemas con el flujo de texto */
    flex-direction: column;
    text-align: justify;
    padding: 20px;
 
}

#selected img {
    height: 240px;
    width: auto; /* Ajusta el ancho automáticamente */
    float: left; /* Hace que el texto fluya a la derecha y abajo */
    margin-right: 15px; /* Espacio entre la imagen y el texto */
    border-radius: 8px; /* Opcional: esquinas redondeadas */
}

#selected p {
    font-size: 1em;
    line-height: 1.5;
    text-align: justify; /* Hace que el texto se vea más ordenado */
}

  .post {
    border-radius: 5px;
  }

  .carousel-images {
    flex-wrap: nowrap; /* Evita que las imágenes se apilen verticalmente */
    overflow-x: auto;  /* Permite hacer scroll horizontal si es necesario */
    scroll-snap-type: x mandatory;
  }
  .carousel-img-container {
    flex: 0 0 45%; /* Cada imagen ocupa el 45% del ancho */
    margin: 0 5px; /* Ajuste del margen para que no se junten demasiado */
  }

  .carousel-img {
    width: 100%; /* Ajusta las imágenes al tamaño del contenedor */
    opacity: 1; /* Hace que todas sean visibles */
  }

}

.footer {
  background-color: #000; /* Fondo negro */
  color: #fff; /* Texto blanco */
  text-align: center;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-ubicacion {
  background-color: #28a745; /* Verde tipo WhatsApp */
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  transition: background 0.3s;
}

.btn-ubicacion:hover {
  background-color: #218838; /* Un verde más oscuro al pasar el mouse */
}

/* 🔹 Estilos del Navbar */
.nav-menu {
  align-content:end;
  padding: 20;
  margin: 20;
  display: flex;
  background-color: #333;
}

.nav-menu li {
  position: relative;
}


.nav-menu a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
}

.nav-menu a:hover {
  background-color: #555;
}

/* 🔹 Estilos del Submenú */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 20;
  background-color: #f8c2c2ee;
  list-style: none;
  padding: 20;
  list-style-type: none;
  min-width: 180px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 15px;
  display: block;
}

/* Mostrar el submenú al pasar el mouse */
.dropdown:hover .dropdown-menu {
  display: block;
}