/**
 * Lobo Event Agent — Homepage Styles
 * v1.0.7 — GET TICKETS is now a standalone <a> positioned over the slide
 */

/* ─── CAROUSEL ──────────────────────────────────────────── */
.lobo-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 8px;
}

.lobo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.lobo-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.lobo-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    height: 420px;
    background-color: #111111;
    overflow: hidden;
}

/* Non-active slides hidden to prevent image bleed during translateX */
.lobo-carousel-slide:not(.is-active) {
    visibility: hidden;
}

/* Blurred backdrop — fills slide regardless of image aspect ratio */
.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(20px) brightness(0.3) saturate(0.8);
    transform: scale(1.1);
}

/* Left text panel — entire panel is a link to event detail page */
a.slide-marquee-left {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 60px 90px 60px; /* extra bottom padding clears the CTA button */
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(17,17,17,0.97) 0%,
        rgba(17,17,17,0.92) 45%,
        rgba(17,17,17,0.6)  70%,
        transparent         100%
    );
}

a.slide-marquee-left .slide-cat {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #C8A84E;
    margin-bottom: 12px;
}

a.slide-marquee-left .slide-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #fff;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

a.slide-marquee-left .slide-date {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* CTA button — absolutely positioned, independent link to ticket URL or event page */
a.slide-cta-btn {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 3;
    display: inline-block;
    padding: 11px 26px;
    background: #C8A84E;
    color: #111111;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

a.slide-cta-btn:hover {
    background: #b8963e;
    transform: translateY(-1px);
}

/* Right image panel — contained, no crop, blurred backdrop fills gaps */
.slide-img-panel {
    position: absolute;
    right: 0; top: 0;
    height: 100%;
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    padding: 20px 30px 20px 0;
    box-sizing: border-box;
}

.slide-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 28px rgba(0,0,0,0.8));
}

/* Dots */
.lobo-carousel-dots {
    position: absolute;
    bottom: 14px;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.lobo-carousel-dots span {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.lobo-carousel-dots span.active {
    background: #C8A84E;
    transform: scale(1.2);
}

.lobo-carousel-dots span:hover { background: rgba(255,255,255,0.7); }

/* Arrows */
.lobo-carousel-prev,
.lobo-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    padding: 12px 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    line-height: 1;
}

.lobo-carousel-prev { left: 10px; }
.lobo-carousel-next { right: 10px; }

.lobo-carousel-prev:hover,
.lobo-carousel-next:hover { background: rgba(0,0,0,0.8); }

/* Responsive */
@media (max-width: 768px) {
    .lobo-carousel-slide { height: 340px; }
    a.slide-marquee-left { padding: 30px 24px 80px 24px; width: 60%; }
    a.slide-marquee-left .slide-title { font-size: 1.4rem; }
    a.slide-cta-btn { bottom: 28px; left: 24px; }
    .slide-img-panel { width: 50%; padding: 16px 16px 16px 0; }
}

@media (max-width: 480px) {
    .lobo-carousel-slide { height: 280px; }
    a.slide-marquee-left {
        padding: 20px 18px 72px 18px;
        width: 65%;
        background: linear-gradient(
            to right,
            rgba(17,17,17,0.97) 0%,
            rgba(17,17,17,0.92) 55%,
            rgba(17,17,17,0.6)  75%,
            transparent         100%
        );
    }
    a.slide-marquee-left .slide-title { font-size: 1.1rem; }
    a.slide-cta-btn { bottom: 20px; left: 18px; padding: 9px 18px; font-size: 0.7rem; }
    .slide-img-panel { width: 45%; padding: 12px 10px 12px 0; }
    .lobo-carousel-prev,
    .lobo-carousel-next { display: none; }
}

/* ─── SECTION HEADER ────────────────────────────────────── */
.lobo-section-header {
    text-align: center;
    margin: 40px 0 20px;
}

.lobo-section-header h2 {
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 0;
}

/* ─── EVENT LIST ────────────────────────────────────────── */
.lobo-events-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.lobo-event-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    cursor: pointer;
}

.lobo-event-row:hover { background: rgba(0,0,0,0.03); }
.lobo-event-row:first-child { border-top: 1px solid rgba(0,0,0,0.08); }

.lobo-event-thumb {
    flex-shrink: 0;
    width: 80px; height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #222;
}

.lobo-event-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.lobo-event-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    line-height: 1.1;
}

.lobo-event-date .day-name { font-size: 0.7rem; letter-spacing: 1.5px; color: #888; font-weight: 600; text-transform: uppercase; }
.lobo-event-date .day-num  { font-size: 1.8rem; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.lobo-event-date .month    { font-size: 0.7rem; letter-spacing: 1.5px; color: #C8A84E; font-weight: 700; text-transform: uppercase; }

.lobo-event-info { flex: 1; min-width: 0; }

.lobo-event-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lobo-event-cat {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #C8A84E;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.lobo-event-meta { font-size: 0.85rem; color: #666; }

.lobo-buy-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 18px;
    background: #C8A84E;
    color: #111 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    white-space: nowrap;
}

.lobo-event-row:hover .lobo-buy-btn { background: #b8963e; }

.lobo-see-all {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #1a1a2e;
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.lobo-see-all:hover { background: #1a1a2e; color: #fff; }

/* ─── RESPONSIVE (event list) ───────────────────────────── */
@media (max-width: 768px) {
    .lobo-event-row { flex-wrap: wrap; gap: 12px; padding: 14px 5px; }
    .lobo-event-thumb { width: 60px; height: 60px; }
    .lobo-event-date { width: 50px; }
    .lobo-event-date .day-num { font-size: 1.4rem; }
    .lobo-event-title { white-space: normal; }
    .lobo-buy-btn { width: 100%; text-align: center; margin-top: 4px; }
}

@media (max-width: 480px) {
    .lobo-section-header h2 { font-size: 1.3rem; letter-spacing: 2px; }
    .lobo-event-thumb { width: 50px; height: 50px; }
    .lobo-event-date { width: 45px; }
}
