/* licencia.css */

/* Estilos base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('../img/BGw.jpg');
    background-size: auto; /* Asegura que la imagen cubra todo el fondo */
    background-position: center center; /* Centra la imagen */
    background-attachment: fixed;
	padding: 100px 0;
	
	position: relative;
	z-index: 1;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* Licencias Section */
.licencias-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.licencias-text {
    flex: 1;
    padding: 20px;
    text-align: justify;
}


.licencias-image {
    flex: 1;
    padding: 20px;
}

.licencias-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Botón personalizado */
.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #45a049;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .licencias-container {
        flex-direction: column;
    }

    .licencias-text {
        padding: 10px;
    }

    .licencias-image {
        padding: 10px;
    }

    .section-title h2 {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 10px;
    }

    .btn {
        padding: 8px 16px;
    }
}
.section-title h2 {
    font-family: 'Montserrat', sans-serif;
	margin: 0 0 20px 0;
	font-weight: 700;
	font-size: 18px;
	color: #84131B;
    line-height: 1.6;
}

.section-title p {
    line-height: 1.6;
}

h2 {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 20px 0;
	font-weight: 700;
	font-size: 32px;
	color: #83121A;
}
h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #000000;
}
h4 {
	font-size: 18px;
	color: #000000;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p {
	font-size: 15px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: #1f386e;
	font-weight: 400;
}
a:hover, a:focus {
	text-decoration: none;
	color: #e52f3c;
}
ul, ol {
	list-style: none;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
hr {
	height: 2px;
	width: 70px;
	text-align: center;
	position: relative;
	background: #1E7A46;
	margin-bottom: 20px;
	border: 0;
}

header {
    text-align: center;
    padding: 0px;
    background-color: #83121A;
    color: white;
}

main {
    padding: 20px;
}

/* CSS general para la imagen del header */
header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajuste específico para dispositivos móviles */
@media (max-width: 767px) {
    header img {
        margin-top: 150px; /* Ajusta este valor según la altura de tu barra de navegación */
    }
}


/* Botón personalizado */
.btn-custom {
    background-color: #83131D;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: #119739;
    color: #83131D;
}

/*MENU NAVEGADOR*/

#menu {
    padding: 0px;
    transition: all 0.8s;
}

#menu.navbar-default {
    background-image: url('../img/BG2.jpg'); /* Ruta de la imagen de fondo */
    background-size: auto; /* Ajusta la imagen para que cubra toda la barra */
    background-repeat: repeat; /* Evita que la imagen se repita */
    background-position: center; /* Centra la imagen */
    border-color: rgba(231, 231, 231, 0);
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    height: 145px; /* Ajusta este valor según lo gruesa que quieras la barra */
	display: flex;
    justify-content: center;
    align-items: center;
	height: auto;
}

#menu .navbar-nav {
	flex-direction: column;
	align-items: flex-start;
}

#menu a.navbar-brand {
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #1f386e;
	text-transform: uppercase;
	letter-spacing: -1px;
}

#menu.navbar-default .navbar-nav > li {
    margin: 0 00px;
}

#menu.navbar-default .navbar-nav > li > a {
	margin: 0; /* Elimina márgenes grandes */
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #1f386e;
    font-size: 18px; /* Ajusta el tamaño de la fuente de los enlaces */
    font-weight: 700;
    padding: 2px 4px; /* Ajusta el padding para cambiar la altura de los botones */
    border-radius: 0;
    margin: 68px 20px 0 4px; /* Ajusta el margen para alinear los botones más abajo */
}

#menu.navbar-default .navbar-nav > li > a:hover {
	color: #ce2a36;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #ce2a36 !important;
	background-color: transparent;
}

#menu .phone {
	font-family: 'Montserrat', sans-serif;
	margin: 4px 0 0 120px;
	float: left;
	font-size: 16px;
	font-weight: 400;
	color: #999;
}

#menu .phone span {
	font-size: 14px;
	display: block;
	color: #1f386e;
}

.navbar-toggle {
	border-radius: 0;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #fff;
	border-color: #fff;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #83121A;
}

/**********************/


/* Estilos generales para todos los dispositivos */
#menu.navbar-default .navbar-nav > li > a {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #1f386e;
    font-size: 14px; /* Tamaño de la fuente para todos los dispositivos */
    font-weight: 700;
    padding: 0px 0px; /* Espaciado para todos los dispositivos */
    border-radius: 0;
    margin: 20px 8px 0 20px; /* Margen para todos los dispositivos */
}

/* Estilos específicos para dispositivos móviles */
@media (max-width: 767px) {
    #menu.navbar-default .navbar-nav > li > a {
        margin: 5px 0; /* Ajusta el margen solo en dispositivos móviles */
    }
}


/* CSS general para la imagen del header */
header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajuste específico para dispositivos móviles */
@media (max-width: 767px) {
    header img {
        margin-top: 150px; /* Ajusta este valor según la altura de tu barra de navegación */
    }
}

/*MENU NAVEGADOR FIN*/


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    padding: 0px;
    background-color: #83121A;
    color: white;
}

