:root {
  --moon: #c9d6e8;
  --silver: #e8eef6;
  --indigo: #0e1a2e;
  --navy: #16243d;
  --glow: #a8c0dc;
  --ink: #e8eef6;
  --muted: #9eb0c6;
  --card: rgba(18, 28, 46, 0.72);
  --accent: #d4e2f2;
  --gold: #d4af6a;
  --gold-soft: rgba(212,175,106,0.55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #0c1424;
}
.bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(700px 500px at 75% 8%, rgba(220,232,250,0.28), transparent 60%),
    radial-gradient(500px 400px at 18% 22%, rgba(140,170,210,0.18), transparent 55%),
    radial-gradient(900px 600px at 50% 90%, rgba(40,70,120,0.25), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #152238 48%, #0e1a2c 100%);
  filter: blur(10px);
  transform: scale(1.08);
}
.stars {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1.2px 1.2px at 28% 42%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.4px 1.4px at 62% 14%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 78% 38%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.6px 1.6px at 88% 22%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 45% 28%, rgba(255,255,255,0.3), transparent);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, calc(100% - 24px)); margin: 0 auto; }
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 20, 36, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,175,106,0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--silver); font-size: 15px; }
.brand img { width: 68px; height: 50px; object-fit: contain; border-radius: 6px; }
.links { display: flex; gap: 16px; font-size: 13px; color: var(--glow); }
.cta {
  background: linear-gradient(180deg, #d8e6f6, #b8cce4);
  color: #0e1a2e; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; display: inline-block;
}
.hero { padding: 28px 0 8px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.panel {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(220,232,250,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-copy { padding: 22px 24px; position: relative; }
.hero-logo {
  position: absolute; top: 14px; right: 18px;
  width: 90px; height: 66px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,175,106,0.25));
}
.kicker { letter-spacing: 0.18em; text-transform: uppercase; color: var(--glow); font-size: 11px; font-weight: 700; }
h1 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(40px, 5vw, 58px); line-height: 0.92; margin: 6px 0 10px; color: var(--silver); }
.lead { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.meta span { background: rgba(200,214,232,0.1); color: var(--accent); border-radius: 999px; padding: 5px 10px; font-size: 12px; border: 1px solid rgba(200,214,232,0.12); }
.hero-photos { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.hero-photos img { height: 140px; width: 100%; object-fit: cover; border-radius: 16px; border: 1px solid rgba(220,232,250,0.2); }
.section { padding: 18px 0 4px; }
.section h2 { font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 500; margin: 0 0 4px; color: var(--silver); }
.sub { color: var(--muted); margin: 0 0 10px; font-size: 13px; }
.cat-title { margin: 16px 0 8px; color: var(--gold); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,106,0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.card img { height: 120px; width: 100%; object-fit: cover; }
.card .info { padding: 8px 10px 10px; }
.card b { display: block; font-size: 13.5px; line-height: 1.25; color: var(--silver); }
.card span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.card em { display: block; margin-top: 6px; font-style: normal; color: var(--gold); font-weight: 700; font-size: 13px; }
.visit { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 10px; }
.fact { background: rgba(200,214,232,0.06); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; border: 1px solid rgba(200,214,232,0.08); }
.fact b { display: block; font-size: 11px; color: var(--glow); letter-spacing: 0.06em; text-transform: uppercase; }
.map { min-height: 240px; width: 100%; border: 0; border-radius: 16px; }
footer { padding: 18px 0 28px; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
  .hero, .visit { grid-template-columns: 1fr; }
  .links { display: none; }
  .hero-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-photos img { height: 110px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .moon { width: 34px; height: 34px; }
}

.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid .card img { height: 230px; }


.nav-btn {
  background: rgba(200,214,232,0.12);
  color: var(--silver);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(212,175,106,0.25);
  transition: background .15s;
}
.nav-btn:hover { background: rgba(212,175,106,0.2); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.about-photos img { height: 160px; width: 100%; object-fit: cover; border-radius: 16px; border: 1px solid rgba(212,175,106,0.15); }

#lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(8,14,24,0.92); align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; cursor: pointer;
}
#lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 16px; object-fit: contain; }
#lb-title { color: var(--silver); font-size: 16px; font-weight: 600; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .links { gap: 8px; }
  .nav-btn { padding: 6px 10px; font-size: 12px; }
}

/* ===== UX polish (subtle, same look) ===== */
* { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(212,175,106,0.35); color: #fff; }

/* Focus styles for keyboard users */
a:focus-visible, .card:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px;
}

/* Buttons: clearer affordance */
.cta, .nav-btn { transition: transform .15s ease, filter .15s ease, background .15s ease, box-shadow .15s ease; }
.cta { box-shadow: 0 4px 14px rgba(168,192,220,0.18); }
.cta:hover { filter: brightness(1.06); box-shadow: 0 6px 20px rgba(212,175,106,0.25); }
.cta:active, .nav-btn:active { transform: scale(0.96); }

/* Cards: hover lift + tap feedback */
.card { cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card img { transition: transform .4s ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--gold-soft); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
  .card:hover img { transform: scale(1.04); }
  .hero-photos img:hover, .about-photos img:hover { border-color: var(--gold-soft); }
}
.card:active { transform: scale(0.98); }

/* Subtle gold divider under section titles and before categories */
.section h2::after {
  content: ""; display: block; width: 44px; height: 2px; margin-top: 6px;
  background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px;
}
.cat-title { display: flex; align-items: center; gap: 10px; }
.cat-title::before { content: "\263E"; font-size: 13px; letter-spacing: 0; opacity: .85; }
.cat-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212,175,106,0.35), transparent); }

/* Gentle fade-in when a page opens, staggered cards */
@keyframes mlFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page { animation: mlFadeUp .45s ease both; }
.cards .card { animation: mlFadeUp .5s ease both; }
.cards .card:nth-child(2) { animation-delay: .04s; }
.cards .card:nth-child(3) { animation-delay: .08s; }
.cards .card:nth-child(4) { animation-delay: .12s; }
.cards .card:nth-child(5) { animation-delay: .16s; }
.cards .card:nth-child(n+6) { animation-delay: .2s; }
#lightbox img { animation: mlFadeUp .25s ease both; }
#lb-title { padding: 0 16px; text-align: center; }
#lightbox::after { content: "Kapatmak için dokunun"; color: var(--muted); font-size: 12px; }

/* Footer spacing + iOS safe area */
footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(212,175,106,0.12); margin-top: 18px; }

