
    /* Image Input Styles */
    .image-input-wrapper {
        border-radius: 8px;
        border: 2px dashed #e1e5e9;
        transition: all 0.3s ease;
    }

    .image-input:hover .image-input-wrapper {
        border-color: #009ef7;
    }
.blog1 .item .wrapper .date a:hover {
    background-color: #061237; /* Lacivert */
    color: #fff; /* Yazı rengini beyaz yapar, istersen kaldırabilirsin */
}


.yachts3 .item figure img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.yachts3 .item:hover figure img {
    transform: scale(1.05);
}

/* Ensure all yacht cards have same height */
.yachts3 .item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.yachts3 .item .content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yachts3 .item .content .cont {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yachts3 .item .content .cont .book {
    margin-top: auto;
}

.blog1 .item .img img {
    width: 100%;
    height: 300px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kırpmadan sığdır */
    object-position: center; /* Merkeze hizala */
    transition: transform 0.3s ease;
}

    /* Background Colors */
    .bg-light-primary {
        background-color: rgba(0, 158, 247, 0.1) !important;
    }

    .bg-light-success {
        background-color: rgba(80, 205, 137, 0.1) !important;
    }

    /* Border Colors */
    .border-primary {
        border-color: #009ef7 !important;
    }

    .border-success {
        border-color: #50cd89 !important;
    }

    .border-dashed {
        border-style: dashed !important;
    }

    /* Select2 Custom Styles */
    .select2-container--default .select2-results__option {
        padding: 8px 12px;
    }

    .select2-container--default .select2-results__option--highlighted {
        background-color: #f1f3f6;
        color: #181c32;
    }

    .select2-container .select2-selection--single {
        height: 44px !important;
        border: 1px solid #e4e6ea !important;
        border-radius: 0.625rem !important;
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 42px !important;
        padding-left: 12px !important;
    }

    .select2-container .select2-selection--single .select2-selection__arrow {
        height: 42px !important;
    }

    .select2-dropdown {
        border: 1px solid #e4e6ea !important;
        border-radius: 0.625rem !important;
        box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    }

    .select2-search--dropdown .select2-search__field {
        border: 1px solid #e4e6ea !important;
        border-radius: 0.475rem !important;
        padding: 8px 12px !important;
    }

    /* Gallery Repeater Styles */
    #kt_special_event_gallery_repeater [data-repeater-item] {
        background: #f8f9fa;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 15px;
        border: 1px solid #e4e6ea;
        transition: all 0.3s ease;
    }

    #kt_special_event_gallery_repeater [data-repeater-item]:hover {
        border-color: #009ef7;
        box-shadow: 0 2px 8px rgba(0, 158, 247, 0.1);
    }

    /* Form Group Spacing */
    .form-group.row {
        margin-bottom: 0;
    }

    /* Button Hover Effects */
    .btn-light-primary:hover {
        background-color: rgba(0, 158, 247, 0.2) !important;
        border-color: #009ef7 !important;
    }

    .btn-light-danger:hover {
        background-color: rgba(241, 65, 108, 0.2) !important;
        border-color: #f1416c !important;
    }


    .custom-dots {
        margin-top: 20px;

    }


    @media (max-width: 767px) {
        .custom-dots {
            display: block;
        }
    }

    .gallery-box {
        margin-bottom: 20px;
    }

    .gallery-img {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .gallery-img > img {
        height: 500px !important;
        object-fit: cover !important;
    }

    .gallery-detail {
        padding: 15px;
        text-align: center;
    }

    /* Tour Page Gallery Özel Düzeltmeleri */
    .tour-page .gallery-box {
        margin-bottom: 0 !important;
    }

    .tour-page .gallery-detail {
        padding: 15px 15px 0 15px !important;
        margin: 0 !important;
    }

    .tour-page .gallery-detail h3 {
        margin-bottom: 0 !important;
        font-size: 1.5rem;
    }

    /* Gallery slider height control */
    .gallery-slider .gallery-img {
        max-height: 328px;
        overflow: hidden;
    }

    .gallery-slider .gallery-img img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    /* Tour Page OWL Carousel Düzeltmeleri */
    .tour-page .owl-carousel.owl-theme {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .tour-page .owl-carousel .owl-stage-outer {
        padding-top: 0 !important;
    }

    /* Tour Summary Content Hizalama */
    .tour-page .col-lg-8 > p:first-of-type,
    .tour-page .col-lg-8 > div:first-of-type:not(.gallery-slider) {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Simple Breadcrumb Styles */
    .simple-breadcrumb {
        padding: 10px 0;
        position: relative;
    }

    .breadcrumb-line {
        height: 4px;
        background: linear-gradient(135deg, #1f3c88 0%, #2e5bba 100%);
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .breadcrumb {
        background: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "/";
        color:black;
        padding: 0 8px;
    }

    .breadcrumb-item a {
        color:black;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .breadcrumb-item a:hover {
        color:black;
        text-decoration: underline;
    }

    .breadcrumb-item.active {
        color: black;
    }

    /* Tour Header Styles */
    .tour-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .tour-info-icons {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #e9ecef;
    }

    .tour-info-icons span {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .tour-info-icons span i {
        margin-right: 8px;
        color: #1f3c88;
        font-size: 16px;
    }

    /* Sidebar Gallery Styles */
    .sidebar-gallery {
        margin-bottom: 20px;
    }

    .sidebar-gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
        height: 340px; /* Ana galeri ile aynı yükseklik */
    }

    .sidebar-gallery-item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        height: 150.5px; /* (400px - 15px gap) / 2 = 192.5px */
    }

    .sidebar-gallery-item:hover {
        transform: translateY(-3px);
    }

    .sidebar-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

        /* Global Sticky Sidebar Form */
    .sidebar-form {
        position: sticky !important;
        top: 30px !important;
        z-index: 100 !important;
        height: fit-content !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        border-radius: 3px !important;
        background: #f0f8ff !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
    }

    /* Sidebar form head - her zaman görünür */
    .sidebar-form .head {
        position: relative !important;
        top: 0 !important;
        z-index: 101 !important;
        background: #1e90ff !important;
        color: #fff !important;
        padding: 30px 25px !important;
        border-radius: 3px 3px 0 0 !important;
        margin: 0 !important;
    }

    /* Form content area - scrollable */
    .sidebar-form .con {
        padding: 30px 25px 45px 25px !important;
    }



    /* Duplike kural temizlendi - yukarıda tanımlandı */



      /* Tour Page Perfect Alignment Fix - Sticky için optimize edildi */
    .tour-page .container > .row:last-of-type {
        margin: 0 -15px !important;
    }

    /* Sol Column (Gallery) Düzeltmeleri - Bootstrap mb-30 Override */
    .tour-page .col-lg-8.col-md-12.mb-30,
    .tour-page .col-lg-8.mb-30 {
        margin-bottom: 0 !important;
        padding: 0 15px !important;
    }

    /* Sağ Column (Sidebar) Düzeltmeleri */
    .tour-page .col-lg-4.col-md-12,
    .tour-page .col-lg-4 {
        padding: 0 15px !important;
        margin-bottom: 0 !important;
    }

    /* Bootstrap Override - Tüm margin-bottom'ları kaldır */
    .tour-page .mb-30,
    .tour-page .mb-4,
    .tour-page .mb-3,
    .tour-page .mb-2,
    .tour-page .mb-1 {
        margin-bottom: 0 !important;
    }

    /* Gallery Slider Hizalama */
    .tour-page .gallery-slider {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        order: 1;
        position: relative !important;
        top: 0 !important;
        vertical-align: top !important;
    }

    /* Sidebar Gallery ile aynı hizada başlatmak için */
    .tour-page .col-lg-8 {
        vertical-align: top !important;
    }

    .tour-page .col-lg-4 {
        vertical-align: top !important;
    }

    /* Gallery Detail Margin'ini Kaldır */
    .tour-page .gallery-detail {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 15px !important;
    }

    /* Gallery Box Margin'ini Kontrol Et */
    .tour-page .gallery-box {
        margin-bottom: 0 !important;
    }

    /* Tour Summary Hizalama */
    .tour-page .col-lg-8 > p,
    .tour-page .col-lg-8 > div:not(.gallery-slider):not(.accordion-box) {
        order: 2;
        margin-top: 0 !important;
    }

    /* Accordion Box Hizalama */
    .tour-page .accordion-box {
        order: 3;
        margin-top: 30px !important;
    }

    /* Sidebar Gallery Tam Hizalama */
    .tour-page .sidebar-gallery {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        order: 1;
    }



    /* OWL Carousel Extra Margin Kaldır */
    .tour-page .owl-carousel {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Gallery Item Row Margin Kaldır */
    .tour-page .gallery-slider .item .row {
        margin: 0 !important;
    }

       /* Header Carousel Stilleri */
       .slider-fade {
        position: relative;
        height: 100vh - 200px;
        min-height: 600px;
    }

    .slider-fade .owl-carousel {
        height: 100%;
    }

    .slider-fade .owl-carousel .owl-stage-outer {
        height: 100%;
    }

    .slider-fade .owl-carousel .owl-stage {
        height: 100%;
    }

    .slider-fade .owl-carousel .owl-item {
        height: 100%;
    }

    .slider-fade .owl-carousel .item {
        height: 85vh;
        min-height: 600px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }




    /* Owl Carousel Dots Stilleri */
    .owl-carousel button.owl-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50%;
        background: rgba(0, 123, 255, 0.5) !important;
        margin: 0 5px !important;
        border: none !important;
        outline: none !important;
        transition: all 0.3s ease;
    }

    /* Dots içindeki gri alanı temizle */
    .owl-carousel button.owl-dot span {
        display: none !important;
    }

    .owl-carousel button.owl-dot:before,
    .owl-carousel button.owl-dot:after {
        display: none !important;
    }

    .owl-carousel button.owl-dot.active,
    .owl-carousel button.owl-dot:hover {
        background: #007bff !important;
        transform: scale(1.2);
    }

    /* Header Slider için özel dots stili */
    .header .owl-carousel button.owl-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5) !important;
        margin: 0 5px !important;
        border: none !important;
        outline: none !important;
        transition: all 0.3s ease;
    }

    .header .owl-carousel button.owl-dot.active,
    .header .owl-carousel button.owl-dot:hover {
        background: #ffffff !important;
        transform: scale(1.2);
    }

    .owl-carousel .owl-dots {
        text-align: center;
        margin-top: 20px;
    }




    @media (max-width: 768px) {
        .slider-fade .owl-nav .owl-prev,
        .slider-fade .owl-nav .owl-next {
            display: none;
        }

        .slider-fade .owl-carousel .item {
            height: 70vh;
            min-height: 500px;
        }
    }

    .news-card .img {
        position: relative;
        /* .date elementi için konumlandırma referansı */
    }

    .news-card .date {
        position: absolute;
        top: 0;
        /* Üste hizala */
        left: 20px;
        /* Soldan biraz boşluk */
        background-color: #007bff;
        /* Mavi arka plan */
        color: white;
        /* Beyaz yazı rengi */
        padding: 10px 15px;
        /* İç boşluk */
        text-align: center;
        font-weight: bold;
        z-index: 2;
        /* Resmin üstünde görünmesini sağla */
        /* İhtiyaca göre genişlik ve yükseklik ayarlanabilir */
        min-width: 60px;
        height: 70px;
        /* Yukarı doğru uzaması için yükseklik */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom-left-radius: 5px;
        /* Alt köşeyi hafif yuvarla */
        border-bottom-right-radius: 5px;
        /* Alt köşeyi hafif yuvarla */
    }

    .news-card .date span {
        font-size: 0.8em;
        /* Ay adını küçült */
        display: block;
        /* Alt alta gelmeleri için */
        margin-bottom: 3px;
    }

    .news-card .date i {
        font-size: 1.8em;
        /* Gün numarasını büyüt */
        display: block;
    }


    .ullist li::before{
        content: ".";
        position: absolute;
        left: 0;
        top: -8px;
        color: #1e90ff;
        font-weight: 700;
        font-size: 32px;

    }


    /* Diğer stiller... */

    /* Mobil responsive için */
    @media (max-width: 991px) {
        .tour-page .col-lg-4.col-md-12 {
            margin-top: 50px !important;
        }

        .tour-page .container > .row:last-of-type {
            display: block;
        }
    }

    /* Accordion Current State - Sadece Ana Tour Plan */
    .accordion-box > .accordion.current > .acc-content {
        display: block !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Ana accordion'lar için lacivert renk (alt accordion'ları hariç tut) */
    .accordion-box > .accordion.current:not(.sub-activities .accordion) {

    }

    .accordion-box > .accordion.current:not(.sub-activities .accordion) .acc-btn {
        background-color: #061238 !important;
        color: white !important;
    }

    .accordion-box > .accordion.current:not(.sub-activities .accordion) .acc-btn:hover {
        background-color: #061238 !important;
        color: white !important;
    }

    /* Sub Activities Normal Renkler - Daha güçlü selector */
    .sub-activities .accordion-box .accordion.current {

    }

    .sub-activities .accordion-box .accordion.current .acc-btn {
        border-color: #c3e6cb !important;
    }

    .sub-activities .accordion-box .accordion.current .acc-btn:hover {
        background-color: #c3e6cb !important;
    }

    /* Days Overview Styles */




    .sub-activities {

        border-left: 4px solid #1f3c88;

        border-radius: 8px;

    }



    /* Tablet/Mobile responsive */
    @media (max-width: 991px) {
        .sidebar-form {
            position: relative !important;
            top: auto !important;
            max-height: none !important;
            overflow-y: visible !important;
            margin-top: 30px !important;
        }

        .col-lg-4.col-md-12,
        .col-lg-4 {
            min-height: auto !important;
        }
    }

    @media (max-width: 767px) {
        .tour-title {
            font-size: 2rem;
        }

        .tour-info-icons {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .sidebar-gallery-grid {
            height: 300px; /* Mobilde daha küçük */
        }

        .sidebar-gallery-item {
            height: 142.5px; /* (300px - 15px gap) / 2 */
        }

        .sidebar-gallery-item img {
            height: 100%;
        }

        .gallery-slider .gallery-img {
            height: 300px !important; /* Mobilde sidebar ile eşit */
        }

        .gallery-slider .gallery-img img {
            height: 300px !important;
            max-height: 300px;
        }

        .tour-page .gallery-box {
            height: 300px; /* Mobilde daha küçük */
        }

    }

/* Custom Pagination Styles */
.custom-pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.custom-pagination .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.custom-pagination .page-item {
    display: block;
}

.custom-pagination .page-link {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    color: #666;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    min-width: 44px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Watersports List Style */
.caption p {
    margin-bottom: 15px;
}

.caption ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.caption ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
}

.caption ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #4C9FFF;
    border-radius: 50%;
}

.custom-pagination .page-item.active .page-link {
    background-color: #1E8FFE;
    border-color: #1E8FFE;
    color: white;
}

.custom-pagination .page-item:not(.disabled) .page-link:hover {
    background-color: #1E8FFE;
    border-color: #1E8FFE;
    color: white;
    text-decoration: none;
}

.custom-pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-pagination .page-item.disabled .page-link:hover {
    background-color: #fff;
    border-color: #dee2e6;
    color: #6c757d;
}


/* Previous/Next butonları için özel stilleme */
.custom-pagination .page-link[rel="prev"],
.custom-pagination .page-link[rel="next"] {
    font-weight: 600;
    padding: 10px 18px;
}

/* Pagination Container */
.pagination-container {
    margin: 40px 0;
    text-align: center;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .custom-pagination .page-link {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 36px;
    }

    .custom-pagination .page-link[rel="prev"],
    .custom-pagination .page-link[rel="next"] {
        padding: 8px 14px;
    }

    .custom-pagination .pagination {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .custom-pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
    }

    .custom-pagination .page-link[rel="prev"],
    .custom-pagination .page-link[rel="next"] {
        padding: 6px 12px;
    }

    .custom-pagination .pagination {
        gap: 2px;
    }
}

.navbar .logo img {
    transition: all 0.3s ease;
}

/* Sticky header'da logo boyutunu küçültmek isterseniz */
.navbar.nav-scroll .logo img {
    width: 150px; /* veya istediğiniz boyut */
}


        /* Blog Kartları İçin CSS */
        .blog2 .owl-carousel .item .img {
            position: relative;
            width: 100%;
            height: 220px; /* Sabit yükseklik */
            overflow: hidden;

        }

        .blog2 .owl-carousel .item .img img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Resmi kırpmadan sığdır */
            object-position: center; /* Merkeze hizala */

        }

        .blog2 .owl-carousel .item .img:hover img {
            transform: scale(1.05); /* Hover efekti */
        }

           /* Watersports Resim Standartlaştırması */
        .watersports figure {
            position: relative;
            height: 500px; /* Sabit yükseklik */
            overflow: hidden;

        }

        .watersports figure img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Resmi kırpmadan sığdır */
            object-position: center; /* Merkeze hizala */
            transition: transform 0.3s ease;
        }

        .watersports figure:hover img {
            transform: scale(1.05); /* Hover efekti */
        }

        /* Tablet için (992px ve altı) */
        @media (max-width: 992px) {
            .watersports figure {
                height: 320px;
            }
        }


        /* Mobil için (768px ve altı) */
        @media (max-width: 768px) {
            .watersports figure {
                height: 280px;
            }
        }

        /* Küçük mobil için (576px ve altı) */
        @media (max-width: 576px) {
            .watersports figure {
                height: 240px;
            }
        }

        .gallery-items .single-item {
            height: 560px; /* örnek */
          }

/* Galeri Mobil Responsive Düzeltmeleri */
@media (max-width: 768px) {
    /* Galeri carousel overflow sorununu çöz */
    .gallery-image-carousel.owl-carousel .owl-stage-outer {
        overflow: hidden !important;
        padding: 0 !important;
    }

    /* Galeri container'ı mobilde tam genişlik yap */
    .gallery-image-carousel {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }

    /* Section padding'i mobilde azalt */
    .section-padding {
        padding: 60px 0 !important;
    }

    /* Galeri section'ı mobilde daha az padding */
    .gallery-image.section-padding {
        padding: 40px 0 !important;
    }

    /* Container padding'i mobilde optimize et */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Galeri box'ı mobilde optimize et */
    .gallery-box {
        margin: 0 10px !important;
    }

    /* Galeri img mobilde responsive yap */
    .gallery-box .gallery-img {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Galeri img içindeki resimleri mobilde optimize et */
    .gallery-box .gallery-img > img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

/* Tablet için de ek düzeltmeler */
@media (max-width: 991px) and (min-width: 769px) {
    .gallery-image-carousel.owl-carousel .owl-stage-outer {
        overflow: hidden !important;
    }

    .gallery-image-carousel {
        max-width: 90% !important;
    }

    .section-padding {
        padding: 80px 0 !important;
    }
}

/* Küçük mobil cihazlar için ek optimizasyon */
@media (max-width: 576px) {
    .gallery-image-carousel {
        padding: 0 10px !important;
    }

    .section-padding {
        padding: 40px 0 !important;
    }

    .gallery-image.section-padding {
        padding: 30px 0 !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Galeri Box Mobil Optimizasyonları */
@media (max-width: 768px) {
    /* Galeri box'ı mobilde tam genişlik yap */
    .gallery-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 5px !important;
    }

    /* Galeri img container'ı mobilde optimize et */
    .gallery-box .gallery-img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    /* Galeri img içindeki resimleri mobilde tam responsive yap */
    .gallery-box .gallery-img > img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* Galeri detail mobilde optimize et */
    .gallery-box .gallery-detail {
        padding: 8px !important;
        margin: 0 5px !important;
    }

    .gallery-box .gallery-detail h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
}

/* Küçük mobil cihazlar için ek optimizasyon */
@media (max-width: 576px) {
    .gallery-box {
        padding: 0 2px !important;
    }

    .gallery-box .gallery-detail {
        padding: 6px !important;
        margin: 0 2px !important;
    }

    .gallery-box .gallery-detail h3 {
        font-size: 16px !important;
    }
}
