/* CSS para la barra de navegación */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
}

/* CSS para cambiar el color de los títulos en la barra de navegación*/
.navbar-custom .navbar-nav .nav-link {
    color: #ffffffa4; 
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffffff;
}

/* Cambiar el color de fondo de la barra de navegación al scrollear */
.navbar-scrolled {
    background-color: #304154; 
    transition: background-color 0.5s ease; /* Agrega una transición suave */
}

/* Estilos para el botón flotante de WhatsApp 
    Define alineación, tamaño, forma */
.whatsapp-button {
    position: fixed;
    bottom: 30px; 
    right: 55px; 
    border-radius: 50%;
    width: 75px;
    height: 75px; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    background-color: #20BBBB;
  }
  
.whatsapp-button:hover {
    background-color: #23374dc8; /* Cambia el color de fondo al pasar el cursor */
}  

/* CSS relacionado al modal*/
.custom-modal {
    max-width: 75%; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.modal-header .close {
    margin-right: 20px; 
    font-size: 28px;
}

.modal-header .close:hover{
    color: #20BBBB;
}

.modal-body {
    margin-bottom: 20px; 
    max-width: 80%;
    text-align: center;
}

.modal-body img {
    max-width: 60%; 
    height: auto; 
    display: block;
    margin: 0 auto;
    margin-top: 2%;
}

.modal-body p {
    margin-top: 10px;
    margin-bottom: 20px; 
}

@media (max-width: 820px) {
    .modal-body p {
        font-size: smaller;
    }

}


/* css relacionado al header */
header{
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/reales/image-bg.jpg');
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* css de la barra lateral */
@media (max-width:991px) {
    .sidebar {
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
    }
}

/* efectos de los botones de idiomas */
.zoom-button:hover img {
    transform: scale(1.1); /* Escala 10% más grande */
    transition: transform 0.3s ease; /* Transición suave durante 0.3 segundos */
}

.navbar a{
    font-size: 0.85rem;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 900;
}

/* css del body en general */
body {
    background-color: #FFFEFB;
}

/* personalización del scroll */
body::-webkit-scrollbar {
    width: 15px;
    background: rgba(0, 0, 0, 0);
}
body::-webkit-scrollbar-thumb {
    background: #F04F23;
    border-radius: 50px;
}

/* anexo de la fuente Fontjek */
@font-face {
    font-family: 'Fontjek';
    src: url('../fonts/Fontjek.ttf');
}

@font-face {
    font-family: 'Argent';
    src: url('../fonts/Argent.ttf');
}

@font-face {
    font-family: 'Bahnschrift Regular';
    src: url('../fonts/BahnschriftRegular.ttf');
}

@font-face {
    font-family: 'Rubik Bold';
    src: url('../fonts/Rubik-Bold.ttf');
}


/* css del banner principal */
.section-eslogan-header {
    margin-top: 1.8rem;
}

.banner {
    font-family: 'Rubik Bold';
    font-size: 4rem;
    color:#ccc;
    /*-webkit-text-stroke: 0.5px black;
    text-stroke: 0.5px black;*/
    text-align: center;
}

.subbanner {
    font-family: 'Comfortaa', sans-serif;
    font-weight: normal;
    color: #cccacc;
}

.subbanner {
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .banner {
        font-size: 1.6rem;
    }
    .subbanner {
        font-size: 0.7rem;
    }
}

@media (max-width: 1024px) {
    header{
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/reales/image-bg-responsive.jpg');
        background-blend-mode: multiply;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

/* css del botón en header */
.btn-solid-lg {
    margin-top: 1.2rem;
	display: inline-block;
	padding: 1.375rem 2.125rem 1.375rem 2.125rem;
	border: 0.125rem solid #14bf98;
	border-radius: 0.25rem;
	background-color: #14bf98;
	color: #fff;
	font: 700 0.75rem/0 "Montserrat", sans-serif;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-solid-lg:hover {
	background-color: transparent;
	color: #14bf98;
	text-decoration: none;
}

/* FIN DEL HEADER */

/* INICIO CSS INTRODUCCIÓN */

.intro {
    padding-top: 5rem;
	padding-bottom: 6rem;
    color: #484a46;
}

.intro .text-container-intro {
    margin-bottom: 1rem;
}

.intro .text-container-intro {
	margin-bottom: 0.5rem;
}

.intro h2 {
	margin-bottom: 1.375rem;
}

.text-container-intro {
    margin-top: 1rem;
}

.text-container-intro h2 {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #F04F23;
}

.all-text-container-intro {
    max-width: 70%; /* Ajusta el porcentaje según tus preferencias */
    margin: 0 50px; /* Centrar horizontalmente */
    margin-top: 3rem;
}


.title-container-intro h2 {
    font-size: 1.4rem;
    font-family: 'Rubik Bold';
    color: #4a4a4a;
}

.destinity-text {
    font-family: 'Rubik Bold';
    color: #20BBBB;
}

.transportacion-text {
    font-family: 'Bahnschrift Regular';
    color: grey;
}

.body-container-intro p {
    font-family: 'Bahnschrift Regular';
    color: #ABB2B9 ;
}

.intro .image-container-intro {
	overflow: hidden;
	border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.intro .image-container-intro img {
    width: 100%;
    height: 100%;
	object-fit: cover;
	border-radius: 0.25rem;
	transition: all 0.3s;
}

.intro .image-container-intro:hover img {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
} 

@media (max-width: 768px) {
	.intro .image-container-intro img {
		width: 100%; /* Ajustar el ancho de la imagen al ancho del contenedor */
		height: auto; /* Permitir que la altura se ajuste automáticamente */
	}

    .intro {
        padding-top: 2rem;
        padding-bottom: 3rem;
        color: #484a46;
    }

    .all-text-container-intro {
        max-width: 100%; /* Ajusta el porcentaje según tus preferencias */
        margin: 0 10px 3rem 10px; /* Centrar horizontalmente */
    }
}

/* css de la sección SERVICIOS */

.section-servicios {
    background-color: white;
    padding: 4rem;
}

.container-titulo-servicios {
    margin-bottom: 2rem;
    text-align: center;
    padding-left: 22%;
    padding-right: 22%;
}

.titulo-principal-servicios h3 {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #F04F23;
}

.titulo-principal-servicios p {
    font-size: 1.2rem;
    font-family: 'Rubik Bold';
    color: #4a4a4a;
}

.titulo-servicios {
    font-size: 1.5rem;
    color: #000;
}
.subtitulo-servicios {
    font-size: 1rem;
    color: #000;
}

.titulos-cards {
    font-size: 1rem;
}

.textos-cards {
    font-size: 0.9rem;
}

.container-servicios {
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 20px;
    background-color: white;
}

.card .card_img-top {
    display: block;
    margin: 0 auto;
}

.card {
    border: none;
}

.card-body p {
    font-family: 'Bahnschrift Regular';
    color: #808B96;
}

.card-body h5 {
    color: #20BBBB;
    font-family: 'Rubik Bold';
    font-size: 0.95rem;
}

.important-text {
    color: #000;
    font-family: 'Bahnschrift Regular';
}

.card-title.titulos-cards {
    text-align: center;
}

.icon-row {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-top: 2.5rem; 
}

.icon-bus {
    width: 80px; 
    height: 42px; 
    margin: 10px; 
}

.icon-copa {
    width: 40px; 
    height: 50px; 
    margin: 10px; 
}

.icon-sol {
    width: 50px; 
    height: 45px; 
    margin: 10px; 
}

@media (max-width: 768px) {

    .titulos-cards {
        font-size: 1rem;
    }
    
    .textos-cards {
        font-size: 0.8rem;
    }

    .section-servicios {
        padding: 1rem;
    }

    .container-titulo-servicios {
        margin-bottom: 2rem;
        margin-top: 2rem;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .icon-bus {
        width: 45px; 
        height: 25px; 
        margin: 7px; 
    }
    
    .icon-copa {
        width: 20px; 
        height: 25px; 
        margin: 7px; 
    }
    
    .icon-sol {
        width: 25px; 
        height: 25px; 
        margin: 7px; 
    }

}

/* css de la sección FLOTA */

.titulo-principal-flota {
    text-align: center;
    padding-left: 22%;
    padding-right: 22%;
}

.titulo-principal-flota h3 {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #F04F23;
}

.titulo-principal-flota h4 {
    font-size: 1.2rem;
    font-family: 'Rubik Bold';
    color: #4a4a4a;
}

.titulo-principal-flota p {
    font-size: 0.9rem;
    font-family: 'Rubik Bold';
    color: #20BBBB;
}

.section-flota {
    margin-top: 4rem;
    padding-left: 12%;
    padding-right: 12%;
}

.container-cards-flota {
    margin: 30px;
}

.row-cards-flota {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.image-cards-flota {
    background: #000;
    position: relative;
    flex: 1;
    max-width: 320px;
    height: auto; /* Cambia la altura a 'auto' */
    margin: 20px;
    overflow: hidden;
}

.image-cards-flota img {
    opacity: 1;
    position: relative;
    vertical-align: top;
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    height: auto; /* Utiliza 'auto' para mantener la proporción de la imagen */
    transition: 0.7s;
    transition-property: opacity;
}

.image-cards-flota:hover img {
    opacity: 0.5;
}

.image-cards-flota .info-cards-flota {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    color: #FFFEFB;
    width: 100%;
    height: 100%;
}

.image-cards-flota .info-cards-flota h5 {
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 35px;
    transition: 0.6s;
    opacity: 1;
    transition-property: opacity;
}

.image-cards-flota:hover .info-cards-flota h5 {
    opacity: 1;
}

.image-cards-flota .info-cards-flota p {
    margin: 15px 30px 0px 30px;
    font-size: 15px;
    font-weight: 100;
    text-align: center;
    opacity: 0;
    transition: 0.5s;
    transition-property: opacity;
}

.image-cards-flota:hover .info-cards-flota p {
    opacity: 1;
}

.info-cards-flota h5 {
    font-family: 'Rubik Bold';
    color: #EAE5D3 ;
}

.info-cards-flota b {
    font-family: 'Rubik Bold';
    color: #EAE5D3;
}

.info-cards-flota p {
    font-family: 'Bahnschrift Regular';
    color: #EAE5D3;
}

.mas-cards-flota a {
    font-family: 'Rubik Bold';
    color: #FFB600;
}

.mas-cards-flota a:hover {
    color: #F1C40F; 
    font-size: 1.3rem;
}

.mas-cards-flota {
    position: absolute;
    background: #304154;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    bottom: 0px;
    transition: 0.5s;
    opacity: 0;
    transition-property: opacity;
}

.image-cards-flota:hover .mas-cards-flota {
    opacity: 1;
}

.mas-cards-flota .conocer-mas {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

 .mas-cards-flota a:not(:last-child) {
     margin-right: 20px;
 }

@media (min-width: 820px) {
    .row-cards-flota {
        display: flex;
    }

    .image-cards-flota {
        flex-basis: calc(50% - 50px); 
    }
}

 @media (max-width: 768px) {
     .image-cards-flota {
         flex: 100%;
         max-width: 300px;
     }
 }

 @media (max-width: 820px) {
    .section-flota {
        font-size: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .info-cards-flota h5 {
        font-size: 20px;
    }
    
    .info-cards-flota p {
        font-size: 12px;
    }
    
    .mas-cards-flota .conocer-mas {
        font-size: 14px;
    }

    .titulo-principal-flota {
        padding-left: 5%;
        padding-right: 5%;
    }
}


/* ESTILOS DE LOS MODALS */
/* Estilos personalizados para el modal */

.custom-modal .modal-title {
    font-size: 3rem;
    color: #FFB600;
}

.modal-header h4 {
    font-family: 'Fontjek';
}

.custom-modal img {
    max-width: auto;
    height: auto;
}

.custom-modal h5 {
    font-size: 1.3rem;
    font-family: 'Bahnschrift Regular';
    color: #777777;
}

.custom-modal p {
    font-size: 1.4rem;
    color: #20BBBB;
    font-family: 'Rubik Bold';
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .custom-modal .modal-content {
        max-width: 90%; /* Reduzca el ancho del modal */
    }
    .custom-modal .modal-title {
        font-size: 24px; /* Reduzca el tamaño de fuente del título en pantallas pequeñas */
    }
    .custom-modal p {
        font-size: 0.6rem;
    }
    .custom-modal h5 {
        font-size: 0.8rem;
    }
    .custom-modal .modal-title {
        font-size: 1.5rem;
    }   
}


/* CSS DE LA SECCIÓN CONTACTO */

.mapa-contacto {
    width: 550px;
    height: 455px;
    background: #ABB2B9;
    margin-left: 5rem;
}

.mapa-contacto iframe {
    width: 100%;
    height: 100%;
}

/* Mapa responsivo */

@media (max-width: 1230px) {
    .mapa-contacto {
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-top: 3.5rem;
    }
}

/* Estilos del texto de la sección CONTACTO */

.area-contacto {
    background-color: white;
    padding: 4rem;
}

.info-contacto h5 {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #F04F23;
    margin-bottom: 1rem;
}

.info-contacto h6 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Rubik Bold';
    color: #4a4a4a;
}

.info-contacto p {
    font-family: 'Bahnschrift Regular';
    color: #ABB2B9 ;
}

.segundo-titulo-contacto {
    margin-top: 1rem;
}

.segundo-titulo-contacto h6 {
    font-size: 1rem;
    color: #14bf98;
    font-family: 'Rubik Bold';
}

.contact-section {
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 24px;
    margin-right: 10px;
}

.contact-details {
    font-size: 16px;
}

.contact-section {
    font-family: 'Bahnschrift Regular';
    color: #ABB2B9;
}

.contact-section a {
    color: #ABB2B9
}

.titulo-redes-contacto {
    margin-top: 1rem;
}

.titulo-redes-contacto h6 {
    font-size: 1.3rem;
}

.contact-icons {
    display: flex;
}

.contact-icons a {
    margin: 0 10px;
}

.contact-icons img {
    width: 32px; 
    height: 32px;
    border: none; 
}

.contact-icons img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.contact-icons img:hover {
    transform: scale(1.1); 
    opacity: 0.8; 
}

.contact-section:hover .contact-icon img{
    width: 35px;
    height: 35px;
    transition: all 0.5s ease;
}

.contact-section:hover .contact-details {
    font-weight: 200;
    color: #F04F23;
    transition: color 0.5s, text-decoration 0.3s; 
}

.contact-section:hover .contact-details a{
    font-weight: 200;
    color: #F04F23;
    transition: color 0.5s, text-decoration 0.3s; 
}

@media (max-width: 767px) {
    .contact-icons img {
      width: 60px; /* Nuevo tamaño para dispositivos móviles */
      height: 60px; /* Nuevo tamaño para dispositivos móviles */
    }
}

  
  

@media (max-width: 768px) {
    .area-contacto {
        background-color: white;
        padding: 5%;
        margin-top: 2rem;
    }

    .contact-section a {
        color: #ABB2B9;
        font-size: 14px;
    }
}


/* Eslogan en el footer */

.eslogan-footer {
    margin-top: 3rem;   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eslogan-footer h6 {
    font-family: 'Fontjek';
    font-size: 2rem;
    color: #FFB600;
}

@media (max-width: 768px) {
    .eslogan-footer {
        margin-top: 5rem;   
    }
    
    .eslogan-footer h6 {
        font-family: 'Fontjek';
        font-size: 1rem;
        color: #FFB600;
    }

    .eslogan-footer img {
        width: 100px;
    }
}


/* CSS DEL FOOTER */

.pie-pagina{
    width: 100%;
    background-color: #0a141d;
    margin-top: 3rem;

    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/reales/image-footer.jpg');
    background-size: cover; 
    background-position: center; 
    background-position-y: 65%;
    color: #fff;
    padding: 20px; 
}

.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img{
    width: 150px;
}

.pie-pagina .grupo-1 .box h2 {
    color: #fff;
    font-size: 16px;
    margin-top: 3.2rem;
}

.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}


.pie-pagina .grupo-2{
    background-color: #0a1a2a;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small{
    font-size: 15px;
}

@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

.box-middle h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    font-family: 'Rubik Bold';
    text-align: center;
    color: #ABB2B9;
}

@media (max-width: 768px) {
    .box-middle h2 {
        font-size: 1rem;
    }

    .pie-pagina .grupo-1 .box figure img{
        width: 110px;
    }

    .box-2 figure img {
        width: 90px;
    }
}