/* ===============================================
   Contact Page Styles - AysimaPOS Landing
   Modern SaaS Design - Variables Based
   =============================================== */

/* Contact Hero - COMPACT */
.contact-hero {
    padding: var(--spacing-16) 0 var(--spacing-14);
    background: var(--gradient-primary);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
}

.contact-hero .container {
    max-width: 1280px;
}

.contact-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero__subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.contact-hero__link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--success-400);
    transition: all 0.3s ease;
}

.contact-hero__link:hover {
    color: var(--success-400);
    text-decoration-color: #ffffff;
    text-underline-offset: 5px;
}

/* Contact Content - COMPACT */
.contact-content {
    padding: 1rem 0;
    background: var(--gray-50);
}

.contact-content .container {
    max-width: 1280px;
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 2rem;
    border-radius: 16px;
}

/* Contact Info Cards */
.contact-info {
    position: sticky;
    top: 20px;
}

.contact-info__card {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
}

.contact-info__card:hover {
    box-shadow: var(--shadow-xl);
}

/* Compact Card Styles */
.contact-info__card--compact .contact-info__header {
    background: var(--gradient-primary);
    padding: var(--spacing-6);
    color: #ffffff;
}

.contact-info__card--compact .contact-info__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-2);
    color: #ffffff;
    display: flex;
    align-items: center;
}

.contact-info__card--compact .contact-info__title i {
    opacity: 0.9;
}

.contact-info__card--compact .contact-info__subtitle {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: #ffffff;
    opacity: 0.95;
    margin: 0;
}

.contact-info__card--compact .contact-info__body {
    padding: var(--spacing-6);
}

/* Contact Reasons - Compact List */
.contact-reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-5);
}

.reason-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-2);
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-duration-200) var(--transition-timing-function-out);
}

.reason-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.reason-item i {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    flex-shrink: 0;
}

/* Divider */
.contact-info__divider {
    height: 1px;
    background: var(--gray-200);
    margin: var(--spacing-5) 0;
}

/* Quick Stats - Compact */
.contact-info__quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-5);
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3);
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
}

.quick-stat i {
    font-size: 22px;
    color: var(--primary-600);
}

.quick-stat .stat-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.quick-stat .stat-text strong {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    line-height: 1;
}

.quick-stat .stat-text span {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    font-weight: var(--font-weight-semibold);
}

/* Security Badge - Compact */
.contact-info__security {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    color: #ffffff;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.contact-info__security i {
    font-size: 18px;
    opacity: 0.9;
}

/* OLD Comprehensive Card Styles (Kept for Backward Compatibility) */
.contact-info__card--comprehensive {
    padding: 0;
    overflow: hidden;
}

.contact-info__header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.contact-info__header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.contact-info__icon--large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-info__icon--large i {
    font-size: 36px;
    color: #ffffff;
}

.contact-info__header .contact-info__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.contact-info__subtitle {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.contact-info__body {
    padding: 2rem;
}

/* Contact Features List */
.contact-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
}

.contact-feature:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.contact-feature .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-feature .feature-icon i {
    font-size: 20px;
    color: #ffffff;
}

.contact-feature .feature-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.contact-feature .feature-content strong {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    line-height: var(--line-height-tight);
}

.contact-feature .feature-content span {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    line-height: var(--line-height-normal);
}

/* Contact Info Stats */
.contact-info__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.contact-info__stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info__stats .stat-item i {
    font-size: 28px;
    color: var(--primary-600);
}

.contact-info__stats .stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.contact-info__stats .stat-content strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.contact-info__stats .stat-content span {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Info Highlight */
.contact-info__highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    border-radius: 12px;
    color: #ffffff;
}

