﻿/*==========================
    Cinema Card
==========================*/

.cinema-card {
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: .25s;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

    .cinema-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .cinema-card .card-body {
        padding: 20px;
    }


/*==========================
    Cinema Image
==========================*/

.cinema-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}


/*==========================
    Cinema Name
==========================*/

.cinema-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}


/*==========================
    Rating
==========================*/

.cinema-rating {
    color: #ffb400;
    font-size: 14px;
    font-weight: 600;
}


/*==========================
    Meta
==========================*/

.cinema-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}


/*==========================
    Amenities
==========================*/

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f8f8;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
}


/*==========================
    Venue
==========================*/

.venue-block {
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 15px;
    background: #fafafa;
    margin-bottom: 12px;
}


.venue-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}


/*==========================
    Sans Button
==========================*/

.sans-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px 15px;
    color: #333;
    background: #fff;
    transition: .25s;
    min-width: 82px;
}

    .sans-btn:hover {
        border-color: #6D28D9;
        color: #6D28D9;
    }

    .sans-btn.selected {
        background: #6D28D9;
        color: #fff;
        border-color: #6D28D9;
    }

    .sans-btn .price {
        margin-top: 4px;
        font-size: 11px;
        opacity: .8;
    }


/*==========================
    Toggle Button
==========================*/

.toggle-venues-btn {
    border: none;
    background: none;
    color: #6D28D9;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: .2s;
}

    .toggle-venues-btn:hover {
        color: #4d17b7;
    }


/*==========================
    Date Tabs
==========================*/

.date-tab-btn {
    min-width: 85px;
    border-radius: 12px !important;
    transition: .25s;
}


/*==========================
    Actors Section TY2
==========================*/

.actors-section-ty2 {
    margin: 50px 0;
}

.actors-title-ty2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 17px;
    color: #222;
}

    .actors-title-ty2::before {
        content: "";
        width: 6px;
        height: 25px;
        border-radius: 50px;
        background: #6D28D9;
    }

.actors-list-ty2 {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 10px;
    /* Firefox */
    scrollbar-width: none;
    /* IE */
    -ms-overflow-style: none;
}

    /* Chrome, Edge, Safari */
    .actors-list-ty2::-webkit-scrollbar {
        display: none;
    }


    .actors-list-ty2::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 20px;
    }

.actor-card-ty2 {
    flex: none;
    width: 103px;
    height: auto !important;
    text-align: center;
}

.actor-image-ty2 {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    transition: .3s;
}

.actor-card-ty2:hover .actor-image-ty2 {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}

.actor-name-ty2 {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.7;
}
/*==========================
    Responsive
==========================*/

@media(max-width:768px) {

    .cinema-thumb {
        height: 160px;
    }

    .cinema-name {
        font-size: 16px;
    }

    .sans-btn {
        min-width: 70px;
        padding: 8px 10px;
    }
}

/* ===============================
   MOVIE BANNER
================================= */

.movie-banner{
    background-image: url('/images/cinema-banner.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #1b1b28;

    color:#fff;
    padding:45px 0;
    margin-bottom:40px;
}


.banner-grid {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.banner-poster {
    width: 260px;
    flex-shrink: 0;
}

    .banner-poster img {
        width: 100%;
        border-radius: 18px;
        box-shadow: 0 20px 40px rgba(0,0,0,.35);
    }

.banner-text {
    flex: 1;
}

    .banner-text h1 {
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 20px;
    }

.banner-desc {
    color: #ddd;
    line-height: 2;
    margin: 20px 0;
}

/* ===============================
   Badge
================================= */

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-pill {
    padding: 8px 18px;
    background: #ffffff18;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    font-size: 13px;
}

    .badge-pill.age {
        background: #ff9800;
        color: #fff;
    }


/* ===============================
   Rating
================================= */

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}


/* ===============================
   Button
================================= */

.btn-buy {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #6D28D9;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: .3s;
}

    .btn-buy:hover {
        background: #5b20b6;
        color: #fff;
    }


/* ===============================
   Actors
================================= */

.section {
    margin-bottom: 45px;
}

.section-head {
    margin-bottom: 20px;
}

.actors-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

    .actors-scroll::-webkit-scrollbar {
        height: 6px;
    }

.actor-card {
    width: 80px;
    flex: none;
    text-align: center;
}

    .actor-card img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #eee;
    }

    .actor-card p {
        margin-top: 8px;
        font-size: 13px;
    }


/*==================================
    Location & Date TY2
==================================*/

.location-date-section-ty2 {
    margin: 45px 0;
}

