/* DropSpeed - FAQ Page Styles */
/* PDF s.4 - SSS sayfası özel stilleri */

/* Page Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0 4rem;
    position: relative;
    color: var(--bg-white);
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-banner__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.page-banner__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.page-banner__subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
}

/* FAQ Intro */
.faq-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.faq-intro__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.faq-intro__text a {
    color: var(--primary-color);
    font-weight: 500;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Items */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.is-open {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item__button {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.faq-item__button:hover {
    background-color: rgba(0, 112, 185, 0.02);
}

.faq-item__button:focus {
    /*outline: 2px solid var(--primary-color);
    outline-offset: -2px;*/
    background-color: rgba(0, 112, 185, 0.05);
}

.faq-item.is-open .faq-item__button {
    background-color: rgba(0, 112, 185, 0.05);
}

.faq-item__question {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    padding-right: 1rem;
    flex: 1;
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
    background-color: var(--primary-hover);
}

.faq-item__content {
    border-top: 1px solid var(--border-light);
    background-color: rgba(0, 112, 185, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-item.is-open .faq-item__content {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.faq-item__answer {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Search functionality (if implemented) */
.faq-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.faq-search__input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-white);
    transition: all 0.2s ease;
}

.faq-search__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 185, 0.1);
}

.faq-search__input::placeholder {
    color: var(--text-muted);
}

/* No Results Message */
.faq-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.faq-no-results p {
    font-size: 1.125rem;
    margin: 0;
}

.faq-no-results a {
    color: var(--primary-color);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 112, 185, 0.8) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

/* Category Filters (if implemented) */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 25px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-banner {
        padding: 6rem 0 3rem;
    }
    
    .page-banner__title {
        font-size: 2.5rem;
    }
    
    .faq-intro__text {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .faq-item__button {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-item__answer {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 4rem 0 2rem;
    }
    
    .page-banner__title {
        font-size: 2rem;
    }
    
    .page-banner__subtitle {
        font-size: 1.125rem;
    }
    
    .faq-intro {
        margin-bottom: 2rem;
    }
    
    .faq-item__button {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-item__question {
        padding-right: 0.75rem;
    }
    
    .faq-item__icon {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
    
    .faq-item__answer {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .faq-categories {
        margin-bottom: 2rem;
    }
    
    .faq-search {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .page-banner {
        padding: 3rem 0 1.5rem;
    }
    
    .page-banner__title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .page-banner__subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-item__button {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
    
    .faq-item__question {
        padding-right: 0.5rem;
        line-height: 1.3;
    }
    
    .faq-item__icon {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }
    
    .faq-item__answer {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
    
    .faq-intro__text {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
    
    .faq-search__input {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-categories {
        gap: 0.5rem;
    }
    
    .faq-category-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .page-banner {
        background: none !important;
        color: var(--text-dark) !important;
        padding: 2rem 0 !important;
    }
    
    .page-banner::before {
        display: none !important;
    }
    
    .page-banner__title,
    .page-banner__subtitle {
        color: var(--text-dark) !important;
    }
    
    .cta-section {
        background: none !important;
        color: var(--text-dark) !important;
    }
    
    .cta-title {
        color: var(--text-dark) !important;
    }
    
    .faq-item {
        box-shadow: none !important;
        border: 1px solid var(--border-light) !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .faq-item__content {
        display: block !important;
    }
    
    .faq-item__icon {
        display: none !important;
    }
    
    .faq-search,
    .faq-categories {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .faq-item {
        border: 2px solid var(--text-dark);
    }
    
    .faq-item.is-open {
        border-color: var(--primary-color);
        border-width: 3px;
    }
    
    .faq-item__icon {
        border: 2px solid var(--bg-white);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-item__button,
    .faq-item__icon {
        transition: none;
    }
    
    .faq-item.is-open .faq-item__icon {
        transform: none;
    }
}

/* Focus visible for better keyboard navigation */
.faq-item__button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation for accordion content */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 200px;
    }
    to {
        opacity: 0;
        max-height: 0;
    }
}

/* Search hidden state */
.faq-item.search-hidden {
    display: none !important;
}
