* {
    box-sizing: border-box;
}

body {
    max-width: 100%;
    font-family: 'Sora', sans-serif;
    margin: 0;
    background: #f0f0f0;
}


.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* nav bar  */

.nav-bar {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: #f16063;
    padding: 15px 30px;
}


.nav-respo {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: 0;

}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 20%;
    gap: 10px;
    margin-top: 10px;
}

.nav-menu.show {
    display: flex;
}

.menu-icon {
    display: flex;
    align-self: flex-start;
    margin-right: 80px;
}

.nav-right {
    width: 100%;
    margin-right: 0;

}

@media (max-width: 780px) {
    main {
        display: flex;
        flex-direction: column;
        margin: 500px auto;
    }

    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .nav-respo {
        display: flex;
        flex-direction: row-reverse;

    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .nav-menu.show {
        display: flex;
    }

    .menu-icon {
        display: flex;
        align-self: flex-start;
        margin-right: 80px;
    }

    .nav-right {
        width: 100%;
        margin-right: 0;

    }

    .film-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 24px auto;
    }
}


/* Contenitore flessibile per la lente + input */
.nav-right {
    position: relative;
    width: 30px;
    margin-right: 50px;
}

/* Campo input */
.search {
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    color: #2a1313;
    margin-top: 5px;
}

.search::placeholder {
    color: #F16063;
    opacity: 1;
}

/* nascondo il menuw che si aprira quando clicchero */

#menu-toggle {
    display: none;
}

.menu-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    cursor: pointer;

}

.line {
    width: 60px;
    height: 4px;
    margin: 7px;
    background: #261111;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bottom {
    width: 40px;

}



/*  menu DI NAVIGAZIONE */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li a {
    text-decoration: none;


}

.contact {
    display: none;
    flex-direction: column;
    background: #444;
    padding: 1rem;
    list-style-type: none;
}

.smooth {
    scroll-behavior: smooth;
}

.contact a {
    scroll-behavior: smooth;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
}

#menu-toggle:checked~.contact {
    display: flex;
    flex-direction: column;
}

.matek {
    list-style-type: none;
}




/* sezione dei film con data */
#hero {
    display: flex;
    flex-direction: column;
    height: 50vh;

}

.film-title-1 {
    display: flex;
    justify-content: center;
    font-size: 4rem;
    color: #f16063;
}

.film-title-2 {
    display: flex;
    justify-content: start;
    font-size: 2rem;
    color: #f1898b;
    margin-left: 50px;

}

.film-title-3 {
    display: flex;
    justify-content: start;
    font-size: 1rem;
    color: #111111;
    margin-left: 50px;
}

.film-title-4 {
    display: flex;
    justify-content: start;
    font-size: 0.7rem;
    color: #373737;
    margin-left: 50px;
}



@media (max-width: 780px) {

    .film-title-1,
    .film-title-2,
    .film-title-3,
    .film-title-4 {
        margin: 24px auto !important;
        padding: 20px ;
    }

    .film-title-1 {

        font-size: 2.9rem;

    }

    .film-title-2 {

        font-size: 1.5rem;

    }


}






/* nuova sezione sezione di presentazione dei film al cinetek con foto*/



@media (max-width: 780px) {

    .films-resev {
        margin-left: 50px;
        margin-top: 20px !important;
    }
}

span {
    font-size: 2.5rem;
    color: #F16063;
}

.img-tex-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
}


.films-resev {
    margin-left: 50px;
    margin-top: 50px;
}

button {
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid #f16063;
    color: #f16063;
    font-size: 16px;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #f16063;
    color: #fff;
    box-shadow: 0 4px 12px rgba(241, 96, 99, 0.3);
}

.img-date-movies {
    width: 500px;
    margin: 80px auto;
    transform: rotate(-15deg);
    /* ruota l'immagine */
    display: block;
    transition: transform 0.3s ease;
}

.img-date-movies:hover {
    transform: rotate(-1deg) scale(1.02);
}

.films-axpl {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
    margin-top: 150px;
    margin-bottom: 150px;

}

.date-tex {
    line-height: 4;

}


.films-date {
    font-weight: bolder;
    color: #F16063;
    margin-top: 20px;
}

.expl-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.expl-container-invert {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-left: 50px;
    margin: 20px;
}

@media (max-width: 780px) {

    .title-presentacion-2 {

        font-size: 1rem;
    }

    button {
        margin-top: 14px;
        padding: 12px 24px;
        font-size: 0.5rem;
        font-weight: 500;
        border-radius: 15px;
    }

    .img-date-movies {
        display: flex;
        flex-direction: column;
        width: 220px;
        transform: rotate(-15deg);
        /* ruota l'immagine */
    }

    .films-date {
        font-size: 0.6rem;
        margin-top: 10px;
    }

    .cine-salle {
        font-size: 0.6rem;
        margin-top: 10px;
    }

    .expl-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 50px;
    }
}



/* nuova sezione sezione di INFO */
#new-letter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 80px auto;
    background-color: #F16063;
    width: 450px;
    border-radius: 45px;

}

.news-sini-sec {
    display: flex;
    flex-wrap: wrap;
    width: 250px;

}

.titolo-sini {
    font-weight: bolder;
    color: #292929;
    width: 250px;

}

.film-title-4 {
    font-size: 1.4rem;
}

.titolo-destr {
    display: flex;
    font-size: 2rem;
    width: 250px;
    font-weight: bolder;
    color: #292929;

}

.para-sinistra {
    font-size: 1rem;
}

.search-2 {
    border: solid 1px #F16063(167, 30, 30);
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 10px;

}

.news-btn {
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid #3a3a3a;
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    width: 178px;
}

.news-btn:hover {
    background-color: #9360f1;
    color: #fff;
    box-shadow: 0 4px 12px rgba(241, 96, 99, 0.3);
}

/* nuova sezione sezione di CONTAC */
.contact-2 {
    display: flex;
    justify-content: center;
    font-size: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    /* centra l'intero blocco */
    padding: 40px 20px;
}

.container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    justify-content: space-between;
}

.info-cont {
    flex: 1;
    text-align: center;
    /* centra il testo */
}

.contact-title {
    font-size: 1.2rem;
    color: #3b3b3b;
    margin-bottom: 10px;
    border-bottom: solid 2px #f16063;
    margin: 24px auto;
}

.contact-ref {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-cont {
        width: 100%;
    }

    #new-letter {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 24px;
        width: 310px;
        border-radius: 45px;

    }
}

/* sezione finale il footer*/
h4 {
    color: #343434;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex: 1;

    text-align: left;
    gap: 20px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: end;
    flex: 1;

    text-align: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f16063;
    color: #f0f0f0;
    padding: 20px 40px;
    flex-wrap: wrap;
}



.social-icon {
    font-size: 1.5rem;
    color: #323232;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
}

.footer-right p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
        margin: 10px 0;
    }
}