/* SSS sayfası (CI3 public_page/pages/faq.php içindeki <style>).
   layouts/job_posting.blade.php css/styles/public/faq.css dosyasını otomatik bağlar. */
.faq-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    height: 360px;
}

.faq-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.faq-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27, 46, 53, 0.9) 0%, rgba(27, 46, 53, 0.5) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 40px 50px;
}

.faq-hero .hero-text {
    max-width: 550px;
}

.faq-hero .hero-text h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.faq-hero .hero-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.faq-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.faq-content .faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-content .faq-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-content .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: start;
    color: #1b2e35;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.faq-content .faq-question:hover {
    color: #2f6f83;
}

.faq-content .faq-question:focus {
    outline: none;
}

.faq-content .faq-question .faq-icon {
    flex-shrink: 0;
    margin-inline-end: 14px;
    color: #2f6f83;
    width: 20px;
    height: 20px;
}

.faq-content .faq-question .faq-arrow {
    flex-shrink: 0;
    margin-inline-start: 14px;
    color: #aaa;
    transition: transform 0.3s;
    width: 18px;
    height: 18px;
}

.faq-content .faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
    color: #2f6f83;
}

.faq-content .faq-question[aria-expanded="true"] {
    color: #2f6f83;
}

.faq-content .faq-answer {
    padding: 0 22px 18px 56px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.75;
}

.faq-contact {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.faq-contact-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.faq-contact-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1b2e35;
    margin-bottom: 8px;
}

.faq-contact-box p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.faq-contact-box .btn-contact {
    background: #1b2e35;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.faq-contact-box .btn-contact:hover {
    background: #2f6f83;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(27, 46, 53, 0.3);
}

.faq-contact-box .btn-contact svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-inline-end: 6px;
}

@media (max-width: 767px) {
    .faq-hero {
        height: 280px;
    }

    .faq-hero .hero-overlay {
        padding: 24px;
        background: linear-gradient(to top, rgba(27, 46, 53, 0.9) 0%, rgba(27, 46, 53, 0.4) 100%);
        align-items: flex-end;
    }

    .faq-hero .hero-text h2 {
        font-size: 1.4rem;
    }

    .faq-hero .hero-text p {
        font-size: 0.9rem;
    }

    .faq-content {
        padding: 0 10px 30px;
    }

    .faq-content .faq-question {
        font-size: 0.9rem;
        padding: 15px 16px;
    }

    .faq-content .faq-answer {
        padding: 0 16px 15px 46px;
    }

    .faq-contact {
        padding: 0 10px 30px;
    }

    .faq-contact-box {
        padding: 24px;
    }
}
