/* Üstte transparan */
.md-header {
  background: transparent !important;
  box-shadow: none !important;
}

/* Scroll sonrası dolu (Material state attribute ile) */
[data-md-state="scrolled"] .md-header {
  background: rgba(18, 18, 18, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Tabs de aynı şekilde */
.md-tabs {
  background: transparent !important;
}

[data-md-state="scrolled"] .md-tabs {
  background: rgba(18, 18, 18, 0.70) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.md-footer,
.md-footer-meta {
  background: transparent !important;
  box-shadow: none !important;
}

.hero {
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  margin: 0 0 1.25rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}

.hero__content h1 {
  margin: 0 0 .5rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__content p {
  max-width: 60ch;
  opacity: .9;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

/* Ghost button (Material button base class is used) */
.md-button--ghost {
  border: 1px solid currentColor;
  opacity: .9;
}

.md-button {
  border-radius: 10px;          /* 6–14px arası kurumsal için ideal */
}

/* Primary butonlar biraz daha belirgin olsun */
.md-button--primary {
  border-radius: 12px;
}

.md-button {
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.md-button:hover {
  transform: translateY(-1px);
}

.hero .md-button {
  border-radius: 10px;
}

/* ---------- Dark / Light adaptive gradients ---------- */
[data-md-color-scheme="slate"] .hero {
  background:
    radial-gradient(1200px circle at 10% 20%, rgba(0, 255, 255, .18), transparent 40%),
    radial-gradient(900px circle at 80% 30%, rgba(99, 102, 241, .22), transparent 42%),
    linear-gradient(135deg, rgba(17, 24, 39, 1), rgba(10, 14, 25, 1));
  border: 1px solid rgba(255,255,255,.08);
}

[data-md-color-scheme="default"] .hero {
  background:
    radial-gradient(1200px circle at 10% 20%, rgba(0, 160, 255, .18), transparent 40%),
    radial-gradient(900px circle at 80% 30%, rgba(99, 102, 241, .18), transparent 42%),
    linear-gradient(135deg, rgba(248, 250, 252, 1), rgba(241, 245, 249, 1));
  border: 1px solid rgba(2,6,23,.08);
}

/* ---------- Card grid polish ---------- */
.grid.cards > ul > li {
  border-radius: 18px;
  overflow: hidden;
}

.grid.cards > ul > li:hover {
  transform: translateY(-2px);
  transition: transform .15s ease;
}


.split {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(18px, 3vw, 28px);
  margin: 0 0 1.25rem 0;
  border-radius: 22px;
}

.split__text {
  flex: 1 1 80%;
  min-width: 300px;
}

.split__media {
  flex: 1 1 45%;
  min-width: 260px;
  display: block;
}

.split__media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transform: translateZ(0);
}

.split__media:hover img {
  transform: scale(1.01);
  transition: transform .18s ease;
}

/* Alternate direction */
.split--reverse {
  flex-direction: row-reverse;
}

/* Backgrounds for dark/light */
[data-md-color-scheme="slate"] .split {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

[data-md-color-scheme="default"] .split {
  background: rgba(2,6,23,.03);
  border: 1px solid rgba(2,6,23,.08);
}

/* Mobile stacking */
@media (max-width: 900px) {
  .split,
  .split--reverse {
    flex-direction: column;
  }
  .split__media,
  .split__text {
    min-width: 100%;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.card-link__cta {
  color: #0066cc;
  font-weight: 500;
  margin-top: 1rem;
  display: inline-block;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 2rem 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive için */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer arkaplan: tamamen transparan */
.md-footer,
.md-footer-meta {
  background: transparent !important;
  box-shadow: none !important;
}

/* Footer: tamamen transparan kalsın */
.md-footer__inner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  /* yerleşim */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;

  /* sayfanın ortasında, toplam genişlik ~%50 */
  width: min(50vw, 760px) !important;
  margin: 0 auto !important;

  /* iki buton arası kontrollü boşluk */
  gap: 12px !important;

  padding: 0.75rem 0 !important;
}

/* Butonlar: içerik kadar geniş olsun (yazı kadar) */
.md-footer__link {
  margin: 0 !important;
  width: fit-content !important;
  max-width: 100% !important;

  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  padding: 0.6rem 0.9rem !important;
}

/* Prev sola, Next sağa yaslansın */
.md-footer__link--prev { margin-right: auto !important; }
.md-footer__link--next { margin-left: auto !important; }