/* ==========================================================================
   Back Bay Ball — Venue, Hotels & Directions (assets/css/pages/venue.css)
   ========================================================================== */

/* Quick-Jump Anchor Pills */
.jump-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.jump-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: rgba(22, 41, 48, 0.8);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-ivory);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.jump-pill:hover {
    background: var(--brand-gold);
    color: var(--bg-midnight);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. Venue Showcase & 3-Photo Editorial Gallery
   -------------------------------------------------------------------------- */
.venue-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: clamp(2rem, 4.5vw, 4rem);
}

.venue-copy strong {
    color: var(--text-ivory);
}

.venue-highlights {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--border-subtle);
    display: grid;
    gap: 0.8rem;
}

.venue-highlights li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.94rem;
    color: var(--text-mist);
}

.venue-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-gold);
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-tile {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: var(--bg-slate);
    aspect-ratio: 4 / 3;
}

.gallery-tile--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.gallery-tile:hover img {
    transform: scale(1.04);
}

.gallery-tile figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem 1rem 0.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 21, 25, 0.88) 100%);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-ivory);
}

/* --------------------------------------------------------------------------
   3. Evening Timeline & Dress Code
   -------------------------------------------------------------------------- */
.logistics-split {
    align-items: stretch;
}

.timeline-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.35rem;
}

.timeline-item {
    position: relative;
    padding-left: 1.45rem;
    border-left: 1px solid var(--border-gold);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.35rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--brand-gold);
    box-shadow: 0 0 10px rgba(244, 162, 97, 0.6);
}

.timeline-time {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 0.25rem;
}

.timeline-detail h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}

.timeline-detail p {
    font-size: 0.92rem;
}

.timeline-detail em {
    color: var(--text-ivory);
}

/* Dress Code Grid */
.dress-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.dress-box {
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(11, 21, 25, 0.55);
    border: 1px solid var(--border-subtle);
}

.dress-box h3 {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.dress-box.is-yes h3 {
    color: var(--brand-gold);
}

.dress-box.is-no h3 {
    color: var(--text-mist);
}

.dress-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.dress-box li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    color: var(--text-mist);
    line-height: 1.45;
}

.dress-box.is-yes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: 700;
}

.dress-box.is-no li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #D9823B;
    font-weight: 700;
}

.dress-footnote {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Hotel Block Cards (Self-contained for venue.php)
   -------------------------------------------------------------------------- */
.hotel-card {
    display: flex;
    flex-direction: column;
}

.hotel-card.is-expired {
    opacity: 0.78;
}

.hotel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hotel-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold);
}

.hotel-deadline {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(66, 113, 127, 0.25);
    border: 1px solid var(--border-teal);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-ivory);
}

.hotel-deadline.is-passed {
    background: rgba(247, 244, 238, 0.08);
    border-color: var(--border-subtle);
    color: var(--text-muted);
}

.hotel-name {
    font-size: 1.55rem;
    margin-bottom: 0.25rem;
}

.hotel-rate {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--brand-gold-soft);
    margin-bottom: 0.75rem;
}

.hotel-perk {
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.hotel-action {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   5. Directions, Embedded Map & Transit/Parking
   -------------------------------------------------------------------------- */
.directions-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    align-items: stretch;
}

.map-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-midnight);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-frame {
    flex-grow: 1;
    min-height: 360px;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(18%) contrast(1.04);
}

.map-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: rgba(22, 41, 48, 0.9);
    border-top: 1px solid var(--border-subtle);
}

.map-card-footer strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-ivory);
}

.map-card-footer span {
    font-size: 0.82rem;
    color: var(--text-mist);
}

.direction-card {
    height: 100%;
}

.route-list {
    margin: 1rem 0 0;
}

.route-list dt {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-top: 1.15rem;
    margin-bottom: 0.3rem;
}

.route-list dt:first-child {
    margin-top: 0;
}

.route-list dd {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-mist);
    line-height: 1.6;
}

.info-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.info-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.93rem;
    color: var(--text-mist);
}

.info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-gold);
}

.info-list strong {
    color: var(--text-ivory);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .venue-intro-grid,
    .directions-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dress-columns,
    .venue-gallery {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 280px;
    }
}