/*HOJA DE ESTILOS | SITIO WEB PORTAFOLIO DE ILUSTRACIÓN CIENTÍFICA Y NATURALISTA DE ALE TAPIA*/

/*TIPOGRAFÍAS*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');


html,
body {
    background-color: #f5f1e6;
    margin: 0;
}


h1,
h2,
h3 {
    font-family: "Libre Baskerville", serif;
}

p {
    font-family: "Inter", sans-serif;
}

/*ENLACES*/
a {
    text-decoration: none;
    color: #f5f1e6;
}

a:hover {
    color: #c4a66b;
}

/*ENCABEZADO*/
.logo-navbar {
    display: flex;
    align-items: center;
}

.navbar-img {
    max-height: 56px;
    width: auto;
    display: block;
}

/*NAVBAR*/
.navbar {
    min-height: 80px;
    background-color: #7d8a5f;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.navbar-collapse {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navbar-nav .nav-item {
    flex: 1;
    width: 100%;
}

.navbar-nav .nav-link {
    font-family: "Libre Baskerville", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100%;
    color: #f5f1e6;
    border-bottom: 3px solid transparent;
    position: relative;
    transition: 0.2s ease;

}

.nav-link {
    gap: 8px;
}

.navbar-nav .nav-link:hover {
    color: white;
    background-color: #9BAB77;
}

.navbar-nav .nav-link.active {
    color: white;
    background-color: #9BAB77;
    border-bottom: 3px solid #c4a66b;
}

.nav-icono {
    max-width: 32px;
}

/*BOTÓN HAMBURGUESA*/
.navbar-toggler {
    border-color: #f5f1e6;
    margin-right: 15px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    border-color: #c4a66b;
    box-shadow: 0 0 0 0.2rem rgba(196, 166, 107, 0.5);
}

/*ICONO HOME*/
.imagen-header {
    height: 30px;
    width: auto;
}

/*----------PÁGINA INICIO----------*/
/*BANNER PRINCIPAL*/
.texto-banner h1,
.texto-banner h3 {
    text-align: center;
}

.texto-banner {
    padding: 20px;
    background-color: rgba(236, 228, 213, 0.8);
}

.texto-banner h1 {
    font-size: 56px;
    font-weight: bold;
    color: #7d8a5f;
    text-align: left;
    padding-left: 40px;
}

.texto-banner h3 {
    font-size: 28px;
    font-weight: bold;
    color: #2e4a62;
    text-align: left;
    padding-left: 40px;
}

section p {
    font-size: 18px;
    color: #2e4a62;
}

