/* ============================================
   BUNGOLOV - ANA STIL DOSYASI
   Doğa/Ahşap Temalı, Modern Tasarım
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

/* ============================================
   CSS DEĞİŞKENLERİ
   ============================================ */
:root {
  --primary:       #1A3A5C;   /* Kurumsal lacivert */
  --primary-light: #2A5A8C;
  --primary-dark:  #0D2240;
  --secondary:     #E8500A;   /* Canlı turuncu */
  --secondary-light:#FF6B2B;
  --accent:        #F5A623;   /* Amber/altın */
  --accent-dark:   #D4880A;
  --bg-light:      #F4F7FB;   /* Açık mavi-gri arka plan */
  --bg-dark:       #0A1628;
  --text-dark:     #0D1F35;
  --text-muted:    #5A6E84;
  --border:        #D0DCE8;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 8px rgba(26,58,92,0.10);
  --shadow-md:     0 8px 24px rgba(26,58,92,0.15);
  --shadow-lg:     0 16px 48px rgba(26,58,92,0.20);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading:  'Montserrat', 'Segoe UI', sans-serif;
  --font-body:     'Poppins', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   YARDIMCI SINIFLAR
   ============================================ */
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.bg-wood { background-color: #EEF3FA !important; }

/* Scroll animasyonu */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.divider-leaf {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.divider-leaf::before,
.divider-leaf::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-leaf span {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ============================================
   BUTONLAR
   ============================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-accent-custom:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,168,83,0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #128C7E;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar-custom.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand-custom .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.navbar-brand-custom .brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.navbar-brand-custom .brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-link-custom {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

.navbar-toggler-custom {
  border: none;
  background: none;
  padding: 4px;
  cursor: pointer;
}

.navbar-toggler-custom span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hamburger → X animasyonu */
.navbar-toggler-custom.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler-custom.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-toggler-custom.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobil menü açılış animasyonu */
.navbar-collapse-custom {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  animation: mobileMenuIn 0.25s ease;
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-switcher a {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
  position: relative;
  min-height: 92vh;
  min-height: calc(var(--vh, 1vh) * 92);
  display: flex;
  align-items: flex-start;   /* mobilde içerik üstten başlasın, taşmasın */
  overflow: hidden;          /* slider taşmasını engelle */
  background: var(--primary-dark);
  /* Mobilde padding KULLANMA — içerik z-index ile üste çıkar */
}

/* Slider track — section'ı tam kapla */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;          /* ekstra güvenlik */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
  /* transform kullanma — kayma yaratır */
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* transform/translate kullanma */
}

/* Mobilde görselin üst kısmı görünsün */
@media (max-width: 767px) {
  .hero-slide img {
    object-position: center top;
  }
}

/* Koyu overlay her slide üzerinde */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13,34,64,0.75) 0%,
    rgba(26,58,92,0.55) 50%,
    rgba(13,34,64,0.65) 100%
  );
  pointer-events: none;
}

/* Fallback: görsel yoksa gradient arka plan */
.hero-slider-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  z-index: 0;
}

/* Slider dots */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  pointer-events: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}

/* Slider ok butonları */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-slider-prev { left: 20px; }
.hero-slider-next { right: 20px; }

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  /* transform'u sadece translateY ile sınırla — scale ekstra kayma yaratabilir */
  transform: translateY(-50%) scale(1.05);
}

/* Progress bar */
.hero-slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 5;
  width: 0%;
  transition: width linear;
}

/* İçerik */
.hero-bg {
  display: none; /* artık kullanılmıyor */
}

.hero-bg-img {
  display: none; /* artık kullanılmıyor */
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  /* padding ile içeriği konumlandır, section padding'i değil */
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,83,0.2);
  border: 1px solid rgba(212,168,83,0.5);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Arama Formu */
.hero-search-box {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-search-box h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form-group {
  margin-bottom: 14px;
}

.search-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.search-form-group .form-control,
.search-form-group .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.search-form-group .form-control:focus,
.search-form-group .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,64,51,0.1);
  outline: none;
}

