/* =========================================================
   İZYON teması — yönetim siteleri için ortak görünüm
   Kaynak tasarım: izyon.com.tr (SoftTeam / HTML Codex, CC BY 4.0)
   Renkler: #00539C (koyu mavi), #4F84C4 (açık mavi), #213546 (metin), #2c3035 (footer)
   ========================================================= */
:root {
  --iz-blue: #00539C;
  --iz-blue-light: #4F84C4;
  --iz-ink: #213546;
  --iz-muted: #5c6b7a;
  --iz-line: #eeeeee;
  --iz-soft: #f4f7fb;
  --iz-footer: #2c3035;
  --iz-footer-text: #999999;
  --iz-grad: linear-gradient(#4F84C4, #00539C);
  --iz-grad-hover: linear-gradient(#00539C, #4F84C4);
  --iz-band: linear-gradient(to right, #00539C, #4F84C4 50%);
  --iz-font: 'Raleway', 'Segoe UI', Roboto, Arial, sans-serif;
}

html { scroll-padding-top: 90px; }
body { font-family: var(--iz-font) !important; color: var(--iz-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--iz-font) !important; }

/* ---------- Header ---------- */
.iz-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: #ffffff; border-bottom: 1px solid var(--iz-line);
  box-shadow: 0 2px 12px rgba(33, 53, 70, .06);
  font-family: var(--iz-font);
}
.iz-header__in {
  display: flex; align-items: center; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 14px 40px;
}
.iz-brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none !important; }
.iz-brand img { display: block; max-width: 150px; max-height: 64px; width: auto; height: auto; }
.iz-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.iz-brand__text b {
  font-size: 22px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--iz-blue);
}
.iz-brand__text b span { color: var(--iz-blue-light); }
.iz-brand__text small {
  margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--iz-muted);
}
.iz-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.iz-nav__link {
  display: block; padding: 8px 10px; border: 0; background: none; cursor: pointer;
  font: 500 16px var(--iz-font); color: var(--iz-ink) !important; text-decoration: none !important;
  white-space: nowrap; transition: color .2s;
}
.iz-nav__link:hover, .iz-nav__link:focus-visible, .iz-nav__link.is-active { color: var(--iz-blue-light) !important; }
.iz-dd { position: relative; }
.iz-dd > .iz-nav__link::after {
  content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  margin-left: 6px; font-size: 12px;
}
.iz-dd__menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px 0;
  background: #ffffff; border-top: 3px solid var(--iz-blue-light); border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 30px rgba(33, 53, 70, .15);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.iz-dd__menu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 380px; }
.iz-dd:hover .iz-dd__menu, .iz-dd:focus-within .iz-dd__menu { opacity: 1; visibility: visible; transform: none; }
.iz-dd__menu a {
  display: block; padding: 8px 20px; font: 500 15px var(--iz-font);
  color: var(--iz-ink) !important; text-decoration: none !important;
}
.iz-dd__menu a:hover { color: var(--iz-blue-light) !important; background: var(--iz-soft); }
.iz-dd__menu a.iz-dd__all { grid-column: 1 / -1; font-weight: 700; color: var(--iz-blue) !important; border-top: 1px solid var(--iz-line); margin-top: 6px; padding-top: 12px; }

