* {
    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) {
    .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;

    }
}


/* 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 {
    margin: 0;
    padding: 0;
    height: 100vh;

}

.films-title-container {

    width: 100%;
    position: absolute;
    /* oppure fixed se vuoi che sia sempre visibile */
    bottom: 0px;
    left: 50px;
    top: 250px
}

.title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    color: #ffffff;
    position: relative;
    text-decoration: none;
    transition: font-size 0.3s ease;

}

.title:hover {

    font-size: 3rem;
}

.year {
    font-size: 0.7rem;
    color: #ff0000;
    vertical-align: super;
    margin-left: 15px;
    opacity: 0.7;
}

@media (max-width: 780px) {
    .title {
        font-size: 0.8rem;
    }

    .films-title-container {
        left: 5px !important;
    }

}

/* questa sezione fa parte della hero ma sono le foto che scorrono dietro animaytamente*/

.hero-photo {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.slideshow {
    position: relative;
    height: 100%;
}

.novantaCinque {
    background-position: bottom;
}

.Foto-1 {
    opacity: 0.8;
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: bottom;
    animation: fade 12s infinite;
    opacity: 0;
}

.slideshow img:nth-child(1) {
    animation-delay: 0s;
}

.slideshow img:nth-child(2) {
    animation-delay: 2s;
}

.slideshow img:nth-child(3) {
    animation-delay: 4s;
}

.slideshow img:nth-child(4) {
    animation-delay: 6s;
}

.slideshow img:nth-child(5) {
    animation-delay: 8s;
}

.slideshow img:nth-child(6) {
    animation-delay: 10s;
}


@keyframes fade {

    0%,
    100% {
        opacity: 0;
    }

    10%,
    30% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}





/* nuova sezione sezione di presentazione di cinetek*/



.title-presentacion {
    display: flex;
    justify-content: center;
    font-size: 2.5rem;
}

@media (max-width: 780px) {

    .title-presentacion {

        font-size: 1rem;
    }
}

span {
    font-size: 2.5rem;
    color: #F16063;
}

.img-tex-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    color: #f16063;
}

/* stile immagine */
.img-presentacion {
    width: 80%;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 100px;
}

/* stile paragrafo */
.img-tex-cont p {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #333;

}

.img-parafgar-1 {

    padding: 24px;
    background-color: rgb(248, 238, 238);
    border-radius: 2%;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 25px;
    font-weight: bold;

    width: 425px;
    right: 80px;

}

.img-parafgar-2 {
    padding: 24px;
    background-color: rgb(248, 238, 238);
    border-radius: 2%;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 25px;
    font-weight: bold;
    width: 425px;
    right: 80px;
}

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);
}



/* questa sezione fa parte della parde descrittiva "objet*/
.title-presentacion-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.5rem;
    margin-top: 80px;
}

#objet {
    display: flex;
    justify-content: center;

}

ol {
    list-style-type: none;
}

.max-d {
    color: #f16063;
    font-size: 7rem;
}

.title-list {
    line-height: 1.8;
}

@media (max-width: 780px) {

    .img-parafgar-1,
    .img-parafgar-2 {
        width: 315px;
        padding: 24px !important;
        font-size: 1rem !important;

    }

    .title-presentacion-2 {

        font-size: 1rem;
    }

    button {
        margin-top: 24px;
    }
}



/* nuova sezione sezione di INFO */

.title-presentacion-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.5rem;
    margin-top: 80px;
}

.map-container iframe {
    width: 800px;
    height: 600px;

}

.title-info {
    display: flex;
    flex-direction: row;
    font-size: 4rem;
    margin: 0;
    margin-bottom: 80px;
}

.info-list {
    font-size: 1rem;

    margin-top: 24px;
    margin-bottom: 24px;
}

.span-list-info {
    font-size: 1.5rem;
    margin-top: 80px;
    margin-bottom: 80px;
}

.info-span {
    font-size: 1.5rem;
}

.flagey {
    margin: 24px auto;
    margin-left: 40px;
}

.flagey-text {
    font-size: 1.5rem;
}

@media (max-width: 780px) {

    .title-info {
        font-size: 2rem;
    }

    .map-container iframe {
        width: 280px;
        height: 300px;

    }

    .flagey {
        margin: 0;
        align-items: center;
        font-size: 1rem;
        margin-left: 5px;
        margin-right: 5px;
    }

    .flagey-text {
        font-size: 0.7rem;
    }
}



/* 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%;
    }
}

/* 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;
}

.btn-3 {
    color: #343434;
    background-color: #f0f0f0;
    margin: 50px auto;
}

@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
        margin: 10px 0;
    }
}