/* ================================================================
   SINGLE EVENT PAGE  —  single-event.css
   Premium, high-end $10,000 agency-quality template
   ================================================================ */

/* ── HERO SECTION ──────────────────────────────────────────────── */
.sev-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sev-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 6s ease-out;
    will-change: transform;
}

.sev-hero:hover .sev-hero-bg {
    transform: scale(1.02);
}

.sev-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #050b14 0%,
        rgba(5, 11, 20, 0.80) 35%,
        rgba(5, 11, 20, 0.35) 70%,
        rgba(5, 11, 20, 0.15) 100%
    );
    z-index: 1;
}

.sev-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Back link */
.sev-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.sev-back:hover { color: #fff; }

/* Badges */
.sev-hero-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sev-type-badge {
    padding: 5px 16px;
    border-radius: 50px;
    background: var(--primary, #0047AB);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sev-status-badge {
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sev-status-upcoming { background: rgba(56,189,248,0.15); color: #38bdf8; border: 1px solid rgba(56,189,248,0.3); }
.sev-status-planning { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.sev-status-past     { background: rgba(100,116,139,0.2); color: #94a3b8; border: 1px solid rgba(100,116,139,0.3); }

/* Title */
.sev-hero-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 900px;
    animation: sevFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Meta pills */
.sev-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    animation: sevFadeUp 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sev-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.92);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

.sev-meta-pill i {
    font-size: 1.1rem;
    color: var(--primary, #f97316);
}

/* ── FLYER / IMAGE SECTION ─────────────────────────────────────── */
.sev-flyer-section {
    background: #0f172a;
    padding: 0;
    position: relative;
    z-index: 2;
}

.sev-flyer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.sev-flyer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.sev-flyer-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    display: inline-block;
    width: 100%;
    cursor: zoom-in;
    position: relative;
}

.sev-flyer-img-wrap::after {
    content: '\f218';
    font-family: 'boxicons';
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.sev-flyer-img-wrap:hover::after { opacity: 1; }

.sev-flyer-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.sev-flyer-img-wrap:hover .sev-flyer-img {
    transform: scale(1.015);
}

/* Lightbox overlay */
.sev-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: zoom-out;
    animation: sevFadeUp 0.2s ease both;
}

.sev-lightbox.open {
    display: flex;
}

.sev-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.sev-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.sev-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── CONTENT SECTION ───────────────────────────────────────────── */
.sev-content-section {
    background: #f1f5f9;
    /* FIX: use padding-top instead of negative translateY which causes clipping */
    padding: 4rem 0 5rem 0;
    position: relative;
    z-index: 1;
}

.sev-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

/* ── CARDS ──────────────────────────────────────────────────────── */
.sev-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    border: 1px solid rgba(15,23,42,0.04);
    margin-bottom: 2rem;
}

.sev-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.sev-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 71, 171, 0.07);
    color: var(--primary, #0047AB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.sev-card-header h2,
.sev-card-header h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* ── DESCRIPTION CARD ───────────────────────────────────────────── */
.sev-description-body {
    padding: 2.5rem;
}

.sev-description-body p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #475569;
    margin: 0 0 1.25rem 0;
}

.sev-description-body p:last-child { margin-bottom: 0; }

/* ── LOCATION CARD ──────────────────────────────────────────────── */
.sev-location-body {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.sev-location-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.sev-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary, #0047AB);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid var(--primary, #0047AB);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.sev-map-link:hover {
    background: var(--primary, #0047AB);
    color: #fff;
}

/* ── DETAILS LIST ───────────────────────────────────────────────── */
.sev-detail-list {
    list-style: none;
    padding: 1.75rem 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sev-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sev-dl-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary, #0047AB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sev-dl-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.sev-dl-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

/* ── SIDEBAR STICKY ─────────────────────────────────────────────── */
.sev-sidebar-col {
    position: sticky;
    top: 100px;
}

/* ── ACTION BUTTONS ─────────────────────────────────────────────── */
.sev-actions {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sev-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.sev-btn-primary {
    background: var(--primary, #0047AB);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.25);
}

.sev-btn-primary:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 71, 171, 0.35);
}

.sev-btn-ghost {
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #e2e8f0;
}

.sev-btn-ghost:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ── OTHER EVENTS ───────────────────────────────────────────────── */
.sev-other-list {
    padding: 1.25rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sev-other-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.sev-other-item:hover { background: #f8fafc; }

.sev-other-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary, #0047AB);
    flex-shrink: 0;
    opacity: 0.6;
}

.sev-other-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.sev-other-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.sev-other-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sev-other-item:hover .sev-other-arrow {
    transform: translateX(3px);
    color: var(--primary, #0047AB);
}

.sev-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary, #0047AB);
    text-decoration: none;
    margin-top: 0.5rem;
    padding: 0 1rem;
    transition: gap 0.2s;
}

.sev-all-link:hover { gap: 10px; }

/* ── RESPONSIVE: TABLET ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sev-content-container {
        grid-template-columns: 1fr;
    }
    .sev-sidebar-col {
        position: relative;
        top: 0;
    }
    .sev-hero { min-height: 65vh; }
    .sev-content-section { padding: 3rem 0 4rem 0; }
}

/* ── RESPONSIVE: MOBILE ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .sev-hero { min-height: 70vh; }
    .sev-hero-inner { padding: 1.5rem 1rem 4rem; }
    .sev-hero-title { font-size: 2rem; }
    .sev-meta-pill { font-size: 0.85rem; padding: 8px 14px; }
    .sev-content-section { padding: 2rem 0 3rem 0; }
    .sev-content-container { padding: 0 1rem; gap: 1.5rem; }
    .sev-card-header { padding: 1.25rem 1.5rem; }
    .sev-description-body { padding: 1.5rem; }
    .sev-detail-list { padding: 1.25rem 1.5rem; }
    .sev-actions { padding: 1rem 1.5rem 1.5rem; }
    .sev-flyer-inner { padding: 2rem 1rem; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes sevFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}
