/* Tema renkleri, radius değerleri ve animasyon hızları */
:root {
  --color-bg-dark: #1f1f1f;
  --color-text-light: #f0f0f0;
  --color-accent: #4db6ac;
  --color-accent-light: #00ffc8;
  --radius-small: 8px;
  --radius-medium: 10px;
  --radius-large: 12px;
  --transition-fast: 0.3s ease;
}

.map-description {
  margin-bottom: 20px;
}

/* Poppins fontu Google'dan import ediliyor */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

/* Tüm öğeler için varsayılan margin ve padding sıfırlanıyor */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* Menü açıldığında ekranın üstünü kaplayan karartma efekti */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-light);
}

p {
  font-size: 16px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }
}

/* Üst sabit navigasyon barı */
.navbar {
  background-color: #2c2c2c;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-radius: 0;
}

.logo {
  font-size: 24px;
  color: var(--color-text-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-light);
  font-weight: 600;
}

.nav-links a,
.content-section h2,
.oda h3,
footer a {
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-links a:hover,
.content-section h2:hover,
.oda h3:hover,
footer a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 6px rgba(77, 182, 172, 0.7);
  transform: scale(1.03);
  transition: color var(--transition-fast), text-shadow var(--transition-fast),
    transform var(--transition-fast);
}

/* Ana sayfadaki büyük görsel slider alanı */
.hero-slider {
  background: url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2")
    center/cover no-repeat;
  text-align: center;
  padding: 140px 20px 120px;
  position: relative;
  color: #fff;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide h2 {
  font-size: 36px;
  color: #e0e0e0;
  letter-spacing: 1px;
  text-shadow: none;
}

.hero-slide p {
  font-size: 18px;
  margin-top: 10px;
  color: #cccccc;
}

.hero-slide a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #3a3a3a;
  color: #f0f0f0;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.hero-slide a:hover {
  background-color: #81c784;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Sayfa bölümleri için padding ve max-width ayarı */
.content-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.content-section h2 {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.carousel {
  /* Kaydırılabilir görsel alanı */
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 20px auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
  align-items: center;
  justify-content: center;
  scroll-behavior: smooth;
  overflow-x: hidden;
  touch-action: pan-y;
  width: max-content;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.carousel-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 128, 128, 0.3);
}

/* Oda tanıtımları için alan */
.oda {
  margin-bottom: 40px;
  text-align: center;
}

.oda h3 {
  color: var(--color-text-light);
  margin-bottom: 10px;
  font-size: 24px;
}

.oda p {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.oda-carousel {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.oda-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.oda-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.oda-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-medium);
}

.oda-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 128, 128, 0.3);
}

img[loading="lazy"] {
  background-color: var(--color-text-light);
  transition: opacity var(--transition-fast);
}

footer {
  text-align: center;
  background-color: #2c2c2c;
  padding: 20px;
  border-top: 1px solid #444;
  margin-top: 40px;
  color: var(--color-text-light);
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2c2c2c;
  color: var(--color-accent);
  text-decoration: none;
  border-radius: var(--radius-small);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(77, 182, 172, 0.1);
}

.button:hover,
.call-button:hover {
  background-color: var(--color-accent-light);
  color: var(--color-bg-dark);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
}

.call-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2c2c2c;
  color: var(--color-accent);
  text-decoration: none;
  border-radius: var(--radius-small);
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(77, 182, 172, 0.1);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.active h2,
.hero-slide.active p,
.hero-slide.active a {
  animation: fadeInUp 0.8s ease forwards;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 48px;
  height: 48px;
}

/* Scroll ile ortaya çıkan animasyon için başlangıç ayarları */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .hero-slide h2 {
    font-size: 22px;
  }

  .hero-slide p {
    font-size: 14px;
  }

  .hero-slide a.button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .content-section {
    padding: 60px 20px;
  }

  .content-section h2 {
    font-size: 20px;
    text-align: center;
  }

  .carousel-track img,
  .oda-track img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: auto;
  }

  .carousel-dots .dot,
  .oda-dots .dot {
    width: 8px;
    height: 8px;
  }

  .whatsapp-float {
    bottom: 90px;
  }

  .call-button {
    padding: 10px 18px;
    margin-top: 12px;
    font-size: 14px;
  }

  footer {
    font-size: 14px;
    padding: 15px;
  }

  .carousel-track {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .carousel-slide {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .carousel-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: auto;
    object-fit: cover;
    border-radius: var(--radius-medium);
  }
}

