/*
Theme Name: CAFEFOR
Theme URI: https://cafefor.com.tr
Description: CAFEFOR Restaurant & Cafe (Ataşehir/İstanbul) için Hello Elementor tabanlı özel child tema. Kahvaltı & restoran odaklı, mobil-öncelikli, SEO uyumlu.
Author: Ehysoft
Template: hello-elementor
Version: 0.4.0
Text Domain: cafefor
*/

/* ============================================================
   1. TASARIM JETONLARI
   ============================================================ */
:root {
  --cf-dark:      #16120f;   /* hero / footer zemini */
  --cf-dark-2:    #211b15;   /* koyu kart */
  --cf-dark-3:    #2e251c;   /* koyu ayraç */
  --cf-bg:        #fdf9f2;   /* krem sayfa zemini */
  --cf-bg-2:      #f6efe2;   /* ikinci krem ton */
  --cf-cream:     #f6efe2;   /* koyu üstü açık yazı */
  --cf-ink:       #241f1a;   /* açık zeminde koyu yazı */
  --cf-body:      #5d554b;   /* gövde metni */
  --cf-muted:     #8d8478;   /* ikincil metin */
  --cf-gold:      #c9a24b;   /* marka altını */
  --cf-gold-soft: #e3c989;
  --cf-gold-deep: #a8842f;
  --cf-line:      #ece3d2;   /* açık zeminde çizgi */

  --cf-radius:    18px;
  --cf-radius-sm: 12px;
  --cf-shadow:    0 10px 34px rgba(40, 32, 20, .08);
  --cf-shadow-lg: 0 26px 60px rgba(30, 22, 12, .16);

  --cf-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --cf-font-script:  "Dancing Script", "Segoe Script", cursive;
  --cf-font-body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --cf-head-h: 73px;   /* başlık çubuğunun yüksekliği (logo bunun dışına taşar) */
  --cf-head-now: 73px; /* çubuğun anlık yüksekliği — site.js günceller */
}

/* ============================================================
   2. TEMEL
   ============================================================ */
body {
  background: var(--cf-bg);
  color: var(--cf-body);
  font-family: var(--cf-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--cf-font-display);
  color: var(--cf-ink);
  font-weight: 700;
  line-height: 1.15;
}

img { max-width: 100%; height: auto; }

.cf-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cf-gold);
  color: #1c1815;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.cf-skip:focus { left: 0; }

/* Üst temanın kendi başlık/altbilgi parçaları kullanılmıyor */
.site-header, .site-footer { display: none; }

/* Satır içi SVG ikonlar */
.cf-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.cf-icon--sm { width: 17px; height: 17px; }

/* El yazısı vurgu satırı */
.cf-script {
  font-family: var(--cf-font-script);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--cf-gold);
  margin: 0 0 6px;
  line-height: 1.1;
}
.cf-script--light { color: var(--cf-gold-soft); }
.cf-script--sm { font-size: 20px; margin-bottom: 2px; }
.cf-script--sign { font-size: 26px; margin: 18px 0 20px; color: var(--cf-gold-deep); }

.cf-accent-text { color: var(--cf-gold); font-style: italic; }

/* Bölüm başlığı altındaki çatal-bıçak ayracı */
.cf-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cf-gold);
  margin-top: 12px;
}
.cf-rule::before,
.cf-rule::after {
  content: "";
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--cf-gold));
}
.cf-rule::after { background: linear-gradient(90deg, var(--cf-gold), transparent); }

/* ============================================================
   3. BAŞLIK (header.php)
   ============================================================ */
.cf-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  background: var(--cf-dark);
}
.cf-head__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 22px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: padding .3s, min-height .3s;
}
/* Logo mutlak konumlu: çubuğun yüksekliğine katkı vermez, alt kenarından
   taşarak büyük görünür. Çubuk ince kalır. */
.cf-head__brand {
  position: relative;
  flex: 0 0 104px;
  height: 44px;
}
.cf-head__logo {
  position: absolute;
  left: 0;
  top: -8px;
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
  transition: width .3s, height .3s, top .3s;
}
.cf-head__wordmark {
  font-family: var(--cf-font-display);
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--cf-gold);
}

