﻿/* FAQ Page Styles - HIT-30 Theme Compatible */

.innerpage-title-area-faq {
    background: linear-gradient(#00000063, #101011), url(/theme/assets/img/common/sss.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 240px 0;
    position: relative;
    overflow: hidden;
}

    .innerpage-title-area-faq::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iMSIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpIi8+Cjwvc3ZnPgo=') repeat;
        opacity: 0.3;
    }

/*-----------------Animasyon - Sektörler sayfasından alındı--------------------*/

.overlay {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2;
    animation: slideOverlay 1.5s forwards;
}

a,
a:visited {
    font-size: 90% !important;
    text-decoration: underline;
}

    a:hover {
        color: black !important;
    }

@keyframes slideOverlay {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

@keyframes fadeInBg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.innerpage-title-area-faq .container {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInText 0.5s 1s forwards;
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*-----------------FAQ Container Styles--------------------*/

.faq-container {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.faq-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 79, 212, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-item:hover {
        background-color: rgba(0, 79, 212, 0.02);
    }

.faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

    .faq-header::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(135deg, #004fd4, #1346c5);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .faq-header.active::before {
        transform: scaleY(1);
    }

    .faq-header.active {
        background: linear-gradient(135deg, rgba(0, 79, 212, 0.05), rgba(19, 70, 197, 0.05));
        color: #004fd4;
    }

    /* FAQ Header Title - Diğer sayfalardaki stil ile aynı */
    .faq-header h3 {
        margin: 0;
        font-size: 110% !important;
        color: black;
        line-height: 1.4;
        flex: 1;
        padding-right: 20px;
        transition: color 0.3s ease;
    }

    .faq-header.active h3 {
        color: #004fd4 !important;
    }

.faq-icon {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004fd4, #1346c5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .faq-icon i {
        color: white;
        font-size: 14px;
        transition: transform 0.3s ease;
    }

.faq-header.active .faq-icon {
    background: linear-gradient(135deg, #b68a33, #d4a654);
    transform: rotate(180deg);
}

.faq-content {
    background: white;
}

.faq-body {
    padding: 0 30px 25px 30px;
    color: black;
    line-height: 34px !important;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Body Text - Diğer sayfalardaki stil ile aynı */
.faq-body p {
    margin-bottom: 15px;
    font-size: 16px !important;
    line-height: 34px !important;
    margin-top: 2%;
    color: black;
}

.faq-body ul, .faq-body ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-body li {
    margin-bottom: 8px;
    font-size: 16px !important;
    line-height: 34px !important;
    color: black;
}

.faq-link {
    color: #004fd4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .faq-link:hover {
        color: #1346c5;
        text-decoration: underline;
    }

/* Contact Card */
.faq-contact-card {
    margin-top: 40px;
    background: linear-gradient(135deg, #004fd4, #1346c5);
    padding: 30px;
    border-radius: 15px;
    color: white;
}

    .faq-contact-card h4 {
        color: white;
        margin-bottom: 10px;
        font-size: 21px !important;
        font-weight: bold;
    }

    .faq-contact-card p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0;
        font-size: 16px !important;
        line-height: 34px !important;
    }

.btn-contact {
    background: #b68a33;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px !important;
}

    .btn-contact:hover {
        background: #d4a654;
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(182, 138, 51, 0.4);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .innerpage-title-area-faq {
        padding: 200px 15px;
    }

        .innerpage-title-area-faq h2 {
            font-size: 36px !important;
            line-height: 42px !important;
        }

    .faq-container {
        padding: 40px 0;
    }

    .faq-header {
        padding: 20px;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
    }

        .faq-header h3 {
            font-size: 18px !important;
            padding-right: 0;
        }

    .faq-body {
        padding: 0 20px 20px 20px;
    }

        .faq-body p {
            font-size: 16px !important;
            line-height: 30px !important;
        }

        .faq-body li {
            font-size: 16px !important;
            line-height: 30px !important;
        }

    .faq-contact-card {
        padding: 25px 20px;
        text-align: center;
    }

        .faq-contact-card .row {
            text-align: center;
        }

        .faq-contact-card .col-md-4 {
            margin-top: 20px;
        }

    .btn-contact {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .innerpage-title-area-faq h2 {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-top: 30%;
    }

    .faq-header {
        padding: 15px;
    }

        .faq-header h3 {
            font-size: 16px !important;
        }

    .faq-body {
        padding: 0 15px 15px 15px;
    }

        .faq-body p {
            font-size: 14px !important;
            line-height: 28px !important;
        }

        .faq-body li {
            font-size: 14px !important;
            line-height: 28px !important;
        }

    .faq-wrapper {
        margin: 20px 15px;
        border-radius: 10px;
    }
}

/* Animation for page load */
.faq-wrapper {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation delay for staggered effect */
.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

.faq-item:nth-child(7) {
    animation-delay: 0.7s;
}

.faq-item:nth-child(8) {
    animation-delay: 0.8s;
}

/* Smooth scrolling for page */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.faq-header:focus {
    outline: 2px solid #004fd4;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .faq-container {
        background: white !important;
    }

    .faq-wrapper {
        box-shadow: none !important;
    }

    .faq-content {
        display: block !important;
    }

    .faq-icon {
        display: none !important;
    }
}
