/* =========================================================================
   DigiFlux — Alt sayfalarda ortak olan layout blokları
   - Page Hero (45vh)
   - Breadcrumb
   - Hero Wave divider
   Sayfa-özel CSS'in (hakkimizda.css, ekibimiz.css, ortaklar.css, ...)
   HEMEN ÖNCESİ yüklenir. index.html bu dosyayı kullanmaz.
   ========================================================================= */

/* ============================================================
   PAGE HERO  (45vh)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  color: var(--df-white);
  background:
    radial-gradient(ellipse at 80% 30%, rgba(46, 134, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(244, 123, 32, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, var(--df-navy) 0%, var(--df-blue-deep) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.page-hero-bg .hero-blob-1 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  width: 360px; height: 360px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, var(--df-blue-bright) 0%, transparent 70%);
  animation: blob-drift 14s ease-in-out infinite;
}

.page-hero-inner {
  position: relative;
  text-align: center;
}

.page-hero h1 {
  color: var(--df-white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

/* Tagline'ı page hero'da ortalamak için padding-left iptal */
.page-hero .section-tagline { padding-left: 0; }
.page-hero .section-tagline::before { display: none; }

.page-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--t-fast);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--df-amber);
}

.breadcrumb-sep { color: rgba(255, 255, 255, 0.4); }

.breadcrumb-current {
  color: var(--df-white);
  font-weight: 600;
}

/* ============================================================
   HERO WAVE (alt geçiş)
   ============================================================ */
.page-hero .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.page-hero .hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================================
   Desktop ölçek
   ============================================================ */
@media (min-width: 1024px) {
  .page-hero { padding: 5.5rem 0 7rem; }
  .page-hero .hero-wave svg { height: 80px; }
}

/* ============================================================
   CTA BAND — alt sayfaların sonundaki gradient çağrı bandı.
   Markup:
     <section class="cta-band">
       <div class="cta-band-bg" aria-hidden="true">
         <span class="cta-blob cta-blob-1"></span>
         <span class="cta-blob cta-blob-2"></span>
       </div>
       <div class="container cta-band-inner">
         <h2 id="cta-title">…</h2>
         <p>…</p>
         <div class="cta-band-buttons">
           <a class="btn btn-on-blue">…</a>
           <a class="btn btn-outline-light">…</a>
         </div>
       </div>
     </section>
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem;
  color: var(--df-white);
  background:
    linear-gradient(135deg, var(--df-blue-deep) 0%, #6B4DCC 50%, var(--df-orange) 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.06;
  pointer-events: none;
}

.cta-band .cta-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-band .cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: blob-drift 12s ease-in-out infinite;
}

.cta-band .cta-blob-1 {
  width: 320px; height: 320px;
  top: -100px; left: 10%;
  background: radial-gradient(circle, var(--df-amber) 0%, transparent 70%);
}

.cta-band .cta-blob-2 {
  width: 280px; height: 280px;
  bottom: -100px; right: 10%;
  background: radial-gradient(circle, var(--df-blue-bright) 0%, transparent 70%);
  animation-delay: -6s;
}

.cta-band-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}

.cta-band h2 {
  color: var(--df-white);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 640px;
}

.cta-band-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cta-band-buttons .btn {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 768px) {
  .cta-band-buttons {
    flex-direction: row;
    gap: 1rem;
  }
  .cta-band-buttons .btn { width: auto; }
}
