/* =====================================================================
   KURUMSAL SAAS - ORTAK SİTE STİLLERİ
   Temalar /themes/{kod}/theme.css içinde bu değişkenleri ve
   bileşenleri ezer. Renkler master sayfada :root'a basılır.
   ===================================================================== */
:root {
  --primary: #0f4c81;
  --secondary: #f2a900;
  --dark: #0f172a;
  --light: #f5f7fa;
  --text: #1f2933;
  --muted: #6b7785;
  --border: #e6e9ee;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --topbar-h: 40px;
  --header-h: 84px;
  --section-y: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
}

/* ---------- Temel ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4, h5, .display-1 { font-family: var(--font-head); font-weight: 700; color: var(--dark); line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }
img, video { max-width: 100%; }
::selection { background: var(--primary); color: #fff; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 9999; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { inset-inline-start: 8px; }
.container.narrow { max-width: 860px; }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); display: inline-block; }

/* Bootstrap butonlarını tema rengine bağla */
.btn { border-radius: var(--radius-sm); font-weight: 600; padding: .65rem 1.3rem; transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: .45rem; justify-content: center; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem .8rem; }
.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--dark); --bs-btn-hover-border-color: var(--dark);
  --bs-btn-active-bg: var(--dark); --bs-btn-active-border-color: var(--dark); --bs-btn-disabled-bg: var(--primary); --bs-btn-disabled-border-color: var(--primary); }
.btn-secondary { --bs-btn-bg: var(--secondary); --bs-btn-border-color: var(--secondary); --bs-btn-color: var(--dark); --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--dark); --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--dark); }
.btn-outline-primary { --bs-btn-color: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary); --bs-btn-hover-border-color: var(--primary);
  --bs-btn-active-bg: var(--primary); --bs-btn-active-border-color: var(--primary); }
.btn:hover { transform: translateY(-2px); }
.form-control, .form-select { border-radius: var(--radius-sm); padding: .75rem 1rem; border-color: var(--border); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--primary) 18%, transparent); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* Görsel yer tutucu (görsel yüklenmemişse) */
.img-ph { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 88%, #fff), color-mix(in srgb, var(--primary) 55%, var(--dark))); }
.img-ph span { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: rgba(255,255,255,.55); letter-spacing: .05em; }
.rounded-img, .about-media img, .about-media .img-ph, .detail-media img { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* ---------- Üst bar ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.8); font-size: .82rem; min-height: var(--topbar-h); display: flex; align-items: center; position: relative; z-index: 1031; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--secondary); }
.topbar-contact { gap: 1.2rem; }
.topbar-note { color: var(--secondary); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .socials a { width: 26px; height: 26px; font-size: .95rem; background: transparent; }
.lang-switch .btn-link { color: rgba(255,255,255,.9); font-size: .82rem; text-decoration: none; padding: .2rem .4rem; }
.lang-switch .dropdown-menu { font-size: .9rem; min-width: 170px; border-radius: 10px; box-shadow: var(--shadow); border: 0; }
.lang-switch .dropdown-item.active { background: var(--primary); }
.flag { font-size: 1.05em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: background .3s, box-shadow .3s, transform .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.08); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand .logo { max-height: 54px; width: auto; }
.brand .logo-light { display: none; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--dark); letter-spacing: -.01em; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: .3rem; padding: .7rem .85rem; font-weight: 600; font-size: .95rem; color: var(--dark); border-radius: 8px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; inset-inline: .85rem; bottom: .35rem; height: 2px; background: var(--secondary); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.main-nav .caret { font-size: .8rem; transition: transform .25s; }
.main-nav li:hover > a .caret { transform: rotate(180deg); }
.main-nav .sub { position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px; list-style: none; padding: .6rem; margin: 0; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 10; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--text); font-size: .93rem; }
.main-nav .sub a:hover { background: var(--light); color: var(--primary); padding-inline-start: 1.05rem; }
.main-nav .sub-2 { top: 0; inset-inline-start: 100%; }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.main-nav + .header-actions { margin-inline-start: .5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--dark); display: inline-flex; align-items: center;
  justify-content: center; font-size: 1.35rem; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--light); color: var(--primary); }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--secondary);
  color: var(--dark); font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.btn-call { white-space: nowrap; }
@media (max-width: 991.98px) {
  .header-actions { margin-inline-start: auto; }
  :root { --header-h: 70px; }
  .brand .logo { max-height: 44px; }
}

