/* SEO Sector Tabs CSS */

.tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Tab başlıkları container */
.tab-titles {
    display: flex;
    background: linear-gradient(90deg, #4877BD 0%, #5a86c7 100%);
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.tab-titles::-webkit-scrollbar {
    display: none;
}

.tab-title {
    flex: 0 0 auto;
    margin: 0;
    padding: 16px 24px;
    cursor: pointer;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 600;
    user-select: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-title:hover::before {
    opacity: 1;
}

.tab-title:hover {
    color: white;
    transform: translateY(-2px);
}

.tab-title.active {
    color: white;
    border-bottom-color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
}

.tab-title.active::before {
    opacity: 1;
}

/* Ok butonları */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4877BD, #5a86c7);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(72, 119, 189, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 24px rgba(72, 119, 189, 0.4);
    background: linear-gradient(135deg, #5a86c7, #4877BD);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* Tab içerik container */
.tab-content {
    padding: 32px;
    background: white;
    color: #333;
    min-height: 450px;
    outline: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    color: #4877BD;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.tab-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4877BD, #5a86c7);
    border-radius: 2px;
}

.tab-content strong {
    display: block;
    margin-top: 28px;
    margin-bottom: 12px;
    color: #4877BD;
    font-size: 1.1rem;
    font-weight: 600;
}

.tab-content ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
}

.tab-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
    color: #555;
}

.tab-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4877BD;
    font-size: 1.2rem;
    font-weight: bold;
}

.tab-content p {
    line-height: 1.7;
    margin-bottom: 16px;
    color: #444;
}

.tab-content p strong {
    display: inline;
    margin: 0;
    color: #4877BD;
    font-size: inherit;
}

.tab-content a {
    color: #4877BD;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-content a:hover {
    border-bottom-color: #4877BD;
    color: #285093;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .tabs-wrapper {
        padding: 0 20px;
        margin: 10px;
        border-radius: 12px;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .scroll-left {
        left: 5px;
    }

    .scroll-right {
        right: 5px;
    }

    .tab-title {
        padding: 14px 16px;
        font-size: 0.85rem;
    }

    .tab-content {
        padding: 24px 20px;
        min-height: auto;
        font-size: 0.95rem;
    }

    .tab-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-btn {
        display: none;
    }
    
    .tabs-wrapper {
        padding: 0 10px;
    }
}