/* =========================================================
   Tarihi Beyazıt Kahvecisi — Stylesheet
   Tema: Osmanlı / klasik Türk kahvehanesi — sıcak, zarif
   ========================================================= */

:root {
  --bg:       #f6efe3;
  --bg-2:     #efe4d0;
  --ink:      #2a1a0e;
  --ink-soft: #5a4432;
  --muted:    #8a6f57;
  --brown:    #3b2415;
  --brown-2:  #6b3f20;
  --gold:     #c79a4a;
  --gold-2:   #d4a95b;
  --cream:    #fbf7ef;
  --line:     #d9c8ad;
  --shadow:   0 20px 50px -20px rgba(59,36,21,.35);
  --radius:   14px;
  --serif:    "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:     "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: #2a1a0e;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #2a1a0e;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ------------------- NAVBAR ------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.navbar.scrolled {
  background: rgba(251, 247, 239, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(59,36,21,.25);
}

/* Top (hero) state — light text on dark hero */
.navbar:not(.scrolled) .nav-logo strong { color: #fbf7ef; }
.navbar:not(.scrolled) .nav-logo small { color: rgba(251,247,239,.7); }
.navbar:not(.scrolled) .nav-links a { color: rgba(251,247,239,.88); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--gold-2); }
.navbar:not(.scrolled) .nav-toggle span { background: #fbf7ef; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(59,36,21,.25)); }
.nav-logo span { display: flex; flex-direction: column; line-height: 1; }
.nav-logo strong { font-family: var(--serif); font-size: 1.2rem; color: var(--brown); letter-spacing: .3px; }
.nav-logo small { font-size: .72rem; color: var(--muted); letter-spacing: 3px; margin-top: 3px; text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { color: var(--brown); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px;
  background: var(--brown);
  color: var(--cream) !important;
  border-radius: 999px;
  transition: all .3s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(199,154,74,.7);
}


/* ------------------- HERO ------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(199,154,74,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 80%, rgba(107,63,32,.25), transparent 60%),
    linear-gradient(135deg, #2a1a0e 0%, #3b2415 50%, #4a2c18 100%);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(199,154,74,.03) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(199,154,74,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
/* Ottoman-style decorative circles */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border: 1px solid rgba(199,154,74,.15);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { top: -100px; left: -100px; }
.hero::after { bottom: -100px; right: -100px; }

.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-logo {
  width: 240px; height: 240px; margin: 0 auto 26px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.55));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-kicker {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-2); letter-spacing: 2px;
  margin-bottom: 16px; font-size: 1.05rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #fbf7ef 0%, #e8c98a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 640px; margin: 0 auto 34px;
  color: rgba(251,247,239,.82);
  font-size: 1.05rem;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .3px;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--brown);
  box-shadow: 0 12px 30px -10px rgba(199,154,74,.6);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(199,154,74,.8);
}
.btn-ghost {
  color: var(--cream);
  border: 1.5px solid rgba(251,247,239,.35);
  background: rgba(251,247,239,.05);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--gold-2);
  text-decoration: none;
  transition: transform .35s ease, color .35s ease;
}
.hero-scroll:hover { transform: translateX(-50%) translateY(-4px); color: #fbf7ef; }

.hs-mouse {
  width: 26px; height: 42px;
  border: 1.5px solid rgba(232,201,138,.7);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
  background: rgba(251,247,239,.04);
}
.hs-mouse i {
  width: 3px; height: 8px;
  background: var(--gold-2);
  border-radius: 3px;
  animation: scroll 1.8s ease-in-out infinite;
}
.hs-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .8;
}
@keyframes scroll {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ------------------- SECTIONS ------------------- */
.section { padding: 110px 0; position: relative; }

.section-kicker {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 1rem; letter-spacing: 1.5px;
  margin-bottom: 10px; text-transform: none;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--brown);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.section-desc {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.02rem;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-desc { margin-inline: auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* ------------------- ABOUT ------------------- */
.about { background: var(--bg); position: relative; }
.about::before {
  content: "";
  position: absolute; top: 50px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif);
}
.about-text p + p { margin-top: 14px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--brown);
  font-weight: 700;
}
.about-stats span {
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .5px;
}

.about-img .img-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img .img-frame::before {
  content: "";
  position: absolute; inset: 18px;
  border: 1px solid rgba(212,169,91,.5);
  border-radius: 6px;
  z-index: 2; pointer-events: none;
}
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px; padding: 30px; text-align: center;
  color: var(--gold-2); font-family: var(--serif); font-style: italic;
  background: var(--bg);
}
.img-placeholder[style*="--bg"] { background: var(--bg); }
.img-placeholder { background: linear-gradient(135deg,#6b3f20,#3b2415); }
.img-placeholder svg { width: 60%; max-width: 220px; }
.img-placeholder p { font-size: 1.1rem; letter-spacing: .5px; }

/* ------------------- FEATURES ------------------- */
.features {
  background: var(--cream);
  padding: 80px 0;
  border-block: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: all .4s ease;
}
.feature:hover {
  background: var(--bg);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-ico {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: inline-flex;
  width: 70px; height: 70px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(199,154,74,.15), rgba(107,63,32,.12));
  border-radius: 50%;
  border: 1px solid var(--line);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 10px;
}
.feature p { color: var(--ink-soft); font-size: .93rem; }

/* ------------------- MENU ------------------- */
.menu { background: var(--bg); position: relative; }
.menu::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 50px;
}
.tab {
  padding: 12px 26px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .92rem;
  transition: all .3s ease;
}
.tab:hover { border-color: var(--gold); color: var(--brown); }
.tab.active {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
  box-shadow: 0 10px 24px -10px rgba(59,36,21,.5);
}

.menu-panels { position: relative; }
.panel {
  display: none;
  animation: fadeUp .5s ease;
}
.panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 60px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-group {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-group:first-child { margin-top: 0; }
.panel-group::before {
  content: "◆";
  margin-right: 10px;
  color: var(--gold-2);
  font-size: .7rem;
  vertical-align: middle;
}

.menu-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.mi-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}
.menu-item h4 {
  font-family: var(--serif);
  color: var(--brown);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .2px;
  flex: 1;
  min-width: 0;
}
.mi-price {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .3px;
}
.mi-price em {
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  font-size: .85rem;
  margin-left: 2px;
}
.mi-price.mi-ask {
  color: var(--muted);
  font-weight: 400;
  font-size: .95rem;
}
.menu-item p {
  color: var(--muted);
  font-size: .88rem;
  font-style: italic;
  line-height: 1.5;
}

.menu-note {
  text-align: center;
  margin-top: 50px;
  color: var(--muted);
  font-style: italic;
  font-size: .9rem;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

/* Download PDF button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 16px 28px 16px 20px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-2) 100%);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(59,36,21,.5);
  border: 1px solid rgba(199,154,74,.25);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.btn-download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}
.btn-download > * { position: relative; z-index: 1; }
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(199,154,74,.55);
  color: var(--brown);
  border-color: var(--gold);
}
.btn-download:hover::before { opacity: 1; }

.bd-ico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(199,154,74,.22);
  color: var(--gold-2);
  flex-shrink: 0;
  transition: background .35s ease, color .35s ease;
}
.btn-download:hover .bd-ico {
  background: rgba(59,36,21,.18);
  color: var(--brown);
}

.bd-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.bd-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .3px;
  font-weight: 600;
}
.bd-text small {
  font-size: .78rem;
  opacity: .7;
  letter-spacing: .5px;
  margin-top: 3px;
}

.bd-arrow {
  font-size: 1.3rem;
  margin-left: 6px;
  transition: transform .35s ease;
}
.btn-download:hover .bd-arrow { transform: translateX(4px); }

@media (max-width: 480px) {
  .btn-download { padding: 14px 20px 14px 14px; gap: 12px; }
  .bd-ico { width: 40px; height: 40px; }
  .bd-text strong { font-size: .95rem; }
  .bd-text small { font-size: .72rem; }
  .bd-arrow { display: none; }
}

/* ------------------- GALLERY ------------------- */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.g-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  box-shadow: 0 15px 35px -20px rgba(59,36,21,.4);
  background: var(--brown);
  text-decoration: none;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .5s ease;
  filter: saturate(1.05);
}
.g-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.05);
}
.g-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 45%, rgba(20,10,5,.78) 100%);
  pointer-events: none;
  transition: background .35s ease;
}
.g-item:hover .g-overlay {
  background: linear-gradient(180deg, rgba(20,10,5,.15) 0%, rgba(20,10,5,.85) 100%);
}
.g-overlay p {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.1rem;
  letter-spacing: .5px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  position: relative;
}
.g-overlay p::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold-2);
  margin-bottom: 8px;
  transition: width .35s ease;
}
.g-item:hover .g-overlay p::before { width: 50px; }

