/* ========================================
   Contact Page Styling
   ======================================== */

.contact-page {
    min-height: 80vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(232, 150, 84, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 183, 110, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #fffbf5 0%, #fff5eb 100%);
    padding: 3rem 0;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #2c2416;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #9b8579 0%, #b5a295 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Contact Info Cards */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(155, 133, 121, 0.15);
}

.contact-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.contact-info-card p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.contact-info-card a {
    color: #9b8579;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #b5a295;
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2rem 0;
    text-align: center;
}

/* Form Styles */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #334155;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: white;
    border-color: #9b8579;
    box-shadow: 0 0 0 3px rgba(155, 133, 121, 0.1);
}

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

/* Form Message */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #9b8579 0%, #b5a295 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(155, 133, 121, 0.3);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(155, 133, 121, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page {
        padding: 2rem 0;
    }
    
    .contact-container {
        padding: 0 1.5rem;
        margin-top: 60px;
    }
    
    .contact-header {
        margin-bottom: 2.5rem;
    }
    
    .contact-title {
        font-size: 2.25rem;
    }
    
    .contact-subtitle {
        font-size: 1.125rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
}

/* ========================================
   Dark Theme Support for Contact Page
   ======================================== */

body[data-theme="dark"] .contact-page {
    background: linear-gradient(135deg, #1a0f08 0%, #2c1810 100%);
}

body[data-theme="dark"] .contact-title {
    color: #f1f5f9;
    background: linear-gradient(135deg, #b5a295 0%, #9b8579 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body[data-theme="dark"] .contact-subtitle {
    color: #cbd5e1;
}

body[data-theme="dark"] .contact-info-card {
    background: rgba(44, 24, 16, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .contact-info-card:hover {
    box-shadow: 0 8px 20px rgba(155, 133, 121, 0.3);
}

body[data-theme="dark"] .contact-info-card h3 {
    color: #f1f5f9;
}

body[data-theme="dark"] .contact-info-card p {
    color: #cbd5e1;
}

body[data-theme="dark"] .contact-info-card a {
    color: #b5a295;
}

body[data-theme="dark"] .contact-info-card a:hover {
    color: #9b8579;
}

body[data-theme="dark"] .contact-form-section {
    background: rgba(44, 24, 16, 0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .contact-form-section h2 {
    color: #f1f5f9;
}

body[data-theme="dark"] .form-group label {
    color: #f1f5f9;
}

body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .form-group textarea {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(155, 133, 121, 0.2);
    color: #f1f5f9;
}

body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .form-group textarea:focus {
    background: rgba(15, 23, 42, 0.7);
    border-color: #9b8579;
    box-shadow: 0 0 0 3px rgba(155, 133, 121, 0.2);
}

body[data-theme="dark"] .form-group input::placeholder,
body[data-theme="dark"] .form-group textarea::placeholder {
    color: #94a3b8;
}

body[data-theme="dark"] .contact-submit-btn {
    background: linear-gradient(135deg, #9b8579 0%, #b5a295 100%);
    box-shadow: 0 4px 12px rgba(155, 133, 121, 0.4);
}

body[data-theme="dark"] .contact-submit-btn:hover {
    box-shadow: 0 6px 16px rgba(155, 133, 121, 0.5);
}

