/* ======================== Reset & Base ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    direction: rtl;
    background: #ede9e4;
    color: #333;
}

/* ======================== Navbar ======================== */
.navbar {
    background: #111;
    color: #d8590f;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: #e9560c;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: orange;
    border-bottom: 2px solid orange;
}

/* ======================== Hero Section ======================== */
.hero {
    background: url('./images/5.avif') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.welcome-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
}

.hand-wave {
    display: inline-block;
    margin-right: 10px;
    font-size: 40px;
    animation: handWave 1.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes handWave {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(15deg); }
    60% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero button {
    padding: 10px 25px;
    background-color: orange;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.hero button:hover {
    transform: scale(1.05);
    background-color: darkorange;
}

/* ======================== Featured Dishes (Home) ======================== */
.featured {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.featured h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.featured-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.featured-item h3 {
    padding: 15px;
}

.menu-btn {
    display: inline-block;
    padding: 12px 30px;
    background: orange;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
}

/* ======================== Menu Page ======================== */
.menu-page {
    padding: 50px 30px;
    background:#111;
    text-align: center;
}

.menu-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #fff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 20px;
}

.menu-item {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: scale(1.05);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.menu-item h3 {
    margin: 10px 0 5px;
}

.menu-item p {
    color: orange;
    font-weight: bold;
}

/* ======================== About Page ======================== */
.about-page {
    padding: 50px 30px;
    text-align: center;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.about-text {
    max-width: 500px;
    text-align: right;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    object-fit: cover;
}

/* ======================== Contact Page ======================== */
.contact-page {
    background-color:#d8590f;
    padding: 60px 20px;
    text-align: center;
}

.contact-page h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #111;
}

.contact-page p {
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
}

.contact-form textarea {
    resize: none;
    min-height: 120px;
}

.contact-form button {
    padding: 12px;
    font-size: 18px;
    background: orange;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.contact-form button:hover {
    transform: scale(1.05);
    background: darkorange;
}

/* ======================== Footer ======================== */
.footer {
    background: #111;
    color: #fff;
    padding-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 30px 30px;
    text-align: right;
}

.footer-section h3 {
    color: orange;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: orange;
}

.footer-bottom {
    background: #000;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-top: 1px solid #333;
}

/* ======================== Responsive ======================== */
@media screen and (max-width: 1200px) {
    .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

@media screen and (max-width: 900px) {
    .menu-grid, .featured-grid { grid-template-columns: repeat(3, 1fr); }
    .about-content { flex-direction: column; }
    .about-image img { width: 80%; }
}

@media screen and (max-width: 600px) {
    .menu-grid, .featured-grid { grid-template-columns: 1fr; }
    .navbar ul { flex-direction: column; gap: 10px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .about-content { gap: 20px; }
}