.navbar {
    height: 85px;
    padding: 0 !important;
}

.navbar-brand-centered {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-logo {
    height: 75px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    display: block;
}



@media (max-width: 991.98px) {
    .navbar {
        height: 75px;
    }

    .navbar-logo {
        height: 65px;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        height: 65px;
    }

    .navbar-logo {
        height: 55px;
    }
}

/* =========================================
   GALERÍA
========================================= */

.gallery-item {
    position: relative;
    overflow: hidden;

    border-radius: 5px;

    background: #f8f9fa;

    cursor: pointer;

    height: 300px;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.gallery-item:hover img {
    transform: scale(1.08);
}


.gallery-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    transition: opacity 0.3s ease;
}


.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


.gallery-overlay i {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-size: 20px;
}


/* =========================================
   INFORMACIÓN DEL TRABAJO
========================================= */

.trabajo-descripcion {
    max-width: 850px;

    margin: 0 auto;

    color: #666;

    line-height: 1.8;

    font-size: 16px;
}


/* =========================================
   MODAL
========================================= */

.gallery-modal .modal-dialog {
    max-width: 1100px;
}


.gallery-modal .modal-content {
    background: #000;

    border: none;

    border-radius: 0;
}


.gallery-modal .modal-body {
    padding: 0;

    position: relative;
}


.gallery-modal img {
    width: 100%;

    max-height: 80vh;

    object-fit: contain;

    display: block;

    margin: auto;
}


/* =========================================
   BOTÓN CERRAR
========================================= */

.gallery-close {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 10;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);

    color: white;

    font-size: 20px;

    cursor: pointer;
}


.gallery-close:hover {
    background: rgba(0, 0, 0, 0.85);
}


/* =========================================
   NAVEGACIÓN
========================================= */

.gallery-navigation {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);

    color: white;

    font-size: 22px;

    z-index: 10;

    cursor: pointer;
}


.gallery-navigation:hover {
    background: rgba(0, 0, 0, 0.85);
}


.gallery-prev {
    left: 20px;
}


.gallery-next {
    right: 20px;
}


/* =========================================
   CONTADOR
========================================= */

.gallery-counter {
    position: absolute;

    bottom: 15px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.65);

    color: white;

    padding: 5px 15px;

    border-radius: 20px;

    font-size: 14px;

    z-index: 10;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767.98px) {

    .gallery-item {
        height: 240px;
    }

    .gallery-modal img {
        max-height: 70vh;
    }

    .gallery-navigation {
        width: 42px;
        height: 42px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

}