/* ---- Temel ---- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5; color: #0f172a; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100%, 1200px); margin-inline: auto; padding-inline: 16px; }

/* ---- Header / Menü ---- */
header.site-header { position: sticky; top: 0; z-index: 50; background: #0f2435; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
header .row { display: flex; align-items: center; justify-content: space-between; padding-block: 10px; }
.brand { font-weight: 700; letter-spacing: .2px; }
nav ul.menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav ul.menu a { color: #e6edf5; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
nav ul.menu a:hover { background: rgba(255,255,255,.08); }

button#menuToggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; cursor: pointer; }
button#menuToggle .bar { display: block; width: 26px; height: 2px; background: #fff; margin: 6px auto; border-radius: 2px; }

/* Mobil menü */
@media (max-width: 992px) {
  button#menuToggle { display: inline-block; }
  nav ul.menu {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 10px;
    background: #0f2435; padding: 12px 16px 24px;
    transform: translateY(-115%); transition: transform .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  body.nav-open nav ul.menu { transform: translateY(0); }
}

/* ---- Hero / Slider ---- */
.hero { position: relative; overflow: hidden; background: #0b1220; }
.hero img { width: 100%; height: clamp(220px, 40vh, 520px); object-fit: cover; }
.hero .caption {
  position: absolute; inset: auto 16px 28px 16px; max-width: 680px;
  background: rgba(15,23,42,.55); backdrop-filter: blur(2px);
  padding: 16px; border-radius: 12px;
}
.hero .caption h1 { margin: 0; font-size: clamp(22px, 3.8vw, 40px); color: #ffbf00; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hero .caption p { margin: 6px 0 0; font-size: clamp(13px, 1.8vw, 18px); color: #e2e8f0; }

/* ---- Bölüm / Grid ---- */
.section { padding-block: clamp(28px, 5vw, 64px); }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 992px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-3 { grid-template-columns: 1fr; } }

/* ---- Kart / Buton ufak dokunuşlar ---- */
.card { background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(2,6,23,.08); overflow: hidden; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; text-decoration: none; background: #0ea5e9; color: #fff; }
.btn:hover { filter: brightness(1.05); }

@media (max-width: 768px) {
  .carousel-caption {
    display: block !important;
    left: 12px; right: 12px; bottom: 12px;
    padding: 10px 12px;
  }
  .carousel-caption h2 { font-size: 20px; }
  .carousel-caption p  { font-size: 14px; }
}
