/**
 * Ticketa Theme — event-single.css
 * Single event page: hero + carousel hotel cards
 * @version 1.9.0
 */

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.event-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ticketa-bg);
}
.event-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.event-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.event-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,13,13,0.05) 0%,
        rgba(13,13,13,0.4)  45%,
        rgba(13,13,13,0.95) 100%
    );
}
.event-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-20) 0 var(--space-16);
    direction: rtl;
}
.event-hero__badge    { margin-bottom: var(--space-4); }
.event-hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
    font-weight: 700;
    color: var(--ticketa-white);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.event-hero__title-en {
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}
.event-hero__tagline {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: var(--space-6);
}
.event-hero__dates {
    font-size: var(--text-xl);
    color: var(--ticketa-orange);
    font-weight: 700;
    direction: ltr;
    display: inline-block;
    margin-bottom: var(--space-8);
}
.event-hero__cta-row {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
}
.event-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) var(--space-5);
    background: var(--ticketa-bg-card);
    border-top: 1px solid var(--ticketa-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.event-sticky-cta .btn { width: 100%; text-align: center; }

/* ═══════════════════════════════════════════════════════
   EVENT CONTENT
   ═══════════════════════════════════════════════════════ */
.event-content {
    padding: var(--space-16) 0;
    direction: rtl;
}
.event-content__inner { max-width: 720px; }
.event-content__body {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--ticketa-off-white);
}
.event-content__body p + p { margin-top: var(--space-5); }

/* ═══════════════════════════════════════════════════════
   HOTEL SECTION WRAPPER
   ═══════════════════════════════════════════════════════ */
.event-hotels {
    padding: var(--space-16) 0 var(--space-20);
    background: var(--ticketa-bg);
    direction: rtl;
    overflow: hidden;
}
.hotels-carousel-header { margin-bottom: var(--space-10); }

.event-hotels__heading {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 700;
    color: var(--ticketa-white);
    margin: 0 0 var(--space-2);
}
.event-hotels__subheading {
    font-size: var(--text-base);
    color: var(--ticketa-grey-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   CAROUSEL
   ═══════════════════════════════════════════════════════ */
.hotels-carousel-wrap { position: relative; }

.hotels-carousel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px; /* space for arrows */
}

.hotels-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    overflow: visible;
    flex: 1;
    min-width: 0;
}

.hotels-carousel__slide {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 visible, 2 gaps */
    min-width: 0;
}

/* Arrows */
.hotels-carousel__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--ticketa-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}
.hotels-carousel__arrow:hover {
    background: var(--ticketa-orange);
    border-color: var(--ticketa-orange);
}
.hotels-carousel__arrow:disabled { opacity: 0.25; cursor: default; }
.hotels-carousel__arrow--prev { left: 0; }
.hotels-carousel__arrow--next { right: 0; }

/* Dots */
.hotels-carousel__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}
.hotels-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.hotels-carousel__dot.is-active {
    background: var(--ticketa-orange);
    transform: scale(1.4);
}

/* ═══════════════════════════════════════════════════════
   HOTEL CARD v2 (matches screenshot)
   ═══════════════════════════════════════════════════════ */
.hotel-card-v2 {
    display: flex;
    flex-direction: column;
    background: #111;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    direction: rtl;
    height: 100%;
}
.hotel-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* Photo block with overlays */
.hotel-card-v2__photo {
    position: relative;
    aspect-ratio: 3 / 2.6;
    overflow: hidden;
    flex-shrink: 0;
}
.hotel-card-v2__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hotel-card-v2:hover .hotel-card-v2__photo img { transform: scale(1.05); }

.hotel-card-v2__photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--ticketa-bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Night badge — top right (RTL = start) */
.hotel-card-v2__nights-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--ticketa-orange);
    color: var(--ticketa-white);
    font-size: var(--text-xs);
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
    z-index: 2;
}

/* Gradient overlay at bottom of photo */
.hotel-card-v2__overlay {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.55) 55%,
        transparent 100%
    );
    padding: var(--space-5) var(--space-5) var(--space-4);
    z-index: 1;
    direction: rtl;
}
.hotel-card-v2__overlay-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ticketa-white);
    line-height: 1.2;
    margin-bottom: 4px;
}
.hotel-card-v2__overlay-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
}
.hotel-card-v2__price-from {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.7);
}
.hotel-card-v2__price-amount {
    font-size: var(--text-xl);
    font-weight: 900;
    color: var(--ticketa-white);
}
.hotel-card-v2__price-currency {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    font-weight: 700;
}

/* Description */
.hotel-card-v2__desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
    padding: var(--space-3) var(--space-5);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Footer */
.hotel-card-v2__footer {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    direction: rtl;
    min-height: 52px;
    flex-shrink: 0;
}
.hotel-card-v2__cta {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: var(--ticketa-white);
    color: #111;
    font-weight: 800;
    font-size: var(--text-sm);
    text-align: center;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hotel-card-v2__cta:hover {
    background: var(--ticketa-orange);
    color: var(--ticketa-white);
}
.hotel-card-v2__meta-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 var(--space-4);
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    border-right: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    height: 52px;
}
.hotel-card-v2__meta-chip--date {
    direction: ltr;
    font-size: 11px;
}

/* ── Responsive carousel ─────────────────────────────── */
@media (max-width: 1024px) {
    .hotels-carousel__slide { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
    .hotels-carousel { padding: 0 44px; }
    .hotels-carousel__slide { flex: 0 0 100%; }
    .event-sticky-cta { display: block; }
}
