body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: #8b4533;
    color: #fff4e6;
}
body {
    overflow-x: hidden;
}


/* HEADER */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: 0.4s;
}

header.scrolled {
    background-color: rgba(107, 48, 36, 0.95);
    backdrop-filter: blur(10px);
}

header nav {
    display: flex;
    gap: 40px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

header nav a:hover {
    color: #d49a52;
}

.nav-button {
    position: absolute;
    right: 60px;

    background-color: #a53d14;
    color: white;
    text-decoration: none;

    padding: 14px 28px;
    border-radius: 30px;

    transition: 0.3s;
}

.nav-button:hover {
    background-color: #d49a52;
    transform: scale(1.05);
}

.hero img {
    width: 450px;
    max-width: 80%;
    margin: 40px 0;

    filter: brightness(1.3) 
}

.hero h2 {
    font-size: 25px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}



/* PARTE PRINCIPALE */

.hero {
    text-align: center;
    padding: 150px 20px;
    min-height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: 
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url("images/sfondo.jpg");

background-size: cover;
background-repeat: no-repeat;
background-position: center;

    animation: fadeIn 1.2s ease;
}

.hero h1 {
    font-size: 55px;
    margin-bottom: 20px;
}


.hero p {
    font-size: 24px;
    max-width: 650px;
}


.hero button {
    margin-top: 35px;
    padding: 15px 45px;

    background-color: #a53d14;
    color: white;

    border: none;
    border-radius: 30px;

    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;
    transition: 0.3s;
}

.hero button:hover {
    background-color: #d49a52;
    transform: scale(1.05);
}

.menu-button {
    display: inline-block;

    margin-top: 35px;
    padding: 15px 45px;

    background-color: #a53d14;
    color: white;

    border-radius: 30px;
    border: none;

    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;

    text-decoration: none;

    transition: 0.3s;
}

.menu-button:hover {
    background-color: #d49a52;
    transform: scale(1.05);
}


/* SEZIONI */

section {
    text-align: center;
    padding: 60px 20px;
}


.about {
    display: flex;
    align-items: center;
    gap: 80px;

    width: 100%;
    padding: 80px 40px 30px;
    box-sizing: border-box;
}
.about-image {
    width: 50%;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 25px;
}
.about-text {
    width: 50%;
    padding-right: 80px;
    text-align: justify;
}

.about-text h2 {
    font-size: 45px;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 21px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.menu-section {
    text-align: center;
    padding: 120px 40px;

    background-image:
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url("images/menu-sfondo.jpg");

    background-size: cover;
    background-position: bottom;

    color: white;
}
.menu-section h2 {
    font-size: 60px;
    margin-bottom: 25px;
}

.menu-section p {
    font-size: 24px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
    align-items: center;
}


.hero-button {
    padding: 15px 45px;

    background-color: #a53d14;
    color: white;

    border-radius: 30px;
    text-decoration: none;

    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: 0.3s;
}


.hero-button:hover {
    background-color: #d49a52;
    transform: scale(1.05);
}


.hero-button.secondary {
    background-color: #a53d14;
    border: none;
}

.divider {
    width: 80%;
    height: 1px;
    background-color: #d49a52;
    margin: 100px auto 40px;
}

#indirizzo {
    padding-top: 100px;
    padding-bottom: 80px;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 80px 10%;
    text-align: left;
}

.contact-info,
.opening-hours,
.come-arrivare {
    width: 30%;
}

.contact-section h2 {
    font-size: 35px;
}

.contact-section p {
    font-size: 18px;
    line-height: 1.6;
}
.footer {
    background-color: #3b1812;
    color: #fff4e6;

    text-align: center;
    padding: 60px 20px;
}

.footer h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 18px;
    margin: 10px 0;
}

.footer-contact {
    margin: 30px 0;
}

.copyright {
    margin-top: 40px;
    font-size: 14px !important;
    opacity: 0.8;
}
.specialita {
    padding: 50px 40px;
    text-align: center;
}

.specialita h2 {
    font-size: 45px;
    margin-bottom: 30px;
}

.specialita-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.specialita-card {
    width: 300px;
    background-color: #7a3b2a;
    border-radius: 25px;
    overflow: hidden;
    padding-bottom: 30px;
    transition: 0.3s;
}

.specialita-card:hover {
    transform: translateY(-10px);
}

.specialita-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
}

.specialita-card h3 {
    font-size: 25px;
    margin: 25px 20px 20px;
}

.specialita-card p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 20px;
}

#indirizzo h2 {
    font-size: 38px;
}

#indirizzo p {
    font-size: 20px;
    line-height: 1.6;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

/* VERSIONE MOBILE */

@media (max-width: 768px) {

    /* HEADER */
    header {
        padding: 20px 10px;
    }

    header nav {
        gap: 15px;
    }

    header nav a {
        font-size: 14px;
    }

    .nav-button {
        display: none;
    }


    /* HERO */
    .hero {
        padding: 120px 20px;
    }

    .hero img {
        width: 280px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 18px;
    }


    /* CHI SIAMO */
    .about {
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image img {
        height: 350px;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-text h2 {
        font-size: 35px;
    }

    .about-text p {
        font-size: 17px;
    }


    /* SPECIALITÀ */
    .specialita-container {
        flex-direction: column;
        align-items: center;
    }

    .specialita-card {
        width: 90%;
    }


    /* CONTATTI */
    .contact-section {
        flex-direction: column;
        padding: 50px 20px;
        text-align: center;
        gap: 30px;
    }

    .contact-info,
    .opening-hours,
    .come-arrivare {
        width: 100%;
    }


    /* MENU */
    .menu-section h2 {
        font-size: 40px;
    }

    .menu-section p {
        font-size: 18px;
    }

}

.location-image {
    width: 320px;
    height: 180px;
    object-fit: cover;
    object-position: left center;
    border-radius: 20px;
    margin: 30px auto;
    display: block;
    border: 5px solid #6b3024;
}