*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0f0f0f;
    color:white;
    overflow-x:hidden;
}

/* NAVBAR */

nav{
    position:fixed;
    top:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    background:rgba(0,0,0,0.4);
    backdrop-filter:blur(10px);
}

.logo{
    font-size:clamp(16px, 3vw, 28px);
    font-weight:700;
    color:white;
    white-space:nowrap;
}

.logo span{
    color:#ffb703;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:0.3s;
}

nav ul li a:hover{
    color:#ffb703;
}

@media (max-width: 480px){
    .logo{
        font-size:14px;
    }
}

/* HERO */

.hero{
    height:100vh;
    background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=1600&auto=format&fit=crop');

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.hero-content p{
    font-size:22px;
    color:#ddd;
    margin-bottom:40px;
}

.hero-logo{
    width:340px;
    max-width:90%;
    height:auto;
    display:block;
    margin:0 auto 20px;
}

/* MINI HERO */

.mini-hero{
    height:350px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background-size:cover;
    background-position:center;
    position:relative;
}

.mini-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
}

.mini-hero h2{
    position:relative;
    color:white;
    font-size:60px;
    font-weight:700;
    letter-spacing:2px;
    z-index:2;
}

/* IMMAGINI */
.bar-bg{
    background-image:url('Immagini/67169.jpg');
}

.ristorante-bg{
    background-image:url('Immagini/ristorante.jpg');
}

.pizzeria-bg{
    background-image:url('Immagini/pizzeria.jpg');
}

/* MOBILE */
@media(max-width:768px){
    .mini-hero{
        height:220px;
    }
    .mini-hero h2{
        font-size:38px;
    }
}

/* BUTTON */
.btn{
    padding:16px 40px;
    background:#ffb703;
    color:#000;
    border:none;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    background:white;
    transform:translateY(-3px);
}

/* SECTIONS */
section{
    padding:120px 8%;
}

.section-title{
    font-size:50px;
    margin-bottom:60px;
    text-align:center;
    color:#ffb703;
}

/* STORY */
.story{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.story img{
    width:100%;
    border-radius:20px;
}

.story-text{
    font-size:18px;
    line-height:1.8;
    color:#ccc;
}

/* SERVICES */
.service-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}
.service-text{
    font-size:18px;
    line-height:1.9;
    color:#ccc;
}

/* GALLERY 2x2 */
.gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.gallery img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:20px;
    transition:0.4s;
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.gallery img:hover{
    transform:scale(1.03);
}

/* MENU QR */
.menu-qr{
    display:flex;
    justify-content:center;
    align-items:center;
}

.menu-qr img{
    width:320px;
    max-width:90%;
    border-radius:20px;
    background:white;
    padding:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

/* CONTACT */
.contact{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-box{
    background:#1a1a1a;
    padding:40px;
    border-radius:20px;
}

.contact-box h3{
    color:#ffb703;
    margin-bottom:20px;
}

.contact-box p{
    margin-bottom:15px;
    color:#ccc;
}

/* MAP */
.map-mini{
    margin-top:15px;
    width:100%;
    height:160px;
    border-radius:12px;
    overflow:hidden;
    border:2px solid #333;
    box-shadow:0 0 25px rgba(255,183,3,0.15);
}

.map-mini iframe{
    width:100%;
    height:100%;
    border:0;
}

/* SOCIAL ICONS */
.social-icons{
    display:flex;
    justify-content:space-evenly;
    margin-top:20px;
    flex-wrap:wrap;
    gap:12px;
}

.social-icons a{
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-radius:50%;
    transition:0.3s ease;
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.social-icons img{
    width:22px;
    height:22px;
    filter:invert(1);
    opacity:0.9;
}

.social-icons a::before{
    content:"";
    position:absolute;
    top:0;
    left:-75%;
    width:50%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transform:skewX(-20deg);
}

.social-icons a:hover::before{
    animation:shine 0.8s ease;
}

@keyframes shine{
    0%{ left:-75%; }
    100%{ left:130%; }
}

/* HOVER */
.social-icons a:hover{
    transform:translateY(-5px) scale(1.05);
    background:rgba(255,183,3,0.15);
    border:1px solid #ffb703;
    box-shadow:0 10px 25px rgba(255,183,3,0.2);
}

/* FORM */
form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

form input,
form textarea{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    background:#111;
    color:white;
    font-size:16px;
    outline:none;
}

form input:focus,
form textarea:focus{
    border:2px solid #ffb703;
}

form button{
    cursor:pointer;
    font-size:16px;
}

/* FOOTER */
footer a{
    color:#ffb703;
    text-decoration:none;
    transition:0.3s;
}

footer a:hover{
    color:white;
}
footer{
    text-align:center;
}

/* RESPONSIVE TABLET */
@media(max-width:900px){

    .story,
    .contact,
    .service-layout{
        grid-template-columns:1fr;
    }

    .section-title{
        font-size:38px;
    }

    nav ul{
        gap:15px;
    }

    .hero-logo{
        width:260px;
    }
}

/* MOBILE */
@media(max-width:600px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-content p{
        font-size:18px;
    }

    .hero-logo{
        width:200px;
    }

    .gallery img{
        height:160px;
    }

    .section-title{
        font-size:32px;
    }
}

/* Scroll */
.scroll-top{
    position:fixed;
    bottom:25px;
    right:25px;
    width:54px;
    height:54px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-radius:50%;
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
    transition:0.35s ease;
    z-index:9999;
}

/* ICONA */
.scroll-top svg{
    transition:0.3s ease;
}

/* HOVER PREMIUM */
.scroll-top:hover{
    transform:translateY(-6px) scale(1.1);
    background:rgba(255,183,3,0.18);
    border:1px solid #ffb703;
    box-shadow:0 15px 35px rgba(255,183,3,0.25);
}

.scroll-top:hover svg{
    transform:translateY(-2px);
}

/* CLICK EFFECT */
.scroll-top:active{
    transform:scale(0.95);
}