/* Contact Page Styles - Koyu Tema Uyumlu */

.contact-page {
    padding: 2rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--layout-ink, #e5e7eb);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--layout-muted, #94a3b8);
    font-size: 1.1rem;
}

/* Contact Card - Koyu Tema */
.contact-card {
    border: 1px solid var(--layout-border, rgba(148, 163, 184, 0.18));
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: var(--layout-panel, rgba(15, 23, 42, 0.88));
    backdrop-filter: blur(12px);
}

    .contact-card .card-header {
        background: linear-gradient(135deg, var(--bs-primary, #3b82f6) 0%, #4a90d9 100%);
        color: white;
        padding: 1rem 1.5rem;
        border: none;
    }

    .contact-card .card-title {
        font-weight: 600;
    }

    .contact-card .card-body {
        padding: 1.5rem;
        background: transparent;
    }

    /* Form Controls - Koyu Tema */
    .contact-card .form-control,
    .contact-card .form-select {
        background-color: rgba(15, 23, 42, 0.6);
        border-color: var(--layout-border, rgba(148, 163, 184, 0.18));
        color: var(--layout-ink, #e5e7eb);
    }

        .contact-card .form-control:focus,
        .contact-card .form-select:focus {
            background-color: rgba(15, 23, 42, 0.8);
            border-color: var(--bs-primary, #3b82f6);
            color: var(--layout-ink, #e5e7eb);
            box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
        }

        .contact-card .form-control::placeholder {
            color: var(--layout-muted, #94a3b8);
            opacity: 0.7;
        }

        /* Select dropdown options */
        .contact-card .form-select option {
            background-color: #1e293b;
            color: var(--layout-ink, #e5e7eb);
        }

    /* Input Icon - Koyu Tema */
    .contact-card .input-icon {
        color: var(--layout-muted, #94a3b8);
    }

/* Form Styles */
.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--layout-muted, #94a3b8);
    z-index: 1;
}

.form-control.has-icon {
    padding-left: 40px;
}

.form-control:focus {
    border-color: var(--bs-primary, #3b82f6);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--layout-ink, #e5e7eb);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info Card */
.contact-info-card .card-body {
    padding: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .contact-info-item:last-of-type {
        margin-bottom: 0;
    }

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bs-primary, #3b82f6) 0%, #4a90d9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--layout-ink, #e5e7eb);
}

.contact-info-content p,
.contact-info-content a {
    margin-bottom: 0;
    color: var(--layout-muted, #94a3b8);
}

    .contact-info-content a:hover {
        color: var(--bs-primary, #3b82f6);
    }

/* HR separator */
.contact-card hr {
    border-color: var(--layout-border, rgba(148, 163, 184, 0.18));
    opacity: 1;
}

/* FAQ Accordion - Koyu Tema */
.contact-faq h6 {
    font-weight: 600;
    color: var(--layout-ink, #e5e7eb);
}

.accordion-item {
    border: 1px solid var(--layout-border, rgba(148, 163, 184, 0.18));
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
}

.accordion-button {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    color: var(--layout-ink, #e5e7eb);
}

    .accordion-button:not(.collapsed) {
        background-color: rgba(59, 130, 246, 0.2);
        color: #60a5fa;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: var(--bs-primary, #3b82f6);
    }

    .accordion-button::after {
        filter: invert(1) brightness(0.7);
    }

    .accordion-button:not(.collapsed)::after {
        filter: invert(1) brightness(1);
    }

.accordion-body {
    font-size: 0.9rem;
    color: var(--layout-muted, #94a3b8);
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.4);
}

    .accordion-body a {
        color: #60a5fa;
    }

        .accordion-body a:hover {
            color: #93c5fd;
        }

/* Submit Button */
#submitBtn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    #submitBtn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }

    #submitBtn:disabled {
        opacity: 0.7;
    }

/* reCAPTCHA Notice */
.recaptcha-notice {
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    text-align: center;
}

/* Success Modal - Koyu Tema */
.success-modal-content {
    border: 1px solid var(--layout-border, rgba(148, 163, 184, 0.18));
    border-radius: 20px;
    overflow: hidden;
    background: var(--layout-panel, rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(12px);
}

.success-animation {
    position: relative;
    margin-bottom: 1.5rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease-out;
}

    .checkmark-circle i {
        font-size: 2.5rem;
        color: white;
    }

.sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

    .sparkles span {
        position: absolute;
        width: 8px;
        height: 8px;
        background: #fbbf24;
        border-radius: 50%;
        animation: sparkle 1s ease-out forwards;
    }

        .sparkles span:nth-child(1) {
            top: 0;
            left: 50%;
            animation-delay: 0.1s;
        }

        .sparkles span:nth-child(2) {
            top: 50%;
            right: 0;
            animation-delay: 0.2s;
        }

        .sparkles span:nth-child(3) {
            bottom: 0;
            left: 50%;
            animation-delay: 0.3s;
        }

        .sparkles span:nth-child(4) {
            top: 50%;
            left: 0;
            animation-delay: 0.4s;
        }

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes sparkle {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--layout-ink, #e5e7eb);
    margin-bottom: 0.5rem;
}

.success-text {
    color: var(--layout-muted, #94a3b8);
    margin-bottom: 1.5rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Alert Styles - Koyu Tema */
.alert {
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

    .alert i {
        font-size: 1.25rem;
        flex-shrink: 0;
    }

.alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Validation Styles */
.form-control.is-invalid {
    border-color: #ef4444;
}

.invalid-feedback {
    font-size: 0.85rem;
    color: #f87171;
}

/* Character Count */
#charCount {
    transition: color 0.3s ease;
    color: var(--layout-muted, #94a3b8);
}

.char-warning {
    color: #fbbf24 !important;
}

.char-danger {
    color: #ef4444 !important;
}

/* Text muted override for dark theme */
.contact-card .text-muted {
    color: var(--layout-muted, #94a3b8) !important;
}

.contact-card .text-danger {
    color: #f87171 !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-info-card {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-title {
        font-size: 1.5rem;
    }

    .contact-card .card-body {
        padding: 1rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        margin: 0 auto;
    }
}