.iz-btn, a.iz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 25px 11px; border: 0; border-radius: 30px; cursor: pointer;
  font: 600 13px var(--iz-font); letter-spacing: .3px; text-transform: uppercase;
  color: #ffffff !important; background: var(--iz-grad); text-decoration: none !important;
  transition: background .5s; white-space: nowrap;
}
.iz-btn:hover { background: var(--iz-grad-hover); color: #ffffff !important; }
.iz-nav .iz-btn { margin-left: 15px; }
.iz-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--iz-line);
  border-radius: 10px; background: #fff; color: var(--iz-blue); font-size: 20px; cursor: pointer;
}
.iz-topnote {
  background: var(--iz-band); color: #fff; text-align: center;
  font: 600 15px/1.4 var(--iz-font); padding: 8px 16px;
}
.iz-topnote a { color: #fff !important; text-decoration: underline; white-space: nowrap; }

@media (max-width: 1100px) {
  .iz-header__in { flex-wrap: wrap; padding: 12px 16px; }
  .iz-toggle { display: block; }
  .iz-nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    margin: 6px 0 4px; border-top: 1px solid var(--iz-line); max-height: 75vh; overflow-y: auto;
  }
  .iz-header.is-open .iz-nav { display: flex; }
  .iz-nav__link { padding: 12px 4px; border-bottom: 1px solid var(--iz-line); width: 100%; text-align: left; }
  .iz-dd__menu, .iz-dd__menu--cols {
    position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 6px 12px; grid-template-columns: 1fr;
  }
  .iz-dd.is-open .iz-dd__menu { display: block; }
  .iz-dd:hover .iz-dd__menu { display: none; }
  .iz-dd.is-open:hover .iz-dd__menu { display: block; }
  .iz-nav .iz-btn { margin: 14px 0 6px; }
  .iz-brand__text b { font-size: 18px; }
}

/* ---------- Footer ---------- */
.iz-footer { position: relative; padding-top: 70px; background: var(--iz-footer); font-family: var(--iz-font); }
.iz-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px;
  max-width: 1180px; margin: 0 auto; padding: 0 30px 30px;
}
.iz-footer h2 {
  position: relative; margin: 0 0 30px; padding-bottom: 15px; font: 700 18px var(--iz-font);
  text-transform: uppercase; color: var(--iz-footer-text) !important; letter-spacing: .5px;
}
.iz-footer h2::after {
  position: absolute; content: ""; width: 60px; height: 3px; bottom: 0; left: 0;
  background: linear-gradient(to left, #999999, #ffffff, #999999); border-radius: 0 100% 100% 0;
}
.iz-footer p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--iz-footer-text); }
.iz-footer p i { width: 22px; color: var(--iz-blue-light); }
.iz-footer a { color: var(--iz-footer-text) !important; text-decoration: none !important; }
.iz-footer a:hover { color: #ffffff !important; }
.iz-footer__links a { display: block; margin-bottom: 9px; font-size: 14px; }
.iz-footer__links a::before {
  content: "\f0da"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 10px;
}
.iz-footer__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1180px; margin: 0 auto; padding: 0 30px 30px; }
.iz-footer__tags span {
  font-size: 12px; color: var(--iz-footer-text); border: 1px solid #3b3e43; border-radius: 20px; padding: 4px 12px;
}
.iz-copyright {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  max-width: 1180px; margin: 0 auto; padding: 18px 30px; border-top: 1px solid #3b3e43;
}
.iz-copyright p { margin: 0; font-size: 14px; }
@media (max-width: 900px) {
  .iz-footer__grid { grid-template-columns: 1fr 1fr; }
  .iz-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .iz-footer__grid { grid-template-columns: 1fr; padding: 0 20px 20px; }
  .iz-copyright { flex-direction: column; text-align: center; padding: 16px 20px 100px; }
}