.cf-head__nav { margin-left: auto; }
.cf-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-nav a {
  color: var(--cf-cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.cf-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cf-gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.cf-nav a:hover { color: var(--cf-gold-soft); }
.cf-nav a:hover::after,
.cf-nav .current-menu-item > a::after,
.cf-nav .current_page_item > a::after { transform: scaleX(1); }
.cf-nav .current-menu-item > a,
.cf-nav .current_page_item > a { color: var(--cf-gold); }

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

/* Ana sayfada hero üzerine saydam biner; kaydırınca koyulaşır */
body.cf-has-overlay-header .cf-head { background: transparent; }
body.cf-has-overlay-header .cf-head.is-stuck,
body.cf-has-solid-header .cf-head.is-stuck {
  background: rgba(22, 18, 15, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .3);
}
/* Kaydırınca başlık kompaktlaşır; gerçek yüksekliği site.js --cf-head-now'a yazar,
   menü sayfasının yapışkan arama çubuğu da onu izler. */
.cf-head.is-stuck .cf-head__inner { padding-top: 10px; padding-bottom: 10px; min-height: 40px; }
.cf-head.is-stuck .cf-head__brand { flex-basis: 56px; height: 40px; }
.cf-head.is-stuck .cf-head__logo { width: 56px; height: 56px; top: -8px; }

/* İç sayfalarda içerik sabit başlığın altından başlar */
body.cf-has-solid-header #cf-content { padding-top: var(--cf-head-h); }

/* Hamburger — .cf-head ile öngüllük yükseltildi: Elementor'ın global stil
   kiti `button` kuralıyla arka planı pembeye boyayabiliyor. */
.cf-head .cf-head__burger {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(246, 239, 226, .3);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.cf-head .cf-head__burger span {
  display: block;
  height: 2px;
  background-color: var(--cf-cream);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.cf-head__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.cf-head__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cf-head__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobil menü paneli */
.cf-mobile-nav {
  position: fixed;
  top: var(--cf-head-now);
  left: 0; right: 0;
  z-index: 99;
  background: rgba(22, 18, 15, .98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--cf-dark-3);
  padding: 18px 22px 26px;
}
.cf-mobile-nav[hidden] { display: none; }
.cf-mobile-nav__list { list-style: none; margin: 0 0 18px; padding: 0; }
.cf-mobile-nav__list li { border-bottom: 1px solid var(--cf-dark-3); }
.cf-mobile-nav__list a {
  display: block;
  padding: 14px 2px;
  color: var(--cf-cream);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}
.cf-mobile-nav__list .current-menu-item > a { color: var(--cf-gold); }
.cf-mobile-nav__cta { width: 100%; justify-content: center; }

/* ============================================================
   4. BUTONLAR
   ============================================================ */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--cf-font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn--sm { padding: 10px 20px; font-size: 14px; }
.cf-btn--gold {
  background: var(--cf-gold);
  color: #1a1510;
  box-shadow: 0 10px 26px rgba(201, 162, 75, .3);
}
.cf-btn--gold:hover { background: var(--cf-gold-soft); }
.cf-btn--dark { background: var(--cf-dark); color: var(--cf-cream); }
.cf-btn--dark:hover { background: var(--cf-dark-2); }
.cf-btn--ghost { background: transparent; color: var(--cf-cream); border-color: rgba(246, 239, 226, .5); }
.cf-btn--ghost:hover { background: rgba(246, 239, 226, .12); }
.cf-btn--ghost-dark { color: var(--cf-ink); border-color: var(--cf-gold); }
.cf-btn--ghost-dark:hover { background: var(--cf-gold); color: #1a1510; }

/* ============================================================
   5. BÖLÜM ÇERÇEVESİ
   ============================================================ */
.cf-section { max-width: 1180px; margin: 0 auto; padding: 86px 22px; }
.cf-h2 { font-size: clamp(28px, 4.2vw, 42px); margin: 0 0 16px; }
.cf-h2--light { color: #fff; }
.cf-center { text-align: center; margin-top: 34px; }
.cf-section__head { margin-bottom: 44px; }
.cf-section__head--center { text-align: center; }
.cf-section__head .cf-h2 { margin-bottom: 0; }

/* Fırça darbesi geçişi (koyu → krem) */
.cf-brush {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.cf-brush svg { display: block; width: 100%; height: 58px; }
.cf-brush path { fill: var(--cf-bg); }
.cf-brush--flip { top: -1px; bottom: auto; transform: rotate(180deg); }

/* ============================================================
   6. HERO
   ============================================================ */
.cf-hero {
  position: relative;
  overflow: hidden;
  background: var(--cf-dark);
  padding: calc(var(--cf-head-h) + 40px) 22px 110px;
}
/* Arka plan fotoğrafı: hafif bulanık, böylece öndeki yazı ve tabak öne çıkar */
.cf-hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--cf-hero, none);
  background-size: cover;
  background-position: center;
  filter: blur(5px) saturate(.8);
}
.cf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 13, 10, .95) 0%, rgba(16, 13, 10, .88) 46%, rgba(16, 13, 10, .74) 100%);
}
.cf-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
}
.cf-hero .cf-brush { z-index: 3; }
.cf-hero__text { color: var(--cf-cream); }
.cf-hero__title {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06;
  color: #fff;
  margin: 6px 0 18px;
}
.cf-hero__title-accent {
  font-family: var(--cf-font-script);
  color: var(--cf-gold);
  font-size: 1.06em;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}
.cf-hero__sub {
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(246, 239, 226, .82);
  max-width: 33em;
  margin: 0 0 30px;
  padding-left: 16px;
  border-left: 2px solid var(--cf-gold);
}
.cf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

/* Hero altı güven rozetleri */
.cf-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 620px;
}
.cf-fact { display: flex; align-items: center; gap: 12px; }
.cf-fact__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cf-gold);
  border: 1px solid rgba(201, 162, 75, .45);
  background: rgba(201, 162, 75, .1);
  flex: 0 0 auto;
}
.cf-fact__text {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(246, 239, 226, .68);
}
.cf-fact__text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-cream);
}

