html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding-top: 70px;
}
section {
    border-bottom: 1px solid #ddd; 
    scroll-margin-top: 70px;
}

.slider-img {
    height: 90vh; 
    object-fit: cover; 
    filter: brightness(60%);
}


.custom-caption {
    bottom: 30%;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8); 
}

.carousel-caption h2 {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.listing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.listing-card img {
    height: 220px;
    object-fit: cover;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    cursor: zoom-in;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); 
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.7); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

#imageModal .modal-content {
    background-color: transparent;
}

#imageModal img {
    border: 5px solid white;
}