/* ====== CLIENTS & PORTFOLIO V2 (DEEP MIDNIGHT) ====== */

.clients-page {
    background-color: var(--base-100);
    color: var(--fg-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* HERO SECTION */
.hero-standard {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-standard h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-standard p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--fg-secondary);
}

/* LOGO SLIDER - REFINED */
.logo-section {
    padding: 60px 0;
    position: relative;
}

.logo-container {
    background: var(--base-200);
    border: 1px solid var(--border-default);
    border-radius: 24px;
    padding: 40px 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.logo-slider-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
}

.logo-slider-track img {
    height: 50px;
    width: auto;
    filter: grayscale(1) brightness(0.8) contrast(1.2);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.logo-slider-track img:hover {
    filter: grayscale(0) brightness(1) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SITES GRID */
.portfolio-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--base-200);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.portfolio-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 24px;
    background: linear-gradient(to top, var(--base-300), transparent);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--fg-primary);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--fg-muted);
}

/* CTA BANNER - REFINED (Yellow Focus) */
.cta-banner {
    background: linear-gradient(135deg, var(--base-300) 0%, var(--base-200) 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 30px var(--accent-glow);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--fg-primary);
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--fg-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .hero-standard h1 {
        font-size: 3rem;
    }
}
