:root {
  --bg: #0f0f10;
  --panel: #151517;
  --ink: #eaeaea;
  --muted: #a9a9a9;
  --brand: #bda37a;
  --brand-2: #d6c3a6;
  --ring: #2a2a2c;
  --shadow: rgba(0, 0, 0, .4);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px
}

a {
  color: var(--ink);
  text-decoration: none
}

.page {
  padding-top: 88px
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 0 20px;
  backdrop-filter: saturate(120%) blur(10px);
  background: linear-gradient(180deg, rgba(12, 12, 13, .9), rgba(12, 12, 13, .6), transparent);
  border-bottom: 1px solid var(--ring);
  z-index: 50
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .3px
}

.brand-top {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px
}

.brand-bottom {
  font-weight: 300;
  font-size: 12px;
  color: var(--muted)
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center
}

.nav-link {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--muted)
}

.nav-link[aria-current="page"],
.nav-link:hover {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 4px 16px var(--shadow)
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--ring);
  border-radius: 999px;
  overflow: hidden
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer
}

.lang-btn.active {
  background: var(--brand);
  color: #111
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  gap: 4px;
  flex-direction: column
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink)
}

@media(max-width:900px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #111;
    padding: 12px;
    display: none;
    flex-direction: column
  }

  .nav.open {
    display: flex
  }

  .menu-toggle {
    display: flex
  }

  .lang-toggle {
    display: none
  }
}

/* Hero */
.hero {
  position: relative
}

.hero picture {
  display: block;
  height: min(80vh, 820px);
  overflow: hidden
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05) brightness(.9)
}

.hero-text {
  position: absolute;
  inset: auto 5% 8% 5%;
  max-width: 820px;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(4px);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--ring)
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5vw, 54px);
  margin: 0 0 10px
}

.lead {
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 18px)
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--ring);
  box-shadow: 0 8px 24px var(--shadow);
  transition: .2s
}

.btn-primary {
  background: var(--brand);
  color: #111;
  border-color: transparent
}

.btn-outline {
  background: transparent;
  color: var(--ink)
}

.btn:hover {
  transform: translateY(-1px);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding: 40px 5%
}

.feature {
  background: var(--panel);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--ring)
}

.feature h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 8px
}

.feature p {
  color: var(--muted)
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 0 5% 46px
}

/* Page header */
.page-header {
  padding: 34px 5% 12px
}

.page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0
}

.page-header p {
  color: var(--muted)
}

/* Menu cards */
.menu-gallery {
  padding: 10px 5% 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px
}

.card {
  background: var(--panel);
  border: 1px solid var(--ring);
  border-radius: 18px;
  overflow: hidden
}

.card figcaption {
  padding: 10px 12px;
  color: var(--muted);
}

/* Gallery masonry */
.masonry {
  columns: 1;
  column-gap: 12px;
  padding: 10px 5% 40px
}

.masonry img {
  break-inside: avoid;
  margin: 0 0 12px;
  cursor: zoom-in
}

@media(min-width:640px) {
  .masonry {
    columns: 2
  }
}

@media(min-width:1024px) {
  .masonry {
    columns: 3
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 16px
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--panel);
  border: 1px solid var(--ring);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer
}

/* Prose */
.prose {
  padding: 10px 5% 40px;
  color: var(--muted);
  line-height: 1.7
}

.prose blockquote {
  border-left: 3px solid var(--brand-2);
  margin: 12px 0;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .02);
  border-radius: 8px
}

/* Contact */
.contact-cards {
  padding: 10px 5% 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 14px
}

.contact-title {
  font-weight: 600;
  margin-bottom: 6px
}

.contact-value a {
  color: var(--ink);
  text-decoration: underline
}

.cta-center {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 8px 5% 50px
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ring);
  padding: 22px 5% 10px;
  margin-top: 30px
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap
}

.brand-footer {
  font-family: "Playfair Display", serif;
  font-size: 18px
}

.footer-links a {
  margin-right: 10px;
  color: var(--muted)
}

.legal {
  opacity: .7;
  font-size: 12px;
  padding-top: 8px;
  text-align: center
}

/* --- INDEX: görselleri aynı boyutlandır (16:9), taşmalar kırpılsın --- */
.image-grid .grid-item {
  display: block;
  aspect-ratio: 16/9;
  /* tüm kartlar aynı oranda */
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ring);
  background: var(--panel);
}

.image-grid .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* kartı doldur, oranı koru */
  border-radius: inherit;
}

/* --- HERO: soldan sağa açılış animasyonu + metnin kayarak gelmesi --- */
.hero picture {
  position: relative;
}

/* wipe için referans konteyner */
.hero picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  /* koyu bir örtü */
  transform: translateX(0);
  animation: wipeReveal 1.2s ease-out forwards;
}

@keyframes wipeReveal {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

/* Başlık/metin soldan kayarak gelsin */
.hero-text {
  opacity: 0;
  transform: translateX(-16px);
  animation: heroTextIn .9s .6s ease-out forwards;
  /* 0.6s gecikmeli */
}

@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {

  .hero picture::after,
  .hero-text {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width:900px) {

  /* Açılır menü */
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #111;
    padding: 12px;
    display: none;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  /* Hamburger butonu görünür kalsın ve sabitlensin */
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 12px;
    top: 14px;
  }

  /* DİL DEĞİŞTİRME: mobilde GÖRÜNSÜN */
  .lang-toggle {
    display: flex;
    /* önceden display:none idi */
    position: absolute;
    /* hamburgerin soluna al */
    right: 56px;
    top: 12px;
    transform: scale(.95);
    /* biraz küçült */
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--panel);
  border: 1px solid var(--ring);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px var(--shadow)
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (hover:hover) {

  .lightbox-prev:hover,
  .lightbox-next:hover,
  .lightbox-close:hover {
    filter: brightness(1.1);
  }
}