/* Öne çıkan kutu tasarımı */
.highlight-box {
  background-color: #2c2c2c;
  padding: 20px;
  margin-top: 20px;
  border-radius: 20px;
  border: 4px solid #555;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Oda etiketleri için düzen */
.oda-etiket {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.oda-etiket span {
  background-color: #555;
  color: var(--color-text-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .oda-etiket {
    gap: 8px;
  }

  .oda-etiket span {
    font-size: 13px;
    padding: 5px 10px;
  }
}

.footer-copy {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .footer-copy {
    font-size: 13px;
  }
}

/* İletişim kartı tasarımı */
.contact-card {
  background-color: #2c2c2c;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  max-width: 600px;
  margin: auto;
  text-align: center;
  border: 4px solid #555;
  color: var(--color-text-light);
}

/* Harita alanı tasarımı */
.map-wrapper {
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: var(--radius-large);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: auto;
  border: 1px solid #555;
  color: var(--color-text-light);
}

/* Sosyal medya ikonları için düzen */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.social-media a {
  font-size: 28px;
  color: var(--color-text-light);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.social-media a:hover {
  transform: scale(1.2);
  color: #2e3a40;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
}

.galeri-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.galeri-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.galeri-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.galeri-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 128, 128, 0.3);
}

/* Tatil kartları için grid düzeni */
.tatil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Tatil kartı tasarımı */
.tatil-card {
  background: #2e2e2e;
  padding: 15px;
  border-radius: var(--radius-large);
  text-align: center;
  transition: transform var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #444;
}

.tatil-card:hover {
  transform: scale(1.03);
}

.tatil-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  margin-bottom: 10px;
}

.tatil-card h4 {
  margin: 0 0 5px 0;
  color: var(--color-text-light);
}

.tatil-card p {
  margin: 5px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

/* Yol tarifi butonu için düzen */
.yol-tarifi-button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Sayfanın üstüne dön butonu */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 10px 14px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 255, 200, 0.4);
  z-index: 1000;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.back-to-top:hover {
  transform: scale(1.2);
}

/* Slider butonları için stil */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-text-light);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.nav-links a {
  transition: all var(--transition-fast);
}

.content-section h2,
.oda h3 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section h2.revealed,
.oda h3.revealed {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide img:hover,
.oda-slide img:hover,
.galeri-slide img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0, 255, 200, 0.2);
}

/* Resim altı açıklama kutusu */
.caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-text-light);
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all var(--transition-fast);
  border-bottom-left-radius: var(--radius-medium);
  border-bottom-right-radius: var(--radius-medium);
}

.oda-slide {
  position: relative;
  overflow: hidden;
}

.oda-slide:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

/* Tatil kartları tekrar tanımlandı (daha koyu arka plan) */
.tatil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tatil-card {
  background: #1e1e1e;
  padding: 15px;
  border-radius: var(--radius-large);
  text-align: center;
  transition: transform var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tatil-card:hover {
  transform: scale(1.03);
}

.tatil-card img {
  width: 100%;
  border-radius: var(--radius-medium);
  margin-bottom: 10px;
}

.tatil-card h4 {
  margin: 0 0 5px 0;
  color: var(--color-text-light);
}

.tatil-card p {
  margin: 5px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.oda-slide:hover .caption,
.galeri-slide:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

/* Slider altındaki nokta göstergeleri */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #666;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast);
}

.slider-dots .dot:hover {
  background-color: var(--color-accent);
  transform: scale(1.1);
}

.slider-dots .active-dot {
  background-color: #2e3a40;
}

/* Varsayılan arka plan resmi */
.default-bg {
  background: url("./images/hero-mengenler.png") center/cover no-repeat;
}

/* Resim büyütme için ışık kutusu */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0, 255, 200, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* Gizleme için yardımcı sınıf */
.hidden {
  display: none;
}

@media (max-width: 768px) {
  .oda-slide img,
  .galeri-slide img {
    max-height: 300px;
    object-fit: cover;
  }
}
