/*
Theme Name: KahveFalinda Pro (2026 Modern Bento & Glassmorphism Edition)
Theme URI: https://www.kahvefalinda.com
Author: KahveFalinda AI Studio
Description: 2026 Modern Editorial, Bento Grid & Glassmorphism mimarisiyle tasarlanmış; ultra hızlı, mobil uygulama (App) hissiyatlı, SEO ve AdSense yüksek CTR odaklı özel WordPress teması.
Version: 3.0.0
Text Domain: kahvefalinda-pro
*/

:root {
  --kf-bg: #FCFBF9;
  --kf-surface: #FFFFFF;
  --kf-surface-Warm: #F6F1EA;
  --kf-espresso-deep: #120B07;
  --kf-espresso: #1E120B;
  --kf-espresso-mid: #322015;
  --kf-gold: #D49A45;
  --kf-gold-light: #F5E1BE;
  --kf-gold-glow: rgba(212, 154, 69, 0.32);
  --kf-text: #221A14;
  --kf-text-muted: #766658;
  --kf-border: rgba(50, 32, 21, 0.09);
  --kf-radius-lg: 24px;
  --kf-radius-md: 16px;
  --kf-radius-pill: 999px;
  --kf-shadow-soft: 0 12px 36px -8px rgba(18, 11, 7, 0.06);
  --kf-shadow-hover: 0 20px 44px -10px rgba(18, 11, 7, 0.13);
  --kf-font-serif: Georgia, "Playfair Display", "Times New Roman", serif;
  --kf-font-sans: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--kf-bg);
  color: var(--kf-text);
  font-family: var(--kf-font-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.innerContainer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= VELVET ESPRESSO HERO & GLASS NAVBAR ================= */
.kf-hero-stage {
  background: radial-gradient(circle at 50% 0%, #3B2314 0%, #1B100A 55%, #110A06 100%);
  color: #FFF9F0;
  padding: 20px 0 46px;
  position: relative;
  overflow: hidden;
}

.kf-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 225, 190, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.kf-glass-nav {
  background: rgba(255, 248, 238, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 225, 190, 0.16);
  border-radius: var(--kf-radius-pill);
  padding: 10px 18px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 20;
}

.kf-brand-logo {
  font-family: var(--kf-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #F5E1BE;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.kf-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 160, 23, 0.45));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kf-brand-logo:hover .kf-logo-img {
  transform: rotate(-8deg) scale(1.12);
}

.kf-brand-text {
  display: inline-block;
  line-height: 1;
}

.kf-brand-text span {
  color: var(--kf-gold);
}

.kf-nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kf-nav-links li a {
  color: rgba(255, 249, 240, 0.84);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--kf-radius-pill);
}

.kf-nav-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.kf-pill-cta {
  background: linear-gradient(135deg, #F3D19B 0%, #D49A45 100%);
  color: #1B100A !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--kf-radius-pill);
  box-shadow: 0 4px 20px var(--kf-gold-glow);
  white-space: nowrap;
}

.kf-pill-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(212, 154, 69, 0.5);
}

/* HERO CENTERPIECE */
.kf-hero-center {
  max-width: 740px;
  margin: 38px auto 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.kf-hero-headline {
  font-family: var(--kf-font-serif);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.16;
  margin: 0 0 12px;
  color: #FFFDF9;
  letter-spacing: -0.5px;
}

.kf-hero-sub {
  font-size: 15.5px;
  color: rgba(245, 225, 190, 0.78);
  margin: 0 0 24px;
}

.kf-glass-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(245, 225, 190, 0.26);
  border-radius: var(--kf-radius-pill);
  padding: 6px 6px 6px 22px;
  max-width: 600px;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.kf-glass-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  padding: 8px 0;
}

.kf-glass-search input::placeholder {
  color: rgba(245, 225, 190, 0.62);
}

.kf-glass-search button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #F3D19B 0%, #D49A45 100%);
  color: #1B100A;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.kf-glass-search button:hover {
  transform: scale(1.06);
}

/* STORY SYMBOL RINGS */
.kf-story-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 8px;
  scrollbar-width: none;
}

