/* =========================
   BUTTONS (GLOBAL)
========================= */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;
    text-align: center;

    cursor: pointer;
    transition: all 0.3s ease;

    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn:hover {
    background: #376d48;
    border-color: #376d48;
    transform: translateY(-2px);
}

/* Secondary button */
.btn--light {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--light:hover {
    background: #eaeaea;
}


/* =========================
   HOME CTA (GENERIC UTILITY ONLY)
   (safe wrapper only, no layout)
========================= */

.home-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* =========================
   PROJECT OVERLAY (PORTFOLIO COMPONENT)
========================= */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.project-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* overlay */
.project-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.7);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.3s ease;
    text-align: center;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}


/* =========================
   CONTACT FORM COMPONENT
========================= */

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form button {
    padding: 14px;
    border-radius: 30px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #376d48;
}


/* =========================
   UTILITY IMAGE SAFETY
========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}