:root {
  --primary: #1c5fa8; /* kutulardaki mavi */
  --primary-dark: #0f1f4d; /* "Adana" yazısı / silüet lacivert */
  --accent: #f7a600; /* sarı nokta - aksan */
  --secondary: #ef3e36; /* kutulardaki kırmızı */
  --star-blue: #29abe2; /* yıldız açık mavisi */
  --dark: #0f172a;
  --light-bg: #f6f7fb;
  --gradient: linear-gradient(170deg, #ef3e36 50%, #29abe2 80%);
  --primary-rgb: 28, 95, 168; /* rgba() kullanımları için */
}
* {
  font-family: "Lexend", "Atkinson Hyperlegible", system-ui, sans-serif;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h5,
.navbar-brand,
.btn-grad,
.section-title {
  font-family: "Baloo 2", "Lexend", system-ui, sans-serif;
}
body {
  background: var(--light-bg);
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
}
a {
  text-decoration: none;
}
section {
  padding: 30px 0;
}
.section-badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.5rem;
}

/* ---------- TİPOGRAFİ ---------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h5,
.lead {
  font-weight: 700;
}
h2,
.h2 {
  font-size: 1.4rem;
}
h5,
.h5 {
  font-size: 1.02rem;
}
h6 {
  font-size: 0.95rem;
}
.lead {
  font-size: 1rem;
}
.btn-lg {
  --bs-btn-font-size: 0.95rem;
  --bs-btn-padding-y: 0.55rem;
}

/* ---------- NAVBAR ---------- */
/* ---------- NAVBAR (taşma düzeltmesi) ---------- */
.navbar {
  overflow-x: hidden; /* navbar'ın kendisi asla yatay taşmasın */
}
.navbar > .container {
  display: flex;
  align-items: center;
  overflow-x: hidden;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0; /* logo flex item taşmasını engeller */
  flex-shrink: 1;
}
.logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
  transition: 0.3s;
}
.navbar-toggler {
  flex-shrink: 0; /* hamburger buton her zaman sabit kalsın */
  padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobilde logo küçülsün */
@media (max-width: 991.98px) {
  .logo-img {
    height: 52px;
  }
}
@media (max-width: 575.98px) {
  .logo-img {
    height: 42px;
  }
}

/* ---------- MOBİL MENÜ (genişlik garantisi) ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 20px;
    margin-bottom: 10px;

    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .navbar-nav {
    gap: 0.3rem;
    width: 100%;
  }
  .navbar .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 12px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary) !important;
  }
  .navbar .nav-link::after {
    display: none;
  }
  .navbar-collapse.collapsing {
    transition: height 0.3s ease;
  }
}

/* ---------- GENEL GÜVENLİK AĞI ---------- */
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
.navbar {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: 0.3s;
}
.navbar.scrolled {
  background: rgb(255, 255, 255);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo-img {
  height: 80px;
  width: auto;
  transition: 0.3s;
}
.navbar.scrolled .logo-img {
  height: 80px;
}
.logo-footer {
  height: 80px;
  width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 8px 14px;
}
.navbar-brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.navbar .nav-link {
  font-weight: 600;
  font-size: 14px;
  color: #475569 !important;
  margin: 0 0.3rem;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
  transform: translateX(-50%);
  border-radius: 2px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 60%;
}
.navbar .nav-link.active {
  color: var(--primary) !important;
}
.btn-grad {
  background: var(--gradient);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.3);
  transition: 0.3s;
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.45);
}

/* Hamburger ikonunu biraz büyüt ve dokunması kolay yap */
.navbar-toggler {
  padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- HERO SWIPER ---------- */
.hero-swiper {
  height: 700px;
  min-height: 700px;
}
.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero-swiper .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-content h1 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.3;
}
.hero-content p {
  font-size: 0.98rem;
  opacity: 0.85;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}
.hero-swiper .swiper-pagination-bullet {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: #fff;
  opacity: 0.4;
  transition: 0.3s;
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 44px;
}

/* ---------- CARDS ---------- */
.service-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  transition: 0.35s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.18);
}
.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.service-card .icon-pill {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: -28px 0 0 24px;
  position: relative;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
  border: 4px solid #fff;
}
.card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.card-link i {
  transition: 0.3s;
}
.card-link:hover i {
  transform: translateX(5px);
}

/* ---------- DİSLEKSİ NEDİR ---------- */
.info-box {
  background: #fff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}
.stat-box {
  text-align: center;
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--light-bg);
}
.stat-box h3 {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.stat-box span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

/* ---------- HABERLER ---------- */
.news-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  transition: 0.35s;
}
.news-card:hover {
  transform: translateY(-8px);
}
.news-card .card-img-top {
  height: 180px;
  object-fit: cover;
}
.news-date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.news-skeleton {
  height: 320px;
  border-radius: 20px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.news-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff8, transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 70px 0 0;
}
footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
footer h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}
footer a {
  color: #94a3b8;
  transition: 0.3s;
}
footer a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.2rem 0;
  font-size: 0.85rem;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}
.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 99;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}





/* ================================
     WHATSAPP CHAT
  ================================ */

.glz-wa-chat {
  position: fixed;
  right: 25px;
  bottom: 95px;
  width: 360px;
  max-width: calc(100vw - 30px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.96);
  transition: all .25s ease;
}

.glz-wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* HEADER */

.glz-wa-chat__head {
  position: relative;
  background: #25d366;
  color: #fff;
  padding: 18px 20px;
}

.glz-wa-chat__head-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glz-wa-chat__avatar {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glz-wa-chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glz-wa-chat__head h4 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.glz-wa-chat__head p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}

/* CLOSE */

.glz-wa-chat__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 30px;
  cursor: pointer;
}

/* BODY */

.glz-wa-chat__body {
  padding: 20px;
  background: #f5f7f9;
}

.glz-wa-chat__bubble {
  position: relative;
  max-width: 100%;
  background: #fff;
  border-radius: 4px 15px 15px 15px;
  padding: 14px 16px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.glz-wa-chat__author {
  margin-bottom: 8px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}

.glz-wa-chat__text {
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

.glz-wa-chat__time {
  margin-top: 7px;
  color: #999;
  font-size: 11px;
  text-align: right;
}

/* MESSAGE */

.glz-wa-chat__message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

.glz-wa-chat__message textarea {
  width: 100%;
  min-height: 42px;
  max-height: 90px;
  resize: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 11px 13px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .2s ease;
}

.glz-wa-chat__message textarea:focus {
  border-color: #25d366;
}

/* SEND */

.glz-wa-chat__send {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
}

.glz-wa-chat__send:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

.glz-wa-chat__send svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

/* FLOATING BUTTON */

.glz-wa-button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 7px 22px rgba(37, 211, 102, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition: all .25s ease;
}

.glz-wa-button:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
}

.glz-wa-button svg {
  width: 31px;
  height: 31px;
}

/* MOBILE */

@media (max-width: 576px) {

  .glz-wa-chat {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
    max-width: none;
    border-radius: 16px;
  }

  .glz-wa-button {
    right: 15px;
    bottom: 15px;
    width: 54px;
    height: 54px;
  }

  .glz-wa-button svg {
    width: 29px;
    height: 29px;
  }

  .glz-wa-chat__head {
    padding: 16px;
  }

  .glz-wa-chat__body {
    padding: 16px;
  }
}