/*
Theme Name: Beta Sigorta
Theme URI: https://www.betasigorta.com
Author: Beta Sigorta
Description: Beta Sigorta Aracılık Hizmetleri için özel olarak tasarlanmış, güven odaklı, modern ve tam responsive kurumsal WordPress teması. Teklif Al sayfası Quill Forms eklentisiyle entegre çalışır, eklenti kurulu değilse otomatik olarak yerleşik (native) teklif formuna düşer.
Version: 1.0.0
Requires PHP: 8.0
Tested up to: 6.8
Text Domain: beta-sigorta
*/

/* ===========================================================
   BETA SİGORTA — ORTAK STİL DOSYASI
   Tüm sayfa şablonlarında kullanılan ortak class'lar burada.
   =========================================================== */

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  background:oklch(0.985 0.008 95);
  color:oklch(0.3 0.02 260);
}

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

a{text-decoration:none; color:inherit;}

.bs-h1{font-family:'Bricolage Grotesque',sans-serif;}
.bs-body{font-family:'Manrope',sans-serif;}

/* ---------- Kartlar ---------- */
.bs-card{
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 1px 2px oklch(0.22 0.03 260 / 0.04);
  animation:bs-rise .6s ease both;
}
.bs-card:hover{transform:translateY(-4px); box-shadow:0 16px 32px oklch(0.22 0.03 260 / 0.10);}
.bs-card:nth-child(1){animation-delay:.05s;} .bs-card:nth-child(2){animation-delay:.12s;} .bs-card:nth-child(3){animation-delay:.19s;}
.bs-card:nth-child(4){animation-delay:.26s;} .bs-card:nth-child(5){animation-delay:.33s;} .bs-card:nth-child(6){animation-delay:.4s;}

.bs-check{flex-shrink:0; margin-top:2px;}

/* ---------- Butonlar / Linkler ---------- */
.bs-cta-btn{
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
  display:inline-block; cursor:pointer; border:none; font-family:'Manrope',sans-serif;
}
.bs-cta-btn:hover{transform:translateY(-1px); box-shadow:0 8px 20px oklch(0.22 0.03 260 / 0.18);}
.bs-link{color:oklch(0.42 0.18 255); text-decoration:none; font-weight:700; display:inline-block; transition:transform .15s ease;}
.bs-link:hover{transform:translateX(4px);}

/* ---------- Animasyonlar ---------- */
@keyframes bs-rise{from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);}}
@keyframes bs-fade-up{from{opacity:0; transform:translateY(24px);} to{opacity:1; transform:translateY(0);}}
@keyframes bs-float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-16px);}}
@keyframes bs-drop{from{opacity:0; transform:translateY(-10px);} to{opacity:1; transform:translateY(0);}}

.bs-hero-copy{animation:bs-fade-up .7s ease both;}
.bs-hero-copy > *{animation:bs-fade-up .6s ease both;}
.bs-hero-copy > *:nth-child(1){animation-delay:.05s;}
.bs-hero-copy > *:nth-child(2){animation-delay:.13s;}
.bs-hero-copy > *:nth-child(3){animation-delay:.21s;}
.bs-hero-copy > *:nth-child(4){animation-delay:.29s;}
.bs-float-slow{animation:bs-float 7s ease-in-out infinite;}
.bs-float-slower{animation:bs-float 9s ease-in-out infinite; animation-delay:.6s;}

.bs-page-head > *{animation:bs-fade-up .6s ease both;}
.bs-page-head > *:nth-child(1){animation-delay:.05s;}
.bs-page-head > *:nth-child(2){animation-delay:.13s;}
.bs-page-head > *:nth-child(3){animation-delay:.21s;}

.bs-intro > *{animation:bs-fade-up .6s ease both;}
.bs-intro > *:nth-child(1){animation-delay:.05s;}
.bs-intro > *:nth-child(2){animation-delay:.13s;}
.bs-intro > *:nth-child(3){animation-delay:.21s;}
.bs-intro > *:nth-child(4){animation-delay:.29s;}

.bs-form-card{animation:bs-fade-up .7s ease both; animation-delay:.15s;}

