/**
 * Ana Sayfa Scroll Çubukları Kaldırma
 * Tüm scroll çubuklarını kaldırır ve overflow sorunlarını düzeltir
 */

/* Ana sayfa body - scroll çubuklarını gizle (JavaScript ile homepage-active class eklenir) */
body.homepage-active,
body.homepage-active html {
    overflow-x: hidden !important;
}

/* Tüm section'lar - scroll çubuklarını kaldır */
body.homepage-active section {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Hero Slider Section */
body.homepage-active .hero-slider-section,
body.homepage-active .hero-slider-section * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Hosting Types Navigation */
body.homepage-active .hosting-types-nav,
body.homepage-active .hosting-types-nav * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Hosting Companies Section */
body.homepage-active section.py-5.bg-white,
body.homepage-active section.py-5.bg-white .container,
body.homepage-active section.py-5.bg-white .row,
body.homepage-active section.py-5.bg-white .card,
body.homepage-active section.py-5.bg-white .card-body,
body.homepage-active #bestOverallHosting,
body.homepage-active #bestOverallHosting *,
body.homepage-active #hostingListings,
body.homepage-active #hostingListings * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Providers Section */
body.homepage-active .providers-section,
body.homepage-active .providers-section .container,
body.homepage-active .providers-container,
body.homepage-active .providers-container *,
body.homepage-active .provider-card,
body.homepage-active .provider-card * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Features Section */
body.homepage-active .features-section,
body.homepage-active .features-section .container,
body.homepage-active .features-section .row,
body.homepage-active .features-section .card,
body.homepage-active .features-section .card-body,
body.homepage-active .feature-card,
body.homepage-active .feature-card * {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

/* Price Comparison Section */
body.homepage-active .price-comparison-section,
body.homepage-active .price-comparison-section .container,
body.homepage-active .price-comparison-section .card,
body.homepage-active .price-comparison-section .card-body,
body.homepage-active .price-comparison-section .card-footer {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Table Responsive - scroll çubuğunu kaldır - TÜM tablolar için */
body.homepage-active .table-responsive {
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
    -ms-overflow-style: none !important;
}

body.homepage-active .price-comparison-section .table-responsive {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

body.homepage-active .price-comparison-section .table,
body.homepage-active .table-responsive table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
}

/* Hosting & Server Section */
body.homepage-active .hosting-server-section,
body.homepage-active .hosting-server-section .container,
body.homepage-active .hosting-server-section .card,
body.homepage-active .hosting-server-section .card-body,
body.homepage-active #hostingPreviewCards,
body.homepage-active #serverPreviewCards,
body.homepage-active #hostingPreviewCards *,
body.homepage-active #serverPreviewCards * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Quick Links Section */
body.homepage-active .quick-links-section,
body.homepage-active .quick-links-section .container,
body.homepage-active .quick-links-section .row,
body.homepage-active .quick-links-section .card,
body.homepage-active .quick-links-section .card-body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Stats Section */
body.homepage-active .stats-section,
body.homepage-active .stats-section .container,
body.homepage-active .stats-section .row,
body.homepage-active .stat-card {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* FAQ Section */
body.homepage-active .faq-section,
body.homepage-active .faq-section .container,
body.homepage-active .faq-section .accordion,
body.homepage-active .faq-section .accordion-item,
body.homepage-active .faq-section .accordion-body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Featured Hostings */
body.homepage-active .featured-hostings,
body.homepage-active .featured-hostings *,
body.homepage-active .featured-hosting-card,
body.homepage-active .featured-hosting-card * {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Container genel */
body.homepage-active .container,
body.homepage-active .container-fluid {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100% !important;
}

/* Row genel */
body.homepage-active .row {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Col genel */
body.homepage-active [class*="col-"] {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Card genel */
body.homepage-active .card,
body.homepage-active .card-body,
body.homepage-active .card-header,
body.homepage-active .card-footer {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Tüm bölümler için genel kural - scroll çubuklarını kaldır */
body.homepage-active section *:not(table):not(tbody):not(thead):not(tr):not(td):not(th):not(.accordion-body) {
    overflow-x: hidden !important;
}

/* Tablo için özel - scroll olmadan tam genişlik */
body.homepage-active table {
    width: 100% !important;
    table-layout: auto !important;
}

body.homepage-active .table-responsive {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Webkit scrollbar gizleme (Chrome, Safari, Edge) - Tüm scroll çubuklarını gizle */
body.homepage-active *::-webkit-scrollbar,
body.homepage-active *::-webkit-scrollbar-track,
body.homepage-active *::-webkit-scrollbar-thumb {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body.homepage-active * {
    -ms-overflow-style: none !important;  /* IE ve Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Sayfa scroll'u korunmalı ama scrollbar görünmemeli */
body.homepage-active {
    overflow-y: auto !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

body.homepage-active::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}
