/*
 * hero.css — Shatat Music Theme
 * Covers: #hero, .hero__*, .page-hero, marquee strip
 */

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
#hero,
.hero {
    min-height: 100vh;
    background: var(--c-sapphire);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* ── Geometric mashrabiya background ── */
.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        repeating-linear-gradient(
            0deg,
            var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 60px),
        repeating-linear-gradient(
            90deg,
            var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 60px),
        repeating-linear-gradient(
            45deg,
            var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 42.4px),
        repeating-linear-gradient(
            -45deg,
            var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 42.4px);
    background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px;
    pointer-events: none;
}

/* ── Radial vignette overlay ── */
.hero__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 60%,
            rgba(22, 36, 62, 0) 0%,
            rgba(22, 36, 62, 0.65) 100%),
        linear-gradient(to bottom,
            rgba(22, 36, 62, 0.4) 0%,
            rgba(22, 36, 62, 0)   30%,
            rgba(22, 36, 62, 0.4) 100%);
    pointer-events: none;
}

/* ── Ornamental arch rings (Islamic architectural motif) ── */
.hero__arch {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(196, 146, 58, 0.1);
    border-bottom: none;
    pointer-events: none;
}

.hero__arch--1 { width: 320px;  height: 190px; border-radius: 160px 160px 0 0; }
.hero__arch--2 { width: 550px;  height: 310px; border-radius: 275px 275px 0 0; border-color: rgba(196, 146, 58, 0.07); }
.hero__arch--3 { width: 800px;  height: 440px; border-radius: 400px 400px 0 0; border-color: rgba(196, 146, 58, 0.04); }
.hero__arch--4 { width: 1080px; height: 580px; border-radius: 540px 540px 0 0; border-color: rgba(196, 146, 58, 0.022); }

/* ── 8-pointed decorative stars ── */
.hero__star {
    position: absolute;
    color: var(--c-gold);
    opacity: 0.22;
    pointer-events: none;
}

.hero__star--left  { top: 18%; left: 8%; }
.hero__star--right { top: 22%; right: 9%; opacity: 0.14; }

/* ── Content block ── */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 820px;
    width: 100%;
    animation: heroFadeIn 1.1s var(--ease) forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Eyebrow row ── */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2rem;
}

.hero__eyebrow-line {
    width: 32px; height: 1px;
    background: var(--c-gold);
    opacity: 0.45;
}

.hero__eyebrow-text {
    font-size: 10px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--c-gold);
    font-weight: 500;
}

/* ── Arabic title ── */
.hero__title-ar {
    font-family: var(--font-arabic);
    font-size: clamp(72px, 14vw, 130px);
    font-weight: 700;
    color: var(--c-parchment);
    line-height: 1;
    direction: rtl;
    margin-bottom: 0.15em;
    letter-spacing: -0.01em;
}

/* ── Arabic subtitle ── */
.hero__subtitle-ar {
    font-family: var(--font-arabic);
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 400;
    color: rgba(240, 216, 152, 0.65);
    direction: rtl;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

/* ── Ornamental divider ── */
.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 1.5rem auto;
}

.hero__divider-line {
    width: 50px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold));
}

.hero__divider-line--r {
    background: linear-gradient(90deg, var(--c-gold), transparent);
}

.hero__divider-dot {
    width: 5px; height: 5px;
    background: var(--c-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ── Translated tagline ── */
.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(14px, 2.2vw, 18px);
    font-weight: 300;
    font-style: italic;
    color: rgba(250, 246, 237, 0.56);
    letter-spacing: 0.08em;
    margin-bottom: 2.8rem;
}

/* ── CTA buttons ── */
.hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__cta-primary  { }
.hero__cta-secondary { }

/* ── Scroll indicator ── */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.hero__scroll-label {
    font-size: 9px;
    letter-spacing: 0.3em;
    color: rgba(250, 246, 237, 0.28);
    text-transform: uppercase;
}

.hero__scroll-bar {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    opacity: 0.5;
    animation: scrollPulse 2.4s var(--ease) infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.28; transform: scaleY(0.7); transform-origin: top; }
    50%       { opacity: 0.65; transform: scaleY(1); }
}

/* ═══════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════ */
#marquee-strip {
    background: var(--c-gold);
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.marquee-inner {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--c-sapphire);
    padding: 0 2.5rem;
    opacity: 0.85;
}

/* ═══════════════════════════════════════
   PAGE HERO (About, Impressum, etc.)
═══════════════════════════════════════ */
.page-hero {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 4rem;
    position: relative;
}

.page-hero--parchment {
    background: var(--c-parchment-warm);
    border-bottom: 1px solid var(--c-parchment-dark);
}

.page-hero--dark {
    background: var(--c-sapphire);
}

.page-hero--dark .t-display { color: var(--c-parchment); }

/* ── Section: dark backgrounds ── */
.section--dark { background: var(--c-sapphire); }
.section--dark .t-eyebrow { color: var(--c-gold); }
.section--dark .t-display  { color: var(--c-parchment); }

/* ── Geometric dark pattern (reused on listen/newsletter sections) ── */
.section--dark-pattern {
    position: relative;
    overflow: hidden;
}

.section--dark-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(
            45deg, var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 50px),
        repeating-linear-gradient(
            -45deg, var(--c-gold) 0, var(--c-gold) 1px,
            transparent 1px, transparent 50px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .hero__title-ar { font-size: clamp(56px, 15vw, 80px); }
    .hero__ctas     { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
    .hero__arch--3,
    .hero__arch--4  { display: none; }
    .hero__star     { display: none; }
}
