/**
 * Contact Page Styles
 */

/* Page Layout */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 70px 20px 40px;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #a0aec0;
    font-size: 1.1rem;
}

/* Form Container */
.contact-form-container {
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:disabled,
.form-group textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.char-count {
    font-size: 12px;
    color: #64748b;
    text-align: right;
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Turnstile Container */
.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

/* Error Message */
.error-message-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 14px;
}

/* Success Message */
.success-message-box {
    background: #1e293b;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.success-message-box h3 {
    color: #22c55e;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message-box p {
    color: #a0aec0;
    margin-bottom: 25px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.btn-submit {
    min-width: 200px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Contact Info */
.contact-info {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #334155;
}

.contact-info h3 {
    color: #e2e8f0;
    font-size: 16px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 10px;
}

.info-icon {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-page {
        padding: 60px 15px 30px;
    }

    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-form-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
    }
}
