/* ══════════════════════════════════════════
   Contact Page (contact.html)
   Styled to match About page
   ══════════════════════════════════════════ */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f3ee;
}

/* ── Hero Banner ── */
.hero {
    background: linear-gradient(180deg, #8b4513 0%, #654321 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* ── Main Container ── */
.container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* ── Contact Card ── */
.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Intro section */
.contact-intro {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-bottom: 3px solid #8b6e52;
}

.contact-intro p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 0.5rem;
}

.section-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b6e52;
    display: inline-block;
}

/* ── Form Section ── */
.contact-form-section {
    padding: 2.5rem;
}

.contact-form-section form {
    max-width: 600px;
}

.contact-form-section label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
}

.contact-form-section label:first-child {
    margin-top: 0;
}

.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: #8b6e52;
    box-shadow: 0 0 0 3px rgba(139,110,82,0.15);
    background: white;
}

.contact-form-section textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section button {
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contact-form-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,69,19,0.3);
}

.contact-form-section button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form status message */
.form-status {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── Connect Section ── */
.connect-section {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-top: 1px solid #ecf0f1;
}

.connect-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.connect-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.connect-card:hover {
    border-color: #8b6e52;
    color: #8b6e52;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139,110,82,0.2);
}

.connect-icon {
    font-size: 1.5rem;
}

/* Footer overrides */
footer { margin-top: 3rem; }
footer a { color: #8b6e52; }

/* ── Responsive ── */
@media (max-width: 700px) {
    .hero h1 {
        font-size: 2rem;
    }

    .contact-intro,
    .contact-form-section,
    .connect-section {
        padding: 1.5rem;
    }

    .connect-grid {
        flex-direction: column;
    }
}