.kf-story-strip::-webkit-scrollbar {
  display: none;
}

.kf-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 68px;
}

.kf-story-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #F5E1BE 0%, #D49A45 50%, #6E481B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s;
}

.kf-story-item:hover .kf-story-ring {
  transform: translateY(-4px) scale(1.05);
}

.kf-story-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #27170E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}

.kf-story-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kf-story-label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 249, 240, 0.88);
  white-space: nowrap;
}

/* ================= BENTO GRID ARCHITECTURE ================= */
#main {
  padding: 38px 0 80px;
}

.kf-bento-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.kf-bento-card {
  background: var(--kf-surface);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-lg);
  padding: 26px;
  box-shadow: var(--kf-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kf-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-bento-card.primary-coffee {
  background: linear-gradient(135deg, #F6EFE6 0%, #EFE4D4 100%);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
}

.kf-bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--kf-surface-Warm);
  color: var(--kf-espresso-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 14px;
}

.kf-bento-title {
  font-family: var(--kf-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--kf-espresso-deep);
  margin: 0 0 8px;
  line-height: 1.25;
}

.kf-bento-desc {
  font-size: 14.5px;
  color: var(--kf-text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

.kf-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kf-gold);
}

/* ================= MODERN EDITORIAL SYMBOL CARDS ================= */
.kf-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 36px 0 20px;
}

.kf-section-title {
  font-family: var(--kf-font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--kf-espresso-deep);
  margin: 0;
}

.kf-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kf-post-card {
  background: var(--kf-surface);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-lg);
  overflow: hidden;
  box-shadow: var(--kf-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.kf-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-post-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--kf-surface-Warm);
  position: relative;
}

.kf-post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kf-post-card:hover .kf-post-card-thumb img {
  transform: scale(1.05);
}

.kf-post-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kf-post-card-title {
  font-family: var(--kf-font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--kf-espresso-deep);
}

.kf-post-card-excerpt {
  font-size: 14px;
  color: var(--kf-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ================= EDITORIAL ARTICLE READING VIEW ================= */
.kf-editorial-container {
  max-width: 820px;
  margin: 0 auto;
}

.safirBox {
  background: var(--kf-surface);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-lg);
  padding: 38px 44px;
  box-shadow: var(--kf-shadow-soft);
  margin-bottom: 28px;
}

.kf-breadcrumb {
  font-size: 13px;
  color: var(--kf-text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.kf-breadcrumb a {
  color: var(--kf-gold);
  font-weight: 600;
}

.pageHeading h1.title {
  font-family: var(--kf-font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--kf-espresso-deep);
  margin: 0 0 16px;
}

.kf-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--kf-text-muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--kf-border);
}

.kf-featured-thumb {
  margin: 0 0 26px;
  border-radius: var(--kf-radius-md);
  overflow: hidden;
  position: relative;
}

.kf-featured-thumb img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.reading {
  font-size: 18px;
  line-height: 1.82;
  color: var(--kf-text);
}

.reading p {
  margin: 0 0 20px;
}

.reading h2 {
  font-family: var(--kf-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--kf-espresso-deep);
  margin: 36px 0 14px;
}

.reading h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--kf-espresso-mid);
  margin: 26px 0 10px;
}

/* TOC & LITE YOUTUBE IN EDITORIAL */
.kf-toc {
  background: var(--kf-surface-Warm);
  border-radius: var(--kf-radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.kf-toc-title {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--kf-espresso-deep);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.kf-toc ol {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 15px;
}

.kf-toc ol li {
  margin-bottom: 6px;
}

.kf-youtube-box {
  background: var(--kf-espresso);
  color: #fff;
  padding: 20px;
  border-radius: var(--kf-radius-lg);
  margin: 28px 0;
}

.kf-youtube-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--kf-gold-light);
  margin-bottom: 12px;
}

