/* ============================================================
   Druze Roots and Wings — custom styles
   Tailwind (via CDN) handles utilities; this file holds the
   brand colour variables, the hero candle/ribbon visuals, and
   the component classes referenced in index.html.
   ============================================================ */

:root {
    /* Brand palette — edit colours here */
    --parchment: #f4f0e6;
    --parchment-deep: #ece6d6;
    --navy: #161b2e;
    --navy-soft: #2a3148;
    --gold: #b08d4f;
    --gold-soft: #c9ab73;
}

/* Smooth in-page scrolling, with offset for the fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

/* Alpine: hide elements until Alpine initialises */
[x-cloak] {
    display: none !important;
}

body {
    background-color: var(--parchment);
    color: var(--navy);
}

/* ---------- Brand mark (small candle-flame dot) ---------- */
.brand-mark {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 40%, var(--gold-soft), var(--gold));
    box-shadow: 0 0 10px 1px rgba(176, 141, 79, 0.55);
    display: inline-block;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav-link {
    position: relative;
    color: var(--navy);
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: var(--gold);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    height: 1px;
    width: 0;
    background-color: var(--gold);
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.mobile-link {
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid rgba(22, 27, 46, 0.08);
    color: var(--navy);
}
.mobile-link:hover {
    color: var(--gold);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-navy,
.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-navy {
    background-color: var(--navy);
    color: var(--parchment);
}
.btn-navy:hover {
    background-color: var(--navy-soft);
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
}
.btn-gold:hover {
    background-color: #9a7a41;
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid rgba(22, 27, 46, 0.35);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   Section eyebrow / labels
   ============================================================ */
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    border-top: 1px solid rgba(176, 141, 79, 0.5);
    padding-top: 0.5rem;
}

/* ============================================================
   Hero — candle glow + mourning ribbon (pure CSS)
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 171, 115, 0.18), transparent 70%),
        var(--parchment);
}

/* Soft candle light rising from the top-centre */
.hero-glow {
    position: absolute;
    top: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 28rem;
    height: 28rem;
    max-width: 90vw;
    background: radial-gradient(circle, rgba(201, 171, 115, 0.35) 0%, rgba(201, 171, 115, 0.08) 45%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* Subtle dark mourning-chiffon sweep along the bottom edge */
.hero-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7rem;
    background: linear-gradient(180deg, transparent, rgba(22, 27, 46, 0.06));
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   Story prose (What Happened in Suwayda)
   ============================================================ */
.story-prose p {
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.story-prose p:last-child {
    margin-bottom: 0;
}
/* Quiet the closing/initiative paragraph slightly */
.story-prose p:last-child {
    color: var(--navy);
    border-top: 1px solid rgba(176, 141, 79, 0.4);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

/* ============================================================
   Event card
   ============================================================ */
.detail-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
}
.detail-value {
    font-size: 1.05rem;
    color: var(--navy);
    margin-top: 0.25rem;
}

/* ============================================================
   Feature cards (Why It Matters)
   ============================================================ */
.feature-card {
    background-color: var(--parchment);
    border: 1px solid rgba(22, 27, 46, 0.1);
    border-radius: 0.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -18px rgba(22, 27, 46, 0.4);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(176, 141, 79, 0.12);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.feature-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.feature-text {
    color: var(--navy-soft);
    line-height: 1.6;
    font-size: 0.97rem;
}

/* ============================================================
   Source cards (Public Record)
   ============================================================ */
.source-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.35rem;
    background-color: var(--parchment);
    border: 1px solid rgba(22, 27, 46, 0.12);
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.source-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.source-tag {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
}
.source-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
}
.source-link {
    font-size: 0.85rem;
    color: var(--navy-soft);
}

/* ============================================================
   Help cards (How Organizations Can Help)
   ============================================================ */
.help-card {
    background-color: var(--parchment);
    border: 1px solid rgba(22, 27, 46, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 0.5rem;
    padding: 1.6rem 1.6rem;
}
.help-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.help-text {
    color: var(--navy-soft);
    line-height: 1.6;
    font-size: 0.97rem;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
@media (min-width: 480px) {
    .contact-row {
        flex-direction: row;
        align-items: baseline;
        gap: 1rem;
    }
}
.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    min-width: 6rem;
}
.contact-value {
    color: var(--navy);
}
.contact-value-link {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: rgba(176, 141, 79, 0.5);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.contact-value-link:hover {
    color: var(--gold);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