/* Hero görseli */
.cf-hero__media { position: relative; justify-self: center; }
.cf-hero__plate {
  width: min(430px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid rgba(201, 162, 75, .32);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6);
}
.cf-hero__plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-hero__seal {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(22, 18, 15, .92);
  border: 1px solid rgba(201, 162, 75, .5);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--cf-cream);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}
.cf-hero__seal-top,
.cf-hero__seal-bot {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 239, 226, .7);
}
.cf-hero__seal-mid { font-size: 26px; margin: 0; color: var(--cf-gold); }

/* ============================================================
   7. HİKÂYE & DEĞERLER (ana sayfa)
   ============================================================ */
.cf-story-home__grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr .8fr;
  gap: 34px;
  align-items: center;
}
.cf-story-home__text p { color: var(--cf-body); margin: 0 0 14px; }
.cf-story-home__text .cf-h2 { line-height: 1.14; font-size: clamp(26px, 2.7vw, 37px); }

.cf-story-home__media { position: relative; }
.cf-story-home__media img {
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow-lg);
  display: block;
}
.cf-badge-float {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--cf-shadow-lg);
}
.cf-badge-float__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cf-gold);
  color: #1a1510;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.cf-badge-float__text { font-size: 12.5px; line-height: 1.4; color: var(--cf-muted); }
.cf-badge-float__text strong {
  font-family: var(--cf-font-display);
  font-size: 21px;
  color: var(--cf-ink);
  display: inline-block;
}

.cf-values-card {
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.cf-values-card__item {
  padding: 30px 16px;
  text-align: center;
  border-right: 1px solid var(--cf-line);
  border-bottom: 1px solid var(--cf-line);
}
.cf-values-card__item:nth-child(2n) { border-right: none; }
.cf-values-card__item:nth-child(n+3) { border-bottom: none; }
.cf-values-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(201, 162, 75, .12);
  color: var(--cf-gold-deep);
}
.cf-values-card__item h3 { font-size: 15px; margin: 0; color: var(--cf-ink); }

/* ============================================================
   8. ÖNE ÇIKAN LEZZETLER (carousel)
   ============================================================ */
.cf-carousel { position: relative; }
.cf-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}
.cf-carousel__track::-webkit-scrollbar { display: none; }

.cf-carousel__nav {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--cf-gold);
  color: #1a1510;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 22, 12, .28);
  transition: background .2s, color .2s, opacity .2s, transform .2s;
}
.cf-carousel__nav:hover { background: var(--cf-gold-deep); color: #fff; transform: scale(1.06); }
.cf-carousel__nav--prev { left: -16px; }
.cf-carousel__nav--next { right: -16px; }
.cf-carousel__nav[disabled] { background: var(--cf-line); color: var(--cf-muted); cursor: default; box-shadow: none; }
.cf-carousel__nav[disabled]:hover { background: var(--cf-line); color: var(--cf-muted); transform: none; }

.cf-card {
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  overflow: hidden;
  box-shadow: var(--cf-shadow);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform .25s, box-shadow .25s;
}
.cf-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.cf-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cf-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cf-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cf-gold);
  color: #1a1510;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
}
/* Görseli olmayan ürün: koyu + altın marka placeholder'ı (kart yüksekliği korunur) */
.cf-card__img--ph {
  display: grid;
  place-items: center;
  background: var(--cf-dark);
  background-image: radial-gradient(circle at 50% 40%, rgba(201, 162, 75, .22), transparent 70%);
}
.cf-card__img--ph img { width: 96px; height: auto; object-fit: contain; opacity: .85; }

