@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* Global */

:root{
    --bs-body-bg: #1e1e1e!important;
    --bs-body-color: #dee2e6;
}

html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
}

p{
    font-size: 1rem;
    font-weight: 300;
}

section{
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

footer{
    padding: 50px;
}


footer  ul{
    list-style: none;
    padding: 0;
}

footer ul li{
    margin-bottom: 8px;
}
footer  ul li a{
    text-decoration: none;
}

/* Bootstrap */
.btn{
    padding: 0.8rem 12px;
}

.btn-primary{
    color: white;
}

.btn-primary:hover{
    color: white;
}

.form-control{
    padding:0.8rem 12px;
}

/* Pikadate */

.pika-single {
    color: #dee2e6;
    background: var(--bs-dark);
    font-family: 'Roboto Condensed', sans-serif;
}

.pika-label{
    background-color: transparent;
}

.pika-button {
    background: none;
    color: var(--bs-light);
}

.is-selected .pika-button, .has-event .pika-button {
    color: #fff;
    font-weight: bold;
    background: var(--bs-primary);
    box-shadow: unset;
    border-radius: 3px;
}

.pika-button:hover, .pika-row.pick-whole-week:hover .pika-button {
    color: var(--bs-primary);
    background: none;
    box-shadow: none;
    border-radius: 3px;
}

.is-disabled .pika-button {
    color: #000000;
}
.is-disabled .pika-button, .is-inrange .pika-button {
    background: #d5e9f7c0;
}

/* Utility */
.glass {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.bg-img-generic {
    background-image: url(/static/assets/images/bg-contact.png);
    /* background-image: linear-gradient(#0E0F4E, #0B0639); */
    background-position: center;
    background-size: cover;
}

.hidden {
    display: none !important;
}

.bg-darker{
    background-color: #141414;
}


/* Body */

.card-index {
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.navbar-custom {
    padding: 20px 10px;
    position: fixed;
    width: 95%;
    transition: .3s;
    top: 15px;
    left: 2.5%;
    border-radius: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-custom.scroll {
    /* padding: 9px 13px; */
    padding: 15px 33px;
    background-color: var(--bs-body-bg);
    box-shadow: 0px 0px 15px #08546599;

}

.navbar-custom-logo {
    width: 200px;
}

.navbar-link {
    font-weight: 400;
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    letter-spacing: 2px;
    margin-right: 15px;
    transition: all .3s ease-in-out;
}

.navbar-link:hover{
    color: var(--bs-primary);
}

#menu-bar-mobile{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    background-color: var(--bs-body-bg);
    border-top-left-radius: 10px;
    z-index: 1000;    
    transform: translateX(350px);
    transition: .3s ease-in-out;
}

#menu-bar-mobile.show{
    transform:  translateX(0px);
}

#menu-mobile-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 100px;
}

#menu-mobile-list a{
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
}

.hero {
    position: relative;
    height: 100vh;
    /* Altezza Hero */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
    /* margin-bottom: 85px; */
}

#hero-carousel {
    width: 100%;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #fff;
    height: 100%;
    /* Adatta l'altezza della slide */
}

.splide__slide_coming{
    display: unset;
    justify-content: unset;
    height: unset;
}

.splide__slide_news{
    display: unset;
    justify-content: unset;
    height: unset;
}

.card-movie-hero {
    width: 90%;
    background: red;
    padding: 20px;
    height: 90vh;
    border-radius: 25px;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.hero-heading{
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 2.9rem;
    margin-bottom: 0px;
}

.hero-overlay {
    margin-left: 5%;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.hero-overlay * {
    z-index: 1;
}

.hero-overlay::before{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: ''; /* Necessario per pseudo-elementi */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    z-index: 0; /* Assicurati che sia sopra il contenuto della Hero */
    pointer-events: none; /* Per evitare interferenze con gli eventi */
}

.hero-overlay-mobile{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content:end ;
    align-items: center;
}

.hero-overlay-mobile * {
    z-index: 1;
}

.hero-overlay-mobile::before{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: ''; /* Necessario per pseudo-elementi */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 0; /* Assicurati che sia sopra il contenuto della Hero */
    pointer-events: none; /* Per evitare interferenze con gli eventi */
}

.container-prog-completa{
    margin-left: auto;
    display: flex;
    align-items: center;
}

.container-movie-image{
    overflow: hidden;
    height: 350px; 
    width: 233px;
    border-radius: 15px;
}

.wrapper-movie-info{
    margin-left: 25px;
    padding: 10px 0;
    flex: 1;
}

.container-prog-search{
    margin-right: 10px;
}

.wrap-video-thumb{
    position: relative;
    width: 100%;
    height: 65vh;
}

.wrap-video-thumb::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0px;
    background-image: linear-gradient(to top, rgb(20, 20, 20)17%, rgba(0, 0, 0,0) 47%);
}

.wrap-video-thumb img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}


.wrap-film {
    position: relative;
    width: 100%;
}

.container-film{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.wrap-info{
  width: 60%;
}

.col-locandina {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.322); */
    box-shadow: 0px 0px 25px #0c687cb4;
    position: relative;
}

.col-locandina img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero_page{
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.container-props{
    position: absolute;
    padding: 8px 17px;
    background: var(--bs-primary);
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom-right-radius: 18px;
    margin-bottom: 8px;
}

/* #region Mobile */

@media screen and (max-width: 768px) {

    .movie-card-index{
        flex-direction: column;
    }

    .container-movie-image.prevendita{
        height: 403px;
        width: 280px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    section{
        padding: 30px 0;
    }

    .navbar-custom-logo {
        width: 125px;
    }

    .navbar-custom{
        padding: 5px 10px;
    }

    .navbar-custom.scroll {
        padding: 9px 13px;
    }

    .hero {
        margin-top: 40px;
    }

    .card-movie-hero {
        height: 80vh;
        padding-bottom: 40px;
    }

    .hero-heading{
        font-weight: 500;
        font-size: 1.6rem;
    }
    

    .container-prog-completa{
        margin-left: unset;
        width: 100%;
        margin-bottom: 25px;  
        flex-direction: column;      
    }
    
    .container-data-prog{
        width: 100%;
        margin-top: 20px;
        margin-bottom: 25px;
    }

    .container-movie-image{
        height: 185px; 
        width: auto;
    }

    .wrapper-movie-image{
        flex: 1;
    }

    .wrapper-movie-info{
        flex: 2;
    }

    .container-prog-search{
        margin-right: 0px;
        margin-bottom: 10px;
    }
    
    .container-props{
        position: absolute;
        padding: 5px 15px;
        background: var(--bs-primary);
        font-size: .8rem;
        font-weight: 500;
        border-bottom-right-radius: 18px;
        margin-bottom: 8px;
    }
    
}
/* #endregion */