/* Location Carousel Styles */

.location-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.location-carousel {
    overflow: hidden;
    margin: 0 -15px;
}

.location-cards {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 15px;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 2;
}

.carousel-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,54,166,0.3);
}

.carousel-nav-prev {
    left: 0;
}

.carousel-nav-next {
    right: 0;
}

/* Location Cards */
.location-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.location-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card Image */
.location-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.location-card:hover .community-image {
    transform: scale(1.08);
}

.location-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    font-size: 60px;
}

/* Badge */
.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

/* Card Body */
.location-card-body {
    padding: 30px;
}

.location-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

.location-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 400;
}

/* Highlights */
.location-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.location-highlights li {
    padding: 8px 0;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-highlights i {
    color: var(--primary);
    font-size: 12px;
    background: rgba(0,109,176,0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card Footer */
.location-card-footer {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.view-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.location-card:hover .view-link {
    gap: 12px;
}

.view-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.location-card:hover .view-link i {
    transform: translateX(3px);
}

/* Coming Soon Styles */
.location-card.coming-soon .location-card-placeholder {
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
}

.location-card.coming-soon .location-highlights i {
    background: rgba(212,175,55,0.1);
    color: var(--gold);
}

.location-card.coming-soon .view-link {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 1200px) {
    .location-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .location-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .location-card {
        flex: 0 0 calc(100% - 30px);
    }
    
    .location-card-image {
        height: 200px;
    }
    
    .location-title {
        font-size: 22px;
    }
}