/* Navbar Padding Fix */
.nav-container {
    padding: 0 5%;
}

/* Cinematic Cards Fixes */
.cinematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.cinematic-card {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block !important;
    /* Force block spacing */
    text-decoration: none;
    background: #0f0c29;
    /* Fallback color */
}

/* Ensure background is visible and below content */
.cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
    /* Behind content */
}

.cinematic-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Ensure full width */
    padding: 40px;
    z-index: 2;
    /* Above background */
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    background: transparent;
    /* Ensure no white bg blocks image */
}

/* English Badge in Hero */
/* English Ticket Floating in Hero */
.english-badge {
    position: absolute;
    top: -40px;
    right: 0;
    display: inline-block;
    background: linear-gradient(45deg, #f09819, #edde5d);
    color: #333;
    padding: 10px 25px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(15deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 2px dashed #333;
    z-index: 100;
    animation: floatTicket 3s ease-in-out infinite;
}

@keyframes floatTicket {

    0%,
    100% {
        transform: rotate(15deg) translateY(0);
    }

    50% {
        transform: rotate(15deg) translateY(-15px);
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .english-badge {
        position: relative;
        top: 0;
        right: auto;
        transform: rotate(0deg) !important;
        margin-bottom: 20px;
        animation: none;
        display: inline-block;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
    }
}