@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html{
    scroll-behavior:smooth;
}

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

/* NAVBAR */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:black;
    position:sticky;
    top:0;
    z-index:1000;
    transition:0.4s;
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#e63946;
}

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

nav a{
    color:white;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover{
    color:#e63946;
}

/* HERO */

.hero{
    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=1400&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 h1{
    font-size:65px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    max-width:700px;
    line-height:1.8;
}

.btn{
    display:inline-block;
    margin-top:35px;
    padding:15px 35px;
    background:#e63946;
    color:white;
    text-decoration:none;
    border-radius:40px;
    transition:0.3s;
}

.btn:hover{
    transform:scale(1.05);
}

/* SECTIONS */

section{
    padding:90px 8%;
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

section.show{
    opacity:1;
    transform:translateY(0);
}

.title{
    text-align:center;
    margin-bottom:50px;
    font-size:45px;
    color:#e63946;
}

/* GALERIE */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery-card{
    overflow:hidden;
    border-radius:20px;
    transition:0.3s;
}

.gallery-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:0.4s;
}

.gallery-card img:hover{
    transform:scale(1.1);
}

/* PIZZAS */

.pizza-section{
    background:#f5e6d3;
    color:#111;
}

.pizza-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.pizza-card{
    background:white;
    padding:20px;
    border-radius:20px;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

.pizza-card:hover{
    transform:translateY(-10px);
}

.pizza-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
}

.pizza-card h2{
    margin-top:15px;
}

.pizza-card span{
    color:#e63946;
    font-weight:bold;
}

/* GRILLADES */

.grill-section{
    background:#1a1a1a;
}

.grill-card{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    background:#222;
    border-radius:20px;
    padding:25px;
}

.grill-card img{
    width:350px;
    max-width:100%;
    border-radius:15px;
}

.grill-content{
    flex:1;
}

/* SANDWICH */

.sandwich-section{
    background:#111;
}

.sandwich-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.sandwich-card{
    background:#e63946;
    padding:30px;
    border-radius:20px;
    text-align:center;
    transition:0.3s;
}

.sandwich-card:hover{
    transform:scale(1.05);
}

/* ABOUT */

.about{
    text-align:center;
}

.about p{
    max-width:900px;
    margin:auto;
    line-height:1.9;
    font-size:18px;
}

/* CONTACT */

.contact{
    text-align:center;
}

.contact a{
    color:#e63946;
    text-decoration:none;
}

.map{
    margin-top:30px;
}

/* FOOTER */

footer{
    background:black;
    padding:60px 8%;
}

.footer-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.footer-info h2{
    color:#e63946;
    margin-bottom:20px;
}

.footer-info p{
    margin:12px 0;
}

.footer-map iframe{
    width:100%;
    height:280px;
    border:none;
    border-radius:20px;
}

/* PULSE */

.pulse{
    animation:pulse 1s infinite;
}

@keyframes pulse{

    0%{
        box-shadow:0 0 0 0 rgba(230,57,70,0.7);
    }

    70%{
        box-shadow:0 0 0 20px rgba(230,57,70,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(230,57,70,0);
    }

}

/* RESPONSIVE TABLETTE */

@media screen and (max-width:1024px){

    .hero-content h1{
        font-size:50px;
    }

    .pizza-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-container{
        grid-template-columns:1fr;
    }

}

/* RESPONSIVE TELEPHONE */

@media screen and (max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        height:auto;
        padding:120px 20px;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:16px;
    }

    .btn{
        width:100%;
        max-width:300px;
    }

    .pizza-grid{
        grid-template-columns:1fr;
    }

    .gallery{
        grid-template-columns:1fr;
    }

    .grill-card{
        flex-direction:column;
    }

    .grill-card img{
        width:100%;
    }

    .footer-container{
        grid-template-columns:1fr;
    }

}

/* PETIT TELEPHONE */

@media screen and (max-width:480px){

    .hero-content h1{
        font-size:30px;
    }

    .title{
        font-size:32px;
    }

}