/* ---- header L58-208 ---- */

/* ===== MOBİL HAMBURGER MENÜ - SAĞDAN AÇILAN ===== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 18px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    z-index: 100000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }

/* Panel - SAĞDAN AÇILAN */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 99999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
}
.mobile-menu-panel.active { right: 0; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: transparent;
}
.mobile-menu-header img { height: 55px; width: auto; }

.mobile-menu-panel > ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-panel > ul > li { border-bottom: 1px solid #f0f0f0; }
.mobile-menu-panel > ul > li > a {
    display: block;
    padding: 16px 50px 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}
.mobile-menu-panel > ul > li > a:hover { background: #f8f8f8; color: #01cab8; }

.mobile-menu-panel ul ul { background: transparent; display: none; list-style: none; margin: 0; padding: 0; }
.mobile-menu-panel .has-submenu.open > ul { display: block !important; }
.mobile-menu-panel ul ul li { list-style: none; position: relative; }
.mobile-menu-panel ul ul li a {
    display: block;
    padding: 12px 50px 12px 35px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.mobile-menu-panel ul ul li a:hover { color: #01cab8; }

/* 2. seviye açıldığında arka plan rengi */
.mobile-menu-panel ul ul li.has-submenu.open > a { background: rgba(2, 201, 184, 0.1); color: #01cab8; }

/* 3. seviye menü */
.mobile-menu-panel ul ul ul { padding-left: 15px; }
.mobile-menu-panel ul ul ul li a { padding-left: 50px; font-size: 13px; }

.mobile-menu-panel .has-submenu { position: relative; }
.mobile-submenu-toggle {
    position: absolute; right: 10px; top: 0;
    width: 36px; height: 52px;
    background: transparent; border: none; border-radius: 6px;
    cursor: pointer; font-size: 22px;
    color: #666;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s ease;
}
/* 2. ve 3. seviye toggle butonları için daha küçük yükseklik */
.mobile-menu-panel ul ul .mobile-submenu-toggle { height: 42px; font-size: 18px; }
.mobile-submenu-toggle:hover { color: #01cab8; }
.mobile-menu-panel .has-submenu.open > .mobile-submenu-toggle { transform: rotate(180deg); color: #01cab8; }

.mobile-menu-footer {
    padding: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
}
.mobile-menu-footer a {
    display: block;
    padding: 14px 20px;
    background: #002c5d;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.mobile-menu-footer a:hover { background: #003d7a; }
.mobile-menu-footer a.mobile-menu-phone { background: #01cab8; }
.mobile-menu-footer a.mobile-menu-phone:hover { background: #00b5a5; }

/* Responsive */
@media (max-width: 1200px) {
    .mobile-menu-toggle { display: flex !important; }
    .menuPort { display: none !important; }
    .topBarInMenu { display: none !important; }
    html, body { overflow-x: hidden !important; }
    /* Header logo mobilde küçült */
    .bt-logo-area .logo img, .btMainLogo { height: 75px !important; }
}
@media (min-width: 1201px) {
    .mobile-menu-toggle, .mobile-menu-overlay, .mobile-menu-panel { display: none !important; }
}

/* ---- header L828-1109 ---- */

@media (max-width: 768px) {
    /* Genel Overflow Önleme */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Ana Container - padding ekle */
    .bt-content-wrap,
    .bt-content-holder,
    .bt-content {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Section Genişlik Düzeltme */
    .bt_bb_section {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Row Push Düzeltme - padding artır */
    .bt_bb_row_push_left,
    .bt_bb_row_push_right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Row Holder */
    .bt_bb_row_holder {
        flex-wrap: wrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Column Gap Azaltma */
    .bt_bb_row.bt_bb_column_gap_15 .bt_bb_row_holder,
    .bt_bb_row_inner.bt_bb_column_inner_gap_15 .bt_bb_row_inner_holder {
        --column-gap: 15px !important;
        gap: 15px !important;
    }
    
    /* Column Padding Düzeltme - daha geniş */
    .bt_bb_column {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    .bt_bb_column.bt_bb_padding_double,
    .bt_bb_column.bt_bb_padding_40 {
        padding: 20px 15px !important;
    }
    
    .bt_bb_column_content {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 !important;
    }
    
    /* İmage Genişlik Sınırlama - sadece site içeriği */
    .bt-content img,
    .bt_bb_image,
    .bt_bb_image span,
    .bt_bb_image img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Card Genişlik Düzeltme */
    .bt_bb_card {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Slider Container Genişlik */
    .bt_bb_content_slider {
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
    }
    
    .slick-slider {
        max-width: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
    }
    
    .slick-list {
        max-width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slick-track {
        display: flex !important;
        align-items: stretch !important;
        margin: 0 !important;
    }
    
    .slick-slide {
        height: auto !important;
        padding: 0 10px !important;
    }
    
    /* Testimonial Slider Item */
    .bt_bb_content_slider_item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .bt_bb_content_slider_item_content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Testimonial İçindeki Her Element */
    .bt_bb_testimonial {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    .bt_bb_testimonial_text,
    .bt_bb_testimonial_text_box {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Slick Dots Ortalama */
    .slick-dots {
        text-align: center !important;
        margin-top: 15px !important;
        padding: 0 !important;
    }
    
    /* Video Container */
    .bt-video-container,
    .wp-video {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    video {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* YouTube Video Responsive */
    iframe[src*="youtube.com"],
    iframe[src*="youtu.be"] {
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
    
    .bt_bb_text iframe[src*="youtube.com"],
    .bt_bb_text iframe[src*="youtu.be"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Tab Content Düzeltme */
    .bt_bb_tabs_tabs {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .bt_bb_tab_content {
        padding: 15px 8px !important;
    }
    
    /* Row Width Boxed */
    .bt_bb_row_width_boxed {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Background Image Holder */
    .bt_bb_background_image_holder_wrapper,
    .bt_bb_background_image_holder {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Progress Bar Container */
    .bt_bb_progress_bar_advanced .container {
        max-width: 120px !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    
    /* Progress Bar SVG */
    .bt_bb_progress_bar_advanced .container svg {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Progress Bar Text */
    .bt_bb_progress_bar_advanced .container .bt_bb_progress_bar_advanced_text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 24px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    
    /* Testimonial Text */
    .bt_bb_testimonial_text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        padding: 10px !important;
    }
    
    /* Button Width */
    .bt_bb_button.bt_bb_width_full {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Separator Spacing */
    .bt_bb_separator.bt_bb_bottom_spacing_medium {
        margin-bottom: 20px !important;
    }
    
    .bt_bb_separator.bt_bb_bottom_spacing_large {
        margin-bottom: 30px !important;
    }
    
    /* Feature Cards Row Gap */
    section[id*="bt_bb_section"] .bt_bb_row .bt_bb_column[class*="col-xxl-4"] {
        margin-bottom: 15px !important;
    }
    
    /* Wide Layout Fix */
    .bt_bb_layout_wide .bt_bb_row_holder {
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .bt_bb_row_holder {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .slick-list {
        padding: 0 10px !important;
    }
}