/* ===========================
   bildir365 • Theme CSS (final)
   Colors: white/black/#ff751f
   =========================== */

:root{
  /* Palette */
  --brand:#ff751f;        /* orange (logo rengi) */
  --brand-dark:#e85e0d;   /* hover/active tonu */
  --brand-light:#ff944d;  /* opsiyonel açık ton */
  --brand-ink:#ffffff;    /* text on brand */
  --ink:#000000;          /* body text */
  --bg:#ffffff;           /* page bg */
  --muted:#6c757d;        /* secondary text */
  --border:#e6e6e6;       /* borders */
  --accent:#111111;       /* deep black accents */

  /* Effects */
  --radius-lg:1.25rem;
  --radius:1rem;
  --radius-sm:.5rem;

  --shadow-1:0 6px 20px rgba(0,0,0,.06);
  --shadow-2:0 12px 30px rgba(0,0,0,.08);

  /* Motion */
  --duration: .7s;
  --ease: cubic-bezier(.2,.6,.2,1);

  /* Focus ring */
  --focus: 0 0 0 3px rgba(255,117,31,.35);
}

html,body{
  background:var(--bg);
  color:var(--ink);
}

img,svg{ max-width:100%; height:auto; }

/* Links */
a{ color:var(--ink); text-decoration:none; transition:color .2s var(--ease); }
a:hover{ color:#333; }

/* Typography helpers */
.text-secondary{ color:var(--muted) !important; }
.text-balance{ text-wrap:balance; }
.lead{ color:var(--muted); }

/* ===========================
   Buttons (Bootstrap override)
   =========================== */
.btn{
  border-radius: var(--radius-sm);
  transition: transform .06s ease, box-shadow .2s var(--ease), filter .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active{ transform: translateY(1px); }

/* Primary */
.btn-primary{
  background:var(--brand) !important;
  border-color:var(--brand) !important;
  color:var(--brand-ink) !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus{
  background:var(--brand-dark) !important;
  border-color:var(--brand-dark) !important;
  color:var(--brand-ink) !important;
  box-shadow: none !important;
}

/* Outline Primary */
.btn-outline-primary{
  border-color:var(--brand) !important;
  color:var(--ink) !important;
  background:transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus{
  background:var(--brand) !important;
  border-color:var(--brand) !important;
  color:var(--brand-ink) !important;
  box-shadow: none !important;
}

/* Remove Bootstrap's default blue focus shadow on buttons */
.btn:focus-visible{
  outline:none !important;
  box-shadow: var(--focus) !important;
}

/* ===========================
   Navbar
   =========================== */
.navbar{
  background:#fff;
  border-color:var(--border) !important;
}
.nav-link{
  color:#000 !important;
  transition: color .2s var(--ease);
}
.nav-link.active,
.nav-link:hover,
.navbar .nav-link:focus{
  color:var(--brand) !important;
}
.sticky-nav{ position:sticky; top:0; z-index:1030; backdrop-filter:saturate(180%) blur(8px); }

/* Toggle icon visible on light bg */
.navbar-toggler{ border-color:var(--border); }
.navbar-toggler:focus{ box-shadow: var(--focus); }

/* ===========================
   Cards / tables / inputs
   =========================== */
.card, .border, .table, .form-control, .form-select{
  border-color: var(--border) !important;
}
.card{ border-radius: var(--radius); box-shadow: var(--shadow-1); }
.form-control:focus, .form-select:focus{
  border-color:var(--brand) !important;
  box-shadow: var(--focus) !important;
  outline:none !important;
}

/* ===========================
   HERO
   =========================== */
.hero{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:3rem 2rem;
  box-shadow: var(--shadow-1);
}
.hero-bubble{
  position:absolute; border-radius:999px; opacity:.12; filter:blur(28px);
  animation: float 12s ease-in-out infinite;
}
.hero-bubble.b1{ width:240px; height:240px; left:-40px; top:-40px; background:var(--brand); }
.hero-bubble.b2{ width:180px; height:180px; right:-30px; bottom:-30px; background:#000; animation-duration:15s; }

@keyframes float{
  0%,100%{ transform:translateY(0) }
  50%{ transform:translateY(-12px) }
}

/* Reveal on scroll (match your app.js) */
[data-animate]{ opacity:0; transform:translateY(14px); transition: all var(--duration) var(--ease); }
[data-animate].animate{ opacity:1; transform:translateY(0); }

/* Optional stagger utility */
.stagger > *{ transition-delay: .05s; }
.stagger > *:nth-child(1){ transition-delay:.05s }
.stagger > *:nth-child(2){ transition-delay:.10s }
.stagger > *:nth-child(3){ transition-delay:.15s }
.stagger > *:nth-child(4){ transition-delay:.20s }
.stagger > *:nth-child(5){ transition-delay:.25s }

/* ===========================
   Feature cards
   =========================== */
.feature{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.25rem;
  height:100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.feature .icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--brand); /* tam turuncu */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* ikon rengi beyaz */
  font-size: 1.6rem;
  margin: 0 auto 0.75rem;
  transition: all .25s ease;
}

.feature:hover .icon {
  background: var(--brand-dark); /* hoverda daha koyu turuncu */
}

/* ===========================
   Stats
   =========================== */
.stat{
  border-radius:var(--radius);
  background:#fff;
  border:1px solid var(--border);
  padding:1.25rem; text-align:center;
  transition: box-shadow .2s var(--ease);
}
.stat .num{ font-size:2.25rem; font-weight:700; line-height:1; }
.stat:hover{ box-shadow: var(--shadow-1); }

/* ===========================
   Badges / Strips
   =========================== */
.badge-konsol{
  background:#000; color:#fff;
  border-radius:.5rem; padding:.25rem .5rem; font-size:.75rem;
}
.logo-strip img{ filter: grayscale(100%); opacity:.8; transition:.2s; }
.logo-strip img:hover{ filter:none; opacity:1; }

/* ===========================
   CTA gradient
   =========================== */
.gradient-card{
  background: linear-gradient(135deg,#000 0%, #333 100%);
  color:#fff; border-radius:var(--radius);
  box-shadow: var(--shadow-1);
}
.gradient-card .btn{
  border-color: rgba(255,255,255,.65) !important;
  color:#fff !important;
  background: transparent !important;
}
.gradient-card .btn:hover{
  background:#fff !important; color:#000 !important; border-color:#fff !important;
}

/* ===========================
   Footer
   =========================== */
.footer{ background:#fff; }

/* ===========================
   Utilities
   =========================== */
.rounded-2xl{ border-radius: var(--radius-lg) !important; }
.shadow-soft{ box-shadow: var(--shadow-1) !important; }
.shadow-up:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2) !important; }
.border-muted{ border-color: var(--border) !important; }
.max-w-680{ max-width:680px; }
.gap-6{ gap:1.5rem; }
.opacity-75{ opacity:.75; }

/* ===========================
   Accessibility
   =========================== */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible{
  outline:none !important;
  box-shadow: var(--focus) !important;
}

/* Reduce default blue outline on links inside navbar/buttons */
.navbar a:focus,
.navbar a:active{
  box-shadow:none !important;
}

/* ===========================
   Reduced motion
   =========================== */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition:none !important; scroll-behavior:auto !important; }
  .hero-bubble{ display:none; }
}

/* ===========================
   Responsive tweaks
   =========================== */
@media (max-width: 991.98px){
  .hero{ padding:2rem 1.25rem; }
}
@media (max-width: 575.98px){
  .stat .num{ font-size:1.9rem; }
  .feature{ padding:1rem; }
}

.features-list {
  width: 100%;
}
.features-list li {
  flex: 1;
  text-align: center;
  min-width: 0;
}
/* Mobilde CSV yazısını daha uyumlu yap */
.features-list li.text-nowrap {
  white-space: normal !important;
  line-height: 1.2;
}

.stats-row .stat-box {
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stats-row .num {
  font-size: 1.5rem;
  font-weight: bold;
}
/* Butonu webde ortala */
@media (min-width: 992px) {
  .btn-primary.btn-lg {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}



  .pricing-wrap{ max-width:1100px; margin-inline:auto; }
  .pricing-card{
    display:flex; flex-direction:column; height:100%;
    border-radius:1rem; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .pricing-card:hover{ transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.08); }
  .price{ font-size:2.4rem; font-weight:700; line-height:1; }
  .save-note{ color:#6c757d; font-size:.85rem; min-height:1.2em; }

  /* Draggable switch */
  .switch-wrap{ display:flex; align-items:center; gap:.6rem; }
  .switch-label{ font-size:.85rem; color:#6c757d; user-select:none; }
  .drag-switch{
    --h: 34px; --w: 88px; --pad:4px;
    position:relative; width:var(--w); height:var(--h); border-radius:999px;
    background:#f5f5f5; border:1px solid var(--border); cursor:pointer; user-select:none;
  }
  .drag-switch .track{
    position:absolute; inset:0; border-radius:999px; overflow:hidden;
    background:linear-gradient(90deg, #fff 0%, #fff8e1 100%);
  }
.drag-switch .knob{
  position:absolute; 
  top:var(--pad); 
  left:var(--pad);
  width:calc(var(--h) - var(--pad)*2); 
  height:calc(var(--h) - var(--pad)*2);
  border-radius:999px; 
  background:#000; 
  transition:left .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}

/* Yıllık modda turuncu knob */
.drag-switch[data-mode="yearly"] .knob{ 
  left: calc(var(--w) - var(--h) + var(--pad)); 
  background:#ff751f; 
}


  /* Önerilen şerit */
  .ribbon{
    position:absolute; top:75px; right:5px;
    background:#fff8e1; color:#000; border:1px solid var(--border);
    padding:.3rem .6rem; border-radius:.7rem; font-size:.85rem;
  }

  /* Modal (modern görünüm) */
  .modal-content{
    border:1px solid var(--border); border-radius:1rem;
    box-shadow:0 24px 60px rgba(0,0,0,.18);
  }
  .modal-header{ border-bottom:1px solid var(--border); }
  .modal-footer{ border-top:1px solid var(--border); }
  .form-control:focus, .form-select:focus{ border-color:#ffc107; box-shadow:0 0 0 3px rgba(255,193,7,.35); 
      
  }
  
  
  
  /* Sector Cards */
.sector-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1.5rem 1.25rem;
  text-align:center;
  transition: all .25s var(--ease);
}
.sector-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

/* Icon styling */
.sector-icon {
  width:3rem; height:3rem;
  border-radius:50%;
  background: var(--brand-light);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin:0 auto 0.75rem;
  transition: all .25s var(--ease);
}
.sector-card:hover .sector-icon {
  background: var(--brand);
}
/* Yorumlar sürekli akan yapı */
.yorumlar-wrapper {
  overflow: hidden;
  position: relative;
}
.yorumlar-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-left 35s linear infinite;
  width: max-content;
}
.yorum-kart {
  flex: 0 0 auto;
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
  transition: transform .2s;
}
.yorum-kart:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-2);
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* içerik uzunluğuna göre ayarla */
}

/* Özel turuncu alert kutusu */
.alert-orange {
  background: #fff3eb;
  border: 1px solid #ff751f;
  color: #000;
}
/* Turuncu buton */
.btn-orange {
  background: #ff751f;
  border: none;
  border-radius: .6rem;
  color: #fff;
  transition: background .2s, transform .2s;
}
.btn-orange:hover {
  background: #e56613; /* koyu turuncu hover */
  transform: translateY(-1px);
}

/* Modal görünümü */
.buy-modal {
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border: 1px solid #eee;
}

/* Turuncu başlık rengi */
.text-orange {
  color: #ff751f !important;
}

/* Form odak turuncu */
.buy-modal .form-control:focus {
  border-color: #ff751f;
  box-shadow: 0 0 0 3px rgba(255,117,31,.35);
}
.modal-footer .btn {
  margin: 0 auto; /* Ortalar */
  display: block;
}