/* ------------------- CONTACT ------------------- */
.contact { background: var(--bg); }
.contact-list {
  list-style: none;
  margin: 30px 0;
}
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.ci-ico {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brown), var(--brown-2));
  color: var(--gold-2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-list strong {
  display: block;
  font-family: var(--serif);
  color: var(--brown);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.contact-list span, .contact-list a {
  color: var(--ink-soft);
  font-size: .95rem;
}
.contact-list a:hover { color: var(--gold); }

.socials {
  display: flex; gap: 12px; margin-top: 24px;
}
.socials a {
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-soft);
  transition: all .3s ease;
}
.socials a:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
  transform: translateY(-3px);
}

.contact-map {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--cream);
}
.contact-map iframe { filter: sepia(.25) saturate(1.05); }

/* ------------------- FOOTER ------------------- */
.footer {
  background: var(--brown);
  color: rgba(251,247,239,.75);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img {
  width: 60px; height: 60px;
  background: var(--cream); padding: 4px; border-radius: 50%;
}
.foot-brand strong {
  display: block;
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.foot-brand span { font-size: .88rem; line-height: 1.6; }
.foot-col h5 {
  font-family: var(--serif);
  color: var(--gold-2);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.foot-col a, .foot-col span {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: rgba(251,247,239,.7);
  transition: color .25s ease;
}
.foot-col a:hover { color: var(--gold-2); }
.foot-bottom {
  border-top: 1px solid rgba(251,247,239,.12);
  padding: 22px 0;
  font-size: .82rem;
  text-align: center;
}

/* ------------------- TO TOP ------------------- */
.to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--brown);
  color: var(--gold-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 30px -8px rgba(59,36,21,.5);
  opacity: 0; visibility: hidden;
  transition: all .35s ease;
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: var(--brown); transform: translateY(-4px); }

/* ------------------- REVEAL ANIMATION ------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .panel.active { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 80px 0; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  .hero-logo { width: 200px; height: 200px; }
  .nav-logo img { width: 64px; height: 64px; }
  .nav-logo strong { font-size: 1rem; }
  .nav-logo small { font-size: .65rem; letter-spacing: 2px; }
  .about-stats { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .about-stats > div { padding: 14px; background: var(--cream); border-radius: 10px; }

  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .menu-tabs { gap: 6px; }
  .tab { padding: 10px 16px; font-size: .85rem; }

  .to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
