/* ── Sections Layout ── */
section { 
    position: relative; 
    text-align: center; 
}

/* ── Sections layout (mobile-first) ── */
.section {
    /* Mobile-first: a touch more breathing room between sections */
    margin-top: 3rem;
    position: relative;
    text-align: center;
}

/* Desktop: keep the layout airy without drifting too far apart */
@media (min-width: 521px) {
    .section { margin-top: 3.4rem; }
}

/* Extra spacing specifically between the first three sections:
   LAKE HOUSE (venue) → Alojamento (hotel) → Restrições Alimentares (dietary) */
.section.venue + .section,
.section.venue + .section + .section {
    margin-top: 4.25rem;
}

@media (min-width: 521px) {
    .section.venue + .section,
    .section.venue + .section + .section {
        margin-top: 4.8rem;
    }
}

/* ── Code Reference Elements ── */
.code-ref {
    display: inline-block;
    background: var(--bg);
    border: 1.5px dashed var(--green);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--green);
    margin: 0.3rem 0;
}

/* ── Buttons ── */
.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Spacing between venue buttons and parking (mobile-first) */
.venue-btns {
    margin-bottom: 0.7rem;
}

button.btn {
    cursor: pointer;
    appearance: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1.5px solid var(--green);
    color: var(--green);
    background: transparent;
    min-height: 48px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn:active { 
    transform: translateY(0); 
}

.btn.filled {
    background: var(--green);
    color: var(--cream);
    border-color: var(--green);
}

.btn.small {
    padding: 0.55rem 1.1rem;
    min-height: 40px;
    font-size: 0.92rem;
}

.btn svg { 
    width: 18px; 
    height: 18px; 
    flex-shrink: 0; 
}

/* ── Divider ── */
.divider {
    text-align: center;
    /* Comfortable spacing around dividers (not huge) */
    margin: 2.75rem 0;
    opacity: 0.35;
}

@media (min-width: 521px) {
    .divider { margin: 3rem 0; }
}

.divider svg { 
    width: 50px; 
}

/* ── Inline hand-drawn icons (match disco ball stroke) ── */
.inline-icon {
    width: 1.15em;
    height: 1.15em;
    margin-right: 0.35rem;
    vertical-align: -0.18em;
    display: inline-block;
    flex: none;
}

/* ── Illustrations: in-flow on mobile, off-grid on larger screens ── */
.section-illus {
    position: relative;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.1rem;

    /* Mobile: make the illustration a bit larger, in-flow, centered */
    transform: scale(1.15);
    transform-origin: top center;

    /* Prevent overflow on narrow screens while keeping it prominent */
    max-width: min(260px, 78vw);
}

.section-illus svg {
    display: block;
}

/* Keep copy above illustrations when they sit behind */
.section-content {
    position: relative;
    z-index: 1;
}

/* Desktop/off-grid positioning */
@media (min-width: 521px) {
    .section-illus {
        position: absolute;
        margin: 0;
        max-width: none;
        transform: none;
    }
    .illus-left { left: -20px; }
    .illus-right { right: -20px; }
}

/* Mobile: illustrations are in-flow and centered above content */
@media (max-width: 480px) {
    .section-illus {
        margin-bottom: 1.25rem;
    }
}

/* ── Footer heart ── */
.footer-heart {
    margin-top: -1.2rem;
    display: flex;
    justify-content: center;
}

.footer-heart svg {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    transform-origin: 50% 55%;
    animation: footer-heart-double-pulse 6s ease-in-out infinite;
}

/* ── Parking sub ── */
.parking {
    /* No "card" behind the parking button */
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 0.5rem;
}

.parking-reveal {
    display: grid;
    justify-items: center;
    gap: 0;
    text-align: center;
}

/* Secondary (outlined) button like the other actions */
.parking-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
}

/* Mobile: slightly smaller button so it doesn't feel oversized vs the main venue action */
@media (max-width: 520px) {
    .parking-btn {
        padding: 0.6rem 1.15rem;
        min-height: 46px;
    }
}

@media (min-width: 600px) {
    .parking-btn { width: auto; }
}

.parking-btn .inline-icon {
    width: 20px;
    height: 20px;
}

.parking-coords {
    font-family: 'Caveat', cursive;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brown-light);
    line-height: 1.15;
    margin-top: 0.15rem;
    user-select: text;
}

/* ── Fade in on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sparkle ── */
.sparkle {
    display: inline-block;
    animation: sparkle-pulse 2s ease-in-out infinite;
}