﻿:root {
    --primary-dark: #1c1f23;
    --body-text: #495057;
    --heading-text: #212529;
    --section-alt: #f4f6f8;
    --accent: #c6a75e;
    --accent-hover: #b8964c;
    --card-bg: #ffffff;
}

/* ============================= */
/* PROJECTS SECTION */
/* ============================= */

.projects-section {
    background-color: var(--section-alt);
    color: var(--heading-text);
    padding: 80px 0;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--heading-text);
}

.title-underline {
    width: 70px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), #e6d3a3);
    margin-top: 15px;
}

/* ============================= */
/* PROJECT CARD */
/* ============================= */

.project-card {
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s ease;
}

    .project-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        transform: translateY(-6px);
    }

/* ============================= */
/* IMAGE */
/* ============================= */

.image-wrapper {
    position: relative;
    overflow: hidden;
}

    .image-wrapper img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

/* Hover zoom */
.project-card:hover img {
    transform: scale(1.08);
}

/* ============================= */
/* IMAGE OVERLAY */
/* ============================= */

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .image-overlay {
    opacity: 1;
}

/* Overlay Button */
.overlay-btn {

    border-radius: 8px;
    padding: 12px 32px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.35s ease;
    backdrop-filter: blur(2px);
}

    .overlay-btn:hover {
        border-radius: 8px;
        background-color: var(--accent);
        color: #000;
        transform: translateY(-2px);
    }








/* ============================= */
/* PROJECT CONTENT */
/* ============================= */

.project-content {
    padding: 20px 5px 10px;
    background: #f4f6f8;
}

    .project-content h5 {
        font-weight: 600;
        letter-spacing: 1px;
        color: var(--primary-dark);
    }

    .project-content p {
        font-size: 0.95rem;
        color: var(--body-text);
    }

/* ============================= */
/* SCROLL REVEAL */
/* ============================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }







/* CTA button start*/
.cta-btn {
    display: inline-block;
    padding: 9px 24px;
    background: var(--accent);
    color: #000;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

    .cta-btn:hover {
        border-radius: 8px;
        transform: translateY(-3px);
        box-shadow: 0 9px 20px rgba(0,0,0,0.4);
        opacity: 0.9;
    }
/* CTA button end*/






