/* Advent + Christmas home page (home-advent.html). The seasonal header lives
   in site.css because it applies to the whole site. */

@keyframes candle-glow {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(232, 180, 90, 0.4); opacity: 0.85; }
    50%      { box-shadow: 0 0 13px 5px rgba(232, 180, 90, 0.7); opacity: 1; }
}

.advent-flame {
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #ffe9b0, #e0a83e);
    animation: candle-glow 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .advent-flame {
        animation: none !important;
        box-shadow: 0 0 13px 5px rgba(232, 180, 90, 0.7);
    }
}

.advent-eyebrow {
    color: #c9a55c;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

/* The site header is fixed, so this wrapper clears it. */
.advent-top {
    margin-top: 128px;
}

/* ── Advent band ── */
.advent-band {
    background: #131f3b;
    border-top: 1px solid rgba(201, 165, 92, 0.45);
    border-bottom: 1px solid rgba(201, 165, 92, 0.45);
    padding: 10px 56px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.advent-band-season,
.advent-band-week {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.advent-band-season { color: #c9a55c; }
.advent-band-week { color: #f2ead9; }

.advent-wreath {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 0 6px;
}

.advent-candle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 12px;
}

.advent-candle-flame {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.advent-candle-flame:not(.advent-flame) {
    background: rgba(255, 255, 255, 0.12);
}

.advent-candle-body {
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: #e9dfc8;
}

.advent-candle-christ .advent-candle-body {
    height: 20px;
    background: #fbf8f0;
}

/* ── Hero ── */
.advent-hero {
    position: relative;
    height: min(720px, 90vh);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.advent-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/advent-hero.jpg') center / cover no-repeat;
}

.advent-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(16, 26, 48, 0.62) 0%,
        rgba(16, 26, 48, 0.45) 45%,
        rgba(16, 26, 48, 0.72) 90%,
        rgba(16, 26, 48, 0.35) 100%);
}

.advent-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.advent-hero-eyebrow {
    font-size: 14px;
    letter-spacing: 0.38em;
    margin-bottom: 26px;
}

.advent-hero h1 {
    font-family: 'Heldane Display', Georgia, serif;
    font-weight: 500;
    font-size: 84px;
    line-height: 1.06;
    color: #f7f2e7;
    max-width: 900px;
    margin-bottom: 34px;
    text-wrap: balance;
}

.advent-hero p {
    font-size: 21px;
    line-height: 1.65;
    color: #efe9dc;
    max-width: 760px;
}

/* ── This week's reflection ── */
.advent-reflection {
    background: #0d1526;
    padding: 84px 56px;
    display: flex;
    justify-content: center;
    min-height: 340px;
}

.advent-reflection-inner {
    max-width: 720px;
    text-align: center;
}

.advent-reflection .advent-eyebrow { margin-bottom: 22px; }

.advent-reflection blockquote {
    font-family: 'Heldane Display', Georgia, serif;
    font-style: italic;
    font-size: 30px;
    line-height: 1.5;
    color: #f2ead9;
    text-wrap: pretty;
}

.advent-citation {
    margin-top: 24px;
    color: #8fa0bd;
    font-size: 15px;
    letter-spacing: 0.08em;
}

/* ── Services ── */
.advent-services {
    background: #1a2438;
    border-top: 1px solid rgba(201, 165, 92, 0.35);
    padding: 90px 56px 110px;
    text-align: center;
}

.advent-services h2 {
    font-family: 'Heldane Display', Georgia, serif;
    font-weight: 500;
    font-size: 54px;
    line-height: 1.15;
    color: #f2ead9;
    margin-bottom: 56px;
}

.advent-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 28px;
}

.advent-cards .advent-card {
    width: 264px;
    min-height: 0;
    justify-content: center;
    padding: 40px 30px;
    background: #182034;
    border: 1px solid rgba(201, 165, 92, 0.3);
}

.advent-cards .advent-card[hidden] { display: none; }

.advent-cards .advent-card h3 {
    font-family: 'Heldane Display', Georgia, serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 1.2;
    color: #f2ead9;
    margin-bottom: 12px;
}

.advent-cards .advent-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #b9c2d4;
    margin-bottom: 0;
}

/* Small gold line drawings, sitting above the card title. */
.advent-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: #c9a55c;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advent-card-icon .icon-glow {
    fill: #e8b45a;
    stroke: none;
}

