/* ============================================
   BRANDS SHOWCASE SECTION
   ============================================ */

.brands-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.brands-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.brand-card {
    background: rgba(10, 25, 49, 0.6);
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(201, 169, 98, 0.3);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-logo-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    background-color: #000000; /* SFONDO NERO per i loghi */
    border-radius: 8px;
    padding: 30px;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(201, 169, 98, 0.3));
    transition: all 0.4s ease;
}

.brand-card:hover .brand-logo {
    filter: drop-shadow(0 8px 24px rgba(201, 169, 98, 0.5));
    transform: scale(1.05);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 0.95rem;
    color: rgba(201, 169, 98, 0.8);
    line-height: 1.6;
    font-weight: 400;
}

.brands-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.brands-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-showcase {
        padding: 60px 0;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brand-logo-container {
        height: 140px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
