@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

@font-face {
    font-family: 'Inkburro';
    src: url('fonts/Inkburro.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Estilos existentes (sin cambios) */
.navbar {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 0;
  width: 100%;
  background: transparent;
  color: #F8FAFA;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.menu {
  list-style: none;
  display: flex;
  gap: 16px;
  background: #F8FAFA;
  border-radius: 50px;
  padding: 20px 6px;
  align-items: center;
}
.menu a {
  color: #0D0E10;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  /* border-radius: 30px; */
  transition: all 0.3s ease;
}

#boton-contacto {
  background-color: #0D0E10;
  color: #F8FAFA;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
}
.menu-icon {
  display: none;
  width: 42px;
  height: 42px;
  background-color: #F8FAFA;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.menu-icon i {
  font-size: 26px;
  color: #0D0E10;
}
#menu-toggle {
  display: none;
}
.drawer {
  display: none;
}

/* ===== 📱 Responsive Navbar ===== */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-end;
    padding: 8px 20px;
  }

  .menu {
    display: none;
  }

  .menu-icon {
    display: flex;
  }

  .drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #F8FAFA;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    flex-direction: column;
    overflow: hidden;
  }

  #menu-toggle:checked + .menu-icon + .menu + .drawer {
    transform: translateX(0);
  }

  .close-btn {
    font-size: 28px;
    color: #0D0E10;
    cursor: pointer;
    align-self: flex-end;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .close-btn i {
    font-size: 28px;
  }

  .menu-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 20px;
  }

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

  .menu-mobile li:last-child {
    align-self: stretch;
  }

  .menu-mobile a {
    font-size: 16px;
    color: #0D0E10;
    text-decoration: none;
  }

  .menu-mobile .boton-contacto-mobile {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: #0D0E10;
    color: #F8FAFA;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
  }

  .has-submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .submenu-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
  }

  .back-to-main-btn {
    background: none;
    border: none;
    color: #0D0E10;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .back-to-main-btn i {
    font-size: 20px;
    margin-right: 8px;
  }

  /* ===== ESTILOS PARA EL DRAWER DESLIZANTE ===== */

  .drawer-content {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
  }

  .menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8FAFA;
    transform: translateX(100%); 
    transition: transform 0.4s ease;
  }

  #main-menu-panel {
    transform: translateX(0);
  }

  .menu-panel.is-active {
    transform: translateX(0);
  }
  .menu-panel.is-leaving {
    transform: translateX(-100%);
  }
}

/* === HERO === */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  /* === CARRUSEL DE FONDO === */
  #heroCarousel {
    height: 100%;
  }
  
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel img {
    height: 100%;
  }
  
  #heroCarousel img {
    object-fit: cover;
    width: 100%;
  }
  
/* === CAPA SUPERIOR === */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 clamp(16px, 8vw, 80px);
    z-index: 2;
    text-align: center;
}
  
/* === GLASS EFFECT === */
.glass-effect {
    background: rgba(13, 14, 16, 0.60);
    border-radius: clamp(16px, 4vw, 32px); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(125, 125, 125, 0.3);
    width: 100%;
    gap: clamp(16px, 4vw, 48px);
    padding: clamp(16px, 5vw, 48px);
  }
  
  /* === CONTENIDO INTERNO === */
  .hero-logo {
    display: block;
    max-width: 100%;
    height: auto;
    width: clamp(300px, 30vw, 400px);
    object-fit: contain;
  }

  .div-textobanner-jli {
    margin-top: 48px;
  }

  .p-JLI {
    color: var(--Gray-1, #F8FAFA);
    text-align: center;
    font-family: "Plus Jakarta Sans";
    font-size: clamp(1rem, 2.5vw, 1rem);
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.0625rem;
    margin-bottom: 0px;
  }

  .p-JLI .separador {
    display: none; /* Oculta el "|" en mobile */
  }

  .p-JLI .horario {
    display: block; /* Obliga al texto a bajar a una nueva línea */
    margin-top: 5px; /* Opcional: un pequeño espacio entre líneas */
  }

  @media (min-width: 768px) {
    .p-JLI .separador {
      display: inline; /* Muestra el "|" de nuevo */
      margin: 0 5px;   /* Espaciado horizontal para la barra */
    }
  
    .p-JLI .horario {
      display: inline; /* Vuelve a poner el texto en la misma línea */
    }
  }


  .h1-JLI {
    color: #F8FAFA;
    text-align: center;
    font-family: "Plus Jakarta Sans";
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 1px;
    margin-bottom: 0px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .btn-JLI-secondary {
    display: inline-block;
    background-color: #0D0E10;
    color: #F8FAFA;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.0625rem;
    padding: 1rem 2rem;
    margin-top: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #FFFFFF;
    cursor: pointer;
  }
  
  .btn-JLI-secondary:hover {
    background-color: #F8FAFA;
    color: #0D0E10;
}


/* ==========================================
   SECCIÓN CATALOGO
   ========================================== */

#catalogo-JLI {
  padding: 64px 80px; 
  background-color: #F8FAFA;
  text-align: center;
}

@media (max-width: 992px) {
  #catalogo-JLI {
    padding: 64px 32px;
  }
}

