/* =============================================================================
   ESTILOS DA SUB-PÁGINA DE LOCALIZAÇÃO DO CLUBE (VERSÃO PREMIUM)
   Caminho: front/pages/club/css/club_info.css
   ============================================================================= */

.location-tab-wrapper {
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
}

/* Card base */
.location-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.details-pane {
    padding: 2.25rem !important;
}

/* Intro Header */
.card-intro {
    margin-bottom: 2rem;
}

.badge-accent {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.club-brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.club-tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Stack de informações */
.info-blocks-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-block-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-sphere {
    width: 42px;
    height: 42px;
    background-color: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.block-text {
    display: flex;
    flex-direction: column;
}

.block-label {
    font-size: 0.72rem;
    font-weight: 750;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.block-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.45;
}

.block-value.clickable {
    color: var(--text-main);
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
    width: fit-content;
}

.block-value.clickable:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Pills de navegação (Apple/Airbnb Style) */
.navigation-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: auto;
}

.nav-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px !important; /* Pill style */
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    border: none;
    flex: 1;
    min-width: 145px;
    box-sizing: border-box;
    transition: filter 0.2s ease !important;
}

/* Google Maps Button Styling */
.google-maps-btn {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

/* Waze Button Styling */
.waze-btn {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

/* Flat hover updates only, no scales/transforms/shadow changes */
.nav-pill-btn:hover {
    filter: brightness(1.12) !important;
}

/* Painel de Mapa */
.map-pane {
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 420px;
}

.iframe-mask {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.4);
}

.iframe-mask iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsivo */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-pane,
    .iframe-mask {
        min-height: 340px;
    }
}

@media (max-width: 480px) {
    .details-pane {
        padding: 1.5rem !important;
    }
    
    .club-brand-name {
        font-size: 1.4rem;
    }

    .navigation-pills-row {
        flex-direction: column;
    }
    
    .nav-pill-btn {
        width: 100%;
    }
}
