:root {
    --nody-black: #000000;
    --nody-black-75: rgba(0, 0, 0, 0.75);
    --nody-font-titillium: 'Titillium Web', Arial, sans-serif;
    --section-1-bg: #E5F9F6;
    --section-2-bg: #FFF4D6;
    --section-3-bg: #FFE4D6;
    --section-4-bg: #E0F4FF;
    --section-5-bg: #F5EFE6;
    --section-6-bg: #FFDCC1;
    --button-primary: #E5F9F6;
    --button-secondary: #9FDBD3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--nody-font-titillium);
    color: var(--nody-black-75);
    width: 100%;
    scroll-behavior: smooth;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    
}

.stack-section {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}


/* Main container */
.main-container {
    width: 100%;
}

/* Introduzione */
.intro-section {
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--section-1-bg);
    position: relative;
}



.intro-content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem;
}

/* Content sections */
.content-section {
    width: 100%;
    position: relative;
    overscroll-behavior: none;
  overflow : scroll
}

.content-row {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: row;
}

/* Alternating layout */
.content-row.reverse {
    flex-direction: row-reverse;
}

.image-container, .text-container {
    width: 50%;
    
    position: relative;
}

.image-container {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 50%; /* 50% per desktop */
    height: auto;
    object-fit: contain;
    display: block;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem;
}

/* Logo styling */
.main-logo {
    width: 79%;
    max-width: 450px;
    height: auto;
}

.corner-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: auto;
    z-index: 10;
}

/* Text styling */
h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--nody-black);
    line-height: 1.2;
}

.description {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 1.5rem;
}

.features-list {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        height: auto;
        min-height: 100lvh;
    }

    

    .logo-container{
        width: 100%;
        height: 40lvh;
        padding: 1.5rem;
    }

    .intro-content {
        width: 100%;
        height: auto;
        padding: 1.5rem;
        margin-bottom: 5rem;
    }


    .logo-container {
       
        justify-content:left ;
      
    }
    
    .content-section {
        min-height: 100lvh;
    }

    .content-row {
        flex-direction: column !important;
        height: auto;
        min-height: 100lvh;
    }

    .image-container, .text-container {
        width: 100%;
    }
    
    .image-container {
        margin-top: 4rem;
        height: auto;
        min-height: 40lvh;
    }

    .image-container img {
        width: 60%; 
        
    }

    .text-container {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        margin-bottom: 5rem;
    }

    h2 {
        font-size: 2rem;
        text-align: left;
    }

    .description {
        font-size: 1rem;
        text-align: left;
    }

    .features-list {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }
}