/* ============================================
   BUNGALOV KARTLARI
   ============================================ */
.bungalow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bungalow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bungalow-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.bungalow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bungalow-card:hover .bungalow-card-img img {
  transform: scale(1.06);
}

.bungalow-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.bungalow-badge.available {
  background: var(--secondary);
}

.bungalow-badge.booked {
  background: #E53935;
}

.bungalow-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  border: none;
}

.bungalow-wishlist:hover {
  background: var(--white);
  transform: scale(1.1);
}

.bungalow-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bungalow-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.bungalow-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
}

.bungalow-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.bungalow-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bungalow-meta-item i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.bungalow-amenities-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.amenity-chip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.amenity-chip i {
  color: var(--secondary);
  font-size: 0.75rem;
}

.bungalow-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.bungalow-price {
  display: flex;
  flex-direction: column;
}

.bungalow-price .price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bungalow-price .price-amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.bungalow-price .price-night {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bungalow-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
}

.bungalow-rating .stars {
  color: #F59E0B;
}

/* ============================================
   BUNGALOV KARTI V2 - ANA SAYFA (Referans: bungalovla.com)
   ============================================ */

/* Kart görsel yüksekliği biraz daha büyük */
.bungalow-card-v2 .bungalow-card-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

/* Üst rozetler (sol: öne çıkan, sağ: puan) */
.bungalow-card-badges {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 14px;
  z-index: 3;
  pointer-events: none;
}

.bungalow-badge-rating {
  background: rgba(20,20,20,0.72);
  color: #F59E0B;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
}

/* Fiyat bandı - sol alt köşe */
.bungalow-price-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 8px 18px 8px 14px;
  border-radius: 0 12px 0 0;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 3px;
  pointer-events: none;
}

.bungalow-price-ribbon .ribbon-amount {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.bungalow-price-ribbon .ribbon-night {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
}

/* Hover Overlay - tıklanabilir butonlar */
.bungalow-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 15, 5, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.32s ease;
  z-index: 4;
}

.bungalow-card-v2:hover .bungalow-card-overlay {
  opacity: 1;
}

.overlay-btn-detail,
.overlay-btn-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: var(--transition);
  transform: translateY(10px);
  opacity: 0;
}

.bungalow-card-v2:hover .overlay-btn-detail,
.bungalow-card-v2:hover .overlay-btn-book {
  transform: translateY(0);
  opacity: 1;
}

.bungalow-card-v2:hover .overlay-btn-detail { transition-delay: 0.05s; }
.bungalow-card-v2:hover .overlay-btn-book   { transition-delay: 0.12s; }

.overlay-btn-detail {
  background: rgba(255,255,255,0.92);
  color: var(--primary-dark);
  border: 2px solid transparent;
}

.overlay-btn-detail:hover {
  background: white;
  color: var(--primary-dark);
  transform: scale(1.04);
}

.overlay-btn-book {
  background: var(--accent);
  color: var(--primary-dark);
  border: 2px solid transparent;
}

.overlay-btn-book:hover {
  background: var(--accent-dark);
  color: white;
  transform: scale(1.04);
}

/* Başlık linki */
.bungalow-card-title-link {
  text-decoration: none;
  color: inherit;
}

.bungalow-card-title-link:hover .bungalow-card-title {
  color: var(--primary);
}

/* Daha fazla özellik chip */
.amenity-more {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

/* Footer V2 */
.bungalow-card-footer-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  gap: 10px;
}

.bungalow-card-footer-v2 .bungalow-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

/* Aksiyon butonları */
.bungalow-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.card-btn-detail {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.card-btn-detail:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.08);
}

.card-btn-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.card-btn-book:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,168,83,0.4);
}

/* Mobil uyum */
@media (max-width: 576px) {
  .bungalow-card-v2 .bungalow-card-img { height: 220px; }
  .card-btn-book { padding: 7px 11px; font-size: 0.73rem; }
  .bungalow-price-ribbon .ribbon-amount { font-size: 1rem; }
}

/* ============================================
   TAKVİM
   ============================================ */
