/* ===== home.css ===== */

/* --- CLIENTS --- */
.clients {
    background:var(--primary);
}

.clients-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
}

.client-box {
    height:220px;
    padding: 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.12);
    border-radius:30px;
    transition:.5s;
}

.client-box:hover {
    transform:translateY(-10px);
}

.client-box img {
    max-height:170px;
    max-width:94%;
    width:auto;
    opacity:.7;
    transition:.5s;
}

.client-box:hover img {
    opacity:1;
}

/* --- CTA --- */
.cta-section {
    padding:120px 0;
    background: linear-gradient( 90deg, #c9a44d, #e8c97d);
}

.cta-box {
    text-align:center;
    max-width:900px;
    margin:auto;
}

.cta-box h2 {
    font-size:52px;
    color:var(--primary);
    margin-bottom:25px;
}

.cta-box p {
    font-size:18px;
    color:#183126;
    margin-bottom:50px;
}

.cta-buttons {
    display:flex;
    justify-content:center;
    gap:20px;
}

.cta-buttons .main-btn {
    background:var(--primary);
    color:var(--white);
}

.cta-buttons .outline-btn {
    border:1px solid var(--primary);
    color:var(--primary);
}

/* --- CTA SIZE FIX --- */
.cta-box h2 {
    font-size: 40px;
}

.cta-box p {
    font-size: 16px;
}

.cta-section {
    padding: 90px 0;
}

/* --- GALLERY --- */
.home-gallery {
    background: var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 30px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .8s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.5));
    opacity: 0;
    transition: .5s;
}

.gallery-item:hover::before {
    opacity: 1;
}