/* ---------- Header / Nav ---------- */
.bs-header{animation:bs-drop .5s ease both; position:sticky; top:0; z-index:50;}
.bs-nav-item{transition:color .15s ease; position:relative;}
.bs-nav-item::after{content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:oklch(0.52 0.18 255); transform:scaleX(0); transform-origin:left; transition:transform .2s ease;}
.bs-nav-item:hover::after{transform:scaleX(1);}
.bs-nav-item.is-active::after{transform:scaleX(1);}
.bs-cta{transition:background .15s ease, transform .15s ease, box-shadow .15s ease; box-shadow:0 0 0 0 oklch(0.52 0.18 255 / 0.35);}
.bs-cta:hover{background:oklch(0.44 0.18 255); transform:translateY(-1px); box-shadow:0 6px 18px 0 oklch(0.52 0.18 255 / 0.35);}

.bs-burger{display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:6px;}
.bs-burger span{display:block; width:22px; height:2px; background:oklch(0.3 0.02 260);}

.bs-mobile-nav{display:none; flex-direction:column; gap:2px; background:oklch(0.985 0.008 95); border-bottom:1px solid oklch(0.90 0.01 95); padding:8px 24px 18px 24px;}
.bs-mobile-nav a{padding:12px 0; font-size:15px; font-weight:600; color:oklch(0.32 0.02 260); border-bottom:1px solid oklch(0.93 0.008 95);}
.bs-mobile-nav.is-open{display:flex;}

/* ---------- Form alanları ---------- */
.bs-field{width:100%; padding:14px 16px; border-radius:12px; border:1.5px solid oklch(0.90 0.01 95); background:white; font-family:'Manrope',sans-serif; font-size:14.5px; color:oklch(0.3 0.02 260); outline:none;}
.bs-field:focus{border-color:oklch(0.52 0.17 255);}
.bs-label{font-family:'Manrope',sans-serif; font-size:13.5px; font-weight:700; color:oklch(0.3 0.02 260); display:block; margin-bottom:8px;}
.bs-hint{font-family:'Manrope',sans-serif; font-size:12px; color:oklch(0.55 0.015 260); margin-top:-2px; display:block;}
.bs-step-badge{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:oklch(0.42 0.18 255); color:white; font-size:13px; font-weight:700; flex-shrink:0;}
.bs-form-msg{padding:14px 18px; border-radius:12px; font-size:14px; margin-bottom:18px;}
.bs-form-msg.success{background:oklch(0.94 0.06 150); color:oklch(0.32 0.1 150); border:1px solid oklch(0.8 0.1 150);}
.bs-form-msg.error{background:oklch(0.94 0.06 25); color:oklch(0.4 0.15 25); border:1px solid oklch(0.8 0.12 25);}

/* ---------- Ürün arama kutusu (anasayfa) ---------- */
.bs-search .bs-field{border-radius:999px; box-shadow:0 4px 14px oklch(0.22 0.03 260 / 0.05);}
.bs-search-results{position:absolute; top:calc(100% + 8px); left:0; right:0; background:white; border:1px solid oklch(0.90 0.01 95); border-radius:16px; box-shadow:0 16px 32px oklch(0.22 0.03 260 / 0.10); overflow:hidden; z-index:20;}
.bs-search-result-item{display:block; padding:12px 18px; font-family:'Manrope',sans-serif; font-size:14px; font-weight:600; color:oklch(0.3 0.02 260); border-bottom:1px solid oklch(0.94 0.008 95);}
.bs-search-result-item:last-child{border-bottom:none;}
.bs-search-result-item:hover{background:oklch(0.96 0.02 255);}

.bs-product-panel{display:none;}
.bs-product-panel.is-active{display:block; animation:bs-rise .35s ease both;}

/* ---------- Ürün seçim akordeonu (Teklif Al) ---------- */
.bs-urun-accordion{display:flex; flex-direction:column; gap:10px; margin-bottom:28px;}
.bs-urun-group{border:1.5px solid oklch(0.90 0.01 95); border-radius:14px; overflow:hidden;}
.bs-urun-group-toggle{width:100%; display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:oklch(0.97 0.006 95); border:none; cursor:pointer; font-family:'Manrope',sans-serif; font-size:14.5px; font-weight:700; color:oklch(0.28 0.02 260);}
.bs-urun-group-chevron{transition:transform .2s ease; flex-shrink:0;}
.bs-urun-group.is-open .bs-urun-group-chevron{transform:rotate(180deg);}
.bs-urun-group-panel{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.bs-urun-group.is-open .bs-urun-group-panel{max-height:640px;}
.bs-urun-tabs-grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; padding:14px 18px;}
.bs-urun-tab-btn{display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:12px; border:1.5px solid oklch(0.90 0.01 95); background:white; cursor:pointer; font-family:'Manrope',sans-serif; font-size:13.5px; font-weight:600; color:oklch(0.32 0.02 260); text-align:left; transition:border-color .15s ease, background .15s ease;}
.bs-urun-tab-btn svg{flex-shrink:0; color:oklch(0.42 0.16 255);}
.bs-urun-tab-btn:hover{border-color:oklch(0.7 0.08 255);}
.bs-urun-tab-btn.is-active{border-color:oklch(0.52 0.18 255); background:oklch(0.95 0.02 255);}

