/* Ana sayfa */

/* Hero: ortalı; üstte sabit menü payı dahil 132px, altta 96px (40px'i "Sıradaki sınıf" bandının bindiği alan) */
.dz-home-hero { padding: 132px 0 96px; }

.dz-home-hero__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.dz-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 6px 14px;
    border: 1px solid var(--dz-ink-line-btn);
    border-radius: var(--dz-radius-pill);
    background: rgba(99, 102, 241, 0.12);
    color: var(--dz-on-dark-2);
    font-size: 0.8125rem;
    font-weight: 500;
}

.dz-home-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dz-live);
}

.dz-home-hero .dz-hero__title { margin: 0 0 18px; }

.dz-home-hero .dz-hero__desc {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 1.1875rem;
    line-height: 1.55;
}

.dz-home-hero .dz-hero__actions { justify-content: center; }

.dz-home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: var(--dz-on-dark-2);
}

.dz-home-hero__trust li::before {
    content: "✓";
    margin-right: 6px;
    font-weight: 700;
    color: var(--dz-action-on-dark);
}

/* Tarih kutusu: gün + kısa ay (bant ve yaklaşan sınıf kartları) */
.dz-date {
    flex-shrink: 0;
    min-width: 64px;
    padding: 8px 0;
    border-radius: var(--dz-radius-btn);
    background: var(--dz-chip-bg);
    color: var(--dz-brand);
    text-align: center;
}

.dz-date__day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.dz-date__month {
    font-size: 0.75rem;
    font-weight: 600;
}

/* "Sıradaki sınıf" bandı */
.dz-next-class__wrap {
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.dz-next-class {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--dz-card);
    border: 1px solid var(--dz-line);
    border-radius: var(--dz-radius-lg);
    box-shadow: var(--dz-shadow-hover);
}

.dz-next-class__info {
    flex: 1;
    min-width: 0;
}

.dz-next-class__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dz-action);
}

.dz-next-class__title {
    margin: 2px 0 0;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.dz-next-class__title a {
    color: var(--dz-heading);
    text-decoration: none;
}

.dz-next-class__title a:hover { color: var(--dz-brand); }

.dz-next-class__meta {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--dz-text-2);
}

.dz-next-class__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dz-heading);
    white-space: nowrap;
}

/* Yaklaşan sınıf kartı: iki ayrı bağlantı (kurs, kayıt) taşır; kurs kartı gibi bütünüyle tıklanmaz */
.dz-home-class {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dz-home-class__head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dz-home-class__info { min-width: 0; }

.dz-home-class__meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dz-text-2);
}

/* Yaklaşan sınıf kartı alt satırı: fiyat ve "Kayıt Ol" */
.dz-home-class__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--dz-line);
}

/* "Detaya git" eylem bağlantısı */
.dz-home-class__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--dz-action);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.dz-home-class__price {
    font-weight: 800;
    color: var(--dz-heading);
}

.dz-home-class__price small {
    font-weight: 500;
    color: var(--dz-text-2);
}

.dz-home-class__cta:hover {
    color: var(--dz-action-hover);
    text-decoration: underline;
}

/* Eğitmen bölümü: solda eğitmen, sağda 2×2 açık rakam kartları */
.dz-home-trainer {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    align-items: center;
}

.dz-home-trainer--stats-only {
    grid-template-columns: minmax(0, 600px);
    justify-content: center;
}

.dz-home-trainer__who {
    display: flex;
    gap: 22px;
}

.dz-avatar {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 3px solid var(--dz-chip-bg);
    background: var(--dz-avatar);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dz-on-fill);
    font-size: 1.75rem;
    font-weight: 800;
}

.dz-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dz-home-trainer .dz-eyebrow { margin-bottom: 6px; }

.dz-home-trainer__name {
    margin: 0 0 12px;
    font-size: 2.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dz-home-trainer__text {
    margin: 0 0 12px;
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--dz-text-body);
}

/* Ana sayfada rakamlar açık kartlarda (koyu ızgara /Kurumsal güven şeridinde kalır) */
.dz-home-trainer .dz-stats {
    grid-auto-rows: 1fr;
    gap: 12px;
    max-width: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.dz-home-trainer .dz-stats__item {
    text-align: left;
    padding: 20px;
    background: var(--dz-card);
    border: 1px solid var(--dz-line);
    border-radius: 12px;
    box-shadow: var(--dz-shadow);
}

.dz-home-trainer .dz-stats__value {
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--dz-heading);
    overflow-wrap: anywhere;
}

.dz-home-trainer .dz-stats__label {
    display: block;
    margin-top: 6px;
    color: var(--dz-text-2);
    text-transform: none;
}

/* İletişim bölümü */
.dz-home-contact__form { padding: 2.5rem; }

.dz-home-contact__info { padding: 2.5rem 2rem; }

.dz-home-contact__info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dz-heading);
}

/* İletişim öğesi: çerçevesiz, ikon üstte ortada, metin ortalı; öğeler ince çizgiyle ayrılır */
.dz-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
}

.dz-contact-item + .dz-contact-item { border-top: 1px solid var(--dz-line); }

.dz-contact-item__icon {
    background: var(--dz-surface);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dz-brand);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dz-contact-item__body { min-width: 0; }

.dz-contact-item__body h5 {
    color: var(--dz-text-2);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.dz-contact-item__body p {
    color: var(--dz-heading);
    font-weight: 500;
    margin: 0;
}

/* E-posta ve telefon bölünmez */
.dz-contact-item__body .dz-contact-item__nowrap { white-space: nowrap; }

.dz-contact-item__email {
    color: inherit;
    text-decoration: none;
}

.dz-contact-item__email:hover { color: var(--dz-brand); text-decoration: underline; }

.dz-home-contact__social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .dz-home-trainer { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 575.98px) {
    .dz-home-trainer__who { flex-direction: column; }
    .dz-home-trainer__name { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .dz-home-hero { padding: 104px 0 80px; }
    .dz-home-hero .dz-hero__desc { font-size: 1.0625rem; }
    .dz-home-hero .dz-hero__actions .dz-btn { width: 100%; justify-content: center; }

    .dz-next-class { flex-wrap: wrap; gap: 16px; padding: 18px; }
    .dz-next-class__info { flex-basis: calc(100% - 80px); }
    .dz-next-class__cta { margin-left: auto; }


    .dz-home-contact__form,
    .dz-home-contact__info { padding: 1.5rem; }
}
