/* ===== BOB Coffee & Bistro — Stiller ===== */
:root {
  --espresso: #241710;
  --coffee: #5b3a24;
  --caramel: #b07b4f;
  --rust: #c0512f;        /* logo aksan rengi */
  --rust-dark: #a8421f;
  --gold: #c8923d;
  --cream: #f7efe4;
  --cream-2: #efe3d2;
  --ink: #2a1d14;
  --muted: #7a6a5c;
  --white: #fffaf3;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(36, 23, 16, 0.16);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--espresso); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 239, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 23, 16, 0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand-logo { height: 46px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 26px; }
.main-nav a { font-size: .95rem; font-weight: 500; color: var(--coffee); position: relative; transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--rust); transition: width .25s;
}
.main-nav a:hover { color: var(--espresso); }
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  border: 1px solid var(--caramel); background: transparent; color: var(--coffee);
  border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .85rem; font-weight: 600;
  cursor: pointer; letter-spacing: .5px; transition: all .2s;
}
.lang-toggle:hover { background: var(--caramel); color: var(--white); }
.lang-sep { opacity: .4; margin: 0 5px; }
body[data-lang="tr"] .lang-tr { color: var(--rust); }
body[data-lang="en"] .lang-en { color: var(--rust); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--espresso); border-radius: 2px; transition: .3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 8px 20px rgba(192, 81, 47, .35); }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { border-color: currentColor; }
.hero .btn-ghost { color: var(--cream); }
.contact .btn-ghost { color: var(--coffee); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.contact .btn-ghost:hover { background: rgba(36,23,16,.06); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background-color: #241710;
  background-image: url("../assets/photos/hero.jpg");
  background-image: -webkit-image-set(url("../assets/photos/hero.webp") type("image/webp"), url("../assets/photos/hero.jpg") type("image/jpeg"));
  background-image: image-set(url("../assets/photos/hero.webp") type("image/webp"), url("../assets/photos/hero.jpg") type("image/jpeg"));
  background-position: center; background-size: cover; background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,12,7,.82) 0%, rgba(20,12,7,.55) 45%, rgba(20,12,7,.2) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--cream); padding: 90px 22px; max-width: 720px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; color: var(--gold); margin-bottom: 14px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--cream); font-weight: 700; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-title span { color: var(--rust); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.28rem); margin: 20px 0 34px; max-width: 560px; opacity: .94; font-weight: 300; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--cream-2); }
.section-head { margin-bottom: 50px; }
.section-eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: .78rem; color: var(--rust); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.section-note { color: var(--muted); font-size: .92rem; font-style: italic; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--muted); margin: 16px 0 24px; }
.about-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--coffee); }
.feat-icon { font-size: 1.4rem; }
.about-image { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 4/5; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Menu ===== */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.menu-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--rust); transition: transform .25s;
}
.menu-card:hover { transform: translateY(-6px); }
.menu-card h3 { font-size: 1.4rem; margin-bottom: 18px; color: var(--coffee); }
.menu-list { list-style: none; }
.menu-list li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed rgba(122,106,92,.25); }
.menu-list li:last-child { border-bottom: 0; }
.m-name { font-weight: 500; }
.m-dots { flex: 1; border-bottom: 1px dotted rgba(122,106,92,.4); transform: translateY(-4px); }
.m-price { font-weight: 600; color: var(--rust); white-space: nowrap; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; aspect-ratio: 1/1; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Visit ===== */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.info-block { margin-top: 26px; }
.info-block h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--coffee); }
.info-block p { color: var(--muted); }
.link-arrow { color: var(--rust); font-weight: 600; display: inline-block; margin-top: 8px; }
.link-arrow:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; max-width: 380px; }
.hours td { padding: 9px 0; border-bottom: 1px solid rgba(122,106,92,.18); }
.hours td:last-child { text-align: right; font-weight: 500; }
.hours .closed { color: var(--rust); font-weight: 600; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ===== Contact ===== */
.contact { background: linear-gradient(135deg, var(--cream), var(--cream-2)); }
.contact-lead { color: var(--muted); max-width: 520px; margin: 14px auto 30px; }
.contact-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--espresso); color: var(--cream); padding: 50px 0 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-logo { height: 50px; margin-bottom: 12px; }
.footer-addr { color: rgba(247,239,228,.7); font-size: .95rem; line-height: 1.8; }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { color: rgba(247,239,228,.85); transition: color .2s; }
.footer-social a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(247,239,228,.12); padding: 18px 0; text-align: center; font-size: .85rem; color: rgba(247,239,228,.6); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--cream);
    flex-direction: column; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .35s ease; box-shadow: var(--shadow); border-bottom: 1px solid rgba(36,23,16,.08);
  }
  .main-nav.open { max-height: 380px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 22px; }
  .main-nav li { border-bottom: 1px solid rgba(122,106,92,.15); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { aspect-ratio: 16/10; max-height: 420px; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
  .hero-cta .btn, .contact-buttons .btn { flex: 1 1 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