/* Ortalanmış logo (centered) */
.header-centered .header-inner { flex-wrap: wrap; justify-content: center; position: relative; }
@media (min-width: 992px) {
  .header-centered .brand { width: 100%; justify-content: center; padding-top: 1rem; }
  .header-centered .brand .logo { max-height: 70px; }
  .header-centered .main-nav { margin: 0 auto; width: 100%; border-top: 1px solid var(--border); }
  .header-centered .main-nav > ul { justify-content: center; }
  .header-centered .header-actions { position: absolute; inset-inline-end: 12px; top: 1.4rem; }
  .header-centered .site-header.scrolled .brand { display: none; }
  .header-centered .site-header.scrolled .main-nav { border-top: 0; }
  .header-centered .site-header.scrolled .header-actions { top: 50%; transform: translateY(-50%); }
}

/* Şeffaf menü (overlay) */
@media (min-width: 992px) {
  .header-overlay .topbar { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 1px solid rgba(255,255,255,.12); }
  .header-overlay .site-header { position: absolute; top: var(--topbar-h); left: 0; right: 0; background: transparent; }
  .header-overlay .site-header:not(.scrolled) .main-nav > ul > li > a,
  .header-overlay .site-header:not(.scrolled) .icon-btn,
  .header-overlay .site-header:not(.scrolled) .brand-text { color: #fff; }
  .header-overlay .site-header:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,.12); }
  .header-overlay .site-header:not(.scrolled) .logo-dark { display: none; }
  .header-overlay .site-header:not(.scrolled) .logo-light { display: block; }
  .header-overlay .site-header.scrolled { position: fixed; top: 0; background: #fff; animation: slideDown .45s var(--ease); }
  .header-overlay .page-banner { padding-top: calc(var(--topbar-h) + var(--header-h) + 60px); }
}
@media (max-width: 991.98px) {
  .header-overlay .site-header { position: sticky; }
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Mobil menü ---------- */
.mobile-menu { width: min(360px, 88vw) !important; }
.mobile-menu .logo { max-height: 42px; }
.m-nav { list-style: none; padding: 0; margin: 0; }
.m-nav > li { border-bottom: 1px solid var(--border); }
.m-nav a, .m-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: .95rem .2rem; font-weight: 600;
  color: var(--dark); background: none; border: 0; font-size: 1.02rem; text-align: start; }
.m-toggle i { transition: transform .25s; }
.m-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.m-sub { list-style: none; padding: 0 0 .6rem; margin: 0; }
.m-sub a { padding: .55rem 1rem; font-weight: 500; font-size: .95rem; color: var(--muted); }
.m-contact { margin-top: 1.5rem; display: grid; gap: .6rem; }
.m-contact a { color: var(--text); }

