/* ---------- HEADER + BACKGROUND ---------- */
.contact-header {
    position: relative;
    height: 380px;
    background-image: url("/images/photovoltaique1.jpg");
    background-size: cover;
    background-position: center;
    z-index: -10;
}

.contact-header .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.568);
}

.contact-title {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.contact-title h1 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
}

.contact-title h2 {
    margin-top: 10px;
    font-size: 22px;
    letter-spacing: 4px;
    font-weight: 300;
}

/* ---------- FORM BOX ---------- */
.contact-box {
    width: 60%;
    background: #ffffffe3;
    padding: 40px;
    margin: -60px auto 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
}

/* ---------- FORM LAYOUT ---------- */
.two-columns {
    display: flex;
    gap: 25px;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

input, textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 2px;
    font-size: 15px;
    outline: none;
    transition: all .3s;
}

input:focus, textarea:focus {
    border-bottom-color: #000;
}

textarea {
    height: 120px;
    resize: none;
}

/* ---------- CHECKBOX ---------- */
.checkbox-area {
    margin: 20px 0;
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-area input {
    margin-top: 4px;
}

/* ---------- BUTTON ---------- */
.send-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 40px;
    font-size: 16px;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.send-btn:hover {
    background: #444;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 900px) {
    .contact-box {
        width: 90%;
    }

    .contact-title h1 {
        font-size: 26px;
    }

    .two-columns {
        flex-direction: column;
    }
}