.availability-calendar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-header h5 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
}

.calendar-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  text-transform: uppercase;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: 1.5px solid transparent;
}

.calendar-day.empty { cursor: default; }

.calendar-day.available {
  color: var(--text-dark);
  background: rgba(109,139,116,0.08);
}

.calendar-day.available:hover {
  background: var(--secondary);
  color: var(--white);
}

.calendar-day.booked {
  background: rgba(229,57,53,0.1);
  color: #E53935;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.today {
  border-color: var(--accent);
  font-weight: 700;
  color: var(--accent);
}

.calendar-day.selected-start,
.calendar-day.selected-end {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.calendar-day.in-range {
  background: rgba(92,64,51,0.1);
  color: var(--primary);
  border-radius: 0;
}

.calendar-day.past {
  color: var(--border);
  cursor: not-allowed;
}

.calendar-legend {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-dot.available { background: rgba(109,139,116,0.3); }
.legend-dot.booked { background: rgba(229,57,53,0.3); }
.legend-dot.selected { background: var(--primary); }

/* ============================================
   REZERVASYON FORMU
   ============================================ */
.reservation-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #F0E8DC 100%);
}

.reservation-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.step-circle.active {
  background: var(--primary);
  color: var(--white);
}

.step-circle.completed {
  background: var(--secondary);
  color: var(--white);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  transition: var(--transition);
}

.step-line.completed {
  background: var(--secondary);
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}

.form-control-custom {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,64,51,0.1);
}

.form-control-custom.error {
  border-color: #E53935;
}

.form-error {
  font-size: 0.78rem;
  color: #E53935;
  margin-top: 4px;
  display: none;
}

.form-error.show { display: block; }

/* Fiyat Özeti */
.price-summary {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.price-row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.price-row.discount {
  color: var(--secondary);
}

/* ============================================
   ÖZELLIKLER / NEDEN BİZ
   ============================================ */
.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--bg-light), #D6E4F7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: var(--primary);
}