.cf-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cf-card__title { font-size: 18px; margin: 0; color: var(--cf-ink); }
.cf-card__desc { font-size: 13.5px; color: var(--cf-muted); margin: 0; flex: 1; line-height: 1.5; }
.cf-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.cf-card__price {
  font-family: var(--cf-font-display);
  font-weight: 700;
  color: var(--cf-gold-deep);
  font-size: 20px;
}
.cf-card__add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cf-gold);
  color: #1a1510;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.cf-card__add:hover { background: var(--cf-gold-deep); color: #fff; transform: scale(1.08); }

/* ============================================================
   9. REZERVASYON ŞERİDİ
   ============================================================ */
.cf-reserve { padding-top: 0; }
.cf-reserve__inner {
  position: relative;
  border-radius: var(--cf-radius);
  overflow: hidden;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--cf-dark);
  background-image:
    linear-gradient(90deg, rgba(16, 13, 10, .94) 30%, rgba(16, 13, 10, .55) 100%),
    var(--cf-strip, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--cf-shadow-lg);
}
.cf-reserve__text .cf-h2 { margin-bottom: 6px; }
.cf-reserve__note { color: rgba(246, 239, 226, .75); margin: 0; font-size: 15px; }

/* ============================================================
   9b. MİSAFİR YORUMLARI
   ============================================================ */
.cf-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}
.cf-review {
  margin: 0;
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  padding: 26px 24px 22px;
  box-shadow: var(--cf-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
}
.cf-review:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow-lg); }
.cf-review__stars { display: flex; gap: 2px; color: var(--cf-gold); }
.cf-review__stars .cf-icon { fill: currentColor; }
.cf-review__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cf-body);
  position: relative;
}
.cf-review__text::before {
  content: "\201C";
  font-family: var(--cf-font-display);
  font-size: 46px;
  line-height: 0;
  color: var(--cf-gold);
  opacity: .35;
  margin-right: 4px;
  vertical-align: -12px;
}
.cf-review__author {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--cf-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--cf-ink);
}
.cf-review__author::after {
  content: " · Google yorumu";
  font-family: var(--cf-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--cf-muted);
}

/* ============================================================
   10. GALERİ
   ============================================================ */
/* Ana sayfada 8 görsel tam iki sıra dolsun diye 4 sabit sütun */
.cf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cf-gallery__item {
  margin: 0;
  border-radius: var(--cf-radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.cf-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cf-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(16, 13, 10, .45));
  opacity: 0;
  transition: opacity .3s;
}
.cf-gallery__item:hover img { transform: scale(1.07); }
.cf-gallery__item:hover::after { opacity: 1; }

/* ============================================================
   11. QR MENÜ ÇAĞRISI
   ============================================================ */
.cf-qr {
  background: var(--cf-dark);
  background-image: radial-gradient(circle at 50% 0, rgba(201, 162, 75, .18), transparent 62%);
  text-align: center;
  padding: 86px 22px;
}
.cf-qr__inner { max-width: 720px; margin: 0 auto; }
.cf-qr__logo { width: 86px; height: auto; margin: 0 auto 22px; display: block; }
.cf-qr p { color: rgba(246, 239, 226, .8); font-size: 16px; margin: 14px 0 30px; }

/* ============================================================
   12. İLETİŞİM
   ============================================================ */
