/* Colores */
:root {
  --main-color:#00467a;
  --secondary-color: #0084bd; 
  --text-color: #000; 
  --background-color: #fff;
  --link-hover-color: #176192;

  --font-heading: 'Lato', sans-serif;  
  --font-body: Arial, Helvetica, sans-serif;
}

/* Reset básico */
.main-color{
	color:var(--main-color) !important;
	} 
.secondary-color{ 
	color:var(--secondary-color) !important;
	} 
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Títulos */
h1, h2, h3 {
  color: var(--main-color);
  font-weight: 500;
  font-family: var(--font-heading);
}

h4, h5 {
  color: var(--secondary-color);
  font-weight: 700;
  font-family: var(--font-heading);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.title-bar-wrapper h2 {
  margin-bottom: 0 !important;
}

/* Párrafos */
p {
  color: var(--text-color);
}

/* Enlaces */
a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--link-hover-color);
  text-decoration: underline;
}
.corporate-menu {
  background-color: #222;       /* color de fondo del menú */
  padding: 0.5rem 1rem;
}

.corporate-menu .navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;                /* menú en horizontal */
  flex-direction: row;
  align-items: center;
}

.corporate-menu .nav-item {
  position: relative;           /* necesario para el dropdown */
  margin: 0 15px;
}

.corporate-menu .nav-link {
  color: #fff;                  /* enlaces blancos */
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.corporate-menu .nav-link:hover {
  color: #f8d34a;               /* color al pasar el ratón */
}
.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* espacio entre imágenes y línea */
}
 .divider{
background: #527fbc;
    height: 60px;
    width: 2px;
	 }

.navbar-brand .separator {
  width: 1px;               /* grosor de la línea */
  background-color: #000;   /* color de la línea */
  align-self: stretch;      /* ocupa todo el alto de las imágenes */
}
/* Dropdown oculto por defecto */
.corporate-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;                    /* justo debajo del enlace */
  left: 0;
  background-color: #333;
  min-width: 200px;
  border-radius: 0 0 6px 6px;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

/* Mostrar dropdown al pasar el ratón */
.corporate-menu .nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Estilo de items del dropdown */
.corporate-menu .dropdown-item {
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
}

.corporate-menu .dropdown-item:hover {
  background-color: #444;
  color: #f8d34a;
}

.text-decoration-none h3{
	font-size: 1.8rem; 
    line-height: 2rem;
    color: rgb(0 0 0 / var(--tw-text-opacity));
}
.nav-link {
  color: #111111 !important; /* Negro elegante, no tan plano */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); /* Sutil brillo o profundidad */
} 
 
.text-mosaic {
  color: var(--main-color);
  text-decoration: underline;
}

/* Botones básicos */
.btn-mosaic {
  background-color: var(--main-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.border-black {
  border-color: black !important;
}

button:hover, .btn:hover {
  background-color: var(--link-hover-color);
}

/* Listas */
ul, ol {
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
}
.categ_home_img{
      height: 500px !important;
}
@media (max-width: 767px) { 
	.title-bar-wrapper h2 {
    font-size: 1.5rem !important;
}
	}
@media (min-width: 768px) {
  .navbar-brand img{
      max-width: 380px !important;
}  
} 

/* Banner */
.banner {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner .content {
  z-index: 2;
  position: relative;
}

/* Barras y decoraciones */
.vertical-bar {
  width: 5px;
  background-color: var(--main-color);
  height: 100%;
  min-height: 65px;
  border-radius: 2px;
}

/* Footer */
.footer-bottom {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 15%;
  background-image: url(/public/entities/images/960493_OFC6CO12.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right bottom;
  z-index: -1;
}

@media (min-width: 1400px) {
  .footer-bottom::after {
    width: 50%;
    height: 60%;
  }

  .vh-50 {
    height: 50vh !important;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .footer-bottom::after {
    width: 50%;
    height: 60%; 
  }
}

  .vh-50 {
    height: 50vh !important;
  }
}

/* Imágenes y carruseles */
.collection {
  height: 450px;
  object-fit: cover;
  overflow: hidden;
}

.slick-slide {
  position: relative;
}

.slick-slide img {
  display: block;
  /*width: 100%;
  max-height: 700px;
  height: calc(500px + 10vh);*/
  object-fit: cover;
  filter: brightness(0.7) contrast(1.2) saturate(1.1);
  transition: filter 0.3s ease, transform 2s ease-in-out;
}
 


.carousel-control-next, .carousel-control-prev {
  position: relative;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.slick-slide .image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.slick-current .image-container::after {
  opacity: 0;
}

@media (min-width: 768px) {
  .image-container {
    height: 100vh;
  }

  .image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 2s ease-in-out;
  }
}

/* Slide caption */
.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  color: white;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 2px;
  width: max-content;
  transition: opacity 1s ease 1.6s, transform 1s ease 1.6s;
}

#home-page_content .slide-caption a {
  pointer-events: auto !important;
  font-size: 1.5rem;
  font-weight: 500;
  color: #212529;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Syncopate", sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#home-page_content .slide-caption h2 {
  margin-bottom: 0 !important;
}

#home-page_content .slide-caption p {
  margin-top: 0 !important;
  font-style: italic;
}

.banner-home-secondary {
  object-fit: cover;
  height: calc(350px + 10vh);
}

/* Galería */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-title {
  background: #222;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Overlay */
.overlay-text { 
position: absolute;
    bottom: 7%; 
    left: 0; 
    right: 0;
    background: rgba(255,255,255,0.3); /* Blanco translúcido */
    backdrop-filter: blur(10px); /* Efecto de luminosidad real */
    -webkit-backdrop-filter: blur(10px); /* Para compatibilidad Safari */
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000; /* Texto negro para contraste */
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.4); /* Opcional: borde suave luminoso */ 
} 
.overlay-text p {
    position: relative;
    display: inline-block;
    color:black;
    overflow: hidden;
	margin-bottom: 0px;
}  

.overlay-text p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.overlay-text h2 {
  font-size: clamp(1.2rem, 2vw, 2.5rem); 
  letter-spacing: 0.05em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-size: 200% 100%;
  margin-bottom: 0 !important;
	color: var(--main-color); 
	width: 100%;
} 
@media (max-width: 767.98px) {
    .tile-option .overlay-text {
        bottom: 20px !important;
    } 
} 
/* Subrayado animado */
.tile-option:hover .overlay p::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: auto;
  height: 2px;
  background-color: white !important;
  animation: underlineGrow 0.4s forwards ease-in-out;
}

