/**
 * Home Spotlight - Nearby / Featured Carousel
 * Shows nearby POIs when GPS available, featured content otherwise
 */

/* Spotlight Card */
#home-spotlight-card {
    position: relative;
    height: 120px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

/* Spotlight slide */
.spotlight-slide {
    display: flex;
    align-items: stretch;
    height: 120px;
}

.spotlight-slide.hidden {
    display: none;
}

/* Image section */
.spotlight-image {
    flex: 0 0 35%;
    background-size: cover;
    background-position: center;
    height: 120px;
}

/* Content section */
.spotlight-content {
    flex: 1;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
}

.spotlight-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: background 0.2s;
    width: fit-content;
    margin-top: 0.25rem;
}

.spotlight-cta:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Carousel dots */
.spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
}

.spotlight-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.spotlight-dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 16px;
    border-radius: 3px;
}

/* Loading state */
.spotlight-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}