/* ---------- Arama ---------- */
.search-box { flex-direction: row; align-items: center; gap: .6rem; padding: .7rem; border-radius: 18px; border: 0; }
.search-box > i { font-size: 1.4rem; color: var(--muted); padding-inline-start: .6rem; }
.search-box .form-control { border: 0; font-size: 1.15rem; box-shadow: none; }
.search-inline { display: flex; gap: .5rem; }
.search-results { display: grid; gap: 1rem; }
.search-item { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all .25s; }
.search-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.search-item picture, .search-item .img-ph, .search-thumb { width: 110px; min-width: 110px; height: 84px; min-height: 84px; object-fit: cover; border-radius: 10px; }
.search-item picture img { width: 110px; height: 84px; object-fit: cover; border-radius: 10px; }
.search-item h3 { font-size: 1.1rem; margin: .2rem 0; }
.search-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.search-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--secondary); font-weight: 700; }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero-swiper, .hero > .hero-slide { height: min(100svh, 980px); min-height: 560px; }
.hero-tall .hero-swiper, .hero-tall .hero > .hero-slide { height: 78vh; min-height: 520px; }
.hero-boxed .hero { background: transparent; padding: 1.25rem 0 0; }
.hero-boxed .hero-swiper, .hero-boxed .hero > .hero-slide { height: 70vh; min-height: 480px; max-width: 1320px; margin: 0 auto; border-radius: calc(var(--radius) * 1.6); }
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img, .hero-media video, .hero-media .img-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media .hero-yt { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.08) 100%); }
[dir="rtl"] .hero-overlay { background: linear-gradient(-90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.08) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 1320px; }
.hero-content > * { max-width: 720px; }
.hero-content .eyebrow { color: var(--secondary); }
.hero-title { color: #fff; font-size: clamp(2.1rem, 5.2vw, 4.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; text-wrap: balance; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.3rem); opacity: .92; margin-bottom: 2rem; }
.hero-slide .hero-content > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero > .hero-slide .hero-content > *, .swiper-slide-active .hero-content > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero-content > *:nth-child(4) { transition-delay: .45s; }
.swiper-slide-active .hero-media picture img, .swiper-slide-active .hero-media .img-ph { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 2px; background: #fff; opacity: .45; transition: all .3s; }
.hero .swiper-pagination-bullet-active { opacity: 1; background: var(--secondary); width: 46px; }
.hero .swiper-button-prev, .hero .swiper-button-next { color: #fff; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.hero .swiper-button-prev::after, .hero .swiper-button-next::after { font-size: 1.1rem; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: #fff; font-size: 1.6rem; animation: bob 2s infinite; }
.hero-boxed .hero-scroll { display: none; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 767.98px) {
  .hero-swiper, .hero > .hero-slide, .hero-tall .hero-swiper, .hero-boxed .hero-swiper { height: 82svh; min-height: 480px; border-radius: 0; }
  .hero-boxed .hero { padding: 0; }
  .hero .swiper-button-prev, .hero .swiper-button-next { display: none; }
  .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 70%); }
  .hero-slide { align-items: flex-end; padding-bottom: 4.5rem; }
}

/* ---------- Bölümler ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section + .section:not(.stats-band):not(.video-band):not(.logos-band) { padding-top: calc(var(--section-y) * .6); }
@media (max-width: 767.98px) { :root { --section-y: 60px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0; letter-spacing: -.015em; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--secondary); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.btn-view-all { white-space: nowrap; }

/* Hakkımızda */
.about-media { position: relative; }
.about-media::after { content: ""; position: absolute; inset-inline-end: -18px; bottom: -18px; width: 45%; height: 55%; border-radius: var(--radius);
  background: var(--secondary); opacity: .18; z-index: -1; }
.about-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 1.2rem; }
.about-text { color: var(--muted); font-size: 1.05rem; }

/* Kartlar */
.card-item { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column;
  border: 1px solid var(--border); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--light); }