.kf-lite-yt {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--kf-radius-md);
  overflow: hidden;
  cursor: pointer;
}

.kf-lite-yt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.kf-lite-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kf-lite-yt-play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.kf-lite-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ADSENSE CLEAN SLOTS */
.ads, .kf-ad-slot {
  margin: 26px 0;
  text-align: center;
  min-height: 90px;
  background: var(--kf-surface-Warm);
  border-radius: var(--kf-radius-md);
  padding: 12px;
  overflow: hidden;
}

.kf-ad-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--kf-text-muted);
  margin-bottom: 6px;
  display: block;
}

/* A-Z PILLS */
.kf-az-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

/* LIVE AUTOCOMPLETE DROPDOWN */
.kf-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 28px;
}

.kf-glass-search {
  margin: 0;
}

.kf-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(30, 18, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 225, 190, 0.25);
  border-radius: 18px;
  padding: 8px;
  z-index: 9999;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.kf-autocomplete-dropdown.open {
  display: block;
}

.kf-ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  color: #FFF9F0;
  font-size: 15px;
  font-weight: 500;
}

.kf-ac-item:hover {
  background: rgba(212, 154, 69, 0.22);
  color: #F5E1BE;
}

.kf-ac-item span.kf-ac-badge {
  font-size: 12px;
  color: var(--kf-gold);
  font-weight: 600;
}

/* VIRAL WHATSAPP & PINTEREST SHARE BAR */
.kf-viral-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--kf-surface-Warm);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-md);
  padding: 16px 20px;
  margin: 26px 0 10px;
}

.kf-viral-share-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--kf-espresso-deep);
}

.kf-viral-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kf-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--kf-radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff !important;
  cursor: pointer;
  border: none;
}

.kf-share-pill.whatsapp {
  background: #25D366;
}

.kf-share-pill.pinterest {
  background: #E60023;
}

.kf-share-pill.copy {
  background: var(--kf-espresso-mid);
}

.kf-share-pill:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.kf-az-bar a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kf-surface);
  border: 1px solid var(--kf-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--kf-espresso-mid);
}

.kf-az-bar a:hover {
  background: var(--kf-gold);
  color: #fff;
  border-color: var(--kf-gold);
}

/* MOBILE BOTTOM GLASSMORPHISM TAB BAR (APP EXPERIENCE) */
.kf-mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 9990;
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(50, 32, 21, 0.12);
  border-radius: var(--kf-radius-pill);
  padding: 8px 12px;
  box-shadow: 0 12px 32px rgba(18, 11, 7, 0.18);
  justify-content: space-around;
  align-items: center;
}

.kf-mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--kf-text-muted);
}

.kf-mobile-tabbar a.active,
.kf-mobile-tabbar a:hover {
  color: var(--kf-espresso-deep);
}

.kf-mobile-tabbar .tab-icon {
  font-size: 19px;
}

/* FOOTER */
.kf-footer {
  background: var(--kf-espresso-deep);
  color: rgba(245, 225, 190, 0.72);
  padding: 48px 0 90px;
  font-size: 14px;
}

.kf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.kf-footer h4 {
  font-family: var(--kf-font-serif);
  color: #F5E1BE;
  font-size: 18px;
  margin: 0 0 12px;
}

.kf-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kf-footer ul li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .kf-bento-hero-grid {
    grid-template-columns: 1fr;
  }
  .kf-bento-card.primary-coffee {
    grid-template-columns: 1fr;
  }
  .kf-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kf-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kf-nav-links {
    display: none;
  }
  .safirBox {
    padding: 22px 18px;
  }
  .kf-posts-grid {
    grid-template-columns: 1fr;
  }
  .kf-mobile-tabbar {
    display: flex;
  }
}
