/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Logo Styles */
header .logo_normal img,
header .logo_sticky img {
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {

    header .logo_normal img,
    header .logo_sticky img {
        max-height: 50px !important;
    }
}

/* Gallery Styles */
.gallery-carousel {
    margin-bottom: 30px;
    min-height: 300px;
}

.gallery-carousel .item {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Filter Buttons */
.gallery-filter {
    margin-bottom: 30px;
}

.gallery-filter button {
    margin: 0 5px 10px;
    transition: all 0.3s ease;
}

.gallery-filter button.active {
    background-color: #416040;
    color: white;
    border-color: #416040;
}

/* Gallery Categories */
.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gallery-category {
    padding: 10px 20px !important;
    border: 2px solid #416040 !important;
    background: transparent !important;
    color: #416040 !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.gallery-category:hover {
    background: #416040 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.gallery-category.active {
    background: #416040 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(65, 96, 64, 0.3) !important;
}

/* Gallery Carousel Effects */
.gallery-content .item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-content .item img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Navigation positioning for all gallery carousels */
.gallery-content .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.gallery-content .owl-nav button {
    position: absolute;
    background: transparent !important;
    color: #333 !important;
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    pointer-events: all;
}

.gallery-content .owl-nav button.owl-prev {
    left: 10px;
}

.gallery-content .owl-nav button.owl-next {
    right: 10px;
}

.gallery-content .owl-nav button:hover {
    color: #666 !important;
    transform: scale(1.2) !important;
}

@media (max-width: 768px) {
    .gallery-categories {
        gap: 10px;
        margin-bottom: 10px;
    }

    .gallery-category {
        padding: 8px 16px;
        font-size: 14px;
    }
}