.container-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
    background-image: url(../imagenes/inicio/banner-inicio.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.container-banner .container-fluid {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
}

.banner-content {
    height: 100%;
    position: relative;
    z-index: 2;
}

.container-banner .row {
    height: 100%;
    margin-left: 0;
    margin-right: 0;
}

/*SECCIÓN ACCESOS DIRECTOS (INICIO)*/
.card-accesodirecto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.card-accesodirecto img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.btn-inicio {
    font-family: "Libre Baskerville", serif;
    display: inline-block;
    background-color: #7d8a5f;
    color: #f5f1e6;
    padding: 10px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 0 #5f6b46;
    min-width: 220px;
    transition: all 0.2s ease;
}

.btn-inicio:hover {
    background-color: #d6b56f;
    color: #f5f1e6;
    box-shadow: 0 4px 0 #8c6b2f;
}

.container-accesos {
    border-bottom: 1px solid #c4a66b;
}


/*----------PÁGINA PORTAFOLIO---------*/
/*BANNER PORTAFOLIO*/

.pagina-portafolio .container-portafolio {
    display: flex;
    align-items: center;
}

.pagina-portafolio .texto-banner {
    background-color: rgba(236, 228, 213, 0.8);

}

.container-portafolio {
    background-image: url(../imagenes/portafolio/portafolio-hylonomus.webp);
    background-color: #EEE7D8;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    border-bottom: 1px solid #c4a66b;
}

/*CARRUSEL*/
/*TÍTULO*/
.vistazo h2 {
    text-align: center;
    padding-top: 35px;
    padding-bottom: 50px;
    color: #2e4a62;
}

/*CONTENEDOR GENERAL DEL CARRUSEL*/
.carrusel-portafolio {
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #c4a66b;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f1e6;
}

/*IMÁGENES*/
.carrusel-portafolio .carousel-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

/*INDICADORES DE SLIDE*/
.carrusel-portafolio .carousel-indicators [data-bs-target] {
    background-color: #7d8a5f;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carrusel-portafolio .carousel-indicators .active {
    background-color: #c4a66b;
}

/*FLECHAS ADELANTE Y ATRÁS*/
.carrusel-portafolio .carousel-control-prev-icon,
.carrusel-portafolio .carousel-control-next-icon {
    filter: invert(25%);
}

.container-carrusel {
    padding-bottom: 5rem !important;
}

/*GALERIAS*/
.container-galerias {
    text-align: center;
    color: #2e4a62;
    border-bottom: 1px solid #c4a66b;
    padding-bottom: 5rem !important;
}

/*SECCIÓN ACCESOS A GALERIAS*/

.container-galerias h2 {
    margin-top: 40px;
    margin-bottom: 50px;
    font-size: 30px;
}

.img-galeria {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1.5rem auto;
    /* border: 1px solid #c4a66b;*/
    object-position: center;
}

/*---------GALERIA PLANTAE, ANIMALIA Y OTRAS ESPECIES----------*/
/*ENCABEZADO PARA PÁGINAS*/
.container-titulo_galerias {
    background-color: rgba(236, 228, 213, 0.8);
    padding-top: 80px;
    border-bottom: 1px solid #c4a66b;
    align-items: center;
}

.texto-galeria {
    padding-top: 20px;
    padding-bottom: 20px;
}

.texto-galeria h3 {
    color: #2e4a62;
    font-size: 24px;
    text-align: center;
}

.texto-galeria h1 {
    color: #7d8a5f;
    font-size: 48px;
    text-align: center;
}

/* GALERÍAS*/
.galeria-portafolio {
    background-color: transparent;
}

.galeria-portafolio__item {
    height: 100%;
    padding: 10px;
}

.galeria-portafolio__imagen {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .3s ease;
}

.galeria-portafolio__imagen:hover {
    transform: scale(1.02);
}

.galeria-portafolio__info {
    padding-top: 12px;
    text-align: center;
}

.galeria-portafolio__titulo {
    font-family: "Libre Baskerville", serif;
    color: #2e4a62;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.galeria-portafolio__tecnica {
    color: #5A5A5A;
    margin: 0;
    font-size: .9rem;
}

/*GALERIA LIGHTBOX PARA GALERÍAS PLANTAE, ANIMALIA Y OTRAS ESPECIES*/
/*FONDO DEL LIGHTBOX (CAPA PRINCIPAL)*/
.fancybox-bg {
    background: rgba(245, 241, 230, 0.98) !important;
}

/*CONTENEDOR PRINCIPAL*/
.fancybox-skin {
    background: transparent !important;
    box-shadow: none !important;
}

/*IMAGEN ABIERTA*/
.fancybox-image {
    border: 10px solid #f5f1e6;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border-radius: 6px;
}

/*TEXTO TÉCNICA*/
.fancybox-caption {
    font-family: "Libre Baskerville", serif;
    color: #2e4a62;
    font-size: 16px;
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
    background: transparent !important;
}

/*BOTONES (CERRAR, FLECHAS, ETC)*/
.fancybox-button {
    background: #7d8a5f;
    color: #f5f1e6;
    transition: all 0.2s ease;
}

/*HOVER BOTONES*/
.fancybox-button:hover {
    background: #c4a66b;
    color: #fff;
}

/*ICONOS DENTRO DE BOTONES*/
.fancybox-button svg {
    fill: #f5f1e6;
}

/*CONTADOR*/
.fancybox-infobar {
    color: #2e4a62;
    font-family: "Libre Baskerville", serif;
}

/*PARA OCULTAR EL BOTÓN DE MINIATURAS*/
.fancybox-button--thumbs {
    display: none !important;
}

/*PARA OCULTAR EL PANEL DE MINIATURAS*/
.fancybox-thumbs {
    display: none !important;
}

/*AJUSTE DE IMAGEN PARA USAR EL ANCHO, PARA REMEDIAR HABER QUITADO EL PANEL DE MINIATURAS*/
.fancybox-show-thumbs .fancybox-inner {
    right: 0 !important;
}

/*----------PÁGINA SOBRE MÍ----------*/
/*ENCABEZADO*/
.container-sobremi {
    padding-top: 80px;
    text-align: center;
}

.titulo-sobre {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #EEE7D8;
    border-bottom: 1px solid #c4a66b;
}

.container-sobremi h1 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 42px;
    color: #7d8a5f;
}

/*SEMBLANZA*/
.titulo-semblanza {
    color: #2e4a62;
}

.img-semblanza {
    padding-left: 80px;
    padding-right: 80px;
}

.img-semblanza img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.texto-semblanza {
    padding-right: 135px;
    text-align: left;
}

.texto-semblanza h3 {
    color: #2e4a62;
}

