:root{
    --bg-color:#f1f5fb;
    --nav-color:#fff;
    --nav-color-500:#edebeb;
    --text-dark:#000;
    --text-dark-300:#1f1f1f;
    --main-color:#012A6A;

    --mobile-bottom-height:60px;
}
*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
    font-style: normal;
}
a{
    text-decoration: none;
    color: var(--text-dark);
}
header{
    position: fixed;
    top: 0px;
    background-color: var(--nav-color);
    width: 100%;
    height: 70px;
    padding: 0rem 2rem;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 100;
}
.show{
    right: 0px;
}
.show li a{
    color: var(--nav-color) !important;
}
header img{
    height: 70px;
}
header ul{
    flex-grow: 1;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    gap: 5rem;
    font-size: 1.05rem;
    font-weight: 500;
}
.btn-action{
    background-color: var(--main-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;

}
.hero{
    margin-top: 70px;
}
.hero img{
    position: relative;
    height: calc(100vh - 70px);
    width: 100%;
    object-fit:cover;
}
.hero .reservation-container{
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 2rem;
    padding: 0rem 5rem;
}
.hero .reservation-container .reservation-card{
    background-color: var(--nav-color);
    border-radius: calc(12px  + 1rem);
}
.reservation-card form{
    display: flex;
    gap: 1rem;
    padding: 1rem;
}
.reservation-card form input[type="date"],
.reservation-card form input[type="text"],
.reservation-card form select,
.reservation-card form input[type="number"]{
    flex-grow: 1;
    height: 50px;
    text-align: center;
    background-color: var(--nav-color-500);
    outline: none;
    border: none;
    border-radius: 12px;
}
.search-btn{
  padding: 6px 12px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    font-size: 1.2rem;
    outline: none;
    height: 50px;
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
}
.mobile-bottom{

  z-index: 100;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: var(--mobile-bottom-height);
  background-color: var(--text-dark);
  display: flex;
display: none;
}
.mobile-bottom a{
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  gap: 6px;
}
.bg-main{
  background-color: var(--main-color);
}
.section{
    max-width: 100vw;
    overflow-x: hidden;
    margin: 3rem 0rem;
}
.rooms-container{
    width: 100%;
    display: flex;
    gap: 5rem;
    position: relative;
    -webkit-overflow-scrolling: touch; /* Mobil uyumluluk için */
    justify-content: center;
}
.section .section-title{
    margin: 1rem 0rem;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
}

  
  .section-title::before,
  .section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #000; /* Çizgi rengi, isteğe göre değiştirebilirsiniz */
  }
  
  .section-title::before {
    left: 0;
  }
  
  .section-title::after {
    right: 0;
  }
  
.overflow{
    height: 100%;
    width: 100vw;
    position: absolute;
    top: 0;
}
.relative{
    position: relative;
}
.overflow::before {
    content: "";
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Sağ ve soldan başlayıp ortaya doğru azalan gradyan */
    background: linear-gradient(
      to right,
      rgba(249, 243, 232, 1) 0%,
      rgba(249, 243, 232, 1) 5%,
      transparent 30%,
      transparent 70%,
      rgba(249, 243, 232, 1) 95%,
      rgba(249, 243, 232, 1) 100%
    );
    pointer-events: none; /* Overlay üzerindeki etkileşimleri engeller */
  }
  .rooms-card {
    cursor: grab;
    
}
.overflow {
    pointer-events: none;
  }
  .swiper {
    width: 100%;
    height: 500px; /* Adjust height as per your needs */
  }
  
  .swiper-wrapper {
    display: flex;
    justify-content: center;
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* Smooth transition */
  }
  
  .swiper-slide img {
    object-fit: cover;
    width: 80%; /* Central image will take most of the space */
    border-radius: 12px;
  }
  
  .swiper-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .swiper-slide-prev,
  .swiper-slide-next {
    transform: scale(0.8); /* Scale down adjacent slides */
  }
  
  .swiper-slide-active {
    transform: scale(1); /* Active slide remains normal size */
  }
  
  .swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    color: #fff;
  }
  
  .rooms-container::-webkit-scrollbar{
    display: none;
}
.rooms-card{
    scroll-snap-align: center; /* Kaydırmada düzgün hizalama yapar */
    width: auto !important;
}
.dragging {
    cursor: grabbing;
    user-select: none;
}
.rooms-card img{
    width: 33vw;
    aspect-ratio: 2/1;
    border-radius: 12px;
    
}
.rooms-card .title{
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0rem 0.5rem;
}
.rooms-card .description{
    padding: 0rem 0.5rem;
    color: var(--text-dark-300);

}
.divider{
    justify-content: center;
    height: 250px;
    background-color: var(--main-color);
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 8px;
    margin: 3rem 0rem;
    color: #fff;

}
.divider .img-left{
    left: 1rem;
    bottom: -25px;
    position: absolute;
    height: 100%;
    rotate: 40deg;
}
.divider .img-right{
    right: 1rem;
    bottom: -30px;
    position: absolute;
    height: 100%;
    transform: rotateY(180deg);
    transform: rotateZ(-30deg);
}
.divider .title{

    font-weight: 600;
    text-align: center;
    width: 100%;
    font-size: 2rem;
}
.divider .description{
    font-weight: 500;
    text-align: center;
    width: calc(100% - 500px);
    padding: 0rem 5rem;
    margin-bottom: 1rem;
}
.mt-3{
    margin-top: 3rem;
}
.mt-1{
    margin-top: 1rem;
}
.features{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    justify-content: space-between;
  }
