/* Kategori sayfalari ortak stili.
   Daha once dort ayri PHP dosyasinda ayni <style> blogu tekrarliyordu;
   tek sablona gecince buraya alindi. */
/* ===== HERO ===== */
.cat-hero { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,58,95,0.85) 50%, rgba(37,99,235,0.88) 100%); }
.cat-hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 20px; max-width: 700px; }
.cat-hero-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.cat-hero-content p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; line-height: 1.6; }
.cat-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cat-hero-btns a { padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary-light { background: #fff; color: #2563eb; }
.btn-primary-light:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ===== GLASSMORPHISM ===== */
.glass-card { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; box-shadow: 0 8px 32px rgba(31,38,135,0.1), inset 0 1px 0 rgba(255,255,255,0.6); transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); }
.glass-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 60px rgba(31,38,135,0.15), inset 0 1px 0 rgba(255,255,255,0.8); }

/* ===== 3D FLIP CARD ===== */
.flip-container { perspective: 1000px; height: 320px; }
.flipper { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.175,0.885,0.32,1.275); transform-style: preserve-3d; }
.flip-container:hover .flipper { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flip-front { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.4); }
.flip-back { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; transform: rotateY(180deg); }
.flip-back .btn-white { background: #fff; color: #2563eb; padding: 10px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; transition: all 0.3s; }
.flip-back .btn-white:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* ===== COUNTER SECTION ===== */
.counter-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%); padding: 80px 0; position: relative; overflow: hidden; }
.counter-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); border-radius: 50%; }
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.counter-item .number { font-size: 52px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; background: linear-gradient(135deg, #fff, #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.counter-item .label { font-size: 15px; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-scale { opacity: 0; transform: scale(0.8); transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-section { padding: 80px 0; background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%); overflow: hidden; }
.testimonial-track { display: flex; gap: 24px; animation: scroll-carousel 30s linear infinite; width: max-content; }
.testimonial-track:hover { animation-play-state: paused; }
@keyframes scroll-carousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { flex-shrink: 0; width: 380px; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.testimonial-card .stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; }
.testimonial-card .text { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #06b6d4); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.testimonial-card .author-name { font-weight: 600; color: #1e293b; font-size: 14px; }
.testimonial-card .author-city { font-size: 12px; color: #94a3b8; }

/* ===== GRADIENT TEXT ===== */
.gradient-text { background: linear-gradient(135deg, #2563eb, #06b6d4, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== BEFORE/AFTER ===== */
.beforeafter-section { padding: 80px 0; background: #fff; }
.beforeafter-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 800px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.before-box { background: linear-gradient(135deg, #fee2e2, #fecaca); padding: 40px; text-align: center; }
.after-box { background: linear-gradient(135deg, #dcfce7, #bbf7d0); padding: 40px; text-align: center; }
.before-box .icon { font-size: 48px; margin-bottom: 12px; }
.after-box .icon { font-size: 48px; margin-bottom: 12px; }
.before-box h4 { color: #991b1b; font-weight: 700; }
.after-box h4 { color: #166534; font-weight: 700; }
.vs-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #2563eb; font-size: 18px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); z-index: 2; }

/* ===== FAQ ACCORDION ===== */
.faq-section { padding: 80px 0; background: #f8fafc; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; transition: all 0.3s; }
.faq-item:hover { border-color: #93c5fd; box-shadow: 0 2px 12px rgba(37,99,235,0.08); }
.faq-q { padding: 20px 24px; font-weight: 600; color: #1e293b; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.faq-q i { transition: transform 0.3s; color: #94a3b8; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 24px; color: #64748b; line-height: 1.7; }
.faq-item.active .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 70px 0; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%); color: #fff; text-align: center; }
.cta-section .btn { padding: 16px 36px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #2563eb; color: #fff; transition: all 0.3s; }
.cta-section .btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }

/* ===== OTHER SECTION ===== */
.other-section { padding: 50px 0; background: #f8fafc; }
.other-section h3 { text-align: center; font-size: 20px; font-weight: 600; color: #475569; margin-bottom: 28px; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 700px; margin: 0 auto; padding: 0 20px; }
.other-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; text-decoration: none; color: inherit; transition: all 0.2s; }
.other-card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,0.08); transform: translateY(-2px); }
.other-card .icon { font-size: 24px; }
.other-card span { font-weight: 600; font-size: 15px; color: #1e293b; }

/* ===== GLOW EFFECTS ===== */
.glow-blue { box-shadow: 0 0 20px rgba(37,99,235,0.3), 0 0 60px rgba(37,99,235,0.1); }
.glow-cyan { box-shadow: 0 0 20px rgba(6,182,212,0.3), 0 0 60px rgba(6,182,212,0.1); }

/* ===== RESPONSIVE ===== */
@media(max-width:640px){
  .counter-item .number { font-size: 36px; }
  .testimonial-card { width: 300px; }
  .flip-container { height: 280px; }
}

/* =======================================================================
   GELİŞTİRMELER (2026-10) — hero görünürlük düzeltmesi, kategori tonları,
   zengin arka plan, ürün kartları, sayaç ve SSS iyileştirmeleri.
   Not: sonradan eklendi; kaynak sırası sonda olduğu için eşit özgüllükte
   üstteki kuralları güvenle ezer.
   ======================================================================= */

/* ----- Kategori accent tonları (görselsiz hero'larda da renk) ----- */
.cat-hero { --accent:#3b82f6; --accentDark:#1e3a5f; height: 460px; }
.cat-hero[data-cat="saglik"]  { --accent:#fb7185; --accentDark:#7f1d3a; }
.cat-hero[data-cat="konut"]   { --accent:#34d399; --accentDark:#065f46; }
.cat-hero[data-cat="seyahat"] { --accent:#22d3ee; --accentDark:#155e75; }
.cat-hero[data-cat="hayat"]   { --accent:#a78bfa; --accentDark:#5b21b6; }
.cat-hero[data-cat="isletme"] { --accent:#818cf8; --accentDark:#3730a3; }
.cat-hero[data-cat="tarim"]   { --accent:#4ade80; --accentDark:#166534; }
.cat-hero[data-cat="diger"]   { --accent:#fbbf24; --accentDark:#92400e; }

/* Görselsiz kategorilerde bile dolgun arka plan */
.cat-hero {
  background:
    radial-gradient(1100px 480px at 78% -12%, var(--accentDark), transparent 60%),
    linear-gradient(135deg, #0b1120 0%, #0f172a 55%, #111827 100%);
}
/* Metin okunurluğu için koyu, ama görseli biraz gösteren overlay */
.cat-hero-overlay {
  background: linear-gradient(125deg, rgba(8,12,24,0.93) 0%, rgba(15,23,42,0.80) 48%, rgba(15,23,42,0.58) 100%);
}
/* İnce nokta deseni (üstte yoğun, aşağı doğru kaybolur) */
.cat-hero::before {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px);
  background-size: 24px 24px; opacity:.55;
  -webkit-mask-image: linear-gradient(180deg,#000 0%, transparent 82%);
  mask-image: linear-gradient(180deg,#000 0%, transparent 82%);
}
/* Accent renkli köşe parıltısı */
.cat-hero::after {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(680px 320px at 82% 6%, var(--accent), transparent 70%);
  opacity:.22; mix-blend-mode:screen;
}

/* ----- Hero içerik: JS'e bağlı reveal yerine CSS giriş animasyonu ----- */
.cat-hero-content { opacity:1; transform:none; animation: catHeroIn .9s cubic-bezier(.5,0,0,1) both; }
@keyframes catHeroIn { from { opacity:0; transform: translateY(26px); } to { opacity:1; transform:none; } }
.cat-hero-content h1 { font-size: 46px; letter-spacing:-.02em; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.cat-hero-content p { max-width: 620px; margin-left:auto; margin-right:auto; }

/* Eyebrow etiketi */
.cat-eyebrow {
  display:inline-flex; align-items:center; gap:8px; margin-bottom:18px;
  font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#fff;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  padding:7px 15px; border-radius:999px; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.cat-eyebrow .dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); }

/* Aşağı kaydır oku */
.cat-scroll {
  position:absolute; bottom:16px; left:50%; transform:translateX(-50%); z-index:2;
  color:rgba(255,255,255,.72); display:inline-flex; animation: catBob 1.9s ease-in-out infinite;
}
.cat-scroll:hover { color:#fff; }
@keyframes catBob { 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,8px);} }

/* ----- Ürün kartları (ikonlu) ----- */
.prod-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:18px; max-width:1000px; margin:0 auto; }
.prod-card {
  position:relative; overflow:hidden; display:flex; flex-direction:column; gap:12px;
  padding:24px; background:#fff; border:1px solid #e8eef5; border-radius:18px;
  text-decoration:none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.prod-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--pc,#06b6d4); opacity:0; transition:opacity .2s; }
.prod-card:hover { transform:translateY(-4px); box-shadow:0 16px 36px rgba(15,23,42,.10); border-color:#cfe0f0; }
.prod-card:hover::before { opacity:1; }
.prod-card h3 { font-size:17px; font-weight:700; color:#1e293b; margin:0; }
.prod-card p { font-size:13px; color:#64748b; line-height:1.6; margin:0; flex:1; }
.prod-card .go { font-size:13px; font-weight:600; color:#0891b2; display:inline-flex; align-items:center; gap:4px; transition:gap .2s; }
.prod-card:hover .go { gap:8px; }

/* ----- SSS uzun cevap kırpılmasını önle ----- */
.faq-item.active .faq-a { max-height: 900px; }

/* ----- Mobil ----- */
@media(max-width:640px){
  .cat-hero { height: 420px; }
  .cat-hero-content h1 { font-size: 34px; }
  .cat-hero-content p { font-size: 15px; }
}