.feature-title {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   YORUMLAR
   ============================================ */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.review-text::before { content: '"'; }
.review-text::after { content: '"'; }

/* ============================================
   BLOG KARTLARI
   ============================================ */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card-img {
  height: 200px;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  display: inline-block;
  background: rgba(109,139,116,0.15);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-custom {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-newsletter {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  width: 100%;
  margin-bottom: 10px;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   WHATSAPP BUTONU (SABİT)
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  color: var(--white);
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================
   BUNGALOV DETAY SAYFASI
   ============================================ */
.bungalow-detail-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.bungalow-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bungalow-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.bungalow-detail-hero .hero-info {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-grid .gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--primary-dark);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: var(--transition);
  overflow-y: auto;
}

.admin-sidebar.collapsed {
  width: 70px;
}

.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sidebar-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-sidebar-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left-color: var(--accent);
}

.admin-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-nav-section {
  padding: 16px 20px 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #F4F6F9;
  transition: var(--transition);
}

.admin-topbar {
  background: var(--white);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.admin-page-content {
  padding: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.primary { background: rgba(92,64,51,0.1); color: var(--primary); }
.stat-icon.success { background: rgba(109,139,116,0.1); color: var(--secondary); }
.stat-icon.warning { background: rgba(212,168,83,0.1); color: var(--accent); }
.stat-icon.danger  { background: rgba(229,57,53,0.1); color: #E53935; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.data-table {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--bg-light);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.data-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-light); }

/* Status badges */
.badge-status {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pending   { background: rgba(255,152,0,0.15); color: #E65100; }
.badge-confirmed { background: rgba(109,139,116,0.15); color: #2E7D32; }
.badge-cancelled { background: rgba(229,57,53,0.15); color: #C62828; }
.badge-paid      { background: rgba(33,150,243,0.15); color: #1565C0; }
.badge-checkedin { background: rgba(156,39,176,0.15); color: #6A1B9A; }

/* ============================================
   TOAST BİLDİRİMLER
   ============================================ */
.toast-container-custom {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-custom {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  animation: slideInRight 0.3s ease;
}

.toast-custom.success { border-left-color: var(--secondary); }
.toast-custom.error   { border-left-color: #E53935; }
.toast-custom.warning { border-left-color: var(--accent); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---- Tablet (≤991px) ---- */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-grid .gallery-item:first-child { grid-row: auto; }

  /* Hero içerik tablet */
  .hero-section { min-height: 75vh; }
  .hero-stats { gap: 20px; }
  .hero-search-box { padding: 20px; }

  /* Navbar tablet */
  .navbar-brand-custom .brand-text { font-size: 1.2rem; }

  /* Rezervasyon yan panel tablet */
  .reservation-sidebar-sticky { position: static !important; top: auto !important; }
}

/* ---- Mobil (≤767px) ---- */
@media (max-width: 767px) {
  /* Genel boşluklar */
  .section-padding    { padding: 48px 0; }
  .section-padding-sm { padding: 32px 0; }

  /* Başlık ve alt başlık */
  .section-title    { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 0.75rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

  /* Hero — tam yükseklik, içerik üst üste binmesin */
  /* NOT: hero-section'a padding verme — slider position:absolute ile tam kaplar */
  /* İçerik padding'i hero-content üzerinden yönetilir */
  /* 100vh önce (fallback), ardından --vh JS değişkeni, son olarak 100svh (iOS Safari) */
  .hero-section   { min-height: 100vh; min-height: calc(var(--vh, 1vh) * 100); min-height: 100svh; }
  .hero-content   { padding-top: 80px; padding-bottom: 50px; }
  .hero-title     { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 1rem; }
  .hero-subtitle  { font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 100%; }
  .hero-badge     { font-size: 0.78rem; padding: 5px 12px; margin-bottom: 1rem; }
  .hero-stats     { gap: 16px; margin-top: 1.5rem; flex-wrap: wrap; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-stat .label  { font-size: 0.72rem; }

  /* Hero arama kutusu — mobilde tam genişlik */
  .hero-search-box {
    margin-top: 24px;
    padding: 20px 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.97);
  }
  .hero-search-box h4 { font-size: 1rem; margin-bottom: 1rem; }

  /* Hero butonlar — tam genişlik */
  .hero-content .d-flex.flex-wrap.gap-3 { gap: 10px !important; }
  .hero-content .btn-primary-custom,
  .hero-content .btn-accent-custom { width: 100%; justify-content: center; }

  /* Navbar */
  .navbar-custom { padding: 10px 0; }
  .navbar-brand-custom .brand-text { font-size: 1.15rem; }
  .navbar-brand-custom .brand-sub  { font-size: 0.6rem; }
  .navbar-logo-icon { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }

  /* Mobil menü */
  .navbar-collapse-custom {
    padding: 12px 0 !important;
    margin-top: 10px !important;
  }
  .navbar-collapse-custom .nav-link-custom {
    padding: 10px 8px !important;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  /* Bungalov kartları */
  .bungalow-card-img          { height: 210px; }
  .bungalow-card-v2 .bungalow-card-img { height: 210px; }
  .bungalow-card-body         { padding: 16px; }
  .bungalow-card-title        { font-size: 1.05rem; }
  .bungalow-card-desc         { font-size: 0.85rem; }
  .bungalow-meta              { gap: 10px; }
  .bungalow-meta-item         { font-size: 0.8rem; }
  .bungalow-card-footer,
  .bungalow-card-footer-v2    { flex-wrap: wrap; gap: 8px; }
  .bungalow-price .price-amount { font-size: 1.2rem; }

  /* Kart aksiyon butonları — mobilde tam genişlik */
  .bungalow-card-actions { width: 100%; justify-content: space-between; }
  .card-btn-book { flex: 1; justify-content: center; }

  /* Hover overlay mobilde her zaman gizli (touch cihazlarda hover yok) */
  .bungalow-card-overlay { display: none; }

  /* Rezervasyon formu */
  .reservation-form-card { padding: 20px 14px; border-radius: var(--radius-md); }
  .step-indicator        { display: none; }
  .price-summary         { padding: 14px; }
  .price-row             { font-size: 0.85rem; }
  .price-row.total       { font-size: 1rem; }

  /* Rezervasyon yan panel — mobilde sticky kaldırılır */
  .reservation-sidebar-sticky { position: static !important; top: auto !important; }

  /* Ödeme yöntemi etiketleri — mobilde tam genişlik */
  .payment-method-label { flex-direction: row !important; }

  /* Özellik kartları */
  .feature-card  { padding: 24px 16px; }
  .feature-icon  { width: 60px; height: 60px; font-size: 1.5rem; }
  .feature-title { font-size: 1rem; }
  .feature-desc  { font-size: 0.85rem; }

  /* Yorum kartları */
  .review-card { padding: 18px; }
  .review-text { font-size: 0.85rem; }

  /* Blog kartları */
  .article-card-img { height: 180px; }
  .article-title    { font-size: 1rem; }

  /* Bungalov detay */
  .bungalow-detail-hero { height: 260px; border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .bungalow-detail-hero .hero-info { bottom: 16px; left: 16px; }

  /* Galeri */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-custom { padding: 36px 0 0; }
  .footer-brand .brand-name { font-size: 1.3rem; }
  .footer-title  { font-size: 1rem; margin-bottom: 14px; }
  .footer-links a { font-size: 0.85rem; }
  .footer-contact-item { font-size: 0.85rem; }
  .footer-bottom { font-size: 0.78rem; }

  /* WhatsApp butonu */
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }

  /* Toast */
  .toast-custom { min-width: 240px; max-width: calc(100vw - 32px); }
  .toast-container-custom { right: 12px; left: 12px; top: 12px; }

  /* Cookie banner */
  .cookie-banner { padding: 14px 16px; font-size: 0.82rem; flex-direction: column; align-items: flex-start; gap: 12px; }

  /* CTA section butonları — mobilde tam genişlik */
  .cta-section .d-flex,
  section .d-flex.flex-wrap.gap-3.justify-content-center { gap: 10px !important; }
  section .btn-accent-custom,
  section .btn-whatsapp { width: 100%; max-width: 320px; justify-content: center; }

  /* Takvim — mobilde daha kompakt */
  .calendar-grid { gap: 2px; }
  .calendar-day  { font-size: 0.8rem; }
  .calendar-day-header { font-size: 0.7rem; padding: 4px 0; }
  .calendar-legend { gap: 10px; }
}

/* ---- Küçük Mobil (≤575px) ---- */
@media (max-width: 575px) {
  /* Genel */
  html { font-size: 15px; }

  /* Hero — padding hero-section'a değil hero-content'e verilir */
  .hero-content  { padding-top: 48px; padding-bottom: 28px; }
  .hero-title    { font-size: clamp(1.4rem, 7vw, 2rem); }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-stats    { gap: 12px; }
  .hero-stat .number { font-size: 1.3rem; }

  /* Navbar */
  .navbar-brand-custom .brand-text { font-size: 1rem; }
  .navbar-logo-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.9rem; }

  /* Butonlar */
  .btn-primary-custom,
  .btn-accent-custom,
  .btn-outline-custom { padding: 10px 18px; font-size: 0.88rem; }

  /* Bungalov kartları */
  .bungalow-card-img          { height: 190px; }
  .bungalow-card-v2 .bungalow-card-img { height: 190px; }
  .bungalow-card-body         { padding: 14px; }
  .bungalow-card-title        { font-size: 1rem; }
  .bungalow-amenities-preview { gap: 6px; }
  .amenity-chip               { font-size: 0.7rem; padding: 2px 8px; }
  .bungalow-price .price-amount { font-size: 1.1rem; }
  .card-btn-book              { padding: 7px 12px; font-size: 0.75rem; }

  /* Rezervasyon */
  .reservation-form-card { padding: 16px 12px; }
  .form-control-custom   { font-size: 0.88rem; padding: 10px 12px; }

  /* Takvim */
  .availability-calendar { padding: 14px 10px; }
  .calendar-day          { font-size: 0.75rem; }
  .calendar-day-header   { font-size: 0.65rem; }
  .calendar-header h5    { font-size: 0.95rem; }
  .calendar-nav-btn      { width: 30px; height: 30px; font-size: 0.8rem; }

  /* Özellik kartları */
  .feature-card  { padding: 20px 14px; }
  .feature-icon  { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 14px; }

  /* Yorum kartları */
  .review-avatar { width: 40px; height: 40px; font-size: 0.95rem; }
  .review-name   { font-size: 0.88rem; }

  /* Galeri */
  .gallery-grid { gap: 4px; }

  /* Bungalov detay */
  .bungalow-detail-hero { height: 220px; }

  /* Fiyat özeti */
  .price-summary { padding: 12px; }
  .price-row     { font-size: 0.82rem; }
  .price-row.total { font-size: 0.95rem; }

  /* Footer */
  .footer-social { gap: 8px; }
  .social-btn    { width: 34px; height: 34px; font-size: 0.82rem; }
  .footer-newsletter input { font-size: 0.85rem; }

  /* Kupon alanı — mobilde dikey */
  #coupon-input + #apply-coupon-btn { white-space: nowrap; }
  .d-flex.gap-2 > #coupon-input { min-width: 0; }
}

/* ---- Çok Küçük (≤380px) ---- */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .hero-title { font-size: 1.3rem; }
  .navbar-brand-custom .brand-text { font-size: 0.95rem; }
  .bungalow-card-img { height: 170px; }
  .bungalow-card-v2 .bungalow-card-img { height: 170px; }
  .hero-stats { display: none; }

  /* Rezervasyon form adım butonları — tam genişlik */
  .reservation-form-card .d-flex.justify-content-between { flex-direction: column; gap: 10px; }
  .reservation-form-card .d-flex.justify-content-between button,
  .reservation-form-card .d-flex.justify-content-between a { width: 100%; justify-content: center; }
  .reservation-form-card .d-flex.justify-content-end { justify-content: stretch !important; }
  .reservation-form-card .d-flex.justify-content-end button { width: 100%; justify-content: center; }
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner-custom {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 16px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }

/* ============================================
   PRINT
   ============================================ */
@media print {
  .navbar-custom, .footer-custom, .whatsapp-float, .cookie-banner { display: none !important; }
  body { background: white; }
  .reservation-form-card { box-shadow: none; border: 1px solid #ccc; }
}

/* ============================================
   KONTRAST & OKUNABILIRLIK DÜZELTMELERİ
   Koyu arka plan üzerindeki yazılar için
   ============================================ */

/* Koyu gradient section'larda tüm yazılar beyaz ve okunabilir */
section[style*="primary-dark"],
section[style*="primary"],
.hero-section,
.cta-section {
  color: #ffffff;
}

/* Hero içerik — tüm yazılar net görünsün */
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content span,
.hero-content a:not(.btn-primary-custom):not(.btn-accent-custom):not(.btn-outline-custom):not(.btn-whatsapp) {
  color: #ffffff;
}

/* Hero title güçlü text-shadow */
.hero-title {
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
}

/* Hero subtitle */
.hero-subtitle {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.95) !important;
}

/* Hero badge */
.hero-badge {
  text-shadow: none;
  color: var(--accent) !important;
}

/* Hero stats */
.hero-stat .number {
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-stat .label {
  color: rgba(255,255,255,0.9) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Bungalov detay hero — overlay güçlendir */
.bungalow-detail-hero .overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

/* Bungalov detay hero yazıları */
.bungalow-detail-hero .hero-info h1,
.bungalow-detail-hero .hero-info h2,
.bungalow-detail-hero .hero-info span,
.bungalow-detail-hero .hero-info a {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* Koyu arka planlı section'larda inline style ile yazılan metinler */
/* CTA section (index.php, hakkimizda.php) */
section[style*="background:linear-gradient(135deg,var(--primary-dark)"] h2,
section[style*="background:linear-gradient(135deg,var(--primary-dark)"] p,
section[style*="background:linear-gradient(135deg,var(--primary-dark)"] span {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Hakkımızda hero */
section[style*="background:linear-gradient(135deg,var(--primary-dark),var(--primary))"] h1,
section[style*="background:linear-gradient(135deg,var(--primary-dark),var(--primary))"] p {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* Slider overlay güçlendir — görseller çok açık olduğunda yazılar kaybolmasın */
.hero-slide-overlay {
  background: linear-gradient(
    160deg,
    rgba(10,22,40,0.82) 0%,
    rgba(26,58,92,0.60) 45%,
    rgba(10,22,40,0.72) 100%
  );
}

/* Fallback gradient üzerinde de yazılar görünsün */
.hero-slider-fallback + .hero-content,
.hero-slider-fallback ~ .hero-content {
  position: relative;
  z-index: 3;
}

/* Footer yazıları */
.footer-custom,
.footer-custom p,
.footer-custom span,
.footer-custom li {
  color: rgba(255,255,255,0.82);
}
.footer-custom h1,
.footer-custom h2,
.footer-custom h3,
.footer-custom h4,
.footer-custom h5,
.footer-custom h6 {
  color: #ffffff;
}

/* Breadcrumb koyu arka planda */
.bungalow-detail-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.80) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.bungalow-detail-hero .breadcrumb-item.active {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.bungalow-detail-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5) !important;
}

/* Açık arka plan section'larında yazılar koyu kalsın */
.section-padding:not([style*="primary"]):not([style*="dark"]) .section-title,
.section-padding:not([style*="primary"]):not([style*="dark"]) .section-subtitle {
  color: var(--primary-dark);
}

/* Kart içi yazılar — arka planla karışmasın */
.bungalow-card-body .bungalow-card-title { color: var(--primary-dark) !important; }
.bungalow-card-body .bungalow-card-desc  { color: var(--text-muted) !important; }
.bungalow-card-body .bungalow-meta-item  { color: var(--text-muted) !important; }
.bungalow-price .price-amount            { color: var(--primary) !important; }
.bungalow-price .price-label,
.bungalow-price .price-night             { color: var(--text-muted) !important; }

/* Feature card yazıları */
.feature-card .feature-title { color: var(--primary-dark) !important; }
.feature-card .feature-desc  { color: var(--text-muted) !important; }

/* Review card yazıları */
.review-card .review-name { color: var(--primary-dark) !important; }
.review-card .review-text { color: var(--text-muted) !important; }
.review-card .review-date { color: var(--text-muted) !important; }

/* Article card yazıları */
.article-card .article-title { color: var(--primary-dark) !important; }
.article-card .article-meta  { color: var(--text-muted) !important; }

/* Fiyat ribbon (kart görseli üzerinde) — her zaman okunabilir */
.bungalow-price-ribbon {
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.bungalow-price-ribbon .ribbon-amount { color: #ffffff !important; }
.bungalow-price-ribbon .ribbon-night  { color: rgba(255,255,255,0.85) !important; }

/* Rating badge (kart görseli üzerinde) */
.bungalow-badge-rating { color: #F59E0B !important; }

/* Amenity chip */
.amenity-chip { color: var(--text-muted) !important; }
.amenity-more { color: #ffffff !important; }

/* Mobil: hero slider ok butonları görünsün */
@media (max-width: 767px) {
  .hero-slider-prev,
  .hero-slider-next {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.5);
  }
  .hero-slider-prev { left: 10px; }
  .hero-slider-next { right: 10px; }
}

/* ============================================
   EK MOBİL DÜZELTMELERİ
   ============================================ */

/* Bungalov detay hero — mobilde bilgi alanı taşmasın */
@media (max-width: 767px) {
  .bungalow-detail-hero .hero-info { left: 0; right: 0; padding: 0 16px; bottom: 12px; }
  .bungalow-detail-hero .hero-info h1 { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }
  .bungalow-detail-hero .hero-info .d-flex { gap: 8px !important; }
  .bungalow-detail-hero .hero-info span { font-size: 0.8rem !important; }

  /* Galeri — mobilde tek sütun */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-grid .gallery-item { height: 200px; }
  .gallery-grid .gallery-item:first-child { height: 240px; grid-row: auto; }

  /* Bungalov detay rezervasyon kutusu — mobilde tam genişlik */
  .reservation-form-card[style*="padding:28px"] { padding: 20px 16px !important; }

  /* Özellik grid — mobilde 2 sütun */
  .col-md-4.col-6 { /* zaten col-6 ile 2 sütun */ }

  /* Takvim — mobilde overflow gizle */
  #availability-calendar { overflow-x: auto; }

  /* Bungalov listesi sayfası — filtre alanı */
  .bungalov-filter-bar { flex-direction: column; gap: 10px; }
}

/* Küçük mobil — bungalov detay */
@media (max-width: 575px) {
  .bungalow-detail-hero { height: 200px; }
  .bungalow-detail-hero .hero-info h1 { font-size: 1.2rem !important; }
  .gallery-grid .gallery-item { height: 180px; }
  .gallery-grid .gallery-item:first-child { height: 200px; }

  /* Amenity grid — küçük ekranda tek sütun */
  .col-md-4.col-6 { width: 50%; }

  /* Rezervasyon form — tarih inputları tam genişlik */
  .reservation-form-card .row.g-3 > [class*="col-md-6"] { width: 100%; }
}

/* Genel — yatay taşmayı önle */
/* NOT: section'a overflow:hidden verme — sticky navbar'ı kırar ve slider'ı bozar */
/* Bunun yerine body overflow-x:hidden yeterli */
html, body { overflow-x: hidden; max-width: 100%; }

/* Hero section — slider tam kaplar, içerik üste çıkar */
/* overflow:hidden zaten hero-section'da var, section genelinde KULLANMA */
section:not(.hero-section) { overflow-x: clip; }

/* Navbar — mobilde logo ve toggle arasında boşluk */
@media (max-width: 575px) {
  .navbar-custom .container { padding-left: 12px; padding-right: 12px; }
  .navbar-brand-custom { gap: 8px; }
}

/* Footer — mobilde kolonlar düzgün sıralansın */
@media (max-width: 767px) {
  .footer-custom .row > [class*="col-"] { margin-bottom: 24px; }
  .footer-custom .row > [class*="col-"]:last-child { margin-bottom: 0; }
}

/* Bungalov kartları — mobilde tam genişlik */
@media (max-width: 575px) {
  .bungalov-card-footer-v2 .bungalow-card-actions { flex-wrap: nowrap; }
}

/* Rezervasyon onay sayfası — mobil */
@media (max-width: 767px) {
  .rezervasyon-onay-card { padding: 20px 14px !important; }
}

/* Footer bottom — mobilde dikey sıralansın */
@media (max-width: 575px) {
  .footer-bottom .d-flex.flex-wrap.justify-content-between { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .footer-bottom .d-flex.gap-3 { flex-wrap: wrap; justify-content: center; gap: 12px !important; }
}

/* Bungalov detay hero — sağ panel mobilde üste çıkmasın, altına düşsün */
@media (max-width: 991px) {
  .col-lg-4 .reservation-sidebar-sticky { margin-top: 0; }
}

/* Mobil menü — z-index ve arka plan */
.navbar-collapse-custom {
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px !important;
  margin-top: 0 !important;
  border-top: 1px solid var(--border);
}

/* Mobil menü link hover alanı büyüt */
@media (max-width: 991px) {
  .navbar-collapse-custom .nav-link-custom {
    display: block;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
  }
  .navbar-collapse-custom .nav-link-custom:hover {
    background: var(--bg-light);
  }
}

/* Bungalov kartları — mobilde min-height kaldır */
@media (max-width: 767px) {
  .bungalow-card { height: auto; }
  .bungalow-card-body { min-height: unset; }
}

/* Rezervasyon formu — mobilde select ve input tam genişlik */
@media (max-width: 575px) {
  .form-control-custom,
  select.form-control-custom { width: 100%; box-sizing: border-box; }
}
