/*
Theme Name: Fiama Company, 2025 edition.
Author: Andrea Castenetto
Version: 0.1
Description: A simple theme for a company website.
*/

html { font-size: 16px; }
body {
    color: #111;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box; }

input, textarea, select, button {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

input, textarea {
    display: block;
    padding: 1rem 2rem;
    border-radius: .55rem;
    border: 1px solid #ccc;
    margin-bottom: .75rem;
}

textarea {
    resize: vertical;
    min-height: 135px;
}

img { max-width: 100%; height: auto; }
h1 { font-size: 3rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.75rem; font-weight: 500; }
p, a, ul, li { font-size: 1.3rem; font-weight: 300; }
.btn { padding: .44rem 2rem; border-radius: .5rem; font-size: .88rem;
    border: 1px solid #111; color: #111; text-decoration: none; }
.btn.btn-black { background-color: #111; color: #fff; }
.btn.btn-gray { background-color: #ccc; color: #333; border: 1px solid #777;}
.btn.btn-xs { padding: .41rem 1.3rem; font-size: .7rem;}
.btn-land { max-width: 380px; padding: .44rem 0.4rem; }
.btn-land a { font-size: 0.88rem !important}
.hide-on-desktop { display: none; }
.flex-nd-center, .flexCenter { display: flex; justify-content: center; }
.justify-right { justify-content: flex-end; }
.w-max-01, .width1385 { width: 100%; max-width: 1385px; }

.row-reverse { flex-flow: row-reverse; }
.txt-align-l { text-align: left !important; }

/* NAV */
nav {
    width: calc(100% - (3rem*2));
    height: 40px;
    position: fixed;
    z-index: 100;
    top: 0; left: 0;
    padding: 1rem 3rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

nav .logo img {
    max-width: 180px;
    height: auto;
    cursor: pointer;
}

nav .logo a { text-decoration: none; }

nav .menu a {
    font-size: 0.9rem;
    padding: .35rem .55rem;
    border-radius: 5px;
    text-decoration: none;
    color: #111;
    margin-left: 1rem;
    transition: all .3s;
}

nav .menu a.active,
nav .menu a:hover {
    background-color: #eee;
}

/* MAIN */
main {
    margin-top: calc(40px + 2rem);
}

/* mobile menù media query */
@media screen and (max-width: 900px) {
    .hide-on-mobile { display: none; }

    .mobile-menu {
        display: block;
    }

    .mobile-menu img {
        width: 32px;
        height: auto;
        cursor: pointer;
    }

    .mobile-menu-real {
        flex-flow: column;
        position: absolute;
        left: 0;
        right: 0;
        height: 90vh;
        padding: 2rem;
        background: #fff;
        z-index: 1;

        top: calc(40px + 2rem);
        border-top: 1px solid #ccc;
    }

    .mobile-menu-real a {
        padding: .35rem .55rem;
        border-radius: 5px;
        text-decoration: none;
        color: #111;
        margin-left: 1rem;
        transition: all .3s;
        padding: 1rem;
        margin-bottom: .3rem;
    }

    .mobile-menu-real a.active,
    .mobile-menu-real a:focus,
    .mobile-menu-real a:hover {
        background-color: #eee;
    }
}


/* HERO */
div.hero {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5; }

div.hero .container {
    background-color: #dbdbdb;
    height: 500px;
    position: relative;
    background-image: url('assets/hero/girls.jpeg');
    background-size: cover;
    background-position-x: center;
}

div.hero .container .text {
    position: absolute;
    bottom: 2rem; left: 3.5rem;
    padding: 1.5rem;
    border-radius: 6px;
}

div.hero .container .text.tx-white { background: rgb(255 255 255 / 39%); }
div.hero .container .text.tx-black { background: rgba(0, 0, 0, .1); }

div.hero .container .text h1 {
    font-size: 3rem;
    margin: 0;
    margin-bottom: .7rem;
}

div.hero .container .text p {
    font-size: 1.5rem;
    margin: 0;
}

/* ECOMMERCES */
.ecommerces {}
.ecommerces .container { }
.shops-container {
    display: flex;
    justify-content: space-between; 
    padding: 0 3.5rem;}
.shop-list { width: 46%; }
.shop-element {
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: #E6E6E6; }
.shop-element-row {
    display: flex;
    flex-flow: row-reverse;
    min-height: 300px;
    padding: 2rem; }
    .shop-element-row .main { padding: 0 2rem; text-align: left; }
    .shop-element-row .main h3 { margin: 0 0 1rem 0;}
    .shop-element-row .main p { font-size: 1.2rem; opacity: .53;}
.shop-element h3 { margin-bottom: -0.8rem; margin-top: 0; }
.shop-element p { font-size: 1rem; margin-bottom: 1rem; }
.shop-element.shop-element-column {
    padding: 2rem;
}
.shop-element.shop-element-column img { margin-top: 2rem; border-radius: 1rem; }
.shop-element.shop-element-row img { height: auto; 
    max-width: 200px;
    min-width: 200px;
            border-radius: 1rem;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, .1);
}

@media screen and (min-width: 900px) and (max-width: 1200px) {
    .shop-element.shop-element-row img { 
        max-width: 120px;
        min-width: 100px; 
        border-radius: 1rem;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, .1);
    }
}

.shop-bg-w2 { background-color: #f2f3f0;}

@media screen and (min-width: 900px) and (max-width: 1200px) {

}

@media screen and (max-width: 1125px) {
    .shop-element .btn-gray { padding: .2rem 1rem; font-size: .9rem; }
    .shop-element-row .main h3 { font-size: 1.55rem; }
    .shop-element-row .main p { font-size: .9rem; }
}

@media screen and (max-width: 900px) {
    .row-normal { flex-flow: row; }
    .shops-container { display: block; }
    .shop-list { width: 100%; }
    .shop-element .btn-gray { padding: .4rem 2rem; font-size: .9rem; }
    .shop-element-row .main h3 { font-size: 1.65rem; }
    .shop-element-row .main p { font-size: 1.15rem; padding-bottom: .35rem; }
    .shop-element-column h3 { font-size: 2rem; margin-bottom: -1.45rem;}
    .shop-element-column p { font-size: 1.1rem; margin-bottom: 1rem;}
}

@media screen and (max-width: 600px) {
    div.hero .container .text {
        padding: 2rem 3.3rem;
        left: 0; bottom: 0; margin: 0; padding-bottom: 2.5rem; }
    .shop-element-row { padding: 1rem; min-height: auto; }
    .shop-element-row .main { padding: 1rem; }
    .shop-element .btn-gray { padding: .4rem .6rem; font-size: .77rem; }
    .shop-element-row .main h3 { font-size: 1.35rem; }
    .shop-element-row .main p { font-size: .9rem; padding-bottom: .35rem; }
    .shop-element-column h3 { font-size: 1.7rem; margin-bottom: -1.45rem;}
    .shop-element-column p { font-size: 1.02rem; margin-bottom: 1rem; margin-top: 1.38rem;}
    .shop-element.shop-element-column img { max-width: 100%; }
}

/* TEXTUAL INTERLUDE */
.textual-interlude .container { text-align: center; margin: 4rem 0 3rem 0; }
.textual-interlude .container h2,
.textual-interlude .container p { margin: 0; margin-bottom: .4rem; }
@media screen and (max-width: 750px) {
    .textual-interlude .container { margin: 2.8rem 0 4rem; padding: 1rem; }
    .textual-interlude .container h2 { font-size: 1.7rem;}
    .textual-interlude .container p { font-size: 1.1rem;}
}

/* CAROSELLO */
/* .carosello .container {} */
.first-mobile { display: none; }
.carosello-1 { background-color: #e0f7fa; }
.carosello-2 { background-color: #E5E5FF; }
.carosello { margin: 0 0 2.5rem 0; display: flex;
    justify-content: center;}
.carosello .container { display: flex; justify-content: space-between;
 width: 100%; max-width: 1000px; 
 min-height: 200px; 
 max-height: 320px;
    border-radius: 1.5rem;
    border: 1px solid #b7cacc;
    box-shadow:  0 0 10px rgba(0, 0, 0, 0.01);
    margin: 0 3rem 1.5rem 3rem;
}
/* .carosello .container .first { max-width: 100px; } */
.carosello .container .second { text-align: right; padding: 0 3rem; }
.carosello .container .second h3 { font-weight: 500; margin-bottom: -0.5rem;}
.carosello .container .second p { font-size: 1rem; }
.carosello .container .second .buttons { margin-top: 1.4rem;}
.carosello .first img, .carosello .second .img {
    max-width: 400px;
}

.radius-left {
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem; 
}

.radius-right {
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem; 
}


@media screen and (max-width: 800px) {
    .carosello { margin: 0; }
    .carosello .container { 
        max-height: unset;
        margin: 0 3rem 1.5rem 3rem;
        flex-flow: column-reverse; 
        align-items: center;
    }
    .first {
        display: none;
    }
    .first-mobile {
        display: block;
        width: 100%;
        height: 240px;
        background-color: #b2e8ef;
        margin-top: 2rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
        background-image: url('assets/yatch.JPEG');
        background-size: cover;
        background-position: center;
    }
    .img-2 {
        background-image: url('assets/office.JPEG');
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 0.4rem 2rem;
    background: #eee;
    border-top: 1px solid #ddd;
    margin-top: 3rem;
}
footer p { font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center; }
footer p img { padding-right: .4rem; }


/* mini-landing-page */
.landing-page  main {
    margin-top: calc(40px + 4rem);
    /* display: flex;
    flex-flow: column;
    align-items: center; */
    margin-left: 3.5rem;
}
.landing-page  main h1 { font-size: 2.35rem; margin-bottom: -1rem; }
.landing-page main .first-p { font-weight: bold; opacity: .55; margin-bottom: .5rem; }

.landing-page .images-box {
    display: flex;
    /* justify-content: space-between; */
}

.landing-page .images-box > div {
    flex: 1;
    background-color: #eee;
    padding: 1.75rem;
    max-width: 400px;
    margin-right: 1.75rem;
    transition: all .3s;
}

.landing-page .images-box > div:hover {
    background-color: #e5e5e5;
}

.landing-page .images-box > div img.logo {
    max-width: 32px;
    height: auto;
    opacity: .3;
}

.landing-page .images-box > div p {
    font-weight: normal;
    opacity: .8;
    min-height: 100px;
}

.landing-page .images-box > div .logodiv {
    margin-top: 1rem;
}

.landing-page .prefooter h3 {
    margin-bottom: -0.9rem;
}

.landing-page .prefooter ul li {
    font-size: 1.1rem;
}

.landing-page footer {
    margin-top: 1.75rem;
    width: calc(100% - 4rem);
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.landing-page .paginator {
    display: flex;
}

.landing-page .form {
    margin-top: calc(40px + 4rem + 2rem);
    min-width: 300px;
    padding: 2rem;
    background-color: #eeeeee;
    background: linear-gradient(45deg, #eeeeee, #fcfcfc);
    border: 1px solid #f1f1f1;
    margin-right: 1.5rem;
    transition: all .3s;
}

.landing-page .form .title {
  font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
}

.form-hp-landing {     max-height: 519px; }
.form-hp-landing .inputs {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.form-hp-landing .inputs input[type="submit"] {
    background-color: #363535;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: .4rem;
}

@media screen and (max-width: 1385px) {
    .landing-page .head-01,
    .landing-page .prefooter {
        width: auto;
        padding: 0 3.5rem 0 0;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 1092px) { .landing-page .images-box > div p { font-size: 1.1rem; } }
@media screen and (max-width: 600px) { 
    .landing-page .images-box > div p { font-size: 1rem; }
    .landing-page .images-box { 
        flex-flow: column;
    } 
    .landing-page .images-box > div { 
        max-width: none;
        margin-bottom: 2rem;
    }
    .landing-page .images-box > div p { height: 40px; }
}
@media screen and (max-width: 923px) {
    .paginator { flex-flow: column; }
    .landing-page .form { margin-top: 2rem; 
        margin-right: 0; border-bottom: 1px solid #ccc; }
    .landing-page footer { margin-top: 0rem;
    background-color: #ddd; }
    .form-hp-landing {
        max-height: none;
    }
}

/* ======== STILE BOTTONE INSTAGRAM ======== */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 1rem 0.1rem 0.25rem;
    border-radius: .5rem;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.btn-instagram img {
    width: 36px;
    height: auto;
    margin-right: .05rem;
}

@media screen and (min-width: 1385px) {
    .btn-instagram {
         margin-bottom: 1.5rem;
    }    
}

/* ======== STILE PER VIDEO CON CONTENUTO SOTTOSTANTE ======== */

/* Contenitore principale del blocco.
   Sovrascrive e si adatta agli stili di .landing-page .images-box > div */
.images-box .video-block-container {
    max-width: none; /* Occupa tutta la larghezza disponibile */
    max-width: 80% !important;
    margin-right: 0;
    padding: 0; /* Rimuoviamo il padding dal contenitore principale */
    background-color: #eee; /* Ripristiniamo lo sfondo chiaro originale */
    transition: all .3s;
}

@media screen and (max-width: 1000px) {
    .images-box .video-block-container {
        max-width: 100% !important;
    } 
}

.images-box .video-block-container:hover {
    background-color: #e5e5e5; /* Manteniamo l'effetto hover */
}

/* Wrapper per il solo video per un controllo pulito */
.video-block-container .video-wrapper {
    line-height: 0; /* Evita spazi bianchi indesiderati sotto il video */
}

.video-block-container video {
    width: 100%; /* Rende il video responsivo in larghezza */
    height: auto;
}

/* Area per il contenuto testuale, che ora ha il suo padding */
.video-block-container .content-below-video {
    padding: 1.75rem;
}

/* Il testo e il logo ora sono su sfondo chiaro, quindi non necessitano modifiche
   rispetto agli stili originali della pagina. Le regole di base verranno applicate. */


.prefooter p {
    max-width: 860px;
}

/* STILE BLOCCO CONTATTI AGGIUNTIVO */
.contact-info-block {
    margin-top: 2rem;
}

.contact-info-block h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}



.contact-info-block a {
    color: #111;
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    transition: opacity .3s;
}

.contact-info-block a:hover {
    opacity: .7;
}

/* Regolazioni per schermi <= 540px per shop-element-row */
@media screen and (max-width: 540px) {
    .shop-element-row {
        flex-flow: column; /* Impila gli elementi verticalmente */
        align-items: center; /* Centra gli elementi quando impilati */
        text-align: center; /* Centra il testo */
        padding: 1rem; /* Regola il padding del contenitore */
    }

    .shop-element-row .image {
        width: 100%; /* L'immagine prende tutta la larghezza disponibile */
        margin-bottom: 1rem; /* Spazio tra immagine e testo */
        margin-top: 2rem;
    }

    .shop-element-row img {
        max-width: 100%; /* Assicura che l'immagine sia completamente responsiva */
        height: auto;
        min-width: unset; /* Rimuove il min-width fisso per evitare problemi */
        margin-bottom: 1rem; /* Aggiungi un po' di spazio sotto l'immagine */
    }

    .shop-element-row .main {
        padding: 0 1rem; /* Regola il padding per il contenuto principale */
        text-align: center; /* Centra il testo all'interno del blocco */
    }

    .shop-element-row .main h3 {
        font-size: 1.4rem; /* Regola leggermente la dimensione del titolo */
    }

    .shop-element-row .main p {
        font-size: 1rem; /* Regola leggermente la dimensione del paragrafo */
    }
}

@media screen and (max-width: 600px) {
    .landing-page nav {
        padding: 1rem 2rem;
        width: 85%;
    }
    .landing-page main {
        margin-top: calc(40px + 2.5rem);
        margin-left: 2rem;
    }  
    .landing-page .images-box > div {
        margin-right: 2rem;
    } 

    .landing-page .btn {
        max-width: 100%;
        margin-right: 2rem;
    }
}