* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111;
    color: white;
}


/* HEADER */

header {
    background: #000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #d4af37;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
}

nav h1 {
    color: #d4af37;
    font-size: 28px;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

nav ul li a:hover {
    color: #d4af37;
}



/* HERO */

.hero {

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
    linear-gradient(
    rgba(0,0,0,.7),
    rgba(0,0,0,.8)
    ),
    url("https://images.unsplash.com/photo-1529006557810-274b9b2fc783")
    center/cover;

}


.hero-text {
    max-width: 700px;
}


.hero h2 {

    font-size: 55px;
    color:#d4af37;
    margin-bottom:20px;

}


.hero p {

    font-size:20px;
    margin-bottom:30px;

}



.button {

    display:inline-block;
    background:#d4af37;
    color:black;
    padding:14px 30px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    margin:10px;

    transition:.3s;

}


.button:hover {

    transform:scale(1.08);

}


.second {

    background:#b22222;
    color:white;

}




/* SEZIONI */

section {

    padding:100px 8%;
    text-align:center;

}


section h2 {

    font-size:40px;
    color:#d4af37;
    margin-bottom:40px;

}



/* MENU */

.cards {

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;

}


.card {

    background:#1b1b1b;
    padding:30px;
    border-radius:20px;

    border:1px solid #333;

    transition:.3s;

}


.card:hover {

    transform:translateY(-10px);
    border-color:#d4af37;

}


.card h3 {

    color:#d4af37;
    margin-bottom:15px;

}




/* RECENSIONI */

.review {

    background:#1b1b1b;
    padding:40px;
    border-radius:20px;
    max-width:700px;
    margin:auto;

}


.review h3 {

    font-size:40px;
    color:#ffd700;
    margin-bottom:20px;

}




/* CONTATTI */


#contatti p {

    font-size:20px;
    margin:15px;

}

#contatti a {
    color: inherit;
}



/* FOOTER */

footer {

    background:#000;
    padding:25px;
    text-align:center;
    color:#d4af37;

}



/* MOBILE */

@media(max-width:768px){

nav {

    flex-direction:column;

}


nav ul {

    margin-top:20px;
    flex-wrap:wrap;
    justify-content:center;

}


.hero h2 {

    font-size:35px;

}


.hero p {

    font-size:17px;

}


}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