@media (max-width: 768px) {
  #catalogo-JLI {
    padding: 64px 24px;
  }
}

.img-tab-JLI {
  height: 300px;
  object-fit: cover;
}

.galeria-item {
  text-decoration: none;
  color: #0D0E10;
}

.figcaption-JLI {
    padding-top: 8px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ==========================================
   SECCIÓN SOBRE MI
   ========================================== */

#sobre-mi {
    padding: 100px 80px;
}

@media (max-width: 992px) {
    #sobre-mi {
      padding: 64px 32px 0px 32px;
    }
}
  
@media (max-width: 768px) {
    #sobre-mi {
      padding: 64px 24px 0 24px;
    }
}

.title-ink {
  font-family: 'Inkburro', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  margin-bottom: 16px;
  color: #4F5052;
}

.p-sobremi {
  font-size: clamp(14px, 2.5vw, 16px);
  margin-bottom: 0;
  color: #282728;
}

/* ==========================================
   SECCIÓN IMAGINATU
   ========================================== */

#coleccionImaginatu {
  padding: 80px; /* Desktop */
}

@media (max-width: 992px) {
    #coleccionImaginatu {
      padding: 64px 32px 0px 32px; 
    }
}

@media (max-width: 768px) {
    #coleccionImaginatu {
      padding: 64px 24px 0px 24px; 
    }
}

.p-imaginatu {
    font-family: "Plus Jakarta Sans";
    font-size: clamp(14px, 2.5vw, 16px);
    color: #282728;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.32px;
}

.btn-JLI-terciary {
    font-family: "Plus Jakarta Sans";
    background-color: transparent;
    border: none; 
    box-shadow: none; 
    outline: none; 
    padding: 0; 
    color: #0D0E10; 
    font-size: clamp(14px, 2.5vw, 16px);
    font-style: normal;
    font-weight: 500;
    text-decoration: underline;
}

/* ========================================== */

#coleccionAbstraktua {
    padding: 100px 0px;
}

.p-subtitle {
  font-family: "Plus Jakarta Sans";
  text-transform: uppercase;
  color: #4F5052;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1px;
}

.abstraktua-row {
    overflow: hidden;
    gap: 24px;
    margin: 24px 0px;
}

.abstraktua-img {
    width: 350px;
    height: 350px;
    object-fit: cover; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstraktua-img:hover {
    cursor: pointer;
}

/* ==========================================
   SECCIÓN COLECCIONES (MODIFICADO PARA MOBILE)
   ========================================== */

#colecciones {
    padding: 80px;
}

/* Tablet */
@media (max-width: 992px) {
    #colecciones {
      padding: 64px 32px;
    }
}
  
/* Mobile */
@media (max-width: 768px) {
    #colecciones {
      padding: 64px 24px;
    }
    
    /* CORRECCIÓN: Forzamos a que la grilla sea flexible en mobile 
       para que no rompa el padding de 24px */
    .row-colecciones {
       grid-template-columns: 1fr !important;
       gap: 32px !important;
    }
}
  
.row-colecciones {
  display: grid;
  /* minmax(280px, 1fr) es lo que causaba el desborde en pantallas pequeñas.
     El !important de arriba lo corrige en mobile.
  */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px;
  padding-top: 56px;
}
  
.colecciones-title {
  font-family: "Plus Jakarta Sans";
  font-size: clamp(2rem, 5vw, 3rem);
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  /* margin-bottom: 48px; */
}
  
.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
  
.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  
/* Borde interno */
.img-wrapper::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  border: 1px solid #F8FAFA;
  pointer-events: none;
}
  

.h2-colecciones-title {
  margin-top: 24px;
  color: #0D0E10;
  font-family: 'Inkburro', 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
}
  
figcaption p {
  font-size: 16px;
  margin-bottom: 16px;
}
  


/* Footer */
#footer {
  background-image: url(imagenes/hero-images/collar-tide.webp);
  background-size: cover;
  background-position: center;
  color: #F8FAFA;          
  padding: clamp(60px, 8vw, 120px) clamp(16px, 6vw, 80px);
}

/* Glass effect */
.glass-effect-footer {
  background: rgba(13, 14, 16, 0.20);
  border-radius: clamp(16px, 4vw, 32px); 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(125, 125, 125, 0.3);
  width: 100%;
  padding: clamp(16px, 5vw, 80px) clamp(16px, 6vw, 80px);
}

/* Responsive padding */
@media (max-width: 768px) {
  .glass-effect {
    padding: 30px 20px;
  }
}

.contacto-title {
  font-family: "Plus Jakarta Sans";
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 200;
  line-height: normal;
}

