/* ==========================================================================
   Back Bay Ball — Homepage Stylesheet (assets/css/pages/home.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Full-Bleed Editorial Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5rem));
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border-gold);
}

/* Ready for a ballroom photo at /assets/img/hero/hero-ballroom.jpg while
   looking rich and complete right now with layered atmospheric gradients */
.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(11, 21, 25, 0.86) 0%, rgba(11, 21, 25, 0.56) 55%, rgba(11, 21, 25, 0.42) 100%),
        linear-gradient(180deg, rgba(11, 21, 25, 0.55) 0%, rgba(11, 21, 25, 0.35) 50%, var(--bg-midnight) 100%),
        radial-gradient(circle at 78% 22%, rgba(244, 162, 97, 0.16) 0%, transparent 48%),
        url('https://images.pexels.com/photos/17023014/pexels-photo-17023014.jpeg?auto=compress&cs=tinysrgb&w=1920') center / cover no-repeat,
        var(--bg-midnight);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    align-items: end;
    gap: clamp(2rem, 4vw, 4rem);
}

.hero-meta-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(22, 41, 48, 0.78);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-ivory);
}

.meta-sep {
    color: var(--brand-gold);
}

.meta-age {
    color: var(--brand-gold);
}

.hero-title {
    font-size: clamp(3rem, 6.4vw, 5.25rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: 0.02em;
    margin-bottom: 0.65rem;
}

.hero-year {
    display: inline-block;
    color: var(--brand-gold);
    font-style: italic;
    font-weight: 500;
    margin-left: 0.25rem;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.3vw, 1.95rem);
    font-weight: 500;
    color: var(--brand-gold-soft);
    margin-bottom: 1.15rem;
}

.hero-lead {
    max-width: 580px;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    color: var(--text-mist);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Countdown Panel */
.countdown-panel {
    background: rgba(16, 30, 36, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    box-shadow: var(--shadow-card);
}

.countdown-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-gold);
    text-align: center;
    margin-bottom: 1.1rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem 0.4rem;
    background: rgba(11, 21, 25, 0.78);
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-sm);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1;
    color: var(--text-ivory);
    font-variant-numeric: tabular-nums;
}

.countdown-name {
    margin-top: 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mist);
}

/* --------------------------------------------------------------------------
   2. The 30+ Distinction Strip
   -------------------------------------------------------------------------- */
.distinction-card {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(244, 162, 97, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--brand-gold);
}

.distinction-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
}

.distinction-card p {
    font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   4. Choose Your Experience (Warm Ivory Section)
   -------------------------------------------------------------------------- */
.accent-gold-ink {
    color: var(--brand-amber);
    font-style: italic;
}

.packages-grid {
    align-items: stretch;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ivory-card);
    border: 1px solid rgba(16, 30, 36, 0.12);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.85rem 2rem;
    box-shadow: 0 12px 32px rgba(11, 21, 25, 0.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(11, 21, 25, 0.11);
    border-color: rgba(217, 130, 59, 0.45);
}

.package-card.is-featured {
    border: 2px solid var(--brand-gold);
    box-shadow: 0 22px 48px rgba(217, 130, 59, 0.16);
}

.popular-badge {
    position: absolute;
    top: -13px;
    right: 1.5rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-amber));
    color: var(--bg-midnight);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
}

.package-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: rgba(244, 162, 97, 0.16);
    color: var(--brand-amber);
}

.package-name {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
}

.package-sub {
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--brand-teal-deep);
    margin-bottom: 1.6rem;
}

.package-features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 1.4rem 0 0;
    border-top: 1px solid rgba(16, 30, 36, 0.09);
    display: grid;
    gap: 0.85rem;
    flex-grow: 1;
}

.package-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ivory-ink-muted);
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-amber);
    font-weight: 700;
}

.package-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(16, 30, 36, 0.08);
    text-align: center;
}

