/**
 * EloExpress TR — Corporate Layout Fix
 * Kurumsal sayfa iskeleti: tam genişlik, ortalı içerik, tutarlı footer/nav
 */

/* ─── Page shell ─── */
#main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.ld-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* ─── Landing sections: always centered ─── */
.ld-wrap,
.de-footer__wrap,
.de-cta__inner {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

/* ─── Footer: enforce grid even if other CSS fails ─── */
.de-footer {
  width: 100%;
  clear: both;
}

.de-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  align-items: start;
}

.de-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.de-footer__nav li {
  margin: 0;
  padding: 0;
}

.de-footer__nav a {
  display: block;
  padding: 0.28rem 0;
  color: var(--dm-muted, #94A3B8);
  text-decoration: none;
  font-size: 0.84rem;
}

.de-footer__nav a:hover {
  color: var(--dm-text, #F8FAFC);
}

.de-footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.de-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.de-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

/* ─── CTA: centered corporate block ─── */
.de-cta {
  width: 100%;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
}

.de-cta__inner {
  text-align: center;
}

.de-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ─── FAQ: scoped accordion (override generic details in index.php) ─── */
.ld-page .ld-faq__item {
  background: #0E1525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.ld-page .ld-faq__item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: #F8FAFC;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
}

.ld-page .ld-faq__item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ld-page .ld-faq__list {
  max-width: 720px;
  margin: 0 auto;
}

/* ─── Hero: corporate clean ─── */
.ld-hero {
  text-align: left;
  background: #070B14 !important;
}

.ld-hero::before,
.ld-preview::before {
  display: none !important;
}

.ld-hero__title {
  font-weight: 700 !important;
  letter-spacing: -0.025em;
}

.ld-hero__title span {
  background: none !important;
  -webkit-text-fill-color: #4DA3FF !important;
  color: #4DA3FF !important;
}

.ld-eyebrow {
  color: #4DA3FF !important;
  letter-spacing: 0.12em;
}

.ld-btn--primary {
  background: #3B82F6 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.ld-btn--primary:hover {
  background: #2563EB !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-1px) !important;
}

.ld-btn--ghost {
  border-radius: 8px !important;
}

.ld-btn--ghost:hover {
  transform: translateY(-1px) !important;
}

.ld-preview {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px !important;
}

/* Section titles — kurumsal, gradient yok */
.ld-title {
  font-weight: 700 !important;
  letter-spacing: -0.025em;
}

.ld-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ld-section--alt {
  background: #0A101C !important;
}

/* Navbar kurumsal */
.de-navbar {
  background: rgba(11, 13, 18, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

.de-logo-wrap .brand-text {
  background: none !important;
  -webkit-text-fill-color: #ECEFF4 !important;
  color: #ECEFF4 !important;
}

.de-btn-nav--primary,
.de-btn-nav.de-btn-primary {
  background: #3B82F6 !important;
  box-shadow: none !important;
}

/* Footer kurumsal */
.de-footer {
  background: #0A101C !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.de-cta__inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  background: #0E1525;
}

.de-cta__glow {
  display: none !important;
}

.de-cta__title {
  font-weight: 700 !important;
}

/* ─── Diamond widget sections ─── */
.dm-section,
.de-section {
  width: 100%;
}

.dm-section .container,
.de-section .container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .de-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .de-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .de-footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .de-cta__actions {
    flex-direction: column;
  }

  .de-cta__actions .ld-btn {
    width: 100%;
  }
}