.card-media picture, .card-media img, .card-media .img-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.card-item:hover .card-media img, .card-item:hover .card-media .img-ph { transform: scale(1.07); }
.badge-sale { position: absolute; top: 12px; inset-inline-start: 12px; background: #e03131; color: #fff; font-weight: 700; font-size: .8rem; padding: .25rem .55rem; border-radius: 6px; }
.card-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.12rem; margin: 0 0 .5rem; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-text { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.card-meta { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; display: flex; align-items: center; gap: .3rem; }
.card-link { margin-top: auto; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.card-link i { transition: transform .3s; }
.card-link:hover i { transform: translateX(4px); }
[dir="rtl"] .card-link:hover i { transform: scaleX(-1) translateX(4px); }
.card-price { margin: auto 0 .7rem; font-size: 1.15rem; color: var(--primary); }
.card-price del { color: var(--muted); font-size: .9rem; margin-inline-end: .3rem; }
.card-icon { text-align: center; padding-top: 2rem; }
.card-icon .card-body { align-items: center; }
.card-icon-wrap { width: 84px; height: 84px; margin: 0 auto; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 2.3rem;
  background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); transition: all .35s var(--ease); }
.card-icon:hover .card-icon-wrap { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
@media (max-width: 575.98px) { .card-body { padding: 1rem; } .card-title { font-size: 1rem; } .card-text { display: none; } }

/* Liste */
.list-items { display: grid; gap: 1.5rem; }
.list-item { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .3s; }
.list-item:not(:has(.list-media)) { grid-template-columns: 1fr; }
.list-item:hover { box-shadow: var(--shadow); }
.list-media { border-radius: calc(var(--radius) - 4px); overflow: hidden; aspect-ratio: 4/3; }
.list-media img, .list-media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.list-body h3 { font-size: 1.3rem; }
.list-body h3 a { color: var(--dark); }
@media (max-width: 767.98px) { .list-item { grid-template-columns: 1fr; } }

/* Kategori kartları */
.cat-card { position: relative; display: block; aspect-ratio: 1 / 1.1; border-radius: var(--radius); overflow: hidden; }
.cat-card picture, .cat-card img, .cat-card .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 60%); }
.cat-card:hover img, .cat-card:hover .img-ph { transform: scale(1.08); }
.cat-title { position: absolute; z-index: 2; inset-inline: 1rem; bottom: 1rem; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; justify-content: center; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .9rem; transition: all .2s; }
.chip:hover, .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Sayaçlar */
.stats-band { background: var(--dark); color: #fff; overflow: hidden; }
.stats-band[style*="--bg"]::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover; opacity: .25; }
@media (max-width: 767.98px) { .stats-band[style*="--bg"]::before { background-image: var(--bg-m); } }
.stats-band .container { position: relative; }
.stats-band h2 { color: #fff; }
.stat { text-align: center; padding: 1rem; }
.stat-icon { font-size: 2.4rem; color: var(--secondary); display: block; margin-bottom: .6rem; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; }
.stat-label { margin-top: .5rem; opacity: .8; font-size: .95rem; }

/* Logo bandı */
.logos-band { background: var(--light); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.logo-tile { width: 190px; height: 104px; background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  border: 1px solid var(--border); transition: all .3s; }
.logo-tile img { max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile:hover { box-shadow: var(--shadow); }
.logo-text { font-family: var(--font-head); font-weight: 700; color: var(--muted); text-align: center; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.logo-grid .logo-tile { width: auto; }

/* Galeri / sertifika */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.certificates .gallery-item, .layout-gallery.type-certificate .gallery-item { aspect-ratio: 3 / 4; }
.gallery-item picture, .gallery-item img, .gallery-item .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); }
.gallery-item .play, .video-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: transform .3s; }
.video-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.video-card img, .video-card .img-ph { width: 100%; height: 100%; object-fit: cover; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-title { position: absolute; inset-inline: 0; bottom: 0; color: #fff; padding: 2rem 1rem .8rem; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); font-weight: 600; }
.video-embed { border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed video, .video-embed iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }

/* Video bandı */
.video-band { background: var(--dark); color: #fff; overflow: hidden; }
.video-band[style*="--bg"] { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--bg) center/cover fixed; min-height: 520px; display: flex; align-items: center; }
@media (max-width: 767.98px) { .video-band[style*="--bg"] { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--bg-m); background-attachment: scroll; } }
.video-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.video-frame { max-width: 960px; margin: 2rem auto 0; }
.play-big { width: 104px; height: 104px; border-radius: 50%; background: var(--secondary); color: var(--dark); display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.4rem; margin-top: 2rem; position: relative; }
.play-big::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--secondary); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--dark))); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band[style*="--bg"] { background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 92%, transparent), color-mix(in srgb, var(--dark) 80%, transparent)), var(--bg) center/cover; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { opacity: .85; margin: 0; font-size: 1.1rem; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); inset-inline-end: -120px; top: -160px; }

