/* Fonts */
@font-face {
    font-family: 'A';
    src: url('fonts/American\ Captain.otf');
    font-weight: bold;
    font-style: normal;
  }

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
}

/* Header Section */

/* Sezione Header con Immagine e Logo */
.header-section {
    position: relative;
    height: 50vh;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper dell'immagine per controllo dimensioni */
.header-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Immagine Aziendale */
.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Logo Aziendale */
.logo {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 150px;
}


/* About Section with Video Background */
.about-section {
    /*position: relative;
    color: #fff;
    padding: 50px 0;
    background: #000;

    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;*/

    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Permette agli elementi di andare su più righe su schermi piccoli */
    padding: 50px 20px;
    min-height: 100vh;
    box-sizing: border-box;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: block;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    flex: 1 1 50%;
}

.text-image-row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.text-image-row.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
    padding: 20px;
    font-family: 'Lato';
    color:white;
    font-size: 14px;
    text-align: justify;
}

.text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
    font-family: 'A';
    font-size: 40px;
}

.text p {
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
}


#secondparagraph {
    color: #000 !important;
}

.image {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
}

.call-to-action {
    margin-top: 50px;
    font-family: 'A';
    font-size: 30px;
    letter-spacing: 0.1ch;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #037059;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
}

/* Sezione Acquista Ora */
.purchase-section {
    padding: 50px 20px;
    background-color: black; /* Verde chiaro */
    color: black;
    text-align: center;
}

.purchase-content {
    max-width: 800px;
    margin: 0 auto;
}

.purchase-content p {
    font-family: 'Lato';
    font-size: 18px;
    color:white;
}

.purchase-content h2 {
    font-family: 'A';
    font-size: 40px;
    color:#ffca08;
}

.purchase-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffca08; /* Nero */
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 20px;
    font-family: 'A';
    letter-spacing: 0.1ch;

}

.purchase-button:hover {
    background-color: #fe8800; /* Colore di hover */
    color:white;
}

#subscribe {
    color: #ffca08;
}


/* Footer */
footer {
    background-color: #ffdf6b;
    padding: 20px 0;
    font-size: 16px;
    font-family: 'Lato';
    font-weight: bold;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #000; /* Colore predefinito */
    font-size: 24px; /* Dimensione dell'icona */
    margin-right: 10px; /* Spazio tra le icone */
}

.social-icons a:hover {
    color: #ca6f06; /* Colore al passaggio del mouse */
}

.company-info, .terms {
    margin: 5px 0;
    font-size: 16px;
    font-family: 'Lato';
    font-weight: bold;
    color: black !important;
}

#termswhite {
    color: black !important;
}

.company-info, .terms a {
    margin: 5px 0;
    font-size: 16px;
    font-family: 'Lato' !important;
    font-weight: bold !important;
    text-decoration: none !important;
    color: black !important;
}

.company-info, .terms a:hover {
    color: #ca6f06 !important;
}

/* span styles */
#in_f {
    color:#ca6f06;
    font-family: 'A';
    font-size:30px;
}

#in_s {
    color:#ca6f06;
    font-family: 'A';
    font-size:30px;
}

#in_a {
    color:#ca6f06;
    font-family: 'A';
    font-size:24px;
}



@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content, .about-image {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 10px 0;
    }

    .image {
        display:none;
    }

    .text h2 {
        color: #000;
    }
    
    .text p {
        color: #000;
    }

    #in_f {
        color:#ca6f06;
    }
    
    #in_s {
        color:#ca6f06;
    }
    
    #in_a {
        color:#ca6f06;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-bottom: 10px;
    }
}