@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    /*.hakkimizda {*/
    /*    padding-top: 538px;*/
    /*}*/
    .banner__slider .swiper-slide {
        margin-right: 74px !important;
    }
    /* Galeri swiper slide'ları margin'den hariç */
    .insta__gallery__slider .swiper-slide {
        margin-right: 0 !important;
    }
}

/* Slider genel yapı - resimlerin alanı tamamen doldurması için */
.banner__slider {
    width: 100%;
}

.banner__slider .swiper-slide {
    width: 100%;
    position: relative;
}

.banner__slider__image.custom-slide {
    width: 100%;
    height: 100%;
}

.banner__slider__image.custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli alanı tamamen doldur, taşanı kırp */
}

/* Mobil: slider yüksekliği (swiper-slide) ekranın yaklaşık yarısı kadar */
@media (max-width: 767px) {
  .banner__slider .swiper-slide {
    height: 50vh;
    min-height: 573px;
  }
}

/* Laptop ve Masaüstü: Slider tam ekran (100vh) */
@media (min-width: 768px) {
  .banner__slider .swiper-slide {
    height: 100vh !important;
    min-height: 600px;
  }
  .banner__slider__image.custom-slide,
  .banner__slider__image.custom-slide img {
    min-height: 100vh;
  }
}



/* Anasayfa oda kartları - şık ve modern tasarım */
.home-room-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.home-room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(139, 107, 63, 0.08);
    border-color: rgba(139, 107, 63, 0.15);
}

.home-room-image {
    position: relative;
    overflow: hidden;
}

.home-room-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 45%);
    pointer-events: none;
}

.home-room-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-room-card:hover .home-room-image img {
    transform: scale(1.08);
}

.home-room-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.home-room-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.home-room-title {
    text-decoration: none;
    color: #111827;
    transition: color 0.2s ease;
}

.home-room-title:hover {
    color: #8b6b3f;
}

.home-room-title h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.home-room-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 14px;
    color: #6b7280;
}

.home-room-meta i {
    margin-right: 6px;
    color: #8b6b3f;
}

.home-room-footer {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.home-room-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b6b3f 0%, #a67c47 50%, #b28949 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 107, 63, 0.25);
}

.home-room-button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #7a5e37, #8b6b3f);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(139, 107, 63, 0.35);
}

.home-room-button-rezervasyon {
    background: transparent;
    color: #8b6b3f;
    border: 2px solid #8b6b3f;
    box-shadow: none;
}

.home-room-button-rezervasyon:hover {
    background: rgba(139, 107, 63, 0.1);
    color: #7a5e37;
    border-color: #7a5e37;
}

@media (max-width: 575.98px) {
    .home-room-image img {
        height: 260px;
    }
    .home-room-body {
        padding: 18px 18px 20px;
    }
}

/* Galeri alanı - mobil uyumlu, ortalanmış */
.insta__gallery__slider {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 0 10px;
}

.insta__gallery__slider .gallery {
    box-sizing: border-box;
}

.insta__gallery__slider .swiper-slide {
    box-sizing: border-box;
    height: auto;
}

.insta__gallery__slider .gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 auto;
}

.insta__gallery__slider .gallery__item img {
    max-width: 100%;
    height: auto;
    min-height: 140px;
    max-height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .rts__section.is__home__main .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    /* Mobilde slide genişliği ekranı kaplasın, Swiper sabit genişliği ezer */
    .insta__gallery__slider .swiper-slide {
        flex-shrink: 0;
        width: calc(100vw - 24px) !important;
    }
    .insta__gallery__slider .gallery {
        justify-content: center;
    }
    .insta__gallery__slider .gallery__item {
        max-width: 100%;
    }
    .insta__gallery__slider .gallery__item img {
        max-width: 100%;
        min-height: 160px;
        max-height: 220px;
        object-fit: cover;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .insta__gallery__slider .gallery__item img {
        min-height: 250px;
        max-height: 300px;
        object-fit: cover;
    }
}
/* Gallery (resim büyütme) - lightbox/modal */
.insta__gallery__slider .gallery__popup {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 2;
    /* Boş anchor'ı tıklanabilir yapmak için */
    background: transparent;
    cursor: zoom-in;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox__inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-lightbox.is-open .gallery-lightbox__img {
    transform: scale(1);
    opacity: 1;
}

.gallery-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    z-index: 3;
}

/* Sağ/sol navigasyon butonları */
.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.gallery-lightbox__nav--prev {
    left: 12px;
}

.gallery-lightbox__nav--next {
    right: 12px;
}

@media (max-width: 767px) {
    .gallery-lightbox__img {
        max-height: 80vh;
    }
}
