/* Genel */
:root {
  --primary-color: #c49a57;
  --primary-dark: #a6813f;
  --bg-dark: #0b0b0d;
  --bg-section: #141417;
  --text-light: #f7f7f7;
  --text-muted: #a0a0a0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #18151a 0, #0b0b0d 55%) fixed;
  color: var(--text-light);
  scroll-behavior: smooth;
  overflow-x: hidden; /* Tüm sayfa için yatay taşmayı önle */
}

html {
  overflow-x: hidden;
}

/* Navbar */
.custom-navbar {
  background: radial-gradient(circle at top left, rgba(196, 154, 87, 0.14), rgba(0, 0, 0, 0.8));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar .navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.brand-highlight {
  color: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin-left: 0.5rem;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transition: width 0.2s ease-out;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Hamburger ikonu */
.navbar-toggler {
  border-color: rgba(196, 154, 87, 0.45);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(196, 154, 87, 0.3);
  outline: none;
}

/* Mobil açılır menü */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 10, 12, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0 0 10px 10px;
    padding: 0.75rem 0.5rem 1rem;
    margin-top: 0.4rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.55rem 1rem;
    margin-left: 0;
    border-radius: 6px;
  }

  .navbar-dark .navbar-nav .nav-link:hover {
    background: rgba(196, 154, 87, 0.08);
  }

  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar .btn {
    width: 100%;
    margin: 0.5rem 1rem 0;
    text-align: center;
  }
}

/* Navbar shrink efekti */
.custom-navbar.scrolled {
  background: radial-gradient(circle at top left, rgba(196, 154, 87, 0.18), rgba(0, 0, 0, 0.96));
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* Hero / Slider */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  color: var(--text-light);
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(180deg, rgba(20, 20, 23, 0) 0%, #141417 55%);
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 5s ease-out;
  /* Alt çubuğun kapladığı alan kadar içerik alanını yukarı it */
  padding-bottom: 105px;
}

.hero-slide-1 {
  /* Örnek stok görsel (istersen kendi jpg'lerinle değiştirebilirsin) */
  background-image: url("https://images.pexels.com/photos/675951/pexels-photo-675951.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.hero-slide-2 {
  /* Izgara et tabağı */
  background-image: url("https://images.pexels.com/photos/3535383/pexels-photo-3535383.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.hero-slide-3 {
  /* Büyük steak tabağı */
  background-image: url("https://images.pexels.com/photos/3535388/pexels-photo-3535388.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.carousel-item.active.hero-slide {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(196, 154, 87, 0.22), transparent 55%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.9));
}

.hero-content {
  position: relative;
  max-width: 650px;
  z-index: 2;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.05rem;
  max-width: 540px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  min-width: 150px;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

/* ===================================================
   Hero Slider — Yeniden Tasarım
   =================================================== */

/* Metin giriş animasyonları */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar dolma animasyonu */
@keyframes tabProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* Slayt terk animasyonu */
@keyframes heroFadeOut {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}

.hero-content.leaving .anim-el {
  /* !important ile .animating nth-child kurallarını geçersiz kıl */
  animation: heroFadeOut 0.3s ease forwards !important;
}

/* Eyebrow etiket */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1.1rem;
  padding: 0.28rem 0.9rem;
  border: 1px solid rgba(196, 154, 87, 0.42);
  border-radius: 999px;
}

/* anim-el başlangıç durumu: görünmez */
.hero-content .anim-el {
  opacity: 0;
}

/* animating sınıfı eklenince sıralı animasyon */
.hero-content.animating .anim-el:nth-child(1) {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}
.hero-content.animating .anim-el:nth-child(2) {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
.hero-content.animating .anim-el:nth-child(3) {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}
.hero-content.animating .anim-el:nth-child(4) {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

/* Özel Navigasyon Okları */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease,
              transform 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

.hero-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

/* Alt Bilgi Çubuğu */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 2.5rem 1.5rem;
}

/* Slayt Sayacı */
.hero-counter {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  flex-shrink: 0;
}

.hero-counter-current {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1;
  transition: color 0.3s ease;
}

.hero-counter-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  margin: 0 0.15rem;
}

.hero-counter-total {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.38);
}

/* Slayt Sekmeleri */
.hero-tabs {
  display: flex;
  gap: 0.6rem;
  flex: 1;
}

.hero-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.63rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem 0.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  text-align: left;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.hero-tab.active {
  border-color: rgba(196, 154, 87, 0.55);
  color: var(--text-light);
  background: rgba(196, 154, 87, 0.06);
}

.hero-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

#heroCarousel {
  position: relative;
  overflow: hidden; /* scale(1.06) taşmasını kırp */
}

/* Genel buton stilleri override */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Bölüm başlıkları */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0.5rem auto 0;
}

/* Hakkımızda */
.bg-dark {
  background-color: var(--bg-section) !important;
}

.about-image-wrapper {
  position: relative;
}

.about-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.about-badge span {
  color: var(--primary-color);
  font-weight: 600;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.icon-list li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.icon-list i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Menü */
#menu {
  background-color: #09090b;
}

.nav-pills .nav-link {
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  border: 1px solid transparent;
}

.nav-pills .nav-link.active {
  color: var(--text-light);
  background-color: transparent;
  border-color: var(--primary-color);
}

/* Kategori sekmeleri için ortak kapsayıcı (ana sayfa + menü sayfası) */
#menuTabs,
#fullMenuTabs {
  position: relative;
}

