/* ============================================================
   BEACON — Homepage Live Map Hero
   ============================================================ */

/* Hero section override for map layout */
.hero-section--beacon {
    padding: 0 !important;
    background: #1a3a6e;
}

.hero-section--beacon .hero-pattern {
    display: none;
}

/* Map container — contained on desktop, full-width on mobile */
.hero-map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.hero-map {
    width: 100%;
    height: 300px;
    z-index: 1;
}

/* ==================== Desktop Overlay ==================== */
.hero-map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,107,53,0.92) 0%, rgba(255,140,66,0.92) 50%, rgba(255,166,80,0.92) 100%);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    color: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-overlay-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.hero-map-stats {
    display: flex;
    gap: 1rem;
}

.hero-map-stats .promo-stat-number {
    font-size: 1.1rem;
}

.hero-map-stats .promo-stat-label {
    font-size: 0.6rem;
}

.hero-overlay-actions {
    display: flex;
    gap: 0.4rem;
}

.hero-overlay-actions .casual-promo-cta {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
}

/* ==================== Country Selector ==================== */
.hero-map-country-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 0.3rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-country-select {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    color: #333;
    padding: 0.15rem 0.4rem;
    outline: none;
}

.hero-country-select:focus {
    outline: none;
}

/* ==================== Mobile Bar (below map) ==================== */
.hero-below-map {
    display: none;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFa650 100%);
    padding: 0.6rem 1rem;
    color: white;
}

.hero-below-map-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.hero-below-map-stats {
    display: flex;
    gap: 1rem;
}

.hero-below-map-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* ==================== Tagline ==================== */
.hero-section--beacon .hero-tagline {
    padding: 0.6rem 1rem;
    margin: 0;
    background: #1a3a6e;
    color: rgba(255,255,255,0.75);
    text-align: center;
    font-size: 0.85rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ==================== Travel Info Panel ==================== */
.travel-info-section {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.travel-info-section .travel-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.travel-country-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.travel-country-switcher {
    margin-left: auto;
    border: 1px solid #ccc;
    background: white;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
}

/* ==================== No-coords list under map ==================== */
.hero-map-nocoords {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #e0e0e0;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero-map-container {
        max-width: 100%;
        border-radius: 0;
    }

    .hero-map {
        height: 280px;
    }

    /* Hide desktop overlay on mobile */
    .hero-map-overlay {
        display: none;
    }

    /* Show below-map bar on mobile */
    .hero-below-map {
        display: block;
    }

    .hero-below-map-top {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-below-map-actions .casual-promo-cta {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-section--beacon .hero-tagline {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-map {
        height: 250px;
    }

    .hero-below-map-stats {
        gap: 0.6rem;
    }

    .hero-below-map-stats .promo-stat-number {
        font-size: 1.1rem;
    }

    .hero-below-map-stats .promo-stat-label {
        font-size: 0.55rem;
    }

    .hero-below-map-actions {
        flex-wrap: wrap;
    }

    .hero-below-map-actions .casual-promo-cta {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        flex: 1;
        text-align: center;
    }

    .hero-map-country-bar {
        bottom: 6px;
        padding: 0.2rem 0.4rem;
    }

    .hero-country-select {
        font-size: 0.8rem;
    }
}