/* ---------- Sabit WhatsApp / telefon butonları (izyon.com.tr ile aynı yer) ---------- */
.iz-float {
  position: fixed; left: 40px; z-index: 999; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50px; color: #ffffff !important; font-size: 30px;
  box-shadow: 2px 2px 3px #999999; text-decoration: none !important; transition: transform .2s;
}
.iz-float:hover { transform: scale(1.07); }
.iz-float--wa { bottom: 110px; background: #25d366; }
.iz-float--tel { bottom: 40px; background: darkgreen; font-size: 26px; }
@media (max-width: 560px) {
  .iz-float { left: 16px; width: 52px; height: 52px; font-size: 26px; }
  .iz-float--wa { bottom: 84px; }
  .iz-float--tel { bottom: 20px; font-size: 22px; }
}

/* ---------- Ortak içerik dokunuşları ---------- */
.iz-section-title {
  position: relative; padding-bottom: 15px; text-transform: uppercase;
}
.iz-section-title::after {
  position: absolute; content: ""; width: 60px; height: 3px; bottom: 0; left: 0;
  background: linear-gradient(to left, #4F84C4, #00539C, #4F84C4); border-radius: 0 100% 100% 0;
}

/* ---------- karsiyakaapartmanyonetimi.com (Bootstrap 5 / BSB şablonu) → İZYON renkleri ---------- */
:root, [data-bs-theme=light] {
  --bs-primary: #00539C; --bs-primary-rgb: 0, 83, 156;
  --bs-primary-text-emphasis: #003f78; --bs-primary-bg-subtle: #eaf1fa; --bs-primary-border-subtle: #9cc0ea;
  --bs-accent: #4F84C4; --bs-accent-rgb: 79, 132, 196;
  --bs-link-color: #00539C; --bs-link-color-rgb: 0, 83, 156; --bs-link-hover-color: #4F84C4; --bs-link-hover-color-rgb: 79, 132, 196;
  --bs-body-color: #213546; --bs-body-color-rgb: 33, 53, 70; --bs-body-bg: #ffffff;
  --bs-body-font-family: 'Raleway', 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-font-sans-serif: 'Raleway', 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-secondary-color: rgba(33, 53, 70, .75);
}
/* Eski header ve sabit butonlar artık kullanılmıyor */
#header, .sabit-iletisim { display: none !important; }

.text-primary { color: #00539C !important; }
.text-accent { color: #4F84C4 !important; }
.bg-primary, .bsb-tpl-bg-blue { background: var(--iz-band) !important; }
/* Ana sayfa hero: izyon gibi açık zemin, koyu başlık, mavi vurgu */
.bsb-hero-2, .bsb-hero-2.bsb-tpl-bg-blue { background: linear-gradient(115deg, #ffffff 45%, #eaf1fa) !important; }
.bsb-hero-2 h1 { color: #213546 !important; }
.bsb-hero-2 .bsb-tpl-font-hw { color: #4F84C4 !important; }
.bsb-hero-2 p { color: #213546 !important; font-weight: 500; }
.bsb-tpl-font-hw { font-family: var(--iz-font) !important; font-style: italic; font-weight: 700; color: #4F84C4 !important; }
.bsb-tpl-highlight, .bsb-tpl-highlight-yellow, .bsb-tpl-highlight-blue {
  background-image: linear-gradient(transparent 62%, rgba(79, 132, 196, .28) 62%) !important;
  background-color: transparent !important;
}
.bsb-tpl-bg-yellow, .bsb-tpl-bg-green, .bsb-tpl-bg-pink, .bsb-tpl-bg-cyan { background: #eaf1fa !important; color: #00539C !important; }
.display-1, .display-2, .display-3, .h1, h1 { font-weight: 800 !important; }

.btn { border-radius: 30px !important; font-family: var(--iz-font) !important; font-weight: 600 !important; }
.btn-primary {
  --bs-btn-bg: #00539C; --bs-btn-border-color: transparent; --bs-btn-hover-bg: #4F84C4; --bs-btn-active-bg: #003f78;
  background: var(--iz-grad) !important; border: 0 !important; color: #fff !important;
  text-transform: uppercase; letter-spacing: .3px;
}
.btn-primary:hover { background: var(--iz-grad-hover) !important; }
.btn-outline-primary {
  --bs-btn-color: #00539C; --bs-btn-border-color: #4F84C4; --bs-btn-hover-bg: #00539C; --bs-btn-hover-border-color: #00539C;
}
.btn-accent { background: var(--iz-grad) !important; color: #fff !important; border: 0 !important; }
.btn-outline-secondary { --bs-btn-color: #213546; --bs-btn-border-color: #c9d6e3; --bs-btn-hover-bg: #00539C; --bs-btn-hover-border-color: #00539C; }

.card { border-radius: 30px 30px 0 0 !important; border: 0 !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .03) 96%, rgba(0, 0, 0, .1), rgba(0, 0, 0, .2)) !important; }
.card.shadow-sm { box-shadow: none !important; }
.teklif-kart { border-top: 4px solid #4F84C4 !important; background: #fff !important; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25) !important; }
.accordion-item { border: 2px solid #4F84C4 !important; border-radius: 0 30px 30px 0 !important; overflow: hidden; margin-bottom: 12px; }
.accordion-button:not(.collapsed) { color: #00539C !important; background: #eaf1fa !important; box-shadow: none !important; }
.breadcrumb-item a { color: #00539C; }
h2.h1, h2.display-5, section h2 { color: #213546; }
.form-control:focus, .form-select:focus { border-color: #4F84C4 !important; box-shadow: 0 0 0 .2rem rgba(79, 132, 196, .25) !important; }


/* ---------- Sakin portalı + güven bölümü ---------- */
.iz-portal { padding: 70px 20px; background: #f4f7fb; font-family: var(--iz-font); }
.iz-portal__in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.iz-eyebrow { display: inline-block; margin-bottom: 10px; font: 700 12px var(--iz-font); letter-spacing: 2px; text-transform: uppercase; color: #4F84C4; }
.iz-portal h2 { position: relative; margin: 0 0 18px; padding-bottom: 15px; font: 800 28px/1.25 var(--iz-font) !important; text-transform: uppercase; color: #213546 !important; }
.iz-portal h2::after { position: absolute; content: ""; width: 60px; height: 3px; bottom: 0; left: 0; background: linear-gradient(to left, #4F84C4, #00539C, #4F84C4); border-radius: 0 100% 100% 0; }
.iz-portal p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #2b3a48; }
.iz-check { list-style: none; margin: 0 0 22px; padding: 0; }
.iz-check li { position: relative; padding: 6px 0 6px 30px; font-size: 15px; color: #213546; }
.iz-check li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 6px; color: #4F84C4; }
.iz-portal__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.iz-portal__cta .iz-link { font-weight: 700; color: #00539C !important; text-decoration: underline !important; }
.iz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.iz-stat { display: block; padding: 24px 22px; background: #fff; border-radius: 30px 30px 0 0; box-shadow: 0 10px 30px -14px rgba(33, 53, 70, .25); text-decoration: none !important; }
.iz-stat b { display: block; font: 800 34px/1.1 var(--iz-font); color: #00539C; }
.iz-stat span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #5c6b7a; }
a.iz-stat:hover { box-shadow: 0 14px 34px -12px rgba(0, 83, 156, .35); }
.iz-stats--wide { grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; }
.iz-stats-note { max-width: 1180px; margin: 18px auto 0; font-size: 14px; color: #5c6b7a; }
@media (max-width: 900px) { .iz-portal__in { grid-template-columns: 1fr; } .iz-stats--wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .iz-stats, .iz-stats--wide { grid-template-columns: 1fr; } .iz-portal h2 { font-size: 22px !important; } }

/* orta genişlik: menü taşmasın */
@media (max-width: 1440px) and (min-width: 1101px) { .iz-header__in { gap: 16px; padding: 14px 24px; } .iz-nav__link { font-size: 15px; padding: 8px 7px; } .iz-nav .iz-btn { margin-left: 8px; padding: 11px 18px 10px; } .iz-brand__text b { font-size: 19px; } }

@media (max-width: 1280px) and (min-width: 1101px) { .iz-header__in { padding: 12px 16px; gap: 12px; } .iz-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; } .iz-nav__link { font-size: 14px; padding: 6px 5px; } .iz-nav .iz-btn i { display: none; } .iz-brand__text small { display: none; } .iz-brand img { max-width: 120px; } }
