/* ==========================================================================
 * HIZIRBEY DESIGN SYSTEM — HERO · banner varyantı
 * Dosya     : themes/default/assets/css/hds/components/hero/banner.css
 * Oluşturuldu: 2026-11-04 · Sürüm 1.0.0
 * Ownership : Site başlığı banner'ı: geniş görsel, solda amblem + büyük ad + altın italik slogan,
 *             altta yarı saydam menü şeridi (`.hds-hero__footer`). `.hds-hero--banner` ile açılır.
 * Kancalar  : --hds-hero-min-height, --hds-hero-banner-title-color, --hds-hero-banner-slogan-color,
 *             --hds-hero-banner-emblem, --hds-hero-banner-strip (şerit zemini), --hds-hero-banner-strip-border.
 *             Menü renkleri Navigation site-header kancalarıyla verilir (--hds-navigation-site-header-*).
 * ========================================================================== */

/* ---> Hero banner */

.hds-hero--banner {
  --hds-hero-min-height: clamp(15rem, 24vw, 21rem);
  --hds-hero-radius: 0;
  --hds-hero-surface: #0f2a4a;
  --hds-hero-color: #fff8e8;
  --hds-hero-padding: clamp(1rem, 3vw, 2.5rem);
  --hds-hero-overlay: linear-gradient(to bottom, rgb(8 20 40 / 0.35), rgb(8 20 40 / 0) 40%, rgb(8 20 40 / 0.55));
  --hds-hero-banner-emblem: clamp(4.5rem, 10vw, 9.5rem);
  --hds-hero-banner-strip: rgb(16 40 74 / 0.6);
  --hds-hero-banner-strip-border: rgb(255 255 255 / 0.18);
  --hds-navigation-site-header-color: #fff8e8;
  --hds-navigation-site-header-hover-color: #fff;
  --hds-navigation-site-header-hover-bg: rgb(255 255 255 / 0.14);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  /* Menü açılır panelleri banner dışına taşabilsin: kırpma görselin kendi kutusunda. */
  overflow: visible;
  position: relative;
  z-index: 20;
}

.hds-hero--banner .hds-hero__media {
  overflow: hidden;
}

.hds-hero--banner::after {
  pointer-events: none;
}

.hds-hero--banner .hds-hero__emblem {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: var(--hds-hero-banner-emblem);
  margin: var(--hds-hero-padding) 0 0 var(--hds-hero-padding);
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.45));
}

.hds-hero--banner .hds-hero__emblem img {
  display: block;
  width: 100%;
  height: auto;
}

.hds-hero--banner .hds-hero__body {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  padding: var(--hds-hero-padding) var(--hds-hero-padding) 0 0;
  gap: 0.35rem;
}

/* Amblem yoksa gövde baştan başlar. */
.hds-hero--banner:not(:has(.hds-hero__emblem)) .hds-hero__body {
  grid-column: 1 / -1;
  padding-left: var(--hds-hero-padding);
}

.hds-hero--banner .hds-hero__title {
  color: var(--hds-hero-banner-title-color, #fff8e8);
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: clamp(1.9rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 3px 14px rgb(0 0 0 / 0.55);
}

.hds-hero--banner .hds-hero__description {
  color: var(--hds-hero-banner-slogan-color, #e9bd62);
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: clamp(0.95rem, 2.4vw, 2rem);
  font-style: italic;
  opacity: 1;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.55);
}

.hds-hero--banner .hds-hero__footer {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  box-sizing: border-box;
  max-width: calc(100% - 2 * var(--hds-hero-padding));
  margin: 0 var(--hds-hero-padding) calc(var(--hds-hero-padding) * 0.6);
  padding: 2px 10px;
  background: var(--hds-hero-banner-strip);
  border: 1px solid var(--hds-hero-banner-strip-border);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Dar ekran: slogan gizlenir, menü şeridi tam genişlik. */
@media (max-width: 639.98px) {
  .hds-hero--banner .hds-hero__description {
    display: none;
  }

  .hds-hero--banner .hds-hero__footer {
    justify-self: stretch;
    margin-inline: 0.5rem;
  }
}

/* <--- Hero banner */
