/* ============================================================
   contact.css — Contact form styling
   Inherits parchment/emerald tokens from main.css
   ============================================================ */

#email-form {
    max-width: 580px;
    margin: 2rem auto 4rem;
    padding: 2rem 2.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(26,77,46,0.08);
}

[data-theme="dark"] #email-form {
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

#email-form h2 {
    text-align: center;
    margin-bottom: 1.8rem;
    color: var(--green);
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] #email-form h2 {
    color: var(--green-light);
}

#email-form input,
#email-form textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0.6rem 0 1rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--input-text);
    font-family: 'Lateef', serif;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#email-form input:focus,
#email-form textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px var(--green-glow);
}

#email-form textarea {
    resize: vertical;
    min-height: 130px;
}

#email-form button {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--green);
    border: none;
    border-radius: 8px;
    color: #e8f5e9;
    font-family: 'Lateef', serif;
    font-size: 1.2rem;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 12px rgba(26,77,46,0.25);
}

#email-form button:hover {
    background-color: var(--green-mid);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,77,46,0.3);
}

#email-form button:active {
    transform: translateY(0);
}
