/**
 * Section: Logo Section
 *
 * @package Alpaya_x_Retodi
 */

/* z-index: 0 - Şeffafken Parallax görünsün; diğer section'lar bu section'ın üstünde */
.has-parallax .section--logo-section {
  position: relative;
  z-index: 0;
}

/* Arka plan rengi tam genişlikte görünsün (site-container dışına taş) - Feature Section gibi */
.entry-content .section--logo-section,
.entry-content .wp-block-alpaya-section .section--logo-section {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  box-sizing: border-box;
}

.section--logo-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.section--logo-section-fullscreen {
  min-height: 100vh;
}

/* Header altında ilk bölüm: Section viewport top:0'da başlar, header bunun üstünde (z-index ile) */
.section--below-header {
  margin-top: calc(-1 * var(--header-height, 190px));
}

/* Tam ekran + Header altında: margin-top ile section viewport top'ta başlıyor; 100vh yeterli */
.section--logo-section-fullscreen.section--below-header {
  min-height: 100vh;
}

.section__logo-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Banner Başlığı - global.css değişkenleri (--page-title-*) */
.section__logo-banner {
  text-align: left;
  margin-bottom: 2rem;
  width: 100%;
}

.section__logo-banner-title {
  margin: 0;
  font-size: var(--page-title-font-size);
  font-weight: 600;
  color: inherit;
}

.section__logo-banner-desc {
  margin: var(--page-title-subdesc-gap) 0 0;
  font-size: var(--page-subdesc-font-size);
  font-weight: 400;
  opacity: 0.85;
}

.section__logo-inner {
  --logo-section-max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-title-content-gap);
  width: 100%;
  max-width: var(--logo-section-max-width);
}

.section__logo-media {
  line-height: 0;
}

.section__logo-media img {
  width: 200px;
  height: auto;
  display: block;
}

.section__logo-content {
  margin: 0;
  width: 100%;
  font-family: var(--font-secondary);
}

.section__logo-content p:last-child {
  margin-bottom: 0;
}

.section__logo-features {
  display: grid;
  gap: 1.5rem 2rem;
  width: 100%;
  margin: 0;
}

.section__logo-features--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.section__logo-features--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.section__logo-features--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.section__logo-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__logo-feature-number {
  font-size: 3rem;
  font-weight: 100;
  line-height: 1.2;
}

.section__logo-feature-desc {
  font-family: var(--font-secondary);
  font-weight: 400;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.section__logo-cta {
  margin: 0;
}

/* Sonraki bölüm butonu - alta yapışık, yatay ortalı (Shopify tarzı) */
.section--has-next-btn .section__logo-wrap {
  padding-bottom: 4rem;
}

.section__next-btn-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section__next-btn-inner {
  display: flex;
  justify-content: center;
}

.section__next-btn-inner .btn {
  scroll-margin-top: 2rem;
}

@media (max-width: 768px) {
  .section--logo-section {
    min-height: 250px;
  }

  .section__logo-features {
    grid-template-columns: 1fr;
  }

  .section--has-next-btn .section__logo-wrap {
    padding-bottom: 3.5rem;
  }

  .section--below-header {
    margin-top: calc(-1 * var(--header-height, 100px));
  }
}