.cf-contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.cf-contact__line { font-size: 15px; line-height: 1.6; color: var(--cf-body); margin: 0 0 20px; }
.cf-contact__line--icon { display: flex; gap: 14px; align-items: flex-start; }
.cf-contact__line--icon .cf-icon { color: var(--cf-gold); margin-top: 3px; }
.cf-contact__line strong { color: var(--cf-ink); font-weight: 600; }
.cf-contact__line a { color: var(--cf-gold-deep); font-weight: 600; text-decoration: none; }
.cf-contact__line a:hover { text-decoration: underline; }
.cf-contact__map iframe { border-radius: var(--cf-radius); width: 100%; box-shadow: var(--cf-shadow); display: block; }
/* Uzun iletişim sütunu kaydırılırken harita görünürde kalsın */
@media (min-width: 901px) {
  .cf-contact__map { position: sticky; top: calc(var(--cf-head-h) + 24px); }
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.cf-footer {
  background: var(--cf-dark);
  background-image: radial-gradient(circle at 88% 0, rgba(201, 162, 75, .13), transparent 55%);
  color: var(--cf-cream);
}
.cf-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 22px 42px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.25fr;
  gap: 38px;
}
.cf-foot__logo-img { width: 108px; height: auto; }
.cf-foot__tag {
  margin: 16px 0 20px;
  color: rgba(246, 239, 226, .7);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}
.cf-foot__social { display: flex; gap: 10px; }
.cf-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cf-dark-3);
  display: grid;
  place-items: center;
  color: var(--cf-cream);
  transition: background .2s, color .2s, border-color .2s;
}
.cf-social:hover { background: var(--cf-gold); color: #1a1510; border-color: var(--cf-gold); }

.cf-foot__h {
  font-family: var(--cf-font-display);
  font-size: 19px;
  color: #fff;
  margin: 0 0 18px;
}
.cf-foot__links { list-style: none; margin: 0; padding: 0; }
.cf-foot__links li { margin-bottom: 11px; }
.cf-foot__links a,
.cf-foot__line a {
  color: rgba(246, 239, 226, .78);
  text-decoration: none;
  transition: color .2s;
}
.cf-foot__links a:hover,
.cf-foot__line a:hover { color: var(--cf-gold); }
.cf-foot__line {
  margin: 0 0 14px;
  color: rgba(246, 239, 226, .72);
  font-size: 14px;
  line-height: 1.6;
}
.cf-foot__line strong { color: var(--cf-cream); font-weight: 600; }
.cf-foot__line--icon { display: flex; gap: 11px; align-items: flex-start; }
.cf-foot__line--icon .cf-icon { color: var(--cf-gold); margin-top: 2px; }
.cf-foot__line--accent { font-family: var(--cf-font-script); font-size: 20px; color: var(--cf-gold); }

.cf-footer__bottom {
  border-top: 1px solid var(--cf-dark-3);
  padding: 20px 22px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(246, 239, 226, .55);
}
/* Yapımcı künyesi — alt şeridin ortasında */
.cf-foot__credit {
  letter-spacing: .02em;
  color: rgba(246, 239, 226, .5);
}
.cf-foot__credit a {
  color: var(--cf-gold);
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color .2s;
}
.cf-foot__credit a:hover {
  color: var(--cf-gold-soft);
  text-decoration: underline;
}

.cf-foot__qr {
  color: #1a1510;
  background: var(--cf-gold);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.cf-foot__qr:hover { background: var(--cf-gold-soft); }

/* ============================================================
   14. İÇ SAYFALAR
   ============================================================ */
#cf-page img { max-width: 100%; height: auto; }

.cf-banner {
  position: relative;
  background: var(--cf-dark);
  background-image:
    linear-gradient(rgba(16, 13, 10, .86), rgba(16, 13, 10, .93)),
    var(--cf-banner, none);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 92px 22px 96px;
  color: var(--cf-cream);
}
.cf-banner__title { font-size: clamp(34px, 5vw, 52px); margin: 4px 0 10px; color: #fff; }
.cf-banner__crumb {
  font-size: 12.5px;
  letter-spacing: .14em;
  color: rgba(246, 239, 226, .6);
  margin: 0;
  text-transform: uppercase;
}
.cf-banner__crumb a { color: var(--cf-gold-soft); text-decoration: none; }
/* QR ile gelen misafir menüyü hemen görsün diye menü bannerı daha kısa */
.cf-banner--menu { padding: 54px 22px 58px; }

/* Hakkımızda hikâye */
.cf-story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.cf-story__text p { line-height: 1.75; margin: 0 0 16px; }
.cf-story__media { position: relative; border-radius: var(--cf-radius); overflow: hidden; box-shadow: var(--cf-shadow-lg); }
.cf-story__media img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; display: block; }

/* Değer kartları */
.cf-values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.cf-value {
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--cf-shadow);
  transition: transform .25s, box-shadow .25s;
}
.cf-value:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.cf-value__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 75, .12);
  color: var(--cf-gold-deep);
}
.cf-value__icon .cf-icon { width: 28px; height: 28px; }
.cf-value h3 { margin: 0 0 10px; font-size: 19px; }
.cf-value p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--cf-muted); }