@keyframes underlineGrow {
  from {
    width: 0; 
  }
  to {
    width: 100%;
  }
}
.tile-category-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tile-category-wrapper:hover {
  transform: scale(1.02);
}

.tile-category-title {
  position: absolute;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* fondo semitransparente */
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  pointer-events: none;
}
.custom-frame {
    background-color: #923232;
    background-image: linear-gradient(0deg, #7c2828 25%, transparent 25%, transparent 75%, #7c2828 75%, #7c2828), linear-gradient(90deg, #7c2828 25%, transparent 25%, transparent 75%, #7c2828 75%, #7c2828);
    background-size: 40px 40px;
}
 .min-vh-md-100 { 
      min-height: 70vh; 
    }
.wrap_mage_item h5{
	 font-weight: 500 !important;
	 }
.img-catalog {
  width: 100% !important;
  object-fit: cover; 
  border-radius: 0.15rem 0.15rem 0 0; /* redondeo solo arriba */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* sombra suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block; 
   position: relative;
  width: 100%;
  max-height: 70vh; /* Ocupa toda la altura de la pantalla */
  overflow: hidden;
} 

/* Hover moderno tipo catálogo */
.img-catalog:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

 .wrap_mage_item h5 {
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em;
	 color: white; 
	  text-transform:lowercase;
  } 
.wrap_mage_item h5::first-letter {
  text-transform: uppercase;
}
.collection {
    max-height: 780px; 
    overflow: hidden; 
}
.mosaic-modal-insp .modal-content {
     background-color: #1a1a1a
}
.mosaic-modal-insp .modal-dialog {
        max-width: 50% !important;
  }    
	
	.mosaic-modal-insp .modal-header{
    position: absolute;
    top: 10%; 
    z-index: 2;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    position: absolute;
    /* left: 30px; */ 
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
     width: 100%;
	border-bottom:none !important;
}
	.mosaic-modal-insp .modal-header h5{
    color: white;
    font-size: clamp(1.2rem, 1.5vw + 1rem, 1.5rem);
	font-weight: 400; 
    left: 0;  
    right: 0;
    margin-right: auto;
    margin-left: auto;
    width: 100%;

} 
.mosaic-modal-insp .modal-header .btn-close {
    margin: -6rem .5rem -.5rem auto !important;
		;
    
}
.mosaic-modal-insp .btn {
    color: #fff !important;
}
.mosaic-modal-insp .row {
	position: absolute;
    z-index: 10;
    top: 15%;   
    margin-top: 15%;
	width: 100%
} 
.arrow_mosaic  {
    margin-top: -15%;
    position: absolute; 
    width: -webkit-fill-available;
}  
.arrow_mosaic .slick-arrow {
    background-color: rgba(0, 0, 0, 0.5); /* fondo semitransparente */
    color: #fff;                           /* color de la flecha */
    border: none;
    border-radius: 50%;                    /* botón redondo */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;                       /* tamaño de la flecha */
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Hover para dar efecto */
.slick-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Posicionar flechas en los extremos de la fila */
#category_slider_prev {
    /* opcional si quieres moverlo un poco hacia adentro */
    margin-left: -15px;
}

#category_slider_next {
  margin-left: auto;
}

/* Ajuste del icono de Material Icons */
.slick-arrow .material-icons {
    font-size: 28px;
    line-height: 1;
    vertical-align: middle;
} 
@media (max-width: 767px) {
  .slick-slide {
    height: auto !important;
    max-height: 400px;
  }

.footer-middle .widget_media_image img {
    max-width: 250px !important;
    height: auto;
}
