@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

body,
html {
    height: 100%;
    margin: 0;
    background: #000;
    font-family: "Cabin", sans-serif;
    box-sizing: border-box;
}

.cabin-400,
.cabin-500,
.cabin-600,
.cabin-700 {
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.cabin-400 {
    font-weight: 400;
}

.cabin-500 {
    font-weight: 500;
}

.cabin-600 {
    font-weight: 600;
}

.cabin-700 {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.letter-spacing-1 {
    letter-spacing: .1rem;
}

.sidebar {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    background: #f5f3ef;
    color: #000;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.logo {
    width: 35%;
}

.sidebar a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #757167;
}

.sidebar .active {
    background: #000;
    color: #f5f3ef !important;
    transition: background 0.5s, color 0.5s;
}

.navbar-contact {
    padding: 16px;
    color: #757167;
    font-size: 0.95rem;
}

.navbar-contact p {
    margin: 0 0 2px 0;
}

.navbar-contact a {
    font-size: 1.4rem;
    color: #757167;
    margin-right: 10px;
    transition: color 0.3s;
}

.call-us {
    color: #757167;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-contact a:hover,
.call-us:hover {
    color: #000;
    cursor: pointer;
}

.carousel,
.carousel-inner,
.carousel-item,
main {
    height: 100vh;
}

.carousel-item img,
.object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item {
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 48px;
    background: rgba(0, 0, 0, 0.75);
    right: 20px;
    left: auto;
    bottom: 80px;
    top: auto;
    transform: none;
    opacity: 1;
    transition: opacity 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1039;
}

.carousel-control-next {
    bottom: 132px;
}

.carousel-control-prev {
    bottom: 80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.service-info-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    transform: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    letter-spacing: .05em;
    z-index: 1039;
    height: 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    will-change: opacity;
}

.service-info-button.show {
    opacity: 1;
    pointer-events: auto;
}

.service-info-button:hover {
    background: #000;
    transition: color 0.3s;
}

.suppliers,
.certifications {
    text-align: center;
}

.suppliers a img,
.certifications a img {
    width: 100px;
    margin: 0 20px
}

.offcanvas-bottom {
    border: none;
    border-radius: 0;
    background: #f5f3ef;
    color: #000;
    height: auto !important;
    max-height: 80vh;
}

.offcanvas.show~.service-info-button,
.offcanvas.showing~.service-info-button,
.offcanvas.show~.carousel-control-prev,
.offcanvas.showing~.carousel-control-prev,
.offcanvas.show~.carousel-control-next,
.offcanvas.showing~.carousel-control-next {
    opacity: 0 !important;
    pointer-events: none !important;
}

.offcanvas-header {
    border-bottom: 1px solid #e0dedb;
    background: transparent;
    padding: 1.5rem;
}

.offcanvas-title {
    font-family: "Cabin", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1rem;
    font-size: 1.2rem;
}

.offcanvas-body {
    padding: 1.5rem;
    font-family: "Cabin", sans-serif;
    line-height: 1.6;
}

.btn-close {
    filter: none;
}

.offcanvas .btn-close {
    filter: none;
}

.modal .btn-close {
    filter: invert(1);
}

.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #f5f3ef;
    z-index: 1041;
}

.mobile-menu-container {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 45px;
    width: 100%;
    background: #f5f3ef;
    z-index: 1041;
    max-height: calc(100vh - 45px);
    overflow-y: auto;
}

@media (max-width: 1200px) {

    body,
    html {
        overflow: hidden;
    }

    .sidebar {
        display: none !important;
    }

    .carousel,
    .carousel-inner,
    .carousel-item,
    main {
        height: calc(100dvh - 45px);
    }

    .carousel-item {
        position: relative;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        height: 45px;
        justify-content: space-between;
    }

    .mobile-menu-container.show {
        display: block;
    }

    .service-info-button {
        bottom: 60px;
        z-index: 1038;
        transition: opacity 0.4s, transform 0s;
    }

    .mobile-menu-container.show~.service-info-button,
    .mobile-menu-container.show~.carousel-control-prev,
    .mobile-menu-container.show~.carousel-control-next {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .mobile-menu-container {
        display: none;
        background: #f5f3ef;
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 45px);
        overflow-y: auto;
    }

    .mobile-menu-container.show {
        display: block;
    }

    .mobile-menu-toggle {
        width: 100%;
        background: transparent;
        border: none;
        outline: none;
        padding: 12px 16px;
        text-align: center;
        font-family: "Cabin", sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        color: #000;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        background: rgba(0, 0, 0, 0.05);
        outline: none;
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
        background: #f5f3ef;
    }

    .mobile-menu-list li {
        margin: 0;
    }

    .mobile-menu-list li:last-child {
        margin-bottom: 0;
    }

    .mobile-menu-list button {
        width: 100%;
        background: transparent;
        border: none;
        padding: 14px 16px;
        text-align: center;
        font-family: "Cabin", sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        color: #000;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .mobile-menu-list button:hover,
    .mobile-menu-list button.active {
        background: #000;
        color: #f5f3ef;
    }

    .mobile-footer {
        display: none;
    }

    .footer-content {
        text-align: center;
        font-size: 0.85rem;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: #f5f3ef;
        color: #757167;
    }

    .footer-content p {
        display: inline;
        margin: 0 6px 0 0;
        font-size: inherit;
    }

    @media (max-width: 480px) {
        .footer-content {
            font-size: 0.75rem;
        }

        .footer-content p {
            display: block;
            margin: 0;
            line-height: 1.3;
        }
    }

    .footer-content a {
        color: #757167;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-content a:hover {
        color: #000;
    }

    .footer-social {
        margin-top: 0.75rem;
    }

    .footer-social a {
        font-size: 1.2rem;
        color: #757167;
        margin: 0 8px;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-social a:hover {
        color: #000;
    }

    main {
        width: 100vw;
    }

    .offcanvas-bottom {
        max-height: 70vh;
    }

    .service-info-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-next {
        bottom: 120px;
    }

    .carousel-control-prev {
        bottom: 72px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    padding: 0;
    background: #000;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    grid-row: span 1;
}

.gallery-item:before {
    content: '';
    display: block;
    padding-top: 66.67%;
}

.gallery-item.portrait {
    grid-row: span 2;
}

.gallery-item.portrait:before {
    padding-top: 150%;
}

.gallery-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.pswp {
    --pswp-bg: #000000;
}

.pswp__img {
    object-fit: cover !important;
    width: 100vw !important;
    height: 100vh !important;
    object-position: center !important;
}

.pswp__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    height: 100vh !important;
}

.pswp__zoom-wrap {
    width: 100vw !important;
    height: 100vh !important;
    transform: none !important;
    transition: none !important;
}

.pswp__custom-caption {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.modal-dialog.modal-xl {
    max-width: fit-content;
    margin: 1.75rem auto;
    padding: 0 2rem;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
    width: auto;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-title {
    color: #fff;
    font-family: "Cabin", sans-serif;
    font-weight: 500;
}

.modal-body {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-height: calc(80vh - 6rem);
    height: auto;
    width: auto;
    max-width: min(calc(90vw - 6rem), 100%);
    object-fit: contain;
}

.btn-close {
    filter: invert(1);
}

@media (max-width: 767px) {
    .gallery-grid {
        padding: 0;
    }

    #slide-gallery {
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-item img {
        opacity: 1;
        filter: grayscale(0%);
    }

    .gallery-item:active img {
        opacity: 0.8;
    }
}