.texto-semblanza p {
    color: #5A5A5A;
    font-size: 16px;
}

/*TÉCNICAS*/
.container-sobremi {
    padding-bottom: 20px;
    border-bottom: 1px solid #c4a66b;
}

.encabezado-tecnicas h3 {
    color: #2e4a62;
}

.encabezado-tecnicas p {
    color: #5A5A5A;
    font-size: 16px;
}

/*----------PÁGINA SERVICIOS----------*/
/*BANNER DE ENCABEZADO*/
.pagina-servicios .container-portafolio {
    display: flex;
    align-items: center;
}

.pagina-servicios .texto-banner {
    background-color: rgba(236, 228, 213, 0.8);
}

.container-servicios {
    background-image: url(../imagenes/servicios/servicios-banner.webp);
    background-color: #EEE7D8;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    border-bottom: 1px solid #c4a66b;
    display: flex;
    align-items: center;
}


/*SECCIÓN SERVICIOS*/
.seccion-servicios {
    padding-top: 60px;
}

.encabezado-servicios {
    text-align: center;
    padding-top: 35px;
    padding-bottom: 50px;
    color: #2e4a62;
}

.encabezado-servicios h2 {
    padding-bottom: 20px;
}

.encabezado-servicios p {
    color: #5A5A5A;
    font-size: 16px;
}

.fila-servicios {
    padding-bottom: 40px;
    border-bottom: 1px solid #c4a66b;
}

.columna-servicios {
    padding-bottom: 30px;
}

.columna-servicios h3 {
    color: #7d8a5f;
    text-align: center;
    margin-bottom: 20px;
}

.imagen-servicio {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #c4a66b;
}

.columna-servicios p {
    color: #5A5A5A;
    text-align: center;
    line-height: 1.7;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
}

/*SECCIÓN TÉCNICAS*/
.seccion-tecnicas {
    padding-top: 20px;
    padding-bottom: 60px;
}

.encabezado-tecnicas {
    text-align: center;
    padding-top: 35px;
    padding-bottom: 35px;
    color: #2e4a62;
}

.encabezado-tecnicas h2 {
    color: #2e4a62;
    margin: 0;
    padding-bottom: 20px;
}

.encabezado-tecnicas p {
    color: #5A5A5A;
    margin: 0;
    padding-bottom: 20px;
    font-size: 16px;
}

.tecnica-item {
    padding: 20px;
}

.contenido-tecnica {
    text-align: center;
}

.imagen-tecnica {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.imagen-tecnica:hover {
    transform: scale(1.03);
}

.titulo-tecnica {
    color: #2e4a62;
    font-size: 1.3rem;
}

/*----------PÁGINA CONTACTO----------*/
/*ENCABEZADO*/
.container-contacto {
    padding-top: 80px;
    text-align: center;
}

.titulo-contacto {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #EEE7D8;
    border-bottom: 1px solid #c4a66b;
}

.container-contacto h1 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 42px;
    color: #7d8a5f;
}

.img-contacto {
    padding-left: 80px;
    padding-right: 80px;
}

.img-contacto img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/*INFORMACIÓN*/
.subtitulo-contacto {
    color: #2e4a62;
}

.texto-contacto {
    padding-right: 80px;
    padding-left: 40px;
    text-align: left;
}

.texto-contacto h3 {
    color: #2e4a62;
}

.texto-contacto p {
    color: #5A5A5A;
}

