/* image download */
img {
    -webkit-user-drag: none;
}

/* hero */
.gallery-hero {
    position: relative;
    z-index: 2;
    height: 50vh;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 992px) {
    .gallery-hero {
        height: 65vh;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 40vh;
    }
}

.gallery-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.png');
    background-position: center;
    background-size: cover;
    z-index: -1;
    animation: zoomIn 20s linear infinite alternate;
}

.gallery-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 63, 0.75);
    z-index: -1;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.custom-breadcrumb {
    background: rgb(10 31 63 / 15%);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 8%);
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #a4b5c6;
    display: flex;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #a4b5c6;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #0d6efd;
    opacity: 0.8;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #0d6efd;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color:  rgb(255 255 255 / 8%);
    padding: 0 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* main */
.gallery {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* apartments */
.stars {
    font-size: 0.5em;
    color: #0d6efd;
    vertical-align: middle;
}

.stars .fas {
    margin: 0 2px;
}

.apartment-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.amenities {
    font-size: 0.9rem;
    color: #333;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.amenity-item i {
    color: #0a1f3f;
    font-size: 1rem;
}

.amenity-item span {
    font-weight: 500;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 67%;
    overflow: hidden;
    border-radius: 0.25rem;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* gallery desktop */
.carousel {
    position: relative;
    padding: 20px 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #0a1f3f;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.glightbox-clean .gclose {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.glightbox-clean .gclose:hover {
    opacity: 1;
}

.glightbox-clean .gprev,
.glightbox-clean .gnext {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
    opacity: 1;
}

/* gallery mobile */
@media (max-width: 767.98px) {
    .carousel {
        position: relative;
        padding: 20px 0;
    }

    .carousel-inner {
        border-radius: 10px;
        overflow: hidden;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
        color: #0a1f3f;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
    }
}

.apartment-list-button {
    background-color: #f8f9fa;
    padding: 30px 0;
}

@media (max-width: 767.98px) {
    .apartment-list-button {
        padding: 0;
    }
}

.apartment-list-button .btn {
    font-size: 1.1rem;
    padding: 10px 30px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apartment-list-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}