.location-date-row-ty2 {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.location-select-ty2 {
    width: 290px;
}

.location-label-ty2 {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.location-fields-ty2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.select-ty2 {
    border-radius: 12px;
    height: 48px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: .25s;
    padding: 0px 10px !important;
}

    .select-ty2:focus {
        border-color: #6D28D9;
        box-shadow: 0 0 0 .15rem rgba(109,40,217,.18);
    }

.date-select-wrap-ty2 {
    flex: 1;
}

.date-title-ty2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.date-subtitle-ty2 {
    margin: 4px 0 18px;
    font-size: 13px;
    color: #8A8A8A;
    line-height: 1.8;
    font-weight: 400;
}

.date-tabs-scroll-ty2 {
    overflow-x: auto;
    scrollbar-width: none;
}

    .date-tabs-scroll-ty2::-webkit-scrollbar {
        display: none;
    }

#date-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

/*==================================
    Date Item TY2
==================================*/

.date-tab-btn-ty2 {
    min-width: 95px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #333;
    text-decoration: none;
    text-align: center;
    transition: .25s;
    flex: none;
}

    .date-tab-btn-ty2 span {
        display: block;
        font-size: 13px;
        color: #777;
    }

    .date-tab-btn-ty2 strong {
        display: block;
        margin-top: 6px;
        font-size: 15px;
        font-weight: 700;
    }

    .date-tab-btn-ty2:hover {
        transform: translateY(-3px);
        border-color: #6D28D9;
        color: #6D28D9;
        box-shadow: 0 8px 20px rgba(109,40,217,.15);
    }

    .date-tab-btn-ty2.active {
        background: #6D28D9;
        color: #fff;
        border-color: #6D28D9;
    }

        .date-tab-btn-ty2.active span {
            color: #ECE8FF;
        }

        .date-tab-btn-ty2.active strong {
            color: #fff;
        }

/*==================================
    Mobile
==================================*/

@media(max-width:768px) {

    .location-date-row-ty2 {
        flex-direction: column;
    }

    .location-select-ty2 {
        width: 100%;
    }

    .date-select-wrap-ty2 {
        width: 100%;
    }
}

/* ===============================
   Responsive
================================= */

@media(max-width:768px) {

    .banner-grid {
        flex-direction: column;
        text-align: center;
    }

    .banner-poster {
        width: 180px;
    }

    .location-date-row {
        display: block;
    }

    .location-select {
        width: 100%;
        margin-bottom: 25px;
    }
}

.movie-title {
    color: #fff !important;
}

/*==========================
    Date Wrapper
==========================*/

.date-tabs-wrapper-ty2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

/*==========================
    Scroll
==========================*/

.date-tabs-scroll-ty2 {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .date-tabs-scroll-ty2::-webkit-scrollbar {
        display: none;
    }

#date-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

/*==========================
    Arrows
==========================*/

.date-nav-btn-ty2 {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s;
    flex-shrink: 0;
}

    .date-nav-btn-ty2:hover {
        background: #6D28D9;
        color: #fff;
        transform: scale(1.08);
    }

    .date-nav-btn-ty2 i {
        font-size: 12px;
    }

/*==============================
    Cinema Card
==============================*/

.cinema-card-ty2 {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    transition: .3s;
}

    .cinema-card-ty2:hover {
        box-shadow: 0 16px 40px rgba(0,0,0,.08);
    }

/*==============================*/

.cinema-header-ty2 {
    display: flex;
    align-items: center;
    gap: 20px;
}

/*==============================*/

.cinema-image-ty2 {
    width: 170px;
    flex: none;
}

    .cinema-image-ty2 img {
        width: 170px;
        height: 110px;
        border-radius: 14px;
        object-fit: cover;
    }

/*==============================*/

.cinema-info-ty2 {
    flex: 1;
}

/*==============================*/

.cinema-title-ty2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.cinema-address-ty2,
.cinema-phone-ty2 {
    color: #7a7a7a;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

/*==============================*/

.cinema-btn-ty2 {
    border: none;
    background: #6d28d9;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .3s;
}

    .cinema-btn-ty2:hover {
        background: #5820b8;
    }

/*==============================*/

.cinema-sans-ty2 {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/*==============================
    Venue
==============================*/

.venue-box-ty2 {
    background: #f5f4f9;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 5px;
}

/*==============================*/

.venue-title-ty2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

/*==============================*/

.sans-list-ty2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/*==============================*/

.sans-item-ty2 {
    width: 110px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    transition: .25s;
}

    .sans-item-ty2:hover {
        border-color: #6d28d9;
        transform: translateY(-2px);
        text-decoration: none;
    }

/*==============================*/

.sans-time-ty2 {
    display: block;
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.sans-price-ty2 {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #7a7a7a;
}

.cinema-arrow-ty2 {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f4f9;
    flex: none;
}

    .cinema-arrow-ty2 i {
        transition: .3s;
    }

        .cinema-arrow-ty2 i.rotate-180 {
            transform: rotate(180deg);
        }

.category-item-icon {
    color: #8000ff !important;
}


/*==================================
    Cinema Responsive TY2
==================================*/

@media (max-width:768px){

    .cinema-card-ty2{

        padding:16px;
        border-radius:16px;

    }

    /* هدر کارت */

    .cinema-header-ty2{

        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:15px;

    }

    /* تصویر */

    .cinema-image-ty2{

        width:100%;

    }

    .cinema-image-ty2 img{

        width:100%;
        height:180px;
        display:block;
        border-radius:14px;

    }

    /* اطلاعات */

    .cinema-info-ty2{

        width:100%;

    }

    .cinema-title-ty2{

        font-size:18px;
        margin-bottom:10px;

    }

    .cinema-address-ty2,
    .cinema-phone-ty2{

        font-size:13px;

    }

    /* فلش */

    .cinema-arrow-ty2{

        width:42px;
        height:42px;

        margin-right:auto;
        margin-left:0;

    }

    /* سانس ها */

    .cinema-sans-ty2{

        margin-top:18px;

    }

    .venue-box-ty2{

        padding:14px;

    }

    .sans-list-ty2{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:10px;

    }

    .sans-item-ty2{

        width:100%;
        padding:12px 8px;

    }

    .sans-time-ty2{

        font-size:16px;

    }

    .sans-price-ty2{

        font-size:11px;

    }

}