/**
 * Location Explore Button
 * Sticky bottom button for destinations, venues, and stages
 * Matches the position and styling of lifelist-experience-action-slider
 */

.location-explore-button-container {
    box-sizing: border-box;
    display: none !important; /* Hidden by default, shown on mobile */
    align-items: center !important;
    justify-content: center !important;
    border-top: 1px solid #EBEBEB !important;
    position: fixed !important;
    bottom: 0 !important;
    height: 84px !important;
    left: 0 !important;
    right: 0 !important;
    contain: paint !important;
    background: #ffffff !important;
    transition: transform 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955), visibility 0.2s !important;
    z-index: 9998 !important; /* Below mobile nav (9999) */
    padding: 12px 16px !important;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.08);
}

/* Show on mobile only */
@media (max-width: 768px) {
    .location-explore-button-container {
        display: flex !important;
    }
}

/* Button styling */
.location-explore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 16px 24px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.location-explore-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.location-explore-btn:active {
    transform: translateY(0);
}

/* Icon styling */
.location-explore-btn svg {
    flex-shrink: 0;
}

.location-explore-btn .arrow-icon {
    margin-left: auto;
}

.location-explore-btn span {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .location-explore-btn {
        font-size: 14px;
        padding: 12px 16px;
        gap: 8px;
    }
    
    .location-explore-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Hide when mobile nav is scrolled up */
.mobile-nav-hidden .location-explore-button-container {
    transform: translateY(100%);
    visibility: hidden;
}

/* Ensure proper spacing for page content */
@media (max-width: 768px) {
    body.has-location-explore-button {
        padding-bottom: 84px;
    }
}