.correo-contacto {
    padding-left: 32px;
    padding-right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.icono-correo {
    width: 56px;
    height: auto;
    flex-shrink: 0;
}

.texto-correo {
    color: #7d8a5f;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.texto-correo:hover {
    color: #c4a66b;
}

/*BOTÓN FLOTANTE CONTACTO*/
.boton-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.boton-flotante img {
    width: 55px;
    height: auto;
    display: block;
}

/*BOTÓN FLOTANTE PARA REGRESAR A PORTAFOLIO DESDE LAS GALERÍAS*/
.boton-flotante_portafolio {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
}

.boton-flotante_portafolio img {
    width: 50px;
    height: auto;
    display: block;
}

/*----------FOOTER---------*/
footer {
    min-width: 80px;
    text-align: center;
    color: #7d8a5f;
    padding: 20px 0;
    border-top: 1px solid #7d8a5f;
}

.texto-footer {
    font-family: "Libre Baskerville", serif;
    font-size: 12px;
}


/*MEDIA QUERYS*/

/*PANTALLAS MÓVILES*/
@media (max-width: 991.98px) {

    /*----------NAVBAR---------*/
    .navbar-img {
        max-height: 42px;
    }

    .logo-navbar {
        align-items: center;
    }

    /*MENÚ*/
    .navbar-collapse {
        width: 100%;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 20px;
        margin: 0;
        min-height: 55px;
    }

    /*HOVER Y ACTIVE MOVIL NAVBAR*/
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: #9BAB77;
        color: white;
    }

    /*BORDE INFERIOR MENÚ MOVIL */
    .navbar-nav .nav-item:not(:last-child) .nav-link {
        border-bottom: 1px solid #c4a66b;
    }

    /*AJUSTES ESTRUCTURA NAVBAR*/
    .navbar .row {
        width: 100%;
    }

    .navbar-collapse {
        width: 100%;
    }

    /*----------PÁGINA INICIO----------*/
    /*BANNER PRINCIPAL*/
    .container-banner {
        background-image: none;
        height: auto;
        min-height: 300px;
        margin-top: 80px;
        padding: 0;
        border-bottom: 1px solid #c4a66b;
    }

    .container-banner img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: right center;
        display: block;
    }

    .texto-banner {
        padding: 0px;

    }

    .texto-banner h1 {
        font-size: 42px;
        font-weight: bold;
        color: #7d8a5f;
        padding-top: 20px;
        padding-left: 0;
        text-align: center;

    }

    .texto-banner h3 {
        font-size: 20px;
        font-weight: bold;
        color: #2e4a62;
        padding-bottom: 20px;
        padding-left: 0;
        text-align: center;
    }

    /*SECCIÓN ACCESOS DIRECTOS INICIO*/

    .fila-accesos {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .card-accesodirecto {
        padding-bottom: 40px;
        padding-top: 5px;
    }

    .card-accesodirecto img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: contain;
    }

    /*----------PÁGINA PORTAFOLIO----------*/
    /*BANNER PRINCIPAL*/
    .container-portafolio {
        background-image: none;
        height: auto;
        padding: 0;
        border-bottom: 1px solid #c4a66b;
    }

    .container-portafolio img {
        width: 100%;
        height: auto;
        display: block;

    }

    .pagina-portafolio .texto-banner {
        background-color: transparent;
        padding-top: 0;
    }

    .container-portafolio h1 {
        font-size: 42px;
    }

    /*CARRUSEL PORTAFOLIO*/
    .carrusel-portafolio .carousel-item img {
        height: 300px;
    }


    /*ACCESOS A GALERÍAS*/
    .img-galeria {
        width: 100%;
        max-width: 300px;
        min-width: 220px;
    }

    .imagen-galeria {
        padding-bottom: 40px;
    }


    /*----------PÁGINA SOBRE MÍ----------*/
    .container-sobremi h1 {
        font-size: 42px;
    }

    .img-semblanza {
        padding-left: 20px;
        padding-right: 20px;
    }

    .titulo-semblanza {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .texto-semblanza {
        padding-right: 60px;
        padding-left: 60px;
        text-align: center;
        font-size: 13px;
    }

    .encabezado-tecnicas h3 {
        color: #2e4a62;
        padding-bottom: 20px;
    }

    /*---------PÁGINA SERVICIOS----------*/

    .container-servicios {
        background-image: none;
        background-color: #EEE7D8;
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
        margin-top: 80px;
        border-bottom: 1px solid #c4a66b;
    }

    .container-servicios h1 {
        font-size: 42px;
    }

    /*SECCIÓN SERVICIOS*/
    .seccion-servicios {
        padding-top: 40px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .encabezado-servicios {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .columna-servicios {
        padding-bottom: 40px;
    }

    /*SECCIÓN TÉCNICAS*/
    .seccion-tecnicas {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tecnica-item {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .imagen-tecnica {
        max-width: 280px;
    }

    .encabezado-tecnicas {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    /*----------PÁGINA CONTACTO----------*/
    .container-contacto h1 {
        font-size: 42px;
    }

    .titulo-contacto {
        text-align: center;
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .img-contacto {
        padding-left: 20px;
        padding-right: 20px;
    }

    .texto-contacto {
        padding-right: 20px;
        padding-left: 20px;
    }

    .texto-contacto h3 {
        color: #2e4a62;
        padding-top: 40px;
        padding-bottom: 20px;
        text-align: center;
    }

    .texto-contacto p {
        color: #5A5A5A;
        padding-bottom: 20px;
        text-align: center;
    }

    .correo-contacto {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .icono-correo {
        width: 56px;
        height: auto;
    }

    .texto-correo {
        display: block;
        text-align: center;
    }

}


/*PANTALLAS GRANDES*/
@media (min-width: 992px) {

    /*----------PÁGINA INICIO----------*/
    /*SECCIÓN ACCESOS DIRECTOS*/
    .card-accesodirecto img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }
}