.menu-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1.5px solid #e8621a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin-bottom: 1rem; /* kartlar arasında dikey boşluk */
}

.menu-item h5 {
  margin-bottom: 0.2rem;
}

.menu-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  /* Açıklama yüksekliğini sabitleyerek yan yana kartların hizasını koru */
  min-height: 3.6em; /* yaklaşık 2,5-3 satır */
}

.menu-price {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: #e8621a;
  box-shadow: 0 12px 30px rgba(232, 98, 26, 0.25);
}

/* Menü ürün görselleri */
.menu-thumb {
  flex: 0 0 110px;
  max-width: 110px;
}

.menu-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.menu-item-text {
  flex: 1 1 auto;
}

/* Galeri */
#gallery .carousel-inner {
  border-radius: 14px;
  overflow: hidden;
}

#gallery img {
  object-fit: cover;
  height: 520px;
}

@media (max-width: 767.98px) {
  #gallery img {
    height: 260px;
  }
}

/* Google yorumları */
.review-card {
  background: linear-gradient(135deg, #111116, #171720);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-name {
  font-weight: 600;
}

.review-stars {
  color: #facc15;
  font-size: 0.9rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.google-badge i {
  color: #34a853;
}

/* Rezervasyon */
.reservation-form .form-control,
.reservation-form .form-select {
  background-color: rgba(8, 8, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-light);
  border-radius: 999px;
  padding-inline: 1rem;
  height: 44px;
}

.reservation-form .form-control:focus,
.reservation-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.12rem rgba(196, 154, 87, 0.35);
}

.reservation-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reservation-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reservation-info-box {
  background: linear-gradient(135deg, #111116, #171720);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.reservation-info-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.reservation-info-box ul {
  color: var(--text-muted);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.65rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-light);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #000;
  transform: translateY(-2px);
}

/* Harita */
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
}

.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

/* Kişi sayısı artır / azalt */
.guest-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guest-counter button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(8, 8, 10, 0.95);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.1rem;
  transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.guest-counter button:hover {
  background-color: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.guest-counter input {
  max-width: 90px;
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll Animasyon başlangıç */
[data-aos] {
  transition-property: transform, opacity;
}

/* Responsive */
@media (max-width: 991.98px) {
  /* hero-section sadece yüksekliği sıfırlar, padding-top ALMAZ */
  .hero-section {
    height: auto;
    min-height: 90vh;
  }

  /* İçerik, yalnızca hero-slide'da navbar altında başlar */
  .hero-slide {
    min-height: 90vh;
    padding-top: 76px;
    padding-bottom: 90px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons .btn {
    margin-right: 0.25rem;
    margin-left: 0.25rem;
  }

  /* Tablet: küçük oklar */
  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }
  .hero-arrow-prev { left: 1rem; }
  .hero-arrow-next { right: 1rem; }

  /* Tablet: alt çubuk */
  .hero-bottom-bar {
    padding: 0 1.25rem 1.5rem;
    gap: 1rem;
  }
  .hero-counter-current {
    font-size: 1.8rem;
  }

  /* Tablet: sekme metinlerini gizle, sadece progress şeridi kals\u0131n */
  .hero-tab span {
    display: none;
  }
  .hero-tab {
    padding: 0.45rem 0.5rem 0.35rem;
    flex: 0 0 40px;
    max-width: 40px;
  }

  /* Mobilde kategori sekmeleri: yatay kaydırılabilir + sticky */
  #menuTabs,
  #fullMenuTabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    scrollbar-width: none; /* Firefox */
  }

  #menuTabs::-webkit-scrollbar,
  #fullMenuTabs::-webkit-scrollbar {
    display: none;
  }

  #menuTabs .nav-item,
  #fullMenuTabs .nav-item {
    display: inline-block;
    margin-bottom: 0.25rem;
  }

  /* Sticky efekt: navbarın hemen altında sabit dursun */
  #menu .container,
  main.section-padding > .container {
    position: relative;
  }

  #menuTabs,
  #fullMenuTabs {
    position: sticky;
    top: 64px; /* mobil navbar yüksekliği */
    z-index: 5;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.98), rgba(9, 9, 11, 0.9));
  }
}

@media (max-width: 575.98px) {
  /* Mobil: sekmeleri tamamen gizle */
  .hero-tabs {
    display: none;
  }
  .hero-bottom-bar {
    padding: 0 1rem 1rem;
  }

  .reservation-info-box {
    padding: 1.5rem;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.5rem;
  }

  .menu-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .menu-thumb img {
    height: 180px;
    border-radius: 8px;
  }

  .menu-price {
    align-self: flex-end;
  }

  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}


/* ===== Reviews Swiper ===== */
.reviews-swiper {
  overflow: hidden !important; /* tüm slide'ların görünmesini engeller */
  padding-bottom: 48px !important;
}
.swiper-wrapper {
  align-items: stretch;
}
.reviews-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.reviews-swiper .review-card {
  height: 100%;
}
/* Oklar */
.reviews-prev,
.reviews-next {
  color: var(--primary-color) !important;
  width: 36px !important;
  height: 36px !important;
  top: 50% !important;
  transform: translateY(-60%) !important;
}
.reviews-prev::after,
.reviews-next::after {
  font-size: 18px !important;
}
/* Pagination */
.reviews-pagination {
  bottom: 8px !important;
}
.reviews-pagination .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.4;
}
.reviews-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