.features .feature{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.feature span{
    font-size: 5rem;
    box-shadow: rgba(0, 0, 0, 0.24) 3px 3px 8px;

    background-color: var(--main-color);
    border-radius: 100%;
    padding: 1rem;
}
.feature p{
    margin-top: 0.75rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}
footer{
    min-height: 100px;
    display: flex;
    background-color: var(--text-dark);
    color: var(--nav-color);
    padding: 1.5rem 1rem;
}

.socials{
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.whatsapp-button {
    position: fixed; /* Ekran üzerinde sabit konumlandırma */
    bottom:20px;    /* Alttan 20 piksel boşluk */
    left: 20px;      /* Soldan 20 piksel boşluk */
    z-index: 1000;   /* Diğer elementlerin üzerinde görünmesini sağlar */
    display: block;  /* Linkin bir blok element gibi davranmasını sağlar */
    width: 60px;     /* Buton genişliği */
    height: 60px;    /* Buton yüksekliği */
    border-radius: 50%; /* Butonu yuvarlak yapar */
    overflow: hidden; /* Taşmayı gizler, ikonun yuvarlak çerçeveye sığmasını sağlar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Hafif bir gölge efekti */
    transition: transform 0.3s ease-in-out; /* Fare üzerine gelince animasyon */
}

.whatsapp-button img {
    width: 100%; /* Resmin butonun genişliğini doldurmasını sağlar */
    height: 100%; /* Resmin butonun yüksekliğini doldurmasını sağlar */
    object-fit: cover; /* Resmin butona tam oturmasını sağlar */
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Fare üzerine gelince butonu hafifçe büyütür */
}

/* Mobil cihazlar için responsive ayarlar */
@media (max-width: 768px) {
  .mobile-bottom{
    display: flex;
  }
    .whatsapp-button {
        width: 50px; /* Mobil cihazlarda butonu küçültür */
        height: 50px;
        bottom: calc(15px + var(--mobile-bottom-height)); /* Mobil cihazlarda boşlukları ayarlar */
        left: 15px;
    }
}
.tx-center{
    text-align: center;
}
.socials span{
    color: var(--nav-color);
    
}
footer .area{
    width: 33.33%;
    padding: 0rem 2rem;
}
.area .title{
    font-size: 1.5rem;
    font-weight: 600;
}
.area .description{
    margin-top: 0.5rem;
    color: #e2e1e1;
    font-size: 0.9rem;
    
}
.locations{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
}
.locations .location{
  max-width: 100%;
  background-color: var(--nav-color);

  height: 300px;
  display: flex;
  border-radius: calc(12px + 1rem);
}
.locations .location img{
  height: calc(100% - 2rem);
  border-radius: 12px;
  margin: 1rem;
  aspect-ratio: 1/1;
  object-fit:cover;
}
.incele{
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 1.3rem;
  margin-top: 1rem;
  width: calc(100% - 2rem);
}
.logo-txt{
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--main-color);
}
.locations .location .details{
  margin: 1rem 0rem;
  height: calc(100% - 2rem);
  display: grid;
}
.locations .location .details .name{
  font-weight: bold;
  font-size: 2rem;
}
.locations .location .details .desc{
overflow: hidden;
}
.locations .location .details .mesafe{
  align-self: flex-end;
  font-weight: bold;
  font-size: 1.2rem;
}
.copy{
    padding: 0.5rem 3rem;
    background-color: var(--text-dark);
    color: var(--nav-color);
    text-align: center;
    font-size: 0.8rem;
}
.copy a{
    color: #ed0067;
}
.wrapper {
    position: relative;
  }
  .wrapper i {
    z-index: 10;
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
  }
  .wrapper i:active{
    transform: translateY(-50%) scale(0.85);
  }
  .wrapper i:first-child{
    left: 100px;
  }
  .wrapper i:last-child{
    right: 100px;
  }
  .wrapper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar {
    display: none;
  }
  .carousel.no-transition {
    scroll-behavior: auto;
  }
  .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .carousel.dragging .card {
    cursor: grab;
    user-select: none;
  }
  .carousel :where(.card, .img) {
    display: flex;
    align-items: center;
  }
  .carousel .card {
    scroll-snap-align: center;
    height: auto;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;

  }
  .carousel .card .img {
    width: 100%;
  }
  .card .img img {
    aspect-ratio: 1;
    background-color: #000;
    width: 100%;
    object-fit: cover;
  }
  .carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 1rem 0 5px;
  }
  .carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
  }
  #open-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
  }
  #close-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
  }
  .block{
    display: block !important;
  }
  #overlay{
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
  }
  .divider-text{
    width: 100%;
    padding: 1rem;
    text-align: center;
  }
  .divider-text .description{
    width: 100%;
    text-align: center;
  }
  @media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 2) - 9px);
    }
  }
  @media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: 100%;
      max-width: 100%;
    }
    .wrapper .card{
        width: 90% !important;
    }
    .wrapper i{
      display: none;
    }
  }
