/* ==================== CONTACT PAGE ==================== */
.contact-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #2d2420;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ==================== FORM WRAPPER ==================== */
.contact-form-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

/* ==================== FORM SECTION ==================== */
.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-group label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    padding: 0.85rem 1rem;
    border: 2px solid #e8e0d5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fafafa;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(240, 128, 48, 0.1);
    background: white;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-group.full-width {
    grid-column: 1 / -1;
}

/* Form footer with submit and social links */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-submit:hover {
    background: #e67520;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 128, 48, 0.3);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.social-links-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid #e8e0d5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Form validation */
.contact-form-group .error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: none;
}

.contact-form-group.has-error input,
.contact-form-group.has-error textarea,
.contact-form-group.has-error select {
    border-color: #dc3545;
}

.contact-form-group.has-error .error {
    display: block;
}

/* Success message */
.contact-success {
    background: #28a745;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-success.show {
    display: flex;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-submit {
        justify-content: center;
    }
    
    .social-links-form {
        justify-content: center;
    }
}