/* SSS */
.faq .accordion-item { border: 1px solid var(--border); border-radius: var(--radius) !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-family: var(--font-head); padding: 1.15rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: color-mix(in srgb, var(--primary) 7%, #fff); color: var(--primary); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* Ekip */
.team-card { text-align: center; }
.team-card picture, .team-card .img-ph, .team-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 1rem; overflow: hidden; }
.team-card h3 { font-size: 1.1rem; margin: 0; }
.team-role { color: var(--secondary); font-weight: 600; font-size: .9rem; }

/* Zaman çizelgesi */
.timeline { position: relative; padding-inline-start: 2rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 2rem; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -2rem; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.tl-year { font-weight: 800; color: var(--secondary); font-family: var(--font-head); }

/* Bülten / iletişim bandı */
.newsletter-band { background: var(--light); }
.newsletter { display: flex; background: #fff; border-radius: 999px; padding: 5px; border: 1px solid var(--border); }
.newsletter input { flex: 1; border: 0; background: transparent; padding: .6rem 1rem; outline: none; min-width: 0; }
.newsletter button { border: 0; background: var(--primary); color: #fff; border-radius: 999px; padding: .55rem 1.2rem; font-weight: 600; }
.newsletter-lg { max-width: 560px; margin: 1.5rem auto 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list i { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.contact-list b { display: block; font-family: var(--font-head); }
.contact-list a, .contact-list span { color: var(--muted); display: block; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--light); }
.map-wrap iframe { width: 100% !important; height: 420px !important; border: 0; display: block; }

/* ---------- Sayfa başlığı ---------- */
.page-banner { position: relative; padding: 90px 0 70px; color: #fff; background: linear-gradient(120deg, var(--dark), color-mix(in srgb, var(--primary) 70%, var(--dark))); overflow: hidden; }
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; transform: scale(1.05); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 0 0 .6rem; }
.page-banner .lead { opacity: .85; max-width: 720px; }
.page-banner .breadcrumb { margin: 1rem 0 0; --bs-breadcrumb-divider-color: rgba(255,255,255,.5); }
.page-banner .breadcrumb a { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb-item.active { color: var(--secondary); }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: var(--bs-breadcrumb-item-padding-x); padding-right: 0; }

/* ---------- Detay ---------- */
.rich-text { font-size: 1.05rem; }
.rich-text h2, .rich-text h3 { margin-top: 2rem; }
.rich-text img { border-radius: var(--radius-sm); height: auto; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.rich-text td, .rich-text th { border: 1px solid var(--border); padding: .6rem .8rem; }
.rich-text blockquote { border-inline-start: 4px solid var(--secondary); padding: .5rem 1.2rem; background: var(--light); border-radius: 6px; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--light); border-radius: var(--radius); padding: 1.4rem; }
.side-nav h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; border-radius: 10px; color: var(--text); font-weight: 600; }
.side-nav a:hover, .side-nav a.active { background: var(--primary); color: #fff; }
.share { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.share span { font-weight: 600; color: var(--muted); }
.share a { width: 38px; height: 38px; border-radius: 50%; background: var(--light); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.share a:hover { background: var(--primary); color: #fff; }

/* Ürün detay */
.product-gallery { border-radius: var(--radius); overflow: hidden; background: var(--light); }
.product-gallery .swiper-slide { aspect-ratio: 1; }
.product-gallery img, .product-gallery picture, .product-gallery .img-ph { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .swiper-pagination-bullet-active { background: var(--primary); }
.product-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.product-sku { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.product-price { display: flex; align-items: baseline; gap: .8rem; margin: 1.5rem 0; flex-wrap: wrap; }
.product-price strong { font-size: 2rem; color: var(--primary); font-family: var(--font-head); }
.product-price del { color: var(--muted); }
.stock { font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; }
.stock.in { background: #e6f7ec; color: #1b7a3d; } .stock.out { background: #fdecec; color: #c0392b; }
.buy-box { display: flex; gap: .8rem; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; height: 50px; }
.qty button { width: 44px; border: 0; background: var(--light); font-size: 1.2rem; }
.qty input { width: 56px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-tabs .nav-tabs { border-bottom: 2px solid var(--border); gap: 1rem; }
.product-tabs .nav-link { border: 0; color: var(--muted); font-weight: 700; padding: .8rem 0; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.product-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.product-tabs .tab-content { padding-top: 1.6rem; }

/* Formlar */
.form-card, .contact-card, .summary-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-card { background: var(--light); box-shadow: none; border: 0; height: 100%; }
.form-card h2, .contact-card h2 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.form-product { background: var(--light); padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 575.98px) { .form-card, .contact-card, .summary-card { padding: 1.3rem; } }

/* Sepet / ödeme */
.cart-lines { display: grid; gap: 1rem; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.cart-thumb { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; display: block; }
.cart-thumb img, .cart-thumb .img-ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.cart-thumb .img-ph span { font-size: 1.2rem; }
.cart-title { font-weight: 700; color: var(--dark); }
.cart-total { font-weight: 800; min-width: 100px; text-align: end; }
.cart-remove { border: 0; background: none; color: #c0392b; font-size: 1.2rem; }
@media (max-width: 767.98px) { .cart-line { grid-template-columns: 70px 1fr auto; } .cart-thumb { width: 70px; height: 70px; } .cart-line .qty { grid-column: 2; } }
.summary-card > div { padding: .3rem 0; }
.pay-option { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 12px; margin-bottom: .6rem; cursor: pointer; transition: all .2s; }
.pay-option:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.pay-option i { font-size: 1.4rem; color: var(--primary); margin-inline-end: .4rem; }
.done-icon { font-size: 5rem; color: #2fb344; }
.bank-box { background: var(--light); border-radius: var(--radius); padding: 1.4rem; margin-top: 1.5rem; }

/* Sayfalama */
.pager ul { display: flex; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.pager a, .pager span { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.pager .active span, .pager a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager .gap { align-self: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; }
.footer-brand .logo { max-height: 56px; margin-bottom: 1.2rem; }
.footer-brand .brand-text { color: #fff; }
.footer-text { font-size: .93rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.72); }
.footer-links a:hover, .footer-contact a:hover { color: var(--secondary); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .93rem; }
.footer-contact i { color: var(--secondary); font-size: 1.1rem; margin-top: 2px; }
.site-footer .newsletter { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.site-footer .newsletter input { color: #fff; }
.site-footer .newsletter input::placeholder { color: rgba(255,255,255,.5); }
.site-footer .newsletter button { background: var(--secondary); color: var(--dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-langs { display: flex; gap: .8rem; }
.footer-langs a { color: rgba(255,255,255,.6); font-weight: 600; }
.footer-langs a.active, .footer-langs a:hover { color: var(--secondary); }
.socials { display: flex; gap: .45rem; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: inherit; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all .25s; }
.socials a:hover { background: var(--secondary); color: var(--dark); transform: translateY(-3px); }
.contact-card .socials a, .m-contact .socials a { background: #fff; color: var(--dark); }

/* ---------- Sabit butonlar ---------- */
.to-top { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: #fff;
  font-size: 1.3rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 1040; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.wa-float, .tg-float { position: fixed; bottom: 92px; inset-inline-end: 22px; z-index: 1040; height: 56px; min-width: 56px; border-radius: 28px; background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 14px; box-shadow: 0 10px 25px rgba(37,211,102,.4); font-weight: 700; transition: transform .25s; }
.wa-float span:empty { display: none; }
.wa-float:hover, .tg-float:hover { color: #fff; transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
.tg-float { background: #229ed9; bottom: 160px; box-shadow: 0 10px 25px rgba(34,158,217,.35); }
.wa-left { inset-inline-end: auto; inset-inline-start: 22px; bottom: 82px; }
body:not(:has(.chat-widget)) .wa-float:not(.wa-left) { bottom: 22px; }
.call-float { display: none; }
@media (max-width: 767.98px) {
  .call-float { display: inline-flex; position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
  .wa-float span { display: none; }
}

/* Çerez çubuğu */
.cookie-bar { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 720px; margin: 0 auto; z-index: 1050; background: var(--dark); color: #fff; border-radius: 14px;
  padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--shadow-lg); font-size: .9rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: var(--secondary); }
.cookie-bar .btn { white-space: nowrap; }

/* ---------- Canlı destek ---------- */
.chat-widget { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 1045; }
.chat-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.7rem; box-shadow: var(--shadow-lg); position: relative; transition: transform .25s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-dot { position: absolute; top: 4px; inset-inline-end: 4px; width: 14px; height: 14px; border-radius: 50%; background: #e03131; border: 2px solid #fff; }
.chat-panel { position: absolute; bottom: 74px; inset-inline-end: 0; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100svh - 120px)); background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop .25s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-head { background: var(--primary); color: #fff; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.chat-head small { display: block; opacity: .8; font-size: .78rem; }
.chat-close { border: 0; background: rgba(255,255,255,.15); color: #fff; width: 34px; height: 34px; border-radius: 50%; }
.chat-start { padding: 1.2rem; overflow: auto; }
.chat-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-body[hidden] { display: none; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 1rem; background: var(--light); display: flex; flex-direction: column; gap: .5rem; }
.chat-msgs .msg { max-width: 82%; padding: .55rem .85rem; border-radius: 14px; font-size: .92rem; white-space: pre-wrap; word-wrap: break-word; }
.chat-msgs .msg small { display: block; opacity: .6; font-size: .7rem; }
.chat-msgs .msg.admin { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-end-start-radius: 4px; }
.chat-msgs .msg.visitor { background: var(--primary); color: #fff; align-self: flex-end; border-end-end-radius: 4px; }
.chat-input { display: flex; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; border: 0; padding: .9rem 1rem; outline: none; min-width: 0; }
.chat-input button { border: 0; background: none; color: var(--primary); font-size: 1.3rem; padding: 0 1rem; }

/* Erişilebilirlik / hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
@media print { .topbar, .site-header, .site-footer, .chat-widget, .wa-float, .to-top, .cookie-bar { display: none !important; } }
