/* Reset some styles for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #F3F3F3;
    /* Light Grey background */
    color: #1D1617;
    /* Dark grey for text */
}

a {
    text-decoration: none;
}

h1,
p {
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Full screen height */
    background-color: #470A68;
    /* Pantone 470A68 - Dark purple background */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.cta-btn {
    padding: 15px 30px;
    background-color: #E8B31E;
    /* Pantone E8B31E - Yellow button */
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #d38f16;
    /* Slightly darker yellow */
}

/* Carousel Section */
.carousel {
    padding: 40px 20px;
    background-color: #D9D9D9;
    /* Light Grey background */
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    /* Permette lo scroll orizzontale */
    justify-content: flex-start;
    position: relative;
    scroll-snap-type: x mandatory;
    /* Aggiungi il comportamento di snap per il carosello */
    gap: 15px;
    scroll-behavior: smooth;
    /* Scorrimento fluido */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Nasconde le barre di scroll */
}

.carousel-image {
    width: 50%;
    /* Ridotto dal 60% al 50% */
    max-width: 350px;
    /* Ridotto dal 400px al 350px */
    height: auto;
    object-fit: cover;
    /* Copre lo spazio senza deformare l'immagine */
    border-radius: 10px;
    margin: 0 10px;
    /* Distanza tra le immagini */
    scroll-snap-align: start;
    /* Allinea le immagini all'inizio della finestra */
    transition: transform 0.3s ease-in-out;
}


.carousel-image:hover {
    transform: scale(1.05);
    /* Leggera animazione di zoom al passaggio del mouse */
}

/* Contact Section */
.contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #F3F3F3;
}

.contact p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.support-btn {
    padding: 15px 30px;
    background-color: #470A68;
    /* Pantone 2617C - Dark Purple */
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
}

.support-btn:hover {
    background-color: #1f0b99;
    /* Darker shade of purple */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .carousel-container {
        flex-direction: column;
    }

    .carousel-image {
        width: 80%;
        /* Le immagini occupano una larghezza maggiore su dispositivi mobili */
        max-width: 300px;
        margin-bottom: 20px;
        /* Aggiungi spazio tra le immagini nel carosello */
    }

    .contact p {
        font-size: 1.2rem;
    }

    .cta-btn,
    .support-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}