/* pages/contact.css */

/* ---------- Hero ---------- */
.hero--contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 82px);
    background: linear-gradient(135deg, #c8e6c9 60%, #81c784 30%, #4caf50 10%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
}

.hero__subtitle {
    font-size: 1.5rem;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f1f8e9, #ffffff);
}

.contact__container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact__title {
    text-align: center;
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 3rem;
}

/* Layout: form + info side by side on desktop */
.contact__layout {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Contact Form */
.contact__form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__group {
    display: flex;
    flex-direction: column;
}

.contact__label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2e7d32;
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #c8e6c9;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    transition: border 0.3s ease;
    min-height: 50px;
}

.contact__textarea {
    min-height: 160px;
    resize: vertical;
}

.contact__input:focus,
.contact__textarea:focus {
    border-color: #4caf50;
}

.contact__btn {
    background: linear-gradient(135deg, #81c784, #4caf50);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Contact Info */
.contact__info {
    flex: 0.8;
    min-width: 250px;
    background: #e8f5e9;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact__info h3 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

.contact__qr {
    width: 200px;
    height: 200px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 768px) {
    .contact__layout {
        flex-direction: column;
    }

    .contact__form,
    .contact__info {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }
}