.advent-card-icon .icon-tint {
    fill: rgba(201, 165, 92, 0.14);
}

.advent-card-icon .icon-leaves {
    fill: rgba(201, 165, 92, 0.14);
}

/* Always the highlighted card, even before the live service data answers. */
.advent-cards .advent-card-sunday {
    border-color: #c9a55c;
}

.advent-cards .advent-card-sunday .this-sunday-badge {
    display: block;
    top: -14px;
    background: #c9a55c;
    color: #1b2340;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 6px 18px;
}

.advent-cards .advent-card-sunday.active-sunday {
    box-shadow: none;
}

.advent-cards .this-sunday-note {
    background: rgba(201, 165, 92, 0.1);
    border-color: rgba(201, 165, 92, 0.4);
    color: #d6c9ad;
}

.advent-cards .this-sunday-note strong { color: #f2ead9; }

/* ── Winter Solstice by Luminaria ── */
.advent-solstice {
    background: #070c18;
    padding: 110px 56px 0;
    text-align: center;
    overflow: hidden;
}

.advent-solstice[hidden] { display: none; }

.advent-solstice-inner {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.advent-solstice .advent-eyebrow { margin-bottom: 24px; }

.advent-solstice h2 {
    font-family: 'Heldane Display', Georgia, serif;
    font-weight: 500;
    font-size: 58px;
    line-height: 1.15;
    color: #f7f2e7;
    margin-bottom: 28px;
    text-wrap: balance;
}

.advent-solstice p {
    color: #aab6cc;
    font-size: 19px;
    line-height: 1.75;
    max-width: 660px;
    margin: 0 auto;
}

.advent-solstice-details {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 44px;
    margin-top: 44px;
}

.advent-solstice-details li {
    color: #f2ead9;
    font-size: 15px;
    letter-spacing: 0.1em;
}

.advent-solstice-details li::before {
    content: '\2726\00a0\00a0';
    color: #c9a55c;
}

.advent-solstice-details li:empty { display: none; }

/* Full bleed: pulls back out of the section's side padding. */
.advent-luminarias {
    margin: 0 -56px;
    border-top: 1px solid rgba(201, 165, 92, 0.35);
    padding: 26px 0 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

.advent-luminaria {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 22px;
    border-radius: 2px 2px 3px 3px;
    background: linear-gradient(180deg, #3a2f1c 0%, #6b4f22 55%, #a5762f 100%);
}

.advent-luminaria .advent-flame {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 6px;
    height: 6px;
    transform: translateX(-50%);
}

/* ── Smaller screens ── */

/* Four cards no longer fit in a row, so hold them two by two instead of
   leaving one stranded on its own line. */
@media (max-width: 1252px) {
    .advent-cards {
        max-width: 556px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .advent-hero h1 { font-size: 64px; }
    .advent-services h2 { font-size: 44px; }
    .advent-solstice h2 { font-size: 46px; }
}

@media (max-width: 600px) {
    .advent-band { padding: 10px 16px; gap: 14px; }
    .advent-band-season { display: none; }
    .advent-band-week { font-size: 11px; letter-spacing: 0.18em; text-align: center; }
    .advent-wreath { gap: 8px; padding: 0; flex-shrink: 0; }

    .advent-hero { height: 560px; }
    .advent-hero h1 { font-size: 48px; margin-bottom: 24px; }
    .advent-hero p { font-size: 18px; }
    .advent-hero-eyebrow { font-size: 12px; letter-spacing: 0.26em; }

    .advent-reflection { padding: 60px 24px; }
    .advent-reflection blockquote { font-size: 24px; }

    .advent-services { padding: 60px 24px 70px; }
    .advent-services h2 { font-size: 36px; margin-bottom: 44px; }
    .advent-cards .advent-card { width: 100%; }

    .advent-solstice { padding: 70px 24px 0; }
    .advent-solstice-inner { padding-bottom: 56px; }
    .advent-solstice h2 { font-size: 36px; }
    .advent-solstice p { font-size: 17px; }
    .advent-solstice-details { flex-direction: column; }
    .advent-luminarias { margin: 0 -24px; gap: 14px; }
}
