/* Gallery Styles */
#explore-paradise-section {
    padding: 60px 0;
    background-color: #fdfaf5;
}

.section-title {
    margin-bottom: 40px;
    font-size: 2.8rem;
    font-weight: 300;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #333;
}

/* #galleryTabs {
    border: none;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
    flex-wrap: wrap;
} */

/* #galleryTabs .nav-item .nav-link {
    border: none;
    color: var(--secondary-color);
    padding: 8px 25px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: 30px;
} */



#galleryTabs .nav-item .nav-link.active {
    /* color: var(--bs-body-bg); */
    /* border: 1px solid #111; */
    /* background: var(--secondary-color); */
    /* border-radius: 30px; */
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
    aspect-ratio: 1 / 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
    display: block;
    opacity: 1;
}

.gallery-hover-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
    padding: 30px;
    text-align: center;
}

/* The L-shaped corners */
.gallery-hover-name::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    pointer-events: none;
    background:
        linear-gradient(to right, #fff 1.5px, transparent 1.5px) 0 0,
        linear-gradient(to bottom, #fff 1.5px, transparent 1.5px) 0 0,
        linear-gradient(to left, #fff 1.5px, transparent 1.5px) 100% 0,
        linear-gradient(to bottom, #fff 1.5px, transparent 1.5px) 100% 0,
        linear-gradient(to right, #fff 1.5px, transparent 1.5px) 0 100%,
        linear-gradient(to top, #fff 1.5px, transparent 1.5px) 0 100%,
        linear-gradient(to left, #fff 1.5px, transparent 1.5px) 100% 100%,
        linear-gradient(to top, #fff 1.5px, transparent 1.5px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    transform: scale(1.1);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.08);
    opacity: 0.8;
}

.gallery-img-wrapper:hover .gallery-hover-name {
    opacity: 1;
}

.gallery-img-wrapper:hover .gallery-hover-name::before {
    transform: scale(1);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    #galleryTabs .nav-item .nav-link {
        padding: 6px 15px;
        font-size: 12px;
    }

    .gallery-hover-name {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .gallery-hover-name::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        background-size: 15px 15px;
    }
}



.banner {
    height: 500px;
    overflow: hidden;
}

.banner img.img-fluid {
    height: 500px;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.banner .guides {
    position: absolute;
    height: 500px;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
}



#explore-paradise-section .nav-tabs {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 40px;
}

#explore-paradise-section .nav-link.active {
    background-color: #004d4d;
    color: white;
    font-size: 14px;
}

#explore-paradise-section .nav-link {
    border: none;
    background-color: #f3f0e9;
    color: #555;
    border-radius: 25px;
    padding: 8px 25px;
    margin: 0 5px 10px 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}






#explore-paradise-section .nav-link {
    border: none;
    background-color: #f3f0e9;
    color: #555;
    border-radius: 25px;
    padding: 8px 25px;
    margin: 0 5px 10px 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}