/* ═══════════════════════════════════════════════════════════════
   EVENTS PAGE — events.css
   Pairs with style.css (loaded first). Reuses all CSS custom
   properties defined in :root there.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Shared utility used on this page ─── */
.gold-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    margin: 0.8rem auto 1.2rem;
}

/* ─── Body override for events page ─── */
.events-page {
    background: #f5ede0;
}

/* ═══════════════════════════════════════════ PAGE NAV */
.ev-page-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: 54px;
    background: #fff;
    border-bottom: 1px solid #e8e4e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.ev-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.ev-nav-back:hover { color: #111; }
.ev-nav-back i { font-size: 0.7rem; }

.ev-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════ BANNER */
.ev-banner {
    position: relative;
    height: 450px;
    padding-top: 58px;
    background: linear-gradient(rgba(10, 18, 49, 0.1), rgba(0, 0, 0, 0.2)),
         url('images/eventsbanner.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.gb-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: saddlebrown;
    font-weight: 700;
    margin-bottom: 0.6rem;
    opacity: 0;
    animation: gbFadeUp 0.8s ease 0.2s forwards;
}

.gb-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: rgba(73, 36, 36, 0.79);
    line-height: 1.1;
    opacity: 0;
    animation: gbFadeUp 0.8s ease 0.4s forwards;
}

.gb-sub {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: maroon;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: gbFadeUp 0.8s ease 0.6s forwards;
}

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


.ev-back-btn:hover {
    background: rgba(107, 0, 0, 0.8);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════ MAIN EVENTS */
.ev-main-events-section {
    background: #fdf8f3;
    overflow: hidden;
}

.ev-main-header {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.ev-main-header .section-subtitle {
    color: #5a4030;
}

/* ── Split panel ── */
.ev-split {
    display: flex;
    min-height: 460px;
}

.ev-split-reverse {
    flex-direction: row-reverse;
}

/* Image half */
.ev-split-img {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ev-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ev-split:hover .ev-split-img img {
    transform: scale(1.05);
}

.ev-split-img-overlay {
    /* position: absolute; */
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 40%,
        rgba(253, 248, 243, 0.95) 100%
    );
}

.ev-split-reverse .ev-split-img-overlay {
    background: linear-gradient(
        to left,
        transparent 40%,
        rgba(249, 244, 239, 0.95) 100%
    );
}

.ev-split-img-overlay--warm {
    background: linear-gradient(
        to left,
        transparent 40%,
        rgba(249, 244, 239, 0.95) 100%
    ) !important;
}

/* Content half */
.ev-split-content {
    flex: 1;
    background: #fdf8f3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 4rem 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.ev-split-content--alt {
    background: #f9f4ef;
    padding: 3.5rem 3rem 3.5rem 4rem;
}

/* Large decorative background number */
.ev-split-num {
    position: absolute;
    top: -0.2rem;
    right: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 900;
    color: rgba(107, 0, 0, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.ev-split-reverse .ev-split-num {
    right: auto;
    left: 1.5rem;
}

/* Icon badge */
.ev-split-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(107, 0, 0, 0.2);
    background: rgba(107, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--crimson-mid);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.ev-split-reverse .ev-split-icon {
    margin-left: auto;
    align-self: flex-end;
}

.ev-split-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
}

.ev-split-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--crimson-deep);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ev-split-desc {
    font-size: 0.9rem;
    color: #5a4030;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

/* Metadata pills */
.ev-split-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ev-split-pills span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--crimson-mid);
    background: rgba(107, 0, 0, 0.06);
    border: 1px solid rgba(107, 0, 0, 0.18);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ev-split-pills i {
    color: var(--crimson-mid);
    font-size: 0.7rem;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .ev-split,
    .ev-split-reverse {
        flex-direction: column;
    }

    .ev-split-img {
        height: 260px;
        flex: none;
    }

    .ev-split-img-overlay,
    .ev-split-reverse .ev-split-img-overlay,
    .ev-split-img-overlay--warm {
        background: linear-gradient(
            to bottom,
            transparent 50%,
            rgba(253, 248, 243, 0.95) 100%
        ) !important;
    }

    .ev-split-content,
    .ev-split-content--alt {
        padding: 2.5rem 1.5rem;
    }
}

/* ═══════════════════════════════════════════ STALLS */
.ev-stalls-section {
    background: linear-gradient(160deg, #0e1a2e 0%, #162540 50%, #0e1a2e 100%);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.ev-stall-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
}

.ev-stall-glow-l {
    top: 5%;
    left: -12%;
    background: radial-gradient(circle, rgba(160, 90, 40, 0.25) 0%, transparent 65%);
}

.ev-stall-glow-r {
    bottom: 5%;
    right: -12%;
    background: radial-gradient(circle, rgba(200, 120, 60, 0.15) 0%, transparent 65%);
}

.ev-stalls-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: #c8916a;
    margin-bottom: 0.8rem;
}

.ev-stalls-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #f0d0b0;
    margin: 0;
    text-shadow: 0 0 40px rgba(200, 120, 60, 0.35);
}

.ev-stalls-sub {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(230, 190, 155, 0.65);
    font-style: italic;
}

.ev-stall-rows {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 860px;
    margin: 0 auto;
}

.ev-stall-row {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.ev-stall-row-rev {
    flex-direction: row-reverse;
}

.ev-stall-thumb {
    width: 200px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(180, 100, 50, 0.25);
}

.ev-stall-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ev-stall-row:hover .ev-stall-thumb img {
    transform: scale(1.06);
}

.ev-stall-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(180, 100, 50, 0.2);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    transition: background 0.25s, border-color 0.25s;
}

.ev-stall-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 120, 60, 0.4);
}

