/* ========================================
   Contact Page Styles
   ======================================== */

.contact-page {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

.contact-page .section-header {
    margin-bottom: 48px;
}

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

.contact-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

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

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

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: var(--accent-purple);
    font-size: 0.8rem;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* Checkbox */
.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.privacy-link {
    color: var(--accent-purple);
    text-decoration: underline;
}

.privacy-link:hover {
    color: var(--accent-purple-light);
}

/* Submit Button */
.form-submit {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.submit-button:active {
    transform: translateY(-1px);
}

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

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.show {
    display: block;
}

.success-icon {
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-message {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--accent-purple);
    border-radius: 50px;
    color: var(--accent-purple);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.back-home-btn:hover {
    background: var(--accent-purple);
    color: white;
}

/* Error States */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page {
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 48px;
    }

    .contact-form {
        gap: 24px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }
}
