body {
    font-family: 'Neulis Neue', sans-serif;
    color: #1a1a1a;
    background-color: #f2e8c7;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

header {
    background-color: #800000;
    color: #d9d4b5;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    margin-right: auto;
    padding-right: 4rem;
}

.logo img {
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        margin-left: 0;
        padding-right: 0;
    }
}

.divider-line {
    width: 100%;
    height: 5px;
    background-color: #f2e8c7;
}

.banner {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.banner img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: #992b1c;
    color: #fff;
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #800000;
}

/* Stili specifici per la pagina storia */
.history-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.story-part {
    margin-bottom: 4rem;
    padding: 2rem;
}

.story-part h2 {
	font-family: 'Neulis Neue', sans-serif;
    color: #992b1c;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.story-part .subtitle {
    font-size: 1.6rem;
    color: #800000;
    margin-bottom: 1rem;
}

.story-part .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    text-align: justify;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.image-container img {
	width: 40%;
	max-width: 400px;
	height: 350px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: center;
    }

    .image-container img {
        width: 100%;
        max-width: 100%;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .history-section {
        padding: 2rem 1rem;
    }

    .story-part {
        padding: 1rem;
    }
    
    .story-part h2 {
        font-size: 2rem;
    }
    
    .story-part .subtitle {
        font-size: 1.3rem;
    }
}
