
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-primary), sans-serif;
    overflow-x: hidden;
}
p{
    font-family: var(--font-secondary), sans-serif;
    font-weight: var(--medium);
}

/**************************** HERO SECTION ****************************/

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* riempie l'area mantenendo proporzioni (potrebbe tagliare i bordi) */
    object-position: center;
    z-index: 100;
    transform: none;        /* rimuove il translate che causa zoom */
}
.hero-content {
    position: absolute;
    margin-top: 50px;
    max-width: 650px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 1001;
    color: var(--text-color);
}

/*.hero-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.6);*/
/*    z-index: 501;*/
/*}*/

/*.hero-content {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    text-align: center;*/
/*    z-index: 1001;*/
/*    color: var(--text-color);*/
/*}*/

/*.hero-title {*/
/*    font-size: 4rem;*/
/*    font-weight: bold;*/
/*    margin: 0 0 1rem 0;*/
/*    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
/*    letter-spacing: 2px;*/
/*    font-family: var(--font-primary), sans-serif;*/
/*}*/

/*.hero-subtitle {*/
/*    font-size: 1.5rem;*/
/*    margin: 0;*/
/*    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);*/
/*    font-weight: 300;*/
/*    letter-spacing: 1px;*/
/*    font-family: var(--font-secondary), sans-serif;*/
/*}*/

/* Responsive per dispositivi mobili */
/*@media (max-width: 768px) {*/
/*    .hero-title {*/
/*        font-size: 2.5rem;*/
/*    }*/
/*    */
/*    .hero-subtitle {*/
/*        font-size: 1.2rem;*/
/*    }*/
/*}*/

/**************************** FULLSCREEN SECTIONS ****************************/

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/**************************** CHI SIAMO ****************************/

.vision-section {
    background-color: var(--background-color);
    color: var(--text-color);
    
}

.mission-section {
    background-color: var(--background-color);
    color: var(--text-color);
    
}

.chi-siamo-section {
    margin-top: 20px;
}

.text-content {
    flex: 1 1 450px;
    max-width: 1000px;
}

.image-content {
    flex: 1 1 300px;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vision-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    /*border: 1px solid #333;*/
    border-radius: 12px;
    object-fit: contain;
}


/**************************** PARTNERS ****************************/

.info-partners {
    position: relative;
    /*background-color: var(--background-color);*/
    background: url("https://images.pexels.com/photos/14209575/pexels-photo-14209575.jpeg") center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}


.info-partners-box {
    position: relative;
    /*background: var(--background-color);*/
    background: rgba(10, 9, 8, 0.53);
    border-radius: 12px;
    padding: 40px 20px;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}
.partners-content {
    text-align: center;
    flex-direction: column;
}


.info-partners-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-color);
}

.partners-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-logos {
    display: none;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partners-logos img {
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-logos img:hover {
    filter: none;
    transform: scale(1.05);
}

/* Nuovo wrapper per scroll orizzontale */
.scrolling-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 30px;
}

.logos-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 12s linear infinite;
    align-items: center;
}

.logos-track img {
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logos-track img:hover {
    filter: none;
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/**************************** ROCKET 3D MODEL SECTION ****************************/

/* Rocket 3D Model Section Styles */
.rocket-section {
    background-color: #0A0908;
    color: var(--text-color);
    padding:40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.rocket-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content h2 {
    color: var(--title-color);
    font-size: 2.5rem;
    margin-top: 100px;
    margin-bottom: 30px;
    font-weight: var(--semibold);
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    align-items: left;
    color: var(--text-color);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    border-left: 3px solid var(--title-color);
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.model-viewer {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    border: 2px solid var(--title-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.model-viewer:hover {
    box-shadow: 0 10px 30px rgba(241, 203, 123, 0.3);
    transform: translateY(-5px);
}

model-viewer {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
    background-color: var(--background-color);
    transition: transform 0.3s ease;
    display: block;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

model-viewer:hover {
    transform: scale(1.02);
}

/* Responsive Design for Rocket Section */
@media (max-width: 768px) {
    .rocket-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .model-viewer {
        height: 400px;
        border: 2px solid var(--title-color);
        border-radius: 12px;
    }
}