.bs-ph{border:1.5px dashed oklch(0.62 0.10 255); background:oklch(0.95 0.02 255 / 0.5); border-radius:14px;}

/* ---------- Yukarı çık butonu ---------- */
.bs-scroll-top{position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%; background:oklch(0.42 0.18 255); color:white; border:none; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 8px 20px oklch(0.22 0.03 260 / 0.25); opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .25s ease, transform .25s ease, background .15s ease; z-index:60;}
.bs-scroll-top.is-visible{opacity:1; transform:translateY(0); pointer-events:auto;}
.bs-scroll-top:hover{background:oklch(0.36 0.18 255);}
@media (max-width:600px){
  .bs-scroll-top{right:16px; bottom:16px; width:42px; height:42px;}
}

img.bs-logo-img{max-width:none;}

/* ---------- Blog: arşiv kartları ---------- */
.bs-blog-grid{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:28px;}
.bs-blog-card{background:white; border:1px solid oklch(0.92 0.008 95); border-radius:20px; overflow:hidden; display:flex; flex-direction:column; padding:0;}
.bs-blog-thumb{display:block; width:100%; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(135deg, oklch(0.72 0.10 255) 0%, oklch(0.52 0.18 255) 100%); cursor:pointer;}
.bs-blog-thumb img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;}
.bs-blog-card:hover .bs-blog-thumb img{transform:scale(1.06);}
.bs-blog-thumb-ph{width:100%; height:100%; display:flex; align-items:center; justify-content:center;}
.bs-blog-cat{display:inline-block; font-family:'Manrope',sans-serif; font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:oklch(0.42 0.18 255); background:oklch(0.93 0.035 255); padding:5px 12px; border-radius:999px; width:fit-content;}
.bs-blog-meta{display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-family:'Manrope',sans-serif; font-size:12.5px; color:oklch(0.55 0.015 260); margin-top:auto; padding-top:6px;}

/* ---------- Blog: sayfalama ---------- */
.bs-pagination{display:flex; flex-wrap:wrap; gap:10px; justify-content:center;}
.bs-pagination .page-numbers{display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 14px; border-radius:999px; border:1.5px solid oklch(0.88 0.01 95); background:white; font-family:'Manrope',sans-serif; font-size:13.5px; font-weight:700; color:oklch(0.4 0.02 260); transition:all .15s ease;}
.bs-pagination .page-numbers:hover{border-color:oklch(0.52 0.18 255); color:oklch(0.42 0.18 255);}
.bs-pagination .page-numbers.current{background:oklch(0.52 0.18 255); border-color:oklch(0.52 0.18 255); color:white;}
.bs-pagination .page-numbers.dots{border-color:transparent; background:transparent;}

/* ---------- Blog: tekil yazı içeriği ---------- */
.bs-post-hero-img{margin:0 64px 56px 64px; border-radius:24px; overflow:hidden; max-height:480px;}
.bs-post-hero-img img{width:100%; height:100%; object-fit:cover; display:block;}
.bs-post-content{font-family:'Manrope',sans-serif; font-size:16px; line-height:1.85; color:oklch(0.32 0.02 260);}
.bs-post-content h2{font-family:'Bricolage Grotesque',sans-serif; font-size:26px; font-weight:700; color:oklch(0.22 0.03 260); margin:40px 0 16px; line-height:1.3;}
.bs-post-content h3{font-family:'Bricolage Grotesque',sans-serif; font-size:21px; font-weight:700; color:oklch(0.22 0.03 260); margin:32px 0 14px; line-height:1.35;}
.bs-post-content p{margin:0 0 20px;}
.bs-post-content ul, .bs-post-content ol{margin:0 0 20px; padding-left:22px;}
.bs-post-content li{margin-bottom:8px;}
.bs-post-content a{color:oklch(0.42 0.18 255); font-weight:700; text-decoration:underline;}
.bs-post-content img{border-radius:16px; margin:24px 0; display:block;}
.bs-post-content blockquote{margin:24px 0; padding:20px 24px; border-left:4px solid oklch(0.52 0.18 255); background:oklch(0.96 0.015 255); border-radius:0 14px 14px 0; font-style:italic; color:oklch(0.35 0.02 260);}
.bs-post-content figure{margin:24px 0;}


