/* css/site.css - Lisan Ajans modern tema (admin panel hariç) */

:root{
  color-scheme: light;
}

html, body{
  height:100%;
}

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

/* Layout */
.app-shell{
  min-height: 100vh;
  display:flex;
  flex-direction: column;
}

.app-main{
  flex:1;
}

.container-narrow{ max-width: 1080px; }

/* Navbar */
.navbar-app{
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85) !important;
  border-bottom: 1px solid var(--border);
}

.navbar-app .navbar-brand{
  display:flex;
  align-items:center;
  gap:.7rem;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.85) 0, rgba(255,255,255,.15) 40%, rgba(255,255,255,0) 70%),
              linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(2, 10, 28, .12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.brand-mark img{
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(2,10,28,.18));
}

.nav-link{
  color: rgba(15,23,42,.86) !important;
  font-weight: 600;
  letter-spacing: .01em;
}
.nav-link.active{
  color: var(--brand) !important;
}

.dropdown-menu{
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Buttons */
.btn-brand{
  --bs-btn-color:#fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: color-mix(in srgb, var(--brand) 90%, #000 10%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand) 90%, #000 10%);
  --bs-btn-focus-shadow-rgb: 2, 90, 136;
  border-radius: 14px;
  font-weight: 700;
}

.btn-ghost{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 14px;
  font-weight: 700;
}

/* Surfaces */
.surface{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(2, 10, 28, .08);
}

.section{
  padding: 36px 0;
}

.section-title{
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle{
  color: var(--muted);
  max-width: 56rem;
}

/* CTA */
.cta{
  padding: 28px;
  border-radius: 26px;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--brand) 14%, #fff) 0, rgba(255,255,255,.85) 55%),
              radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--brand-2) 14%, #fff) 0, rgba(255,255,255,.85) 55%);
  border: 1px solid var(--border);
}
.cta-title{
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cta-subtitle{
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

/* Hero */
.hero{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(1200px 400px at 10% 0%, color-mix(in srgb, var(--brand) 22%, transparent) 0, transparent 60%),
    radial-gradient(900px 380px at 90% 20%, color-mix(in srgb, var(--brand-2) 18%, transparent) 0, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.68));
  border: 1px solid var(--border);
}
.hero-inner{ padding: 36px; }

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  color: rgba(15,23,42,.78);
  font-weight: 700;
  font-size: .9rem;
}