.ul-contacto {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-redes {
  text-decoration: none;
  color: #F8FAFA;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.ul-contacto figure {
  margin: 0;
  padding: 0;
}

.ul-contacto img {
  width: 24px;
  height: auto;
}

.ul-contacto li {
  margin-bottom: 12px;
}

/* Whatsapp */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #282728;
    color: #F8FAFA;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
  }
  
/* CSS DE COLECCIONES - Filtro */
/* CSS DE COLECCIONES - Filtro Modificado */

.contenedor-filtro {
  padding: 100px 80px; /* Igual que #sobre-mi en Desktop */
  margin: 0px;
}

/* Tablet (igual que #sobre-mi) */
@media (max-width: 992px) {
  .contenedor-filtro {
    /* Top: 64px, Laterales: 32px, Bottom: 64px (para que no se corten los productos abajo) */
    padding: 64px 32px 64px 32px; 
  }
}

/* Mobile (igual que #sobre-mi) */
@media (max-width: 768px) {
  .contenedor-filtro {
    /* Top: 64px, Laterales: 24px, Bottom: 64px */
    padding: 64px 24px 64px 24px;
  }
}

/* Tarjetas de producto */
.product {
  text-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%; 
}

.product:hover {
  transform: translateY(-4px); 
  scale: 1.0;
  cursor: pointer;
}

.product img {
  width: 100%;        
  aspect-ratio: 1 / 1; 
  object-fit: cover;    
  margin-bottom: 16px;
}

.product h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.product p {
  font-size: 0.9rem;
  color: #4F5052;
  margin-bottom: 0;
}


/* CSS de Imaginatu  */

#hero-coleccion {
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding-left: clamp(16px, 8vw, 80px);
  padding-right: clamp(16px, 8vw, 80px);
  background-color: #0D0E10;
  color: #F8FAFA;
}

/* Modal */
.modal-body {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0;
}

@media (min-width: 768px) {
  .modal-body {
      flex-direction: row;
  }
}

/* CSS para estandarizar el tamaño de la imagen en el modal */

.modal-image {
  flex: 0 0 55%; /* Fija el ancho del contenedor de la imagen al 55% del modal */
  aspect-ratio: 1 / 1; 
  display: flex;
  justify-content: center; 
  align-items: center;     
  overflow: hidden;        
  padding: 1rem;          
  background-color: #f8f9fa; 
}

#modalImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-content {
  overflow: hidden;
}


/* --- Estilos para el Carrusel/Banner --- */

/* 1. Estilo base para cada slide */
#hero-banner-carousel .carousel-item {
  height: 80vh;
  min-height: 500px; /* Altura mínima por si la pantalla es muy ancha y poco alta */
  
  /* Imagen de fondo */
  background-size: cover;
  background-position: center;  
  background-repeat: no-repeat;
}

/* 2. Imágenes de fondo a cada slide */
#slide-imaginatu {
  background-image: url('imagenes/hero-images/collar-arabesque.webp');
}

#slide-trazua {
  background-image: url('imagenes/hero-images/colgante-cr.webp');
}

#slide-itsasoa {
  background-image: url('imagenes/hero-images/collar-oskol.webp');
}

#slide-nordikoa {
  background-image: url('imagenes/hero-images/colgante-tropical.webp');
}

/* 3. Estilos para el texto */
#hero-banner-carousel .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  
  /* Glass */
  background: rgba(13, 14, 16, 0.65);
  border-radius: clamp(16px, 4vw, 32px); 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(125, 125, 125, 0.3);
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(32px, 4vw, 48px);
}

/* 4. Estilos para los textos (opcional, pero recomendado) */
#hero-banner-carousel .carousel-caption h2 {
  font-family: 'inkburro', 'Plus Jakarta Sans', sans-serif;
  font-size: 5rem;
  font-weight: 400;
}

#hero-banner-carousel .carousel-caption p {
  font-size: 1.2rem; /* Tamaño del párrafo */
  max-width: 600px;
  padding-bottom: 16px;
  margin: 1rem auto 0; /* Centra el párrafo */
}


/* --- Ajustes para Móviles (Responsive) --- */
@media (max-width: 768px) {
  #hero-banner-carousel .carousel-item {
    height: 70vh;
    min-height: 400px;
  }
  
  #hero-banner-carousel .carousel-caption {
    /* Ajustamos el padding y el ancho para pantallas pequeñas */
    padding: 2rem;
    width: 90%; /* Evita que el texto toque los bordes */
    left: 5%;
  }

  #hero-banner-carousel .carousel-caption h2 {
    font-size: 3.5rem; /* Título más pequeño en móvil */
  }
  
  #hero-banner-carousel .carousel-caption p {
    font-size: 1rem; /* Párrafo más pequeño en móvil */
  }
}

/* CSS PARA EL QIAF  */

.qiaf-jli {
  background-color: #0D0E10;
  padding: 100px 80px;
}

.subtitle-qiaf {
  font-family: "Plus Jakarta Sans";
  font-size: 1rem;
  color: #F8FAFA;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.h1-qiaf {
  color: #F8FAFA;
}

.p-qiaf {
  color: #F8FAFA;
}