/* --- Figma Design Match: Landscape Cards --- */

.location-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    /* Keep Aspect Ratio 4/3 */
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0f0f0;
}

/* On mobile, make them 2 per row usually (col-sm-6 handles width),
   but we adjust ratio for better visibility */
@media (max-width: 768px) {
    .location-card {
        aspect-ratio: 3 / 2;
    }
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.location-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.location-card:hover .location-image-wrapper img {
    transform: scale(1.05);
}

.location-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.5) 75%,
        rgba(0,0,0,0.9) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.location-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: left;
}

.location-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.location-underline {
    width: 35px;
    height: 3px;
    background-color: #1f8b80;
    margin-top: 8px;
    border-radius: 2px;
}
