/**
 * BTFC Stats Independent Menu System - Club Badge Component
 * 
 * Styles for the club badge section
 * 
 * @package BTFC_Stats
 * @since 1.0.0
 */

/* ============================================
   Club Badge Section
   ============================================ */

.btfc-menu-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    grid-row: 1 / 3;
    grid-column: 1;
}

.btfc-club-badge-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btfc-club-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    text-align: center;
}

.btfc-club-badge-link {
    display: block;
    text-decoration: none;
}

.btfc-club-badge {
    width: 115px;
    height: 115px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: hidden;
    display: block;
}

.btfc-club-badge-placeholder {
    width: 115px;
    height: 115px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    color: #2d398c;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 193, 12, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btfc-club-badge-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 10px;
    pointer-events: none;
}

.btfc-club-badge-placeholder:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 193, 12, 0.5);
}

.btfc-club-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transform: translateY(-3px); /* Shift text up by 3px */
    line-height: 1.2;
}

.btfc-club-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transform: translateY(-3px); /* Match team name positioning */
    line-height: 1.2;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .btfc-menu-branding {
        grid-row: 1;
        grid-column: 1;
        justify-self: start;
    }
    
    .btfc-club-badge {
        width: 80px;
        height: 80px;
    }
    
    .btfc-club-badge-placeholder {
        width: 80px;
        height: 80px;
        font-size: 20px;
    }
    
    .btfc-club-name {
        font-size: 16px;
    }
    
    .btfc-club-tagline {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .btfc-club-badge-section {
        gap: 8px;
    }
    
    .btfc-club-badge {
        width: 60px;
        height: 60px;
    }
    
    .btfc-club-badge-placeholder {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .btfc-club-name {
        font-size: 14px;
    }
    
    .btfc-club-tagline {
        font-size: 9px;
    }
}