/* ===== Mobile layout fixes ===== */
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  /* nav: keep the page links visible as a second, scrollable row */
  .nav-inner { flex-wrap: wrap; height: auto; padding: 6px 0 0; row-gap: 4px; }
  .brand img { width: 52px; height: 40px; }
  .brand { font-size: 15px; }
  nav .cta { padding: 10px 18px; min-height: 40px; }
  .links {
    display: flex !important; order: 3; width: 100%; gap: 8px;
    overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px;
  }
  .links::-webkit-scrollbar { display: none; }
  .nav-btn { flex: 1 0 auto; text-align: center; padding: 9px 14px; font-size: 13px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

  /* hero: breathing room, logo no longer collides with title */
  .hero { padding: 18px 0 8px; gap: 12px; }
  .hero-copy { padding: 22px 20px 24px; }
  .hero-logo { width: 64px; height: 48px; top: 16px; right: 14px; }
  h1 { font-size: 44px; line-height: 1; margin: 10px 0 12px; padding-right: 64px; }
  .lead { font-size: 15.5px; line-height: 1.65; margin-bottom: 16px; }
  .meta { gap: 8px; margin-bottom: 18px; }
  .meta span { padding: 7px 12px; font-size: 12.5px; }
  .hero-copy .cta { display: block; text-align: center; padding: 13px 18px; font-size: 14px; }
  .hero-photos img { height: 140px; }

  /* sections */
  .section { padding: 22px 0 8px; }
  .section h2 { font-size: 30px; }
  .sub { font-size: 13.5px; margin-bottom: 14px; }
  .cat-title { margin: 24px 0 10px; }
  .cards { gap: 12px; }
  .card img { height: 130px; }
  .card .info { padding: 10px 12px 12px; }
  .card b { font-size: 14px; }
  .card span { font-size: 12px; line-height: 1.35; }
  .card em { font-size: 14px; margin-top: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .card img { height: 150px; }

  /* about */
  .about-grid { gap: 12px; }
  .about-grid .panel { padding: 20px !important; }
  .about-grid .panel .cta { display: block; text-align: center; padding: 13px 18px; font-size: 14px; }
  .about-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .about-photos img { height: 140px; }

  footer .wrap { justify-content: center !important; text-align: center; }
  footer .cta { padding: 11px 20px; }
  #lightbox img { max-width: 94vw; max-height: 72vh; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 40px; }
  .cards { gap: 10px; }
  .card img { height: 115px; }
  .card .info { padding: 9px 10px 11px; }
  .card b { font-size: 13.5px; }
  .brand span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.card picture { display:block; }

/* Konum */
.cta-ghost { background: transparent !important; border: 1px solid var(--gold-soft); color: var(--silver) !important; }
.cta-wa { background: #25D366 !important; color: #0e1a2e !important; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fact a { color: var(--gold); }
footer a { color: var(--gold); }
.map-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(212,175,106,0.25); min-height: 320px; }
.map-wrap .map { position: absolute; inset: 0; height: 100%; min-height: 320px; filter: saturate(.9); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } .map-wrap { min-height: 280px; } }

/* home sections */
.hero-photos picture{display:block}
.hero-photos img{display:block;height:170px;width:100%;object-fit:cover}
.about-photos picture{display:block}
.about-photos img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px;border:1px solid rgba(220,232,250,0.2);display:block}
.venue-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 50px)/6);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.venue-strip .card{scroll-snap-align:start}
.venue-strip img{display:block;width:100%;height:160px;object-fit:cover}
.more-link{display:inline-block;margin-top:10px;color:var(--gold);font-weight:600;font-size:14px;text-decoration:none}
.home-ctas{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:20px}
.home-cta{display:block;padding:18px 20px;text-decoration:none;color:inherit}
.home-cta b{display:block;font-family:"Cormorant Garamond",serif;font-size:24px;font-weight:500;color:var(--silver)}
.home-cta span{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.home-cta:hover{border-color:var(--gold-soft)}
@media (max-width:760px){
  .venue-strip{grid-auto-columns:78%}
  .home-ctas{grid-template-columns:1fr}
  .hero-photos img{height:130px}
}

/* TR/EN toggle */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--gold-soft, rgba(212,175,106,.5)); background: rgba(14,26,46,.55); color: var(--muted, #a9b6c8); font: 600 12px/1 Manrope, sans-serif; letter-spacing: .06em; cursor: pointer; }
.lang-btn i { font-style: normal; opacity: .4; }
.lang-btn span.on { color: #d4af6a; }
.lang-btn:hover { background: rgba(212,175,106,.15); }
@media (max-width: 760px) { .nav-right { gap: 8px; } .lang-btn { height: 40px; } }

/* Photo-free menu items (photos paused; data-img keeps the path for later) */
.cards:has(.menu-item){grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.card.menu-item{cursor:default;display:flex;border-left:3px solid var(--gold-soft,rgba(212,175,106,.5))}
.card.menu-item .info{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:baseline;width:100%;padding:12px 14px}
.card.menu-item b{grid-column:1;font-size:15px}
.card.menu-item span{grid-column:1;grid-row:2;font-size:12.5px;line-height:1.35;margin-top:3px}
.card.menu-item em{grid-column:2;grid-row:1;margin:0;font-size:15px;white-space:nowrap}
@media (hover:hover){.card.menu-item:hover{transform:none;box-shadow:none}}
.card.menu-item:active{transform:none}
@media (max-width:600px){.cards:has(.menu-item){grid-template-columns:1fr;gap:8px}}
/* Real cafe photos kept: small thumbnail on the left, rest stays text-only */
.card.menu-item.has-photo{cursor:pointer;align-items:center}
.card.menu-item.has-photo img{flex:0 0 72px;width:72px;height:72px;margin:10px 0 10px 12px;border-radius:10px;object-fit:cover}
.card.menu-item.has-photo .info{padding-left:12px}
