/* styles.css */

body {
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
   
}

.menu-container {
    max-width: 800px;
    width: 100%;
    margin: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

h1 {
    text-align: center;
    color: #e74c3c;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.dashboard-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 1.2em;
    color: white;
    background-color: #e74c3c;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dashboard-button:hover {
    background-color: #c0392b;
}

.menu-section {
    margin-bottom: 40px;
}

.menu-section h2 {
    color: #333;
    font-size: 2em;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 70px;
    height: 70px;
    margin-left: 15px;
    border-radius: 10px;
    object-fit: cover;
}

.menu-item h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.menu-item p {
    color: #555;
    margin: 0;
    font-size: 1em;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-align: center;
}

.section-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap; /* Ensure the links wrap on smaller screens */
}

.section-nav a {
    padding: 10px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.section-nav a:hover {
    background-color: #555;
}

@media (max-width: 768px) {
    .menu-item {
        flex-direction: column; /* Stack items vertically on smaller screens */
        text-align: center;
    }

    .menu-item img {
        margin-bottom: 10px; /* Add some space between image and text */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em; /* Reduce font size for smaller screens */
    }

    .menu-section h2 {
        font-size: 1.5em; /* Reduce section heading font size */
    }

    .menu-item h3 {
        font-size: 1.2em; /* Reduce item title font size */
    }
}
