/* =============================================
   SpaSoft Tanıtım Sitesi — Ana Stil
   ============================================= */

:root {
  --primary:    #0e6b8f;
  --primary-dk: #094d67;
  --accent:     #f0a500;
  --accent-lt:  #ffc740;
  --dark:       #0f1923;
  --body-bg:    #f8fafc;
  --text-muted: #6c757d;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(14,107,143,.10);
  --shadow-lg:  0 8px 40px rgba(14,107,143,.16);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--body-bg);
  color: #1e293b;
  line-height: 1.7;
}

/* ---- Utilities ---- */
.text-accent   { color: var(--accent) !important; }
.bg-primary-dk { background: var(--primary-dk); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.btn-accent:hover { background: var(--accent-lt); border-color: var(--accent-lt); color: #fff; transform: translateY(-1px); }

.btn-primary-custom {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.btn-primary-custom:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #fff; transform: translateY(-1px); }

/* ---- Logo ---- */
/* Navbar brand alanına beyaz arka plan — logonun kendi renkleri korunur */
#mainNav .navbar-brand {
  background: rgba(255,255,255,.95);
  border-radius: 8px;
  padding: 4px 10px !important;
  transition: background .2s;
}
#mainNav .navbar-brand:hover { background: #fff; }

.navbar-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  display: block;
  transition: opacity .2s;
}
.navbar-logo:hover { opacity: .9; }

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none;
  margin-bottom: .5rem;
  display: block;
  /* Footer koyu arka plan için beyaz kutu */
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  padding: 6px 12px;
}

/* Referans logoları */
.ref-logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s;
}
.ref-logo-wrap:hover { filter: grayscale(0) opacity(1); }
.ref-logo-wrap img { max-height: 52px; max-width: 160px; object-fit: contain; }

/* ---- Navbar ---- */
#mainNav {
  background: var(--dark);
  padding: .85rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: background .3s;
}
#mainNav.scrolled { background: rgba(15,25,35,.97); }
#mainNav .nav-link { color: rgba(255,255,255,.82); font-weight: 500; padding: .4rem .75rem; border-radius: 6px; transition: color .2s, background .2s; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dk) 60%, var(--primary) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 540px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(240,165,0,.15);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--accent-lt);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-cta-group { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-mockup {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.stat-item { text-align: center; padding: .5rem 1rem; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label  { font-size: .82rem; color: var(--text-muted); margin-top: .2rem; }

/* ---- Section Titles ---- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: .5rem auto 0; }
.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ---- Feature Cards ---- */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(14,107,143,.12), rgba(14,107,143,.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.feature-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---- How It Works ---- */
.step-number {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

/* ---- Pricing Cards ---- */
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: box-shadow .25s, border-color .25s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem 1rem;
  border-radius: 999px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--dark); line-height: 1; }
.price-period { font-size: .9rem; color: var(--text-muted); }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.pricing-features li { padding: .4rem 0; font-size: .9rem; display: flex; align-items: flex-start; gap: .6rem; }
.pricing-features li .fa-check { color: #22c55e; margin-top: .2rem; flex-shrink: 0; }
.pricing-features li .fa-times  { color: #94a3b8; margin-top: .2rem; flex-shrink: 0; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.stars { color: var(--accent); font-size: .9rem; }

/* ---- Blog Cards ---- */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: .5rem; }
.blog-card-excerpt { font-size: .88rem; color: var(--text-muted); flex: 1; }
.blog-card-meta { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; }
.blog-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 3rem;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---- FAQ ---- */
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { color: var(--primary); background: rgba(14,107,143,.05); }

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}
.footer-heading { color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-links { }
.footer-links li, .footer-links a { color: #94a3b8; text-decoration: none; font-size: .9rem; line-height: 2; transition: color .2s; }
.footer-links a:hover { color: var(--accent-lt); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1.5rem; }
.footer-brand { color: #fff; }

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary-dk));
  padding: 60px 0 50px;
  color: #fff;
}
.page-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---- Contact Form ---- */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .9rem; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(14,107,143,.15); }

/* ---- Blog Post ---- */
.post-content { font-size: 1.05rem; line-height: 1.9; }
.post-content h2 { font-weight: 700; margin-top: 2rem; font-size: 1.5rem; }
.post-content h3 { font-weight: 600; margin-top: 1.5rem; font-size: 1.2rem; }
.post-content p  { margin-bottom: 1.25rem; }

/* ---- Info Box ---- */
.info-box {
  background: rgba(14,107,143,.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { padding: 70px 0 60px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .stats-bar .stat-item { padding: .5rem; }
  .stat-number { font-size: 1.6rem; }
}

/* Navbar scroll effect via JS */
