/* author: Boubacar Diakité 
   Stylesheet for the restaurant webpage 
   dev_web_tp1/assets/css/styles.css
*/


/* Styles for the navigation bar */

body {
    font-family: 'Poppin', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(244, 244, 244, 0.6);
    /* semi-transparent */
    padding: 10px;
}

nav img {
    height: 70px;
    width: 70px;
}

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

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    border: 2px solid #000000;
    border-radius: 24px;
    padding: 8px 12px;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
    transform: scale(1.1);
    background-color: #efc12cc7;
    color: red;
    border-color: red;
}

header {
    justify-content: center;
    text-align: left;
    margin: 20px 0;
    background-image: url(/dev_web_tp1/assets/img/resto-bikao.png);
    background-image: no-repeat;
    background-image: cover;
    height: 300px;
}

header>a {
    text-decoration: none;
    color: #000000;
    font-size: 1.5rem;
    border: 2px solid #000000;
    padding: 10px 15px;
    border-radius: 5px;
}

header>h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000000;
}

header>p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    font-style: italic;
    color: #000000;
}


/*Section 2 Menu resto - Image et description Plat */

div.menu {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

section.menu.h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
    background-color: chocolate;
}

div.menu-item {
    width: 25%;
    text-align: center;
    border: 3px solid red;
    border-bottom-left-radius: 50%;
    border-top-right-radius: 50%;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

div.menu-item img {
    width: 100%;
    height: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid yellow;
}

div.menu-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333333;
}

section>#menu {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.menu-item {
    width: 25%;
    text-align: center;
    border: 2px solid #222;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.menu-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-item img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.menu-content h3,
.menu-content h4 {
    margin-top: 15px;
    color: #444;
}

.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content ul li {
    padding: 5px 0;
    font-size: 0.95rem;
    color: #555;
}


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/

.menu-item {
    width: 25%;
    text-align: center;
    border: 2px solid red;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.menu-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-item img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.menu-content h3,
.menu-content h4 {
    margin-top: 15px;
    color: #444;
}

.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content ul li {
    padding: 5px 0;
    font-size: 0.95rem;
    color: #555;
}


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/


/*footer styles*/

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: rgba(244, 244, 244, 0.8);
    /* semi-transparent */
    color: black;
    padding: 40px 20px;
    gap: 30px;
    font-family: 'Inter', sans-serif;
}

.site-footer h2,
.site-footer h3 {
    margin-bottom: 15px;
    color: black;
}

.site-footer p {
    color: black;
    line-height: 1.6;
}

.footer-links ul,
.social-media {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: red;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-media li a img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-media li a img:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(207, 11, 18, 0.974);
}


/* Responsive pour mobiles */


/* ===== Styles pour écrans ≤ 600px ===== */

@media (max-width: 600px) {
    /* Navigation */
    nav {
        flex-direction: column;
        padding: 5px;
    }
    nav img {
        height: 50px;
        width: 50px;
        margin-bottom: 10px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }
    nav ul li a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    /* Header */
    header {
        height: 180px;
        background-size: cover;
        text-align: center;
        margin-bottom: 20px;
    }
    header>h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    header>p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    /* Menu */
    div.menu {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    .menu-item {
        width: 100%;
        margin: 0 auto;
        padding: 15px;
    }
    .menu-item img {
        max-height: 150px;
    }
    .menu-title {
        font-size: 1.2rem;
    }
    .menu-content ul li {
        font-size: 0.85rem;
    }
    /* Footer */
    .site-footer {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
        gap: 20px;
    }
    .social-media {
        justify-content: center;
    }
}


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/


/*rrrrrrrrrrrrrrrrrrrrrrrrrr*/