@media only screen and (max-width: 900px) {
  
  .section-title::before,
  .section-title::after {
    width: 15%;
  }
  .locations .location{
    height: auto;
    width: 100%;
    flex-direction: column;
  }
  .locations .location img{
    width: calc(100% - 2rem);
  
  }
  .locations .location .details{
    padding: 1rem;
    gap: 6px;
  }
  .locations{
    grid-template-columns: 1fr;
  }
    .overflow{
        display: none;
    }
    .features{
      grid-template-columns: repeat(2,1fr);
    }
    .m-none{
      display: none;
    }
    .img-left{
      height: 75% !important;
      left: 0px !important;
    }
    .divider-text{
      height: 100%;
      font-size: 1rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .divider-text .description{
      padding: 0;
      width: 100%;
    }
    footer{
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    footer .area{
        width: 100%;
    }
    .socials{
        justify-content: center;
    }
    .m-column{
        display: flex;
        flex-direction: column;
    }
    .reservation-container{
        height: auto !important;
        padding: 0rem 1rem !important;
    }

    #open-sidebar-button, #close-sidebar-button{
        display: block;
      }
      header{
        padding: 0 1rem;
      }
.reservation-card form input{
  min-width: 100% !important;
  width: 100%;
}
      header ul{

        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        transition: right 300ms ease-in-out;
        background-color: var(--text-dark);
      }
      header ul.show{
        right: 0;
      }
    ul.show ~ #overlay{
        display: block !important;
      }
      .search-btn{
        width: 100%;
      }
      header ul{
        width: 70%;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
      }
      header ul .btn-action{
        width: calc(100% - 2rem);
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      header ul a{
        color: var(--bg-color);
        width: 100%;
      }
      header ul a.active-link{
        border-bottom: none;
      }
      header ul .home-li{
        margin-right: unset;
      }

}
  