/* =========================
   RESPONSIVE PAGE HEADERS (H1)
   Tüm view'lerde kullanılan "<sayfa>-header > h1" başlıklarını
   tek noktadan modern, tutarlı ve responsive hale getirir.
   NOT: Sayfa CSS'lerinden SONRA include edilmelidir.

   Görsel: koyu lacivert/gri uppercase başlık + altında
           gradient-fade çizgiler arasında bordo yıldız.
========================= */

/* ---- Ortak container (tüm *-header) ---- */
.contact-page .contact-header,
.tour-page .tour-header,
.mehter-page .mehter-header,
.martyr-page .martyr-header,
.salon-page .salon-header,
.custom-page .custom-header,
.announcements-page .announcements-header,
.page-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 18px 0 14px;
    border-bottom: none !important;
    position: relative;
}

/* ---- Ortak başlık (H1) ---- */
.contact-page .contact-header h1,
.tour-page .tour-header h1,
.mehter-page .mehter-header h1,
.martyr-page .martyr-header h1,
.salon-page .salon-header h1,
.custom-page .custom-header h1,
.announcements-page .announcements-header h1,
.page-header h1 {
    color: #1f2937 !important;
    font-size: clamp(1.4rem, 2vw + 0.8rem, 1.95rem);
    font-weight: 750;
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: none !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
    max-width: 100%;
}

