/* ============================================
   Purple Dog Technologies - Clients Section
   File: css/sections/clients.css
   ============================================ */

/* Clients Section */
.clients {
    padding: 80px 2rem;
    background: var(--dark-lighter);
}

.clients-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 60px;
    position: relative;
}

.clients-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Clients Grid */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Client Logo Card */
.client-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        var(--gradient) border-box;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    filter: grayscale(30%);
    opacity: 0.9;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .clients {
        padding: 60px 1.5rem;
    }

    .clients-grid {
        gap: 20px;
    }

    .client-logo {
        width: 150px;
        height: 100px;
        padding: 15px;
    }

    .clients-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: 140px;
        height: 90px;
    }
}
