/* =========================================================
   Halis Sarıca Reklam Ajansı - Core Stylesheet
   ========================================================= */

:root {
  --brand-1: #2563eb;
  --brand-2: #1d4ed8;
  --brand-dark: #0a1f44;
  --brand-darker: #06142e;
  --accent: #38bdf8;
  --text: #0f172a;
  --text-muted: #475569;
  --bg-soft: #f5f7fb;
  --bg-grad: linear-gradient(135deg, #0a1f44 0%, #1d4ed8 55%, #2563eb 100%);
  --bg-grad-soft: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --border: #e2e8f0;
  --success: #10b981;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --container-pad: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

a { color: var(--brand-1); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }

p { color: var(--text-muted); }

.lead { color: var(--text-muted); font-size: 1.125rem; }

::selection { background: var(--brand-1); color: #fff; }

/* ----- Topbar ----- */
.topbar {
  background: var(--brand-darker);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: 6px; color: var(--accent); }

/* ----- Navbar ----- */
.main-navbar {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(15,23,42,.04);
  position: sticky; top: 0; z-index: 1050;
  transition: box-shadow .3s ease, padding .3s ease;
}
.main-navbar.scrolled { padding: 10px 0; box-shadow: 0 6px 24px rgba(15,23,42,.08); }

.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; display: inline-block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--brand-dark); }
.brand-text strong { font-size: 1.15rem; font-weight: 800; }
.brand-text small { font-size: .72rem; color: var(--text-muted); font-weight: 500; letter-spacing: .3px; }

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem !important;
  position: relative;
  transition: color .2s ease;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--brand-1);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brand-1) !important; }
.navbar-nav .nav-link.active::after { width: 26px; }

.navbar-toggler { border: none; padding: 8px; display: flex; flex-direction: column; gap: 5px; background: transparent; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { width: 24px; height: 2px; background: var(--brand-dark); border-radius: 4px; transition: all .3s; }

.btn-primary-grad {
  background: var(--bg-grad);
  color: #fff !important;
  border: none;
  padding: .7rem 1.4rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary-grad:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 99, 235, .45); color: #fff !important; }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: clamp(70px, 9vw, 140px) 0 clamp(80px, 10vw, 160px);
  background: var(--bg-grad);
  color: #fff;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, .25), transparent 70%);
  pointer-events: none;
}
.hero::before { width: 520px; height: 520px; top: -160px; right: -120px; }
.hero::after { width: 420px; height: 420px; bottom: -140px; left: -100px; background: radial-gradient(circle at center, rgba(255,255,255,.12), transparent 70%); }

.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 13px; color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin: 18px 0; }
.hero h1 .hl { background: linear-gradient(120deg, #38bdf8, #bae6fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.8); max-width: 620px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-buttons .btn-light { border-radius: 999px; padding: .8rem 1.5rem; font-weight: 600; }
.hero-buttons .btn-outline-light { border-radius: 999px; padding: .8rem 1.5rem; font-weight: 600; border-width: 2px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; max-width: 520px; }
.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
}
.hero-stat .stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .stat-label { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1500px;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 40px 80px rgba(0,0,0,.25);
  color: var(--text);
  transform: rotateY(-8deg) rotateX(4deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}
.hero-card .hc-header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 18px; }
.hero-card .hc-title { font-size: .9rem; color: var(--text-muted); }
.hero-card .hc-badge { background: #eff6ff; color: var(--brand-1); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.hero-card .hc-metric { display: flex; align-items: baseline; gap: 8px; }
.hero-card .hc-metric .val { font-size: 2rem; font-weight: 800; color: var(--brand-dark); }
.hero-card .hc-metric .up { color: var(--success); font-weight: 600; font-size: .9rem; }
.hero-card .hc-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: 14px; }
.hero-card .hc-bar { flex: 1; background: linear-gradient(180deg, var(--brand-1), var(--accent)); border-radius: 6px 6px 0 0; transition: height .3s ease; }
.hero-card .hc-legend { display:flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 10px; }

/* ----- Sections ----- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-light { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  background: var(--bg-grad-soft);
  color: var(--brand-1);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* ----- Service Cards ----- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bg-grad);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link { color: #fff; }
.service-card:hover .service-icon { background: rgba(255,255,255,.2); color: #fff; }

.service-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-grad-soft);
  color: var(--brand-1);
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all .3s ease;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; transition: color .3s; }
.service-card p { font-size: .95rem; transition: color .3s; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9rem;
  color: var(--brand-1);
  margin-top: 12px;
  transition: color .3s;
}

/* ----- Feature rows ----- */
.feature-item {
  display: flex; gap: 20px; margin-bottom: 28px;
}
.feature-item .fi-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 14px; background: var(--bg-grad-soft);
  color: var(--brand-1); font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-item p { font-size: .95rem; margin-bottom: 0; }

/* ----- Process Steps ----- */
.process-wrap { position: relative; }
.process-line { position: absolute; top: 42px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, #cbd5e1, transparent); z-index: 0; }
.process-step {
  position: relative; z-index: 1; text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--border);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-grad);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(37,99,235,.3);
}