.contact-info__highlight i {
    font-size: 28px;
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-info__highlight .highlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info__highlight .highlight-content strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-info__highlight .highlight-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

/* Old Icon Styles (Kept for Backward Compatibility) */
.contact-info__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-info__icon i {
    font-size: 28px;
    color: #ffffff;
}

.contact-info__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-info__text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.detail-item i {
    width: 20px;
    color: var(--primary-600);
    font-size: 14px;
}

/* Highlight Card */
.contact-info__card--highlight {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    color: #ffffff;
}

.highlight-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-title i {
    font-size: 20px;
}

.highlight-text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

/* Contact Form - COMPACT */
.contact-form {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-8);
    box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    margin-bottom: var(--spacing-2);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: var(--spacing-3) var(--spacing-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    transition: all var(--transition-duration-200) var(--transition-timing-function-out);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .form-control.is-invalid {
    border-color: var(--danger-500);
}

.contact-form .invalid-feedback {
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-1);
}

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

.contact-form .form-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.contact-form .form-check {
    padding-left: 1.75rem;
}

.contact-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 2px solid var(--gray-300);
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.contact-form .form-check-label {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-form .form-check-label a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

.contact-form .form-check-label a:hover {
    text-decoration: underline;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

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

.contact-form .btn-primary:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
}

/* Alerts */
.contact-form .alert {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border: none;
}

.contact-form .alert-success {
    background: var(--success-100);
    color: var(--success-900);
}

.contact-form .alert-danger {
    background: var(--danger-100);
    color: var(--danger-900);
}

.contact-form .alert i {
    font-size: 1.125rem;
}

/* FAQ Section */
.contact-faq {
    padding: 20px 0 20px;
    background: var(--gray-50);
}

.contact-faq .container {
    max-width: 1280px;
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 2rem;
    border-radius: 16px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin: 0 auto;
    font-weight: 400;
    max-width: 600px;
}

.faq-container {
    max-width: 1280px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: #ffffff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-600) 0%, var(--accent-500) 100%);
    transition: height 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gray-300);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.faq-item:hover::before {
    height: 100%;
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary-600);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.faq-question strong {
    display: block;
    font-weight: 700;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.65;
    padding-left: 2rem;
    margin: 0;
}

/* Tüm FAQ section'ları için ortalama */
.faq-section .section-title {
    justify-content: center !important;
}

.faq-section .section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.faq-section .faq-question {
    display: block !important;
    text-align: center !important;
}

.faq-section .faq-question strong {
    text-align: center !important;
}

/* FAQ Footer */
.faq-footer {
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.faq-footer__text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.faq-footer__text i {
    font-size: 1.375rem;
    color: var(--primary-600);
}

/* Character Count */
#charCount {
    font-weight: 600;
    color: var(--primary-600);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero__title {
        font-size: 2.5rem;
    }

    .contact-hero__subtitle {
        font-size: 1.125rem;
    }

    .contact-content {
        padding: 50px 0;
    }

    .contact-info {
        position: static;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-item {
        padding: 1rem 1.25rem;
    }

    .contact-info__quick-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-hero__title {
        font-size: 2rem;
    }

    .contact-hero__subtitle {
        font-size: 1rem;
    }

    .contact-content {
        padding: 40px 0;
    }

    .contact-content .container {
        padding: 1rem;
    }

    .contact-faq .container {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info__card--compact .contact-info__header {
        padding: 1.5rem;
    }

    .contact-info__card--compact .contact-info__body {
        padding: 1.25rem;
    }

    .reason-item {
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    .reason-item i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .quick-stat {
        padding: 0.875rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .faq-item {
        padding: 0.875rem 1rem;
    }

    .faq-question {
        font-size: 0.9375rem;
        gap: 0.625rem;
    }

    .faq-question i {
        font-size: 1.125rem;
    }

    .faq-answer {
        padding-left: 1.75rem;
        font-size: 0.875rem;
    }

    .faq-footer__text {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info__quick-stats {
        padding: 0;
        background: transparent;
        gap: 0.75rem;
    }

    .quick-stat {
        padding: 0.75rem;
    }

    .reason-item span {
        font-size: 0.8125rem;
    }

    .contact-info__security {
        font-size: 0.8125rem;
        padding: 0.875rem;
    }
}

/* ============================================
   Hero Animations - Unique Style: Slide In from Left
   ============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-hero__title {
    animation: slideInLeft 0.8s ease-out;
}

.contact-hero__subtitle {
    animation: slideInRight 0.8s ease-out 0.15s both;
}