.ev-stall-icon {
    font-size: 1rem;
    color: #c8916a;
    display: block;
    margin-bottom: 0.4rem;
}

.ev-stall-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f0d0b0;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.ev-stall-card p {
    font-size: 0.8rem;
    color: rgba(230, 190, 155, 0.65);
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.ev-stall-tag {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8916a;
    border: 1px solid rgba(180, 100, 50, 0.35);
    padding: 0.28rem 0.8rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .ev-stall-row,
    .ev-stall-row-rev { flex-direction: column; }
    .ev-stall-thumb { width: 100%; height: 180px; }
}

/* ═══════════════════════════════════════════ DAILY SCHEDULE */
.ev-schedule-section {
    background: #e4d6c7;
    padding: 6rem 0;
    border-top: 1px solid rgba(212, 160, 23, 0.15);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.ev-timeline {
    position: relative;
    padding-left: 0;
    max-width: 860px;
    margin: 0 auto;
}

/* Vertical connector line */
.ev-timeline::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-bright), rgba(212, 160, 23, 0.15));
}

.ev-timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.ev-time-badge {
    min-width: 68px;
    text-align: right;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold-deep);
    padding-top: 1rem;
    flex-shrink: 0;
}

.ev-timeline-card {
    flex: 1;
    display: flex;
    gap: 1rem;
    background: #fff;
    border-left: 3px solid var(--gold-bright);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 12px rgba(107, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ev-timeline-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(107, 0, 0, 0.14);
}

.ev-timeline-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    background: rgba(107, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crimson-mid);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.ev-timeline-body h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(73, 36, 36);
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.ev-timeline-body p {
    font-size: 0.88rem;
    color: #5a4030;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .ev-timeline::before { display: none; }
    .ev-time-badge { min-width: auto; text-align: left; }
    .ev-timeline-item { flex-direction: column; gap: 0.4rem; }
}

/* ═══════════════════════════════════════════ SPECIAL EVENTS */
.ev-special-section {
    background: #eeecec;
    padding: 4rem 0 6rem;
}

.ev-special-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 0, 0, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ev-special-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(107, 0, 0, 0.18);
}

.ev-special-img {
    position: relative;
    overflow: hidden;
}

.ev-special-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ev-special-card:hover .ev-special-img img {
    transform: scale(1.07);
}

.ev-special-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(73, 36, 36, 0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 0.8rem 1rem;
}

.ev-day-badge {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--gold-pale);
    background: rgba(107, 0, 0, 0.7);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 160, 23, 0.4);
}

.ev-special-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ev-card-icon {
    font-size: 1.3rem;
    color: var(--crimson-mid);
    margin-bottom: 0.5rem;
}

.ev-special-body h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(73, 36, 36);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.ev-special-body p {
    font-size: 0.85rem;
    color: #5a4030;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0.8rem;
}

.ev-card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--gold-deep);
    letter-spacing: 0.06em;
    border-top: 1px solid rgba(212, 160, 23, 0.2);
    padding-top: 0.7rem;
    margin-top: auto;
}

.ev-card-meta i {
    margin-right: 0.25rem;
    color: var(--gold-mid);
}

/* ═══════════════════════════════════════════ HIGHLIGHT BANNER */
.ev-highlight-banner {
    position: relative;
    padding: 5.5rem 0;
    background:
        linear-gradient(rgba(10, 0, 0, 0.65), rgba(26, 0, 0, 0.78)),
        url('images/zodiacbg.jpg') center / cover no-repeat fixed;
    text-align: center;
    overflow: hidden;
    border-top: 2px solid rgba(212, 160, 23, 0.35);
    border-bottom: 2px solid rgba(212, 160, 23, 0.35);
}

.ev-highlight-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.ev-highlight-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.ev-highlight-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: 0.8rem;
}

.ev-highlight-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: var(--gold-pale);
    text-shadow: 0 0 40px rgba(212, 160, 23, 0.5);
    margin-bottom: 0.6rem;
}

.ev-highlight-sub {
    font-size: clamp(0.88rem, 2vw, 1.05rem);
    color: rgba(253, 233, 162, 0.75);
    font-style: italic;
    margin-bottom: 3rem !important;
}

.ev-highlight-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.ev-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2.5rem;
}

.ev-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
}

.ev-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(212, 160, 23, 0.75);
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.ev-stat-sep {
    width: 1px;
    height: 50px;
    background: rgba(212, 160, 23, 0.3);
}

@media (max-width: 576px) {
    .ev-stat-sep { display: none; }
    .ev-stat { padding: 0.8rem 1.5rem; }
}

/* ═══════════════════════════════════════════ VENUE INFO */
.ev-venue-section {
    background: #e4d6c7;
    padding: 6rem 0;
}

.ev-venue-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 16px rgba(107, 0, 0, 0.08);
    border-bottom: 3px solid var(--gold-bright);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ev-venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(107, 0, 0, 0.14);
}

.ev-venue-icon {
    width: 52px;
    height: 52px;
    background: rgba(107, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--crimson-mid);
    border: 1px solid rgba(107, 0, 0, 0.15);
}

.ev-venue-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(73, 36, 36);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.ev-venue-card p {
    font-size: 0.88rem;
    color: #5a4030;
    line-height: 1.7;
    margin: 0;
}
