
* {
    box-sizing: border-box;
}
 
body {
    background-color: #fff5f0;
    font-family: 'Sawarabi Mincho', 'Segoe UI', sans-serif;
    margin: 0;
}


html {
    scroll-behavior: smooth;
}

nav {
    background-color: #333;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav img {
    width: 120px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 55px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

nav li img {
    cursor: pointer;
    transition: transform 0.2s;
}

nav li img:hover {
    transform: scale(1.1);
}


#about {
    background: #fdf6f0;
    padding: 60px 20px;
    text-align: center;
    color: #333;
    font-family: 'Sawarabi Mincho', 'Segoe UI', sans-serif;
}

#about h1 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #e63946;
}

#about p {
    font-size: 25px;
    line-height: 1.7;
    max-width: 800px;
    margin: 15px auto;
}

#about p strong {
    color: #d62828;
}


#menu {
    text-align: center;
    padding: 40px;
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}

.menu-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(10, 10, 10, 0.15);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.menu-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.menu-card h3 {
    margin: 10px 0 5px;
}

.menu-card p {
    font-size: 20px;
    color: #555;
}

.menu-card .price {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #e63946;
    font-size: 18px;
}

#contact {
    background-color: #fff5f0;
    padding: 50px 20px;
    color: #333;
    text-align: center;
}

#contact h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e63946;
}

#contact p {
    font-size: 25px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-info, .contact-form {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.contact-info h3 {
    margin-top: 15px;
    color: #d62828;
}

.contact-info p {
    margin: 5px 0 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 25px;
}

.contact-form button {
    background-color: #e63946;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 25px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #d62828;
}

.commentaires-clients {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.carte-client {
  background-color: #fff8f0;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  max-width: 250px;
  text-align: center;
}

.carte-client img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.carte-client h3 {
  margin: 5px 0;
  font-size: 1.1em;
  color: #333;
}

.carte-client p {
  font-size: 1em;
  color: #555;
  margin: 5px 0;
}


@media screen and (max-width: 1024px) {
    nav ul {
        gap: 30px;
    }

    #about h1,
    #menu h1,
    #contact h1 {
        font-size: 30px;
    }

    #about p,
    #contact p {
        font-size: 15px;
    }

    .menu-card img {
        height: 160px;
    }
}


@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav img {
        width: 100px;
    }

    #about h1,
    #menu h1,
    #contact h1 {
        font-size: 28px;
    }

    #about p,
    #contact p {
        font-size: 14px;
    }

    .menu-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-card img {
        height: 150px;
    }

    .contact-container {
        gap: 20px;
    }

    .contact-info, .contact-form {
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) {
    nav img {
        width: 90px;
    }

    #about h1,
    #menu h1,
    #contact h1 {
        font-size: 24px;
    }

    #about p,
    #contact p {
        font-size: 13px;
    }

    .menu-card img {
        height: 130px;
    }

    nav ul {
        gap: 15px;
    }
} 
