/* DineWho - Sıkça Sorulan Sorular (FAQ) Sayfası Stilleri */

/* Hero Section */
.faq-hero {
    background: var(--gradient-primary);
    padding: 180px 0 60px;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.faq-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    gap: 10px;
}

.faq-breadcrumb a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.faq-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.faq-breadcrumb i {
    font-size: 12px;
    opacity: 0.6;
}

.faq-breadcrumb span {
    opacity: 0.9;
}

/* Content Layout */
.faq-content {
    padding: 0 0 80px;
}

.faq-container {
    display: flex;
    gap: 40px;
}

.faq-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.faq-main {
    flex: 1;
}

/* Sidebar Styles */
.faq-categories, .faq-contact {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-categories h3, .faq-contact h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.faq-categories h3:after, .faq-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.faq-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-categories li {
    margin-bottom: 8px;
}

.faq-categories a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-categories a:hover, .faq-categories a.active {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.08);
}

.faq-categories a i {
    margin-right: 8px;
    color: var(--primary-color);
}

.faq-contact p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-contact-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--white);
}

.faq-contact-btn i {
    margin-right: 8px;
}

/* Accordion Styles */
.faq-section {
    margin-bottom: 30px;
}

.faq-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.faq-section h2:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

.faq-question i {
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: rgba(52, 152, 219, 0.08);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Search Box */
.faq-search {
    margin-bottom: 30px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
    }
    
    .faq-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .faq-categories, .faq-contact {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 160px 0 40px;
    }
    
    .faq-title {
        font-size: 32px;
    }
    
    .faq-section h2 {
        font-size: 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .faq-hero {
        padding: 150px 0 30px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-section h2 {
        font-size: 22px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
} 