/* ===========================================================
   RESPONSIVE — TÜM SAYFALAR
   =========================================================== */
@media (max-width:900px){
  .bs-hero{padding:88px 32px 64px 32px !important;}
  .bs-hero-h1{font-size:40px !important;}
  .bs-section{padding:64px 32px !important;}
  .bs-trust{grid-template-columns:1fr !important;}
  .bs-trust-item{padding:20px 32px !important;}
  .bs-grid3{grid-template-columns:repeat(2, minmax(0,1fr)) !important;}
  .bs-cta-band{margin:0 32px 64px 32px !important; padding:40px 32px !important;}
  .bs-foot-grid{grid-template-columns:repeat(2, minmax(0,1fr)) !important; padding:48px 32px 32px 32px !important; gap:32px !important;}
  .bs-foot-bottom{padding:16px 32px !important; flex-direction:column !important; align-items:flex-start !important; gap:6px !important;}
  .bs-hero2{grid-template-columns:1fr !important; padding:56px 32px 40px 32px !important; gap:28px !important;}
  .bs-ph-wide{margin:0 32px 64px 32px !important;}
  .bs-page-head{padding:56px 32px 16px 32px !important;}
  .bs-grid2{grid-template-columns:1fr !important; padding:40px 32px 64px 32px !important;}
  .bs-quote-layout{grid-template-columns:1fr !important; padding:56px 32px 64px 32px !important; gap:32px !important;}
  .bs-quote-layout > .bs-intro{position:static !important;}
  .bs-form-card{padding:32px !important;}
  .bs-field-row{grid-template-columns:1fr !important; gap:14px !important;}
  .bs-field-row-3{grid-template-columns:1fr !important; gap:14px !important;}
  .bs-blog-grid{grid-template-columns:repeat(2, minmax(0,1fr)) !important; gap:20px !important;}
  .bs-post-hero{padding:72px 32px 32px 32px !important;}
  .bs-post-hero-img{margin:0 32px 40px 32px !important;}
}
@media (max-width:860px){
  .bs-header{padding:12px 28px !important;}
  .bs-navrow{display:none !important;}
  .bs-burger{display:flex !important;}
  .bs-cta{display:none !important;}
}
@media (max-width:600px){
  .bs-hero{padding:72px 20px 48px 20px !important;}
  .bs-hero-h1{font-size:32px !important;}
  .bs-hero-p{font-size:15px !important;}
  .bs-btn-row{flex-direction:column !important; align-items:stretch !important;}
  .bs-btn-row .bs-cta-btn{text-align:center !important;}
  .bs-section{padding:48px 20px !important;}
  .bs-trust-item{padding:18px 20px !important;}
  .bs-grid3{grid-template-columns:1fr !important;}
  .bs-blog-grid{grid-template-columns:1fr !important;}
  .bs-post-hero-img{margin:0 20px 32px 20px !important; max-height:260px !important;}
  .bs-cta-band{flex-direction:column !important; align-items:flex-start !important; margin:0 16px 48px 16px !important; padding:32px 24px !important;}
  .bs-cta-band h2{font-size:22px !important;}
  .bs-cta-band .bs-btn-row{width:100%;}
}
@media (max-width:520px){
  .bs-foot-grid{grid-template-columns:1fr !important; padding:40px 20px 24px 20px !important;}
  .bs-foot-bottom{padding:16px 20px !important;}
  .bs-hero2{padding:48px 20px 32px 20px !important;}
  .bs-hero2 h1{font-size:28px !important;}
  .bs-grid3{padding:32px 20px 24px 20px !important; gap:16px !important;}
  .bs-ph-wide{margin:0 20px 48px 20px !important;}
  .bs-page-head{padding:48px 20px 16px 20px !important;}
  .bs-page-head h1{font-size:28px !important;}
  .bs-grid2{padding:32px 20px 48px 20px !important; gap:16px !important;}
  .bs-quote-layout{padding:48px 20px 48px 20px !important;}
  .bs-form-card{padding:24px !important; border-radius:18px !important;}
  .bs-urun-tabs-grid{grid-template-columns:1fr !important;}
}
@media (max-width:480px){
  .bs-header{padding:10px 16px !important;}
  .bs-logo-img{height:32px !important;}
  .bs-cta{padding:9px 16px !important; font-size:12.5px !important;}
}