.hero h1{
  font-size: clamp(1.7rem, 3.2vw, 3.0rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: .85rem 0 .75rem;
}

.hero p{
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.hero-media{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
}

/* Cards */
.card-soft{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(2, 10, 28, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-soft:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 65px rgba(2, 10, 28, .12);
}

.card-link{display:block;}
.card-img{width:100%; height: 210px; object-fit: cover; border-top-left-radius: 22px; border-top-right-radius: 22px;}
.card-body{padding: 14px 16px 16px;}
.card-meta{color: var(--muted); font-size:.92rem;}

.card-soft .card-title{
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-soft{
  border-radius: 999px;
  padding: .35rem .65rem;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  color: color-mix(in srgb, var(--brand) 75%, #000);
  font-weight: 700;
}

/* Forms */
.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: .75rem .9rem;
}
.form-control:focus, .form-select:focus{
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--brand) 18%, transparent);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.9);
}
.site-footer .footer-title{ font-weight: 800; }
.site-footer .footer-link{ color: rgba(15,23,42,.82); }
.site-footer .footer-link:hover{ color: var(--brand); }

/* Utilities */
.shadow-soft{ box-shadow: var(--shadow); }
.text-muted-2{ color: var(--muted) !important; }

@media (max-width: 991px){
  .hero-inner{ padding: 22px; }
}

/* Navbar scrolled state */
.navbar-app.navbar-scrolled{
  background: rgba(255,255,255,.95) !important;
  box-shadow: 0 10px 30px rgba(2,10,28,.08);
}

/* Footer */
.footer{
  padding: 42px 0 22px;
  background: rgba(255,255,255,.8);
  border-top: 1px solid var(--border);
}
.footer-title{
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer-links li{ margin-bottom: 8px; }
.footer-links a{ color: rgba(15,23,42,.82); }
.footer-links a:hover{ color: var(--brand); }
.footer-bottom{
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.social-pill{
  display:inline-flex;
  align-items:center;
  gap: .55rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: rgba(15,23,42,.82);
  font-weight: 700;
  font-size: .92rem;
}
.social-pill i{ font-size: 1.1rem; }
.social-pill:hover{ color: var(--brand); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }

/* Portfolio cards (tasarimlar_getir.php output) */
.tasarim-card{
  border: 1px solid var(--border) !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: rgba(255,255,255,.85);
  box-shadow: 0 18px 50px rgba(2,10,28,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tasarim-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 65px rgba(2,10,28,.12);
}
.tasarim-imgbox{ width: 100%; aspect-ratio: 4/3; background: #f2f4f8; overflow:hidden; }
.tasarim-imgbox img{ width:100%; height:100%; object-fit:cover; display:block; }
.tasarim-title{ font-weight: 900; letter-spacing: -0.01em; color: var(--text); }
.tasarim-alt{ color: var(--muted); font-size: .95rem; }

/* Feature icon */
.feature-icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  color: color-mix(in srgb, var(--brand) 80%, #000);
}
.feature-icon i{ font-size: 1.15rem; }

/* Content typography (blog/about) */
.content{ font-size: 1.02rem; line-height: 1.75; color: rgba(15,23,42,.92); }
.content p{ margin-bottom: .9rem; }
.content h2, .content h3, .content h4{ font-weight: 900; letter-spacing:-0.02em; margin: 1.1rem 0 .6rem; }
.content em{ color: rgba(15,23,42,.9); }

/* Breadcrumb */
.breadcrumb.mini{
  display:flex;
  align-items:center;
  gap: .5rem;
  font-size: .92rem;
}


/* Page header blocks */
.page-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin-bottom: 18px;
}
.page-kicker{
  font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color: color-mix(in srgb, var(--text) 55%, var(--brand));
  font-size: .78rem;
}
.page-title{
  font-weight: 900;
  letter-spacing: -.03em;
  margin: .25rem 0 .25rem 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}
.page-desc{ color: var(--muted); max-width: 72ch; margin: 0; }
.page-actions{ display:flex; gap:8px; flex-wrap:wrap; }

/* Small icon pill */
.icon-pill{
  width: 36px; height:36px; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  border: 1px solid var(--border);
  color: var(--brand);
}

.link-strong{ color: var(--text); font-weight: 800; text-decoration:none; }
.link-strong:hover{ color: var(--brand); }

/* Key-value cards */
.kv-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.65);
}
.kv-k{ font-weight: 800; font-size: .9rem; color: var(--muted); }
.kv-v{ font-weight: 800; font-size: 1.05rem; color: var(--text); margin-top: 2px; }

/* KV rows for payment */
.kv-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding: 10px 0; border-bottom: 1px dashed rgba(2,10,28,.12);}
.kv-row:last-child{ border-bottom: 0; }
.kv-row span{ color: var(--muted); font-weight:700; }
.kv-row strong{ color: var(--text); font-weight:900; }

/* Content prose */
.content-prose{ color: rgba(15,23,42,.86); line-height: 1.85; }
.content-prose h1, .content-prose h2, .content-prose h3{ font-weight:900; letter-spacing:-.02em; }
.content-prose img{ max-width:100%; height:auto; }

/* Thumbnails */
a.thumb{ display:block; border-radius: 18px; overflow:hidden; border:1px solid var(--border); background:#fff; box-shadow: 0 10px 30px rgba(2,10,28,.06); }
a.thumb img{ width:100%; height: 160px; object-fit:cover; display:block; }
@media (max-width: 576px){
  a.thumb img{ height: 120px; }
}
.lb-thumb{
  width:100%;
  border:0;
  padding:0;
  background:transparent;
  border-radius: 18px;
  overflow:hidden;
  display:block;
  box-shadow: 0 18px 50px rgba(2,10,28,.10);
  cursor: zoom-in;
}
.lb-thumb img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.lb-thumb.lb-missing{
  min-height:180px;
  border:1px dashed rgba(2,10,28,.18);
  background: rgba(255,255,255,.55);
}
/* Mobile-first Lightbox */
.lbm{
  background: rgba(10,14,20,.96);
  border: 0;
}

.lbm-top{
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 12px 8px;
  display:flex;
  align-items:center;
  gap: 10px;
  background: linear-gradient(to bottom, rgba(10,14,20,.96), rgba(10,14,20,.35));
}

.lbm-caption{
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.2;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lbm-close{
  margin-left:auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 18px;
}

.lbm-body{
  height: calc(100vh - 120px);
  display:flex;
}

.lbm-stage{
  width:100%;
  height:100%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  touch-action: none; /* pinch/pan için */
  cursor: grab;
  position: relative;
}

.lbm-stage:active{ cursor: grabbing; }

#lbImg{
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  user-select:none;
  -webkit-user-drag:none;
  transform-origin: 0 0;
  will-change: transform;
}

/* Bottom controls (thumb-friendly) */
.lbm-bar{
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 10px 12px 14px;
  display:flex;
  align-items:center;
  gap: 10px;
  background: linear-gradient(to top, rgba(10,14,20,.96), rgba(10,14,20,.35));
}

.lbm-btn{
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
}

.lbm-reset{
  font-size: 13px;
  padding: 0 14px;
}

.lbm-range{
  flex:1;
}

/* Thumbs */
.lb-thumb{
  width:100%;
  border:0;
  padding:0;
  background:transparent;
  border-radius: 18px;
  overflow:hidden;
  display:block;
  box-shadow: 0 18px 50px rgba(2,10,28,.10);
  cursor: zoom-in;
}
.lb-thumb img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
@media (max-width: 576px){
  .lb-thumb img{ height: 150px; }
}