/* ---- Alt başlık (varsa) ---- */
.contact-page .contact-header .subtitle,
.tour-page .tour-header .subtitle,
.mehter-page .mehter-header .subtitle,
.martyr-page .martyr-header .subtitle,
.salon-page .salon-header .subtitle,
.custom-page .custom-header .subtitle,
.announcements-page .announcements-header .subtitle,
.page-header .subtitle {
    color: var(--msb-bordo) !important;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

/* ---- Header süs alanı (çizgi - yıldız - çizgi) ---- */
.contact-page .contact-header .header-decoration,
.tour-page .tour-header .header-decoration,
.mehter-page .mehter-header .header-decoration,
.martyr-page .martyr-header .header-decoration,
.salon-page .salon-header .header-decoration,
.custom-page .custom-header .header-decoration,
.announcements-page .announcements-header .header-decoration,
.page-header .header-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

/* Sol çizgi: soldan transparent → bordo */
.contact-page .contact-header .header-decoration span:first-child,
.tour-page .tour-header .header-decoration span:first-child,
.mehter-page .mehter-header .header-decoration span:first-child,
.martyr-page .martyr-header .header-decoration span:first-child,
.salon-page .salon-header .header-decoration span:first-child,
.custom-page .custom-header .header-decoration span:first-child,
.announcements-page .announcements-header .header-decoration span:first-child,
.page-header .header-decoration span:first-child {
    width: 56px !important;
    height: 3px !important;
    margin: 0 !important;
    background: linear-gradient(90deg, transparent, var(--msb-bordo)) !important;
    border-radius: 999px !important;
}

/* Sağ çizgi: bordo → transparent */
.contact-page .contact-header .header-decoration span:last-child,
.tour-page .tour-header .header-decoration span:last-child,
.mehter-page .mehter-header .header-decoration span:last-child,
.martyr-page .martyr-header .header-decoration span:last-child,
.salon-page .salon-header .header-decoration span:last-child,
.custom-page .custom-header .header-decoration span:last-child,
.announcements-page .announcements-header .header-decoration span:last-child,
.page-header .header-decoration span:last-child {
    width: 56px !important;
    height: 3px !important;
    margin: 0 !important;
    background: linear-gradient(90deg, var(--msb-bordo), transparent) !important;
    border-radius: 999px !important;
}

/* Orta yıldız ikonu */
.contact-page .contact-header .header-decoration i,
.tour-page .tour-header .header-decoration i,
.mehter-page .mehter-header .header-decoration i,
.martyr-page .martyr-header .header-decoration i,
.salon-page .salon-header .header-decoration i,
.custom-page .custom-header .header-decoration i,
.announcements-page .announcements-header .header-decoration i,
.page-header .header-decoration i {
    color: var(--msb-bordo) !important;
    font-size: 1rem !important;
}

/* ============== RESPONSIVE ============== */

/* Tablet ve altı */
@media (max-width: 768px) {
    .contact-page .contact-header,
    .tour-page .tour-header,
    .mehter-page .mehter-header,
    .martyr-page .martyr-header,
    .salon-page .salon-header,
    .custom-page .custom-header,
    .announcements-page .announcements-header,
    .page-header {
        margin-bottom: 22px;
        padding: 14px 0 10px;
    }

    .contact-page .contact-header h1,
    .tour-page .tour-header h1,
    .mehter-page .mehter-header h1,
    .martyr-page .martyr-header h1,
    .salon-page .salon-header h1,
    .custom-page .custom-header h1,
    .announcements-page .announcements-header h1,
    .page-header h1 {
        letter-spacing: 0.6px;
    }

    .contact-page .contact-header .header-decoration span:first-child,
    .contact-page .contact-header .header-decoration span:last-child,
    .tour-page .tour-header .header-decoration span:first-child,
    .tour-page .tour-header .header-decoration span:last-child,
    .mehter-page .mehter-header .header-decoration span:first-child,
    .mehter-page .mehter-header .header-decoration span:last-child,
    .martyr-page .martyr-header .header-decoration span:first-child,
    .martyr-page .martyr-header .header-decoration span:last-child,
    .salon-page .salon-header .header-decoration span:first-child,
    .salon-page .salon-header .header-decoration span:last-child,
    .custom-page .custom-header .header-decoration span:first-child,
    .custom-page .custom-header .header-decoration span:last-child,
    .announcements-page .announcements-header .header-decoration span:first-child,
    .announcements-page .announcements-header .header-decoration span:last-child,
    .page-header .header-decoration span:first-child,
    .page-header .header-decoration span:last-child {
        width: 42px !important;
    }
}

/* Telefon */
@media (max-width: 480px) {
    .contact-page .contact-header,
    .tour-page .tour-header,
    .mehter-page .mehter-header,
    .martyr-page .martyr-header,
    .salon-page .salon-header,
    .custom-page .custom-header,
    .announcements-page .announcements-header,
    .page-header {
        padding: 12px 8px 8px;
        margin-bottom: 18px;
    }

    .contact-page .contact-header h1,
    .tour-page .tour-header h1,
    .mehter-page .mehter-header h1,
    .martyr-page .martyr-header h1,
    .salon-page .salon-header h1,
    .custom-page .custom-header h1,
    .announcements-page .announcements-header h1,
    .page-header h1 {
        letter-spacing: 0.3px;
    }

    .contact-page .contact-header .header-decoration span:first-child,
    .contact-page .contact-header .header-decoration span:last-child,
    .tour-page .tour-header .header-decoration span:first-child,
    .tour-page .tour-header .header-decoration span:last-child,
    .mehter-page .mehter-header .header-decoration span:first-child,
    .mehter-page .mehter-header .header-decoration span:last-child,
    .martyr-page .martyr-header .header-decoration span:first-child,
    .martyr-page .martyr-header .header-decoration span:last-child,
    .salon-page .salon-header .header-decoration span:first-child,
    .salon-page .salon-header .header-decoration span:last-child,
    .custom-page .custom-header .header-decoration span:first-child,
    .custom-page .custom-header .header-decoration span:last-child,
    .announcements-page .announcements-header .header-decoration span:first-child,
    .announcements-page .announcements-header .header-decoration span:last-child,
    .page-header .header-decoration span:first-child,
    .page-header .header-decoration span:last-child {
        width: 32px !important;
        height: 2.5px !important;
    }

    .contact-page .contact-header .header-decoration i,
    .tour-page .tour-header .header-decoration i,
    .mehter-page .mehter-header .header-decoration i,
    .martyr-page .martyr-header .header-decoration i,
    .salon-page .salon-header .header-decoration i,
    .custom-page .custom-header .header-decoration i,
    .announcements-page .announcements-header .header-decoration i,
    .page-header .header-decoration i {
        font-size: 0.85rem !important;
    }
}

/* Çok küçük cihazlar (<= 360px) */
@media (max-width: 360px) {
    .contact-page .contact-header h1,
    .tour-page .tour-header h1,
    .mehter-page .mehter-header h1,
    .martyr-page .martyr-header h1,
    .salon-page .salon-header h1,
    .custom-page .custom-header h1,
    .announcements-page .announcements-header h1,
    .page-header h1 {
        font-size: 1.15rem;
    }
}