.package-note {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--ivory-ink-muted);
    margin-bottom: 1rem;
}

.package-note.is-highlight {
    font-style: normal;
    font-weight: 700;
    color: var(--brand-amber);
}

.packages-disclaimer {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--ivory-ink-muted);
}

/* Premium VIP Table Upgrade Card */
.vip-upgrade-card {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    background: var(--ivory-card);
    border: 1px solid rgba(217, 130, 59, 0.45);
    border-left: 5px solid var(--brand-gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(11, 21, 25, 0.08);
}

.vip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(244, 162, 97, 0.18);
    border: 1px solid rgba(217, 130, 59, 0.4);
    color: var(--brand-amber);
}

.vip-body h3 {
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    margin-bottom: 0.35rem;
}

.vip-subtitle {
    font-size: 1rem;
    color: var(--ivory-ink-muted);
    margin-bottom: 1.35rem;
}

.vip-features {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.75rem;
}

.vip-features li {
    position: relative;
    padding-left: 1.45rem;
    font-size: 0.92rem;
    color: var(--ivory-ink-muted);
}

.vip-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-amber);
    font-weight: 700;
}

.vip-features strong {
    color: var(--ivory-ink);
}

.vip-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.vip-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: rgba(66, 113, 127, 0.12);
    color: var(--brand-teal-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.vip-pill.is-warning {
    background: rgba(244, 162, 97, 0.22);
    color: #9A5218;
}

.vip-important {
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--ivory-ink-muted);
    padding: 0.9rem 1.1rem;
    background: #F4EFE6;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.vip-important strong {
    color: var(--ivory-ink);
}

.btn-ivory-dark {
    background-color: var(--bg-midnight);
    color: var(--text-ivory);
    border-color: var(--bg-midnight);
}

.btn-ivory-dark:hover {
    background-color: var(--brand-teal-deep);
    border-color: var(--brand-teal-deep);
    color: var(--text-ivory);
}

/* --------------------------------------------------------------------------
   5. Entertainment & Culinary Preview
   -------------------------------------------------------------------------- */
.spotlight-card {
    display: flex;
    flex-direction: column;
}

.spotlight-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 0.65rem;
}

.spotlight-card h3 {
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    margin-bottom: 0.85rem;
}

.spotlight-list {
    list-style: none;
    margin: 0.75rem 0 1.75rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--border-subtle);
    display: grid;
    gap: 0.6rem;
    flex-grow: 1;
}

.spotlight-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.92rem;
    color: var(--text-ivory);
}

.spotlight-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-gold);
}

.spotlight-action {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   6. Official Hotel Blocks
   -------------------------------------------------------------------------- */
.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;
}

.hotels-footer {
    margin-top: 2.25rem;
    text-align: center;
}

.text-link-gold {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold);
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 0.25rem;
}

.text-link-gold:hover {
    border-color: var(--brand-gold);
}

/* --------------------------------------------------------------------------
   7. Good to Know Strip
   -------------------------------------------------------------------------- */
.essentials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.essentials-header h2 {
    margin-bottom: 0;
}

.essential-item h3 {
    font-size: 1.35rem;
    color: var(--brand-gold-soft);
    margin-bottom: 0.5rem;
}

.essential-item p {
    font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .countdown-panel {
        max-width: 520px;
    }

    .vip-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .vip-upgrade-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .countdown-grid {
        gap: 0.45rem;
    }
}

.spotlight-card {
    overflow: hidden;
}

.spotlight-media {
    margin: calc(clamp(1.5rem, 2.5vw, 2.25rem) * -1) calc(clamp(1.5rem, 2.5vw, 2.25rem) * -1) 1.5rem;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--bg-slate), var(--brand-teal-deep));
    border-bottom: 1px solid var(--border-gold);
    overflow: hidden;
}

.spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease);
}

.spotlight-card:hover .spotlight-media img {
    transform: scale(1.04);
}