/* Galeri sayfası */
.cf-gallery__grid--page { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cf-gallery--page .cf-gallery__item { display: block; }

.cf-gallery__intro { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.cf-gallery__intro h2 { margin: 0 0 18px; }
.cf-gallery__intro p { margin: 0 0 16px; font-size: 15px; line-height: 1.8; color: var(--cf-body); }
.cf-gallery__intro p:last-child { margin-bottom: 0; }
.cf-gallery__intro a { color: var(--cf-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.cf-gallery__intro a:hover { color: var(--cf-gold); }

.cf-gallery__h2 { text-align: center; margin: 0 0 26px; }
.cf-gallery__item-wrap { margin: 0; }
.cf-gallery__cap {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cf-muted);
  text-align: center;
}

/* İletişim formu */
.cf-contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.cf-form {
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  padding: 28px;
  box-shadow: var(--cf-shadow);
}
.cf-form__h { margin: 0 0 18px; font-size: 21px; }
.cf-form label { display: block; font-size: 13px; font-weight: 600; color: var(--cf-ink); margin-bottom: 16px; }
.cf-form input,
.cf-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--cf-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  background: var(--cf-bg);
  color: var(--cf-ink);
}
.cf-form input:focus,
.cf-form textarea:focus { outline: none; border-color: var(--cf-gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .15); }
.cf-form button { width: 100%; margin-top: 4px; }
.cf-form__note { font-size: 12px; color: var(--cf-muted); margin: 14px 0 0; text-align: center; }

/* ============================================================
   15. DUYARLILIK
   ============================================================ */
@media (max-width: 1080px) {
  .cf-story-home__grid { grid-template-columns: 1fr 1fr; }
  .cf-values-card { grid-column: 1 / -1; }
  .cf-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --cf-head-h: 64px; --cf-head-now: 64px; }
  .cf-head__nav { display: none; }
  /* Temel kural .cf-head ile yazıldığı için burada da aynı öngüllük şart,
     aksi hâlde display:none baskın kalıp hamburger kayboluyor. */
  .cf-head .cf-head__burger { display: flex; }
  .cf-head__inner { padding: 12px 16px; min-height: 40px; gap: 12px; }
  .cf-head__brand { flex: 0 0 80px; height: 40px; }
  /* Menü gizlendiği için onun margin-left:auto'su devre dışı kalıyor;
     butonları sağ kenara asıl bu satır yaslıyor. */
  .cf-head__actions { margin-left: auto; gap: 10px; }
  .cf-head .cf-head__burger { width: 48px; height: 44px; padding: 12px 11px; }
  .cf-head__cta { padding: 12px 16px; }
  .cf-head__logo { width: 80px; height: 80px; top: -6px; }
  .cf-head.is-stuck .cf-head__inner { min-height: 36px; }
  .cf-head.is-stuck .cf-head__brand { flex-basis: 48px; height: 36px; }
  .cf-head.is-stuck .cf-head__logo { width: 48px; height: 48px; top: -6px; }

  .cf-hero { padding-bottom: 90px; }
  .cf-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cf-hero__media { order: -1; }
  .cf-hero__seal { width: 104px; height: 104px; top: 0; right: 0; }
  .cf-hero__seal-mid { font-size: 21px; }

  .cf-story-home__grid { grid-template-columns: 1fr; gap: 40px; }
  .cf-badge-float { left: 12px; }

  .cf-contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-story__grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-carousel__nav { display: none; }
  .cf-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .cf-section { padding: 58px 18px; }
  .cf-qr { padding: 62px 18px; }
  .cf-banner { padding: 68px 18px 72px; }
  .cf-hero__cta .cf-btn { flex: 1 1 100%; }
  .cf-hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .cf-head__cta span { display: none; }
  .cf-head__cta { width: 48px; height: 44px; padding: 0; }
  .cf-head__cta .cf-icon { width: 20px; height: 20px; }
  .cf-reserve__inner { padding: 32px 24px; }
  .cf-footer__inner { grid-template-columns: 1fr; }
  .cf-values-card__item { padding: 24px 12px; }
  .cf-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
