
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl; 
}
header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 150px; 
    background-color: #457830; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(16, 16, 16, 0.1); 
    position: sticky; 
    top: 0; 
}

.logo img {
    width: 120px; 
    margin-left: 0; 
    margin-right: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 40px; 
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; 
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e51c23; 
}
#hero {
    position: relative;
    background: url(ımg/121.jpg) no-repeat center center; 
    background-size: cover; 
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 150px 110px;
    min-height: 500px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.product-images {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-images img {
    max-width: 100%;
    max-height: 300px;
    display: none; 
    object-fit: contain;
}

.product-images img.active {
    display: block; 
}

.hero-text {
    flex: 1;
    text-align: right;
    padding: 50px;
    padding-right: 280px;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #252525;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #252525;
    margin-bottom: 20px;
}

.cta-button {
    padding: 10px 20px;
    background-color: #457830;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e51c23;
}
#about-us {
    padding: 50px 200px; 
    background-color: #457830; 
    font-family: 'Tajawal', sans-serif;
}

.about-us-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.about-us-image img,
.bottom-image img {
    width: 100%;
    max-width: 400px; 
    border-radius: 10px; 
}

.about-us-text,
.bottom-text {
    flex: 1;
    max-width: 600px; 
    margin: 0 150px;
}

.about-us-text h2,
.bottom-text h3 {
    color: #ffffff; 
    margin-bottom: 15px;
    font-size: 24px;
}

.about-us-text p,
.bottom-text p {
    color: #ffffff;
    line-height: 1.8;
    text-align: justify;
}

.about-us-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
#products {
    padding: 60px 20px;
    background: linear-gradient(135deg, #457830, #457830);
    font-family: 'Tajawal', sans-serif;
    text-align: center;
}

.products-container h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: bold;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.product-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 20px;
    color: #457830;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 14px;
    color: #555;
}

.view-more {
    margin-top: 20px;
}

.view-more .cta-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #e51c23;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-more .cta-button:hover {
    background-color: #c41a1d;
}
#meal-section {
    background-color: #e9d46f; 
    padding: 50px 20px;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
}

.meal-content h2 {
    font-size: 30px;
    color: #457830;
    margin-bottom: 15px;
    font-weight: bold;
}

.meal-content p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.meal-content span {
    font-weight: bold;
    color: #e51c23; 
    font-size: 24px;
}

#meal-section:before {
    content: '';
    display: block;
    height: 5px;
    width: 100px;
    margin: 0 auto 20px;
    background-color: #457830; 
    border-radius: 10px;
}

#faq {
    text-align: right;
    padding: 50px 20px;
    
    direction: rtl; 
}


#faq h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    align-items: right;
}

#faq h2::after {
    content: "";
    display: block;
    width: 215px;
    height: 4px;
    background-color: #457830;
    margin: 10px 50;
    
}


.qa-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.qa-container {
    width: 45%;
    margin: 10px;
    padding: 15px;

    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.question {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.answer {
    font-size: 16px;
    color: #555;
}


#contact {
    background-color: #f5f7fa;
    padding: 80px 20px;
    text-align: right; 
    direction: rtl; 
    position: relative;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #0099ff, #457830); 
    opacity: 0.2;
    z-index: -1;
}

.container {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #457830;
}

.contact-header p {
    font-size: 18px;
    color: #555;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-field {
    margin-bottom: 25px;
    text-align: right; 
}

.form-field label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.form-field input, 
.form-field textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.form-field input:focus, 
.form-field textarea:focus {
    border-color: #457830;
}

.submit-btn button {
    background-color: #457830;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn button:hover {
    background-color: #adc533;
    transform: translateY(-5px);
}

.submit-btn button:active {
    transform: translateY(0);
}


footer {
    background-color: #f4f4f4;
    color: #333;
    font-family: 'Tajawal', sans-serif;
    padding: 60px 20px;
    direction: rtl;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}


.footer-text {
    font-size: 16px;
    align-items: center;
    color: #888;
}

.footer-text p {
    margin: 50px 50px;
}
/* لأجهزة الهواتف */
@media (max-width: 600px) {
    body {
        font-size: 14px;
        background-color: #f8f9fa;
    }

    .container {
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .menu {
        display: none; /* إن كنت ستستخدم زر قائمة لاحقًا */
    }

    .hero-text {
        padding: 20px;
        text-align: center;
    }

    .product-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .qa-row {
        flex-direction: column;
        gap: 20px;
    }

    .qa-container {
        width: 100%;
    }
}

/* لأجهزة التابلت */
@media (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 16px;
        background-color: #e9ecef;
    }

    .container {
        padding: 20px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .menu {
        display: block;
    }

    .hero-text {
        padding: 30px;
        text-align: center;
    }

    .product-item {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .qa-row {
        flex-direction: column;
        gap: 20px;
    }

    .qa-container {
        width: 100%;
    }
}

/* لأجهزة الكمبيوتر */
@media (min-width: 1025px) {
    body {
        font-size: 18px;
        background-color: #ffffff;
    }

    .container {
        width: 80%;
        margin: auto;
    }

    .menu {
        display: flex;
        justify-content: space-around;
    }

    nav ul {
        flex-direction: row;
    }

    nav ul li {
        margin-right: 40px;
        margin-bottom: 0;
    }

    .hero-text {
        padding-right: 280px;
        text-align: right;
    }

    .product-item {
        flex: 1 1 calc(33.333% - 20px);
        max-width: 300px;
    }

    .qa-row {
        flex-direction: row;
        justify-content: space-between;
    }

    .qa-container {
        width: 45%;
    }
}
