/* ── Hero Section ── */
.hero {
    text-align: center;
    padding: 4rem 0 2.5rem;
    position: relative;
}

.hero h1 {
    font-family: 'Caveat', cursive;
    font-size: clamp(3.2rem, 11vw, 5.5rem);
    color: var(--green);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 2px;
}

.hero .date {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 3vw, 1.15rem);
    color: var(--brown-light);
    margin-top: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero .time {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    color: var(--brown);
    font-weight: 700;
    margin-top: 0.4rem;
}

/* Mobile: tighten the gap from hero → first section */
@media (max-width: 520px) {
    .hero { padding-bottom: 0.2rem; }
    .section.venue { margin-top: 0.4rem; }
}

.hero h1, .hero .date, .hero .time {
    position: relative;
    z-index: 2;
}

/* ── Disco ball pendulum ── */
.disco-ball-wrap {
    position: absolute;
    top: -0.4rem;
    left: 78%;
    transform-origin: top center;
    transform: translateX(-50%);
    width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pendulum 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

@media (max-width: 480px) {
    .disco-ball-wrap {
        left: 80%;
        /* Mobile: reduce overlap behind the title */
        top: -0.85rem;
        width: 78px;
    }
}

/* Desktop tweaks: more breathing room above title + less disco ball overlap */
@media (min-width: 521px) {
    .hero { padding-top: 4.8rem; }
    .hero h1 { margin-top: 0.35rem; }

    .disco-ball-wrap {
        top: -1.1rem;
        opacity: 0.78;
        width: 88px;
    }
}

/* ── Disco ball animations ── */
.disco-ray { 
    opacity: 0.35; 
}

.disco-ray-1 { animation: rayFade 2.8s ease-in-out infinite 0s; }
.disco-ray-2 { animation: rayFade 2.8s ease-in-out infinite 0.7s; }
.disco-ray-3 { animation: rayFade 2.8s ease-in-out infinite 1.4s; }
.disco-ray-4 { animation: rayFade 2.8s ease-in-out infinite 0.35s; }
.disco-ray-5 { animation: rayFade 2.8s ease-in-out infinite 1.05s; }