/* Responsive Feature Icons */
.feature .icon i {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Large screens */
@media (min-width: 992px) {
    .feature .icon i {
        font-size: 3.5rem !important;
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 991px) {
    .feature .icon i {
        font-size: 3rem !important;
    }
}

/* Small screens */
@media (min-width: 576px) and (max-width: 767px) {
    .feature .icon i {
        font-size: 2.5rem !important;
    }
}

/* Extra small screens */
@media (max-width: 575px) {
    .feature .icon i {
        font-size: 2rem !important;
    }
}

/* Hover effects for better UX */
.feature .icon i:hover {
    transform: scale(1.1);
    color: #0056b3 !important;
}
 
/* Mobile Menu Mega Menu Styles */
.mobile-menu .mega-menu-mobile {
    padding: 15px 0;
}

    .mobile-menu .mega-menu-mobile .mega-menu-section {
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .mobile-menu .mega-menu-mobile .mega-menu-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-menu .mega-menu-mobile .mega-menu-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mobile-menu .mega-menu-mobile .mega-menu-section ul li {
            margin-bottom: 8px;
        }

            .mobile-menu .mega-menu-mobile .mega-menu-section ul li a {
                font-size: 13px;
                color: #666;
                text-decoration: none;
                padding: 5px 0;
                display: block;
                transition: all 0.3s ease;
            }

                .mobile-menu .mega-menu-mobile .mega-menu-section ul li a:hover {
                    color: #007bff;
                    padding-left: 5px;
                }

/* Responsive adjustments for mobile mega menu */
@media (max-width: 767px) {
    .mobile-menu .mega-menu-mobile {
        padding: 10px 0;
    }

        .mobile-menu .mega-menu-mobile .mega-menu-section {
            margin-bottom: 15px;
            padding: 0 10px;
        }

        .mobile-menu .mega-menu-mobile .mega-menu-title {
            font-size: 13px;
            margin-bottom: 8px;
        }

        .mobile-menu .mega-menu-mobile .mega-menu-section ul li a {
            font-size: 12px;
            padding: 4px 0;
        }
}

/* Animation for mobile mega menu */
.mobile-menu .mega-menu-mobile {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional responsive fixes for mega menu positioning */
@media (max-width: 1200px) {
    .main-menu ul .has-children {
        position: relative;
    }
    
    .main-menu ul .has-children .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .main-menu ul .has-children:hover .mega-menu {
        display: block;
    }
}

/* Ensure mega menu doesn't break on very small screens */
@media (max-width: 480px) {
    .mega-menu {
        padding: 10px;
    }
    
    .mega-menu > li {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .mega-menu > li .mega-menu-title {
        font-size: 13px;
        padding-bottom: 6px;
    }
    
    .mega-menu > li > ul a {
        font-size: 11px;
        padding: 4px 0;
    }
}
 

@media (max-width: 1214px) {
    header, .site-header, .navbar, .logo-area {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        min-height: 40px !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    .logo-area img, .site-logo img {
        max-width: 120px !important;
        height: auto !important;
    }
    .site-title, .logo-text, h1 {
        font-size: 1.5rem !important;
        margin: 0 !important;
        line-height: 1 !important;
    }
    /* Menü butonu ve logo hizalaması */
    .mobile-menu-toggle {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* 1200px ve üzeri için hamburger menüyü gizle */
@media (min-width: 1200px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}
/* 1200px altı için hamburger menüyü göster */
@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem !important;
        cursor: pointer;
        margin-left: 0;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
        background-color: transparent;
        border: none;
        color: #333;
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: scale(1.05);
    }
    
    .mobile-menu-toggle i {
        font-size: 1.7rem !important;
        line-height: 1;
    }
}

/* Mobil header hizalama */
@media (max-width: 1200px) {
    .header-bottom .container > .row.align-items-center {
        display: flex !important;
        flex-direction: row;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        padding: 0 10px;
    }
    .header-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 56px;
    }
    .header-logo img {
        margin-left: 13px;
        max-height: 36px;
        width: auto;
        display: block;
    }
    /* Menü ve diğer header içerikleri gizle */
    .header-bottom .category-menu,
    .header-bottom .main-menu {
        display: none !important;
    }
    
    /* Hamburger menü container'ı için dikey hizalama */
    .header-bottom .col-xl-2.col-6.d-flex.justify-content-end {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        height: 56px;
    }
}

/* ========================================
   MEGA MENÜ DÜZENLEMESİ - MEVCUT CSS'İ OVERRIDE
   ======================================== */

/* Mevcut mega menü stillerini override et */
.mega-menu {
    background: #fff !important;
    padding: 30px !important;
    -webkit-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
    -webkit-transform-origin: 0 0 0 !important;
    -ms-transform-origin: 0 0 0 !important;
    transform-origin: 0 0 0 !important;
    -webkit-transform: scaleY(0) !important;
    -ms-transform: scaleY(0) !important;
    transform: scaleY(0) !important;
    position: absolute !important;
    
    /* SORUNLU SATIRLARI DÜZELT */
    width: max-content !important; /* calc(100% + 185px) yerine */
    min-width: 600px !important;
    max-width: 90vw !important;
    left: 50% !important; /* 15px yerine */
    transform: translateX(-50%) scaleY(0) !important; /* Yeni transform */
    right: auto !important;
    top: 100% !important;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) !important;
    z-index: 999 !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    border-bottom: 3px solid #0a8ac9 !important;
}

/* Hover durumunda transform düzeltmesi */
.main-menu ul .has-children:hover .mega-menu {
    -webkit-transform: translateX(-50%) scaleY(1) !important;
    -ms-transform: translateX(-50%) scaleY(1) !important;
    transform: translateX(-50%) scaleY(1) !important;
}

/* Responsive düzenlemeler */
@media (min-width: 1200px) and (max-width: 1400px) {
    .mega-menu {
        min-width: 500px !important;
        max-width: 80vw !important;
    }
}

@media (min-width: 1401px) and (max-width: 1600px) {
    .mega-menu {
        min-width: 550px !important;
        max-width: 85vw !important;
    }
}

@media (min-width: 1601px) {
    .mega-menu {
        min-width: 600px !important;
        max-width: 90vw !important;
    }
}

/* Container overflow kontrolü */
.header-bottom .container-fluid {
    overflow: visible !important;
}

.header-bottom .row {
    overflow: visible !important;
}

/* Menü öğeleri için daha fazla alan */
.main-menu > ul > li + li {
    margin-left: 20px !important;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .main-menu > ul > li + li {
        margin-left: 17px !important;
    }
}

@media (min-width: 1401px) and (max-width: 1600px) {
    .main-menu > ul > li + li {
        margin-left: 17px !important;
    }
}

/* Mega menü içeriği düzenlemeleri */
.mega-menu > li {
    list-style: none !important;
    flex: 1;
    min-width: 180px !important;
    margin-right: 17px !important;
    flex-basis:10%;
}
    .mega-menu > li > ul {
        display: block; /* Or your desired display value */
        flex-direction: column; /* Explicitly set to column if it's still a flex container */
    }
        .mega-menu > li > ul > li {
            display: list-item; /* or block */
            float: none;
            position: static;
        }
h4.mega-menu-title a {
    white-space: normal;
}
.mega-menu > li:last-child {
    margin-right: 0 !important;
}

/* Menü öğeleri için minimum genişlik */
.main-menu > ul > li > a {
    white-space: nowrap !important;
    min-width: 80px !important;
    text-align: center !important;
}

/* Search results page form width */
.search-page-form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 120px;
    right: 27px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}
/* Footer columns equalize and style improvements */
.footer-section .footer-top .row.mb-n10 {
    align-items: flex-start !important;
  }
  
  /* 1. sütun: logo ve motto daha kompakt */
  .footer-section .footer-logo {
    margin-bottom: 1.2rem;
  }
  .footer-section .footer-motto {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .footer-section .desc-content {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .footer-section .widget-address {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
  }
  .footer-section .widget-social a {
    font-size: 1.2rem;
    margin-right: 0.7rem;
  }
  
  /* 2. ve 3. sütun: başlık ve linkler daha büyük ve aralıklı */
  .footer-section .single-footer-widget .widget-title {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
  }
  .footer-section .single-footer-widget .widget-list li {
    margin-bottom: 0.7rem;
  }
  .footer-section .single-footer-widget .widget-list a {
    font-size: 1.08rem;
    letter-spacing: 0.01em;
  }
  
  /* Responsive: mobilde sütunlar alt alta gelsin */
  @media (max-width: 991.98px) {
    .footer-section .footer-top .row.mb-n10 > div {
      margin-bottom: 2rem !important;
    }
  }
  
/* Menüde arama butonunun ikinci satıra düşmesini engellemek için */
.main-menu > ul {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    overflow-x: hidden;
    white-space: nowrap;
}
.main-menu > ul > li {
    flex-shrink: 0;
}

/* Menüdeki elemanların ve arama butonunun tek satıra sığması için optimizasyonlar */
.main-menu > ul > li {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 17px !important;
    margin-right: 0 !important;
}
.main-menu > ul > li > a {
    font-size: 15px !important;
    letter-spacing: 0!important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


h4.mega-menu-title {
    white-space: normal;
}

/* Responsive Logo Styles */
.logo-desktop {
    display: none !important;
}

.logo-mobile {
    display: block !important;
}

.footer-logo-desktop {
    display: none !important;
}

.footer-logo-mobile {
    display: block !important;
}

/* Desktop styles */
@media (min-width: 768px) {
    .logo-desktop {
        display: block !important;
    }
    
    .logo-mobile {
        display: none !important;
    }
    
    .footer-logo-desktop {
        display: block !important;
    }
    
    .footer-logo-mobile {
        display: none !important;
    }
}

/* Mobile logo optimization */
@media (max-width: 767px) {
    .nav-logo-wrap .logo img {
        max-height: 35px;
        width: auto;
    }
    
    .footer .logo img {
        max-height: 25px;
        width: auto;
    }
    
    /* Mobile slider images - handled by JavaScript */
}