/* Projects Carousel Styles */

#projects-carousel {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#projects-carousel .owl-carousel .owl-item {
    padding: 10px;
}

.badge-primary {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--main-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.heading-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color) 0%, #6610f2 100%);
    border-radius: 2px;
    margin-top: 1rem;
}

.border-top-primary {
    border-top: 4px solid var(--main-color) !important;
}

/* Project Card Styles */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.project-card:hover {
    /* transform: translateY(-8px); */
    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); */
}

.project-card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image {
    transform: scale(1.1);
}

.project-card-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay .btn {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-overlay .btn {
    transform: scale(1);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-right: 40px;
}

.project-card-location {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.project-card-location i {
    margin-right: 0.25rem;
}

/* Property Badges */
.project-card-properties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 3px 7px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.property-badge i {
    font-size: 0.875rem;
}

/* Price Section */
.project-card-price {
    color: var(--main-color);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
}

/* Card Footer */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.view-details {
    color: var(--main-color);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.project-card:hover .view-details {
    gap: 0.75rem;
}

.project-card-arrow {
    transition: transform 0.3s ease;
    color: var(--main-color);
}

.project-card:hover .project-card-arrow {
    transform: translateX(4px);
}

/* Carousel Navigation */.project-card:hover .project-card-arrow {
    transform: translateX(4px);
}

/* Owl Carousel Navigation Buttons */
#projects-carousel .owl-carousel .owl-buttons .owl-prev,
#projects-carousel .owl-carousel .owl-buttons .owl-next,
#projects-carousel .owl-carousel .owl-nav .owl-prev,
#projects-carousel .owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white !important;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #495057 !important;
    font-size: 18px !important;
    padding: 0 !important;
    opacity: 1 !important;
}

#projects-carousel .owl-carousel .owl-buttons .owl-prev:hover,
#projects-carousel .owl-carousel .owl-buttons .owl-next:hover,
#projects-carousel .owl-carousel .owl-nav .owl-prev:hover,
#projects-carousel .owl-carousel .owl-nav .owl-next:hover {
    background: white !important;
    color: var(--main-color) !important;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#projects-carousel .owl-carousel .owl-buttons .owl-prev,
#projects-carousel .owl-carousel .owl-nav .owl-prev {
    left: -25px;
}

#projects-carousel .owl-carousel .owl-buttons .owl-next,
#projects-carousel .owl-carousel .owl-nav .owl-next {
    right: -25px;
}

/* Carousel Navigation */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #495057;
}

.carousel-nav-btn:hover {
    background: var(--main-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev {
    left: -20px;
}

.carousel-nav-next {
    right: -20px;
}

.carousel-nav-btn i {
    font-size: 1.25rem;
}

/* Carousel Indicators */
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    width: 48px;
    height: 12px;
    background: var(--main-color);
    border-radius: 6px;
}

.carousel-indicator:hover {
    background: #adb5bd;
}

.carousel-indicator.active:hover {
    background: var(--main-color);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-nav-prev {
        left: -10px;
    }
    
    .carousel-nav-next {
        right: -10px;
    }
}

@media (max-width: 767px) {
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-btn i {
        font-size: 1rem;
    }
    
    .project-card-body {
        padding: 1rem;
    }
    
    .project-card-title {
        font-size: 1rem;
    }
    
    .project-card-price {
        margin: 0 -0.25rem 0.75rem -0.25rem;
    }
    
    .price-value {
        font-size: 1.125rem;
    }
    
    .property-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeIn 0.5s ease;
}

/* Utility Classes */
.bg-light {
    background-color: #f8f9fa !important;
}
