/* ===============================
   GENEL AYARLAR
   =============================== */
[id] {
  scroll-margin-top: 100px;
}
body {
  scroll-behavior: smooth;
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  background-color: rgba(27, 59, 47, 0.85);
  padding: 0.3rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.logo-img {
  width: 180px;
  height: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
  width: 0;
  opacity: 0;
  visibility: hidden;
}

.navbar-nav {
  text-align: center;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  padding: 0.5rem 1.2rem;
  opacity: 0.7;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.navbar.scrolled .nav-link {
  color: #000 !important;
  opacity: 1;
}

.btn-navbar {
  background-color: rgba(27, 59, 47, 0.85);
  color: white;
  border: none;
  border-radius: 4px;
}

/* ===============================
   SLIDER
   =============================== */
#slider {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

#otelSlider,
.carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.carousel-inner {
  height: 100%;
}

/* ===============================
   HERO ALANI
   =============================== */
.hero-container,
.hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  overflow: hidden;
}

.hero-container img,
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   BREADCRUMB
   =============================== */
.breadcrumb-overlay {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  padding: 0 20px;
  max-width: 90%;
}

.hakkimizda-title,
.galeri-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  margin-bottom: 10px;
  color: white;
  text-align: left;
}

.galeri-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.breadcrumb-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  text-align: left;
}

.breadcrumb-text a {
  color: white;
  text-decoration: none;
}

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

/* ===============================
   HAKKIMIZDA
   =============================== */
.hakkimizda-baslik {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1b3b2f;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #1b3b2f;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0;
  text-align: left;
}

.hakkimizda-yazi {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
  padding-right: 20px;
  margin: 50px 0 30px;
}

.hakkimizda-yazi .btn {
  font-size: 1.2rem;
  padding: 8px 20px;
  margin-top: 16px;
  display: inline-block;
  background-color: rgba(27, 59, 47, 0.85);
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hakkimizda-yazi .btn:hover {
  background-color: rgba(27, 59, 47, 1);
}

/* ===============================
   VİLLA BÖLÜMÜ
   =============================== */
.villa-section {
  background-color: #1b3b2f;
  color: white;
  padding: 60px 20px;
  font-family: 'Playfair Display', serif;
}

.villa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.villa-image {
  flex: 1;
  min-width: 280px;
}

.villa-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.villa-text {
  flex: 1;
  min-width: 280px;
}

.villa-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

.villa-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.btn-villa {
  display: inline-block;
  background-color: #f5f5f5;
  color: #1b3b2f;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-villa:hover {
  background-color: #e0e0e0;
}
/* Villalarımız Sayfası Özel CSS */
body.villalarimiz-page {
  padding-top: 0;
  background-color: #f8f9fa;
  font-family: 'Rubik', sans-serif;
}

.villalarimiz-page .villalarımız-title {
  color: #fff;
}

.villalarimiz-page .navbar {
  background-color: rgba(27, 59, 47, 0.85);
}

.villalarimiz-page .navbar-brand img {
  width: 100px;
  height: auto;
}

.villalarimiz-page h1,
.villalarimiz-page .page-title,
.villalarimiz-page .icon-item i,
.villalarimiz-page .icon-item span {
  color: rgba(27, 59, 47, 0.85);
}

.villalarimiz-page .icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  gap: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
}

.villalarimiz-page .icon-item i {
  font-size: 1.5rem;
}

.villalarimiz-page .custom-slider {
  overflow: hidden;
  position: relative;
}

.villalarimiz-page .slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.villalarimiz-page .slider-item {
  flex: 0 0 33.3333%;
  padding: 10px;
}

.villalarimiz-page .slider-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.villalarimiz-page .slider-controls-top {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

.villalarimiz-page .custom-arrow {
  background-color: rgba(27, 59, 47, 0.85);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.villalarimiz-page .custom-arrow:hover {
  background-color: rgba(20, 45, 35, 1);
}

.villalarimiz-page #lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.villalarimiz-page #lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.villalarimiz-page #lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.custom-footer .social-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 6px;
}
@media (max-width: 768px) {
  .villalarimiz-page .slider-item {
    flex: 0 0 100%;
    padding: 8px;
  }

  .villalarimiz-page .slider-item img {
    height: 200px;
  }
}


/* ===============================
   GALERİ
   =============================== */
.galeri-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding: 10px;
}

.galeri-grid .galeri-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.galeri-grid .galeri-item img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.galeri-img {
  cursor: pointer;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.galeri-baslik {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1b3b2f;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #1b3b2f;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0 auto 30px;
}

.galeri-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 5px;
}

.galeri-scroll .galeri-item {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.galeri-scroll .galeri-item img {
  width: 100%;
  max-width: 290px;
  height: 195px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 6px;
  display: block;
}

.galeri-scroll .galeri-item img:hover {
  transform: scale(1.07);
}

/* ===============================
   LIGHTBOX
   =============================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: 10px;
  transform: translateY(-50%);
  z-index: 10;
}

.arrow.left {
  left: 150px;
}

.arrow.right {
  right: 150px;
}

/* ===============================
   İLETİŞİM
   =============================== */
.iletisim-baslik {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1b3b2f;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #1b3b2f;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0 auto 30px;
}

form input,
form label {
  font-size: 0.95rem;
}

form input::placeholder {
  color: #888;
}

form .form-label {
  font-weight: 500;
  margin-bottom: 4px;
}

.custom-btn {
  background-color: rgba(27, 59, 47, 0.85);
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.custom-btn:hover,
.custom-btn:active,
.custom-btn:focus {
  background-color: rgba(20, 45, 35, 1);
  color: white;
}
/* ===============================
   HARİTA (Responsive)
   =============================== */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 oran */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===============================
   FOOTER
   =============================== */
   .custom-footer {
     background-color: rgba(27, 59, 47, 0.85);
   }

   .custom-footer img {
     max-width: 100%;
     object-fit: contain;
   }

   .custom-footer .social-icon {
     width: 70px;
     height: 70px;
     object-fit: contain;
     margin: 0 6px;
   }

   .custom-footer .footer-logo {
     max-height: 170px;
     width: auto;
   }


/* ===============================
   WHATSAPP BUTTON
   =============================== */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  padding: 0;
}

.whatsapp-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   MEDIA QUERIES
   =============================== */
@media (max-width: 760px) {
  .hero-container,
  .hero-banner,
  .breadcrumb-overlay {
    display: none !important;
  }

  .hakkimizda-baslik {
    display: table;
    margin: 0 auto 20px;
    text-align: center;
  }

  .hakkimizda-yazi {
    padding-right: 0;
    margin: 20px 0 40px;
    text-align: center;
  }

  .hakkimizda-yazi .btn {
    display: block;
    margin: 20px auto 0;
    font-size: 1.1rem;
  }

  #hakkimizda img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
  }

  #hakkimizda h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .galeri-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 10px;
  }

  .galeri-scroll .galeri-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .galeri-scroll .galeri-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .arrow.left {
    left: 10px;
  }

  .arrow.right {
    right: 10px;
  }

  .whatsapp-button {
    display: block;
  }
}

/* Küçük ekranlarda sosyal ikonları biraz küçült */
@media (max-width: 576px) {
  .custom-footer .social-icon {
    width: 30px;
    height: 30px;
  }
}