/* ----- Stats band ----- */
.stats-band {
  background: var(--bg-grad);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stat-box { text-align: center; }
.stat-box .val { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.stat-box .val .plus { color: var(--accent); }
.stat-box .lbl { margin-top: 10px; color: rgba(255,255,255,.8); font-size: .95rem; }

/* ----- Platform cards ----- */
.platform-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.platform-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.platform-chip:hover { border-color: var(--brand-1); box-shadow: var(--shadow-sm); }
.platform-chip i { font-size: 1.6rem; color: var(--brand-1); }
.platform-chip .p-name { font-weight: 600; color: var(--brand-dark); }
.platform-chip .p-desc { font-size: 12px; color: var(--text-muted); }

/* ----- Page header ----- */
.page-header {
  background: var(--bg-grad);
  color: #fff;
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(56,189,248,.2), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); background: transparent; padding: 0; margin-bottom: 12px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.8); }
.page-header .breadcrumb .active { color: #fff; }

/* ----- Accordion / FAQ ----- */
.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 600;
  color: var(--brand-dark);
  padding: 20px 24px;
  background: #fff !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--brand-1); background: #eff6ff !important; }
.accordion-body { color: var(--text-muted); padding: 0 24px 20px; }

/* ----- Contact card ----- */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ci-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg-grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.contact-card h4 { font-size: 1.1rem; }
.contact-card p { margin-bottom: 0; }

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-label { font-weight: 500; color: var(--brand-dark); font-size: .9rem; }

/* ----- CTA strip ----- */
.cta-strip { padding: 60px 0 0; }
.cta-box {
  background: var(--bg-grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.cta-box::before,
.cta-box::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.cta-box::before { width: 260px; height: 260px; top: -100px; right: -80px; }
.cta-box::after  { width: 180px; height: 180px; bottom: -70px; left: -40px; }
.cta-box h2 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,.85); }

/* ----- Footer ----- */
.site-footer {
  background: var(--brand-darker);
  color: rgba(255,255,255,.75);
  padding: 80px 0 30px;
  margin-top: 60px;
}
.footer-brand { display:flex; align-items:center; gap:12px; color:#fff; font-size: 1.2rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand:hover { color: #fff; }
.footer-desc { font-size: .92rem; line-height: 1.7; }
.footer-legal { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.7; }

.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .92rem; transition: color .2s, padding .2s; display: inline-block; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: .92rem; }
.footer-contact i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover { background: var(--brand-1); color: #fff; transform: translateY(-2px); }

.footer-divider { border-color: rgba(255,255,255,.1); margin: 50px 0 22px; }
.copyright, .meta-disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ----- Cookie banner ----- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  z-index: 2000;
  max-width: 1140px; margin: 0 auto;
  background: var(--brand-darker);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
  transform: translateY(150%);
  transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner[hidden] { display: block !important; }
.cookie-inner { padding: 22px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-icon { font-size: 1.8rem; color: var(--accent); }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text h6 { color: #fff; margin-bottom: 4px; font-size: 1rem; }
.cookie-text p { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----- Floating actions ----- */
.float-action {
  position: fixed; right: 20px; z-index: 1040;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; border: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, opacity .2s ease;
}
.float-action:hover { transform: translateY(-3px); color: #fff; }
.float-action.whatsapp { bottom: 84px; background: #25d366; }
.float-action.back-to-top { bottom: 20px; background: var(--brand-1); opacity: 0; pointer-events: none; }
.float-action.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ----- Utility ----- */
.bg-soft { background: var(--bg-soft); }
.border-soft { border: 1px solid var(--border); }
.shadow-soft { box-shadow: var(--shadow-sm); }

.list-check { list-style: none; padding-left: 0; }
.list-check li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  color: var(--text-muted);
}
.list-check li::before {
  content: '\F26A'; /* bi check-circle-fill */
  font-family: 'bootstrap-icons';
  position: absolute; left: 0; top: 1px;
  color: var(--success);
  font-weight: 600;
}

/* ----- Responsive tweaks ----- */
@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    margin-top: 14px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-cta { margin-top: 14px; }
  .nav-cta .btn { width: 100%; justify-content: center; display: inline-flex; }
  .hero-visual { margin-top: 50px; }
  .hero-stats { max-width: 100%; }
  .process-line { display: none; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 32px 24px; }
  .page-header { padding: 90px 0 50px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