main {
    padding: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cover-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.cover-image:hover {
    transform: scale(1.05);
}

.content {
    display: none;
    padding: 10px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 767px) {
    .intro {
        background: url(../img/intro-bg-mobile.jpg) center center no-repeat;
        background-color: #e5e5e5;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }
}

/* Navbar adjustments for mobile */
.navbar-toggle {
    border: none;
    background: transparent !important;
}

.navbar-toggle .icon-bar {
    background-color: #000; /* Ajusta esto para que coincida con tu color deseado */
}

.navbar-brand img {
    max-width: 100px; /* Ajusta esto según sea necesario */
    margin-top: 10px;
}

/* Adjust navbar items for mobile */
.navbar-nav > li > a {
    padding: 10px 15px;
}

@media (max-width: 768px) {
    #menu.navbar-default .navbar-nav > li > a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .navbar-nav > li > a {
        color: #000; /* Ajusta esto para que coincida con tu color deseado */
        text-align: center;
        font-size: 18px;
    }

    .navbar-collapse {
        background-color: #F5E9DA; /* Ajusta esto para que coincida con tu color de fondo deseado */
    }
}

/* PUNTOS VENTA */

/* Estilo para los puntos de venta */
.puntos-de-venta {
    padding: 20px 0;
}

.venta-item {
    margin-bottom: 40px; /* Espacio debajo de cada punto de venta */
}

.gallery img {
    margin-bottom: 10px; /* Espacio entre las imágenes de la galería */
    width: 100%;
    height: auto;
}

.divider {
    height: 40px; /* Altura del divisor */
    background-color: #F5E9DA; /* Color de fondo del divisor */
    border-top: 1px solid #943434; /* Línea divisoria superior */
    margin: 20px 0; /* Espacio alrededor del divisor */
}

.dividerbuttons {
    height: 40px; /* Altura del divisor */
    background-color: #f5e9da00; /* Color de fondo del divisor */
    border-top: 1px solid #94343400; /* Línea divisoria superior */
    margin: 0px 0; /* Espacio alrededor del divisor */
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Estilo para la galería de fotos */
.galeria-fotos img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Diseño responsivo */
@media (max-width: 767px) {
    .punto-venta {
        flex-direction: column;
    }
    .punto-venta > div {
        margin-bottom: 20px;
    }
}

.punto-venta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.punto-venta > div {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .punto-venta {
        flex-direction: column;
        align-items: center;
    }

    .punto-venta > div {
        max-width: 100%;
    }
}

/* grid ligthbox */

* General reset and box-sizing */
*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Grid for gallery */
.grid {
    display: grid;
    place-items: stretch;
    width: 100%;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid img {
    filter: grayscale(0.9) opacity(0.9);
    border: 2px solid transparent;
    transition: all 0.15s ease-in-out;
}

.grid img:hover,
.grid img:focus {
    filter: grayscale(0);
    opacity: 1;
    border: 2px solid #000;
}

/* Lightbox styling */
.lightbox {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 / 80%);
    display: none;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.8rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.lightbox img {
    max-height: 75%;
    max-width: 75%;
}

.overflow-hidden {
    overflow: hidden;
}


/* ------------------------- */
/* Estilos CSS del Reproductor */
/* ------------------------- */
.fm-video {
	width: 100%;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,.5);
}

.fm-video .vjs-control-bar {
	background: #F4F4F4;
	color: #2d5f85;
}

.fm-video .vjs-play-progress,
.fm-video .vjs-volume-level {
	background: #1d87d8;
}

.fm-video .vjs-slider {
	background: #2d5f85;
}

.video-js:hover .vjs-big-play-button {
	background: rgba(0,0,0,.2);
}

.fm-video .vjs-big-play-button {
	background: rgba(0,0,0,.2);
	width: 80px;
	height: 80px;
	line-height: 80px;
	border-radius: 100%;
	border:none;
}

.fm-video .vjs-big-play-button:hover {
	background: rgba(0,0,0,.5);
}

article {
	margin: 50px 0;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 28px;
	padding: 40px;
}

article h2 {
	color: #2D5F85;
	font-size: 32px;
	font-weight: normal;
	margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
	header {
		position: relative;
		height: auto;
	}

	main {
		margin-top: 50px;
	}
}

/* Estilo del pie de foto en Lightbox */
.lightbox .lightbox-caption {
    color: white; /* Color del texto del pie de foto */
    font-size: 1.2em;
    text-align: center;
    margin-top: 15px;
}



/* Estilos generales */
.licencias-container {
    display: flex;
    justify-content: space-between;
    margin: 0px 0;
}

/* Ajustes para pantallas móviles */
@media (max-width: 768px) {
    .licencias-container {
        flex-direction: column;
        align-items: center;
        margin: 0px 10px;
    }

    .licencias-text, .licencias-image {
        width: 100%;
        margin: 10px 0;
    }

    .licencias-text {
        padding: 0 15px;
        text-align: justify;
    }

    .licencias-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .licencias-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }

    .section-title h2 {
        /* Uso de clamp para mantener un tamaño adaptativo */
        font-size: clamp(1.5rem, 4vw, 2.5rem); 
        margin-bottom: 10px;
        text-align: left; /* Alinea el título a la izquierda */
        white-space: nowrap; /* Evita que el texto se divida en líneas múltiples */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .section-title p {
        font-size: 1em;
        line-height: 1.6;
    }

    .btn-custom {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.2em;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    .section-title h2 {
        font-size: 20px
        text-align: left; /* Alinea el título a la izquierda */
        white-space: nowrap; /* Permite que se divida en líneas si es necesario */
    }

    .section-title p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .btn-custom {
        font-size: 1em;
        padding: 10px;
    }
}
