body {
    font-family: 'Cairo', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
    direction: rtl;
}
header {
    background: linear-gradient(90deg, #730607 0%, #730 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 10px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2vw;
    font-size: 0.95rem;
    background: #730607;
}
.lang-switch button {
    background: #fff;
    color: #b71c1c;
    border: none;
    margin-left: 0.5rem;
    padding: 0.2rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2vw;
    position: relative;
}
nav .logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    transition: right 0.3s;
}

@media (max-width: 700px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        background: #730607;
        position: absolute;
        top: 100%;
        right: -100vw;
        width: 200px;
        gap: 0;
        box-shadow: 0 2px 12px #b71c1c33;
        z-index: 1000;
        border-radius: 0 0 10px 10px;
        padding: 0.5rem 0;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }
    nav ul.open {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }
    nav ul li {
        width: 100%;
        text-align: right;
        padding: 0.7rem 1.2rem;
    }
    nav ul li a {
        width: 100%;
        display: block;
    }
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: #730607;
}
.hero {
    background: url('./assets/1.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
}
section {
    padding: 2.5rem 1rem 2rem 1rem;
    max-width: 1100px;
    margin: auto;
}
section h2 {
    color: #b71c1c;
    margin-bottom: 1.2rem;
    font-size: 2rem;
}
.about-list {
    padding-right: 1.5rem;
    font-size: 1.1rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(183,28,28,0.08);
    padding: 1rem;
    text-align: center;
    border: 1px solid #f5f5f5;
    transition: box-shadow 0.2s;
}
.product-card:hover {
    box-shadow: 0 4px 16px rgba(183,28,28,0.15);
}
.product-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.7rem;
}
.product-card h3 {
    color: #730607;
    margin: 0.5rem 0 0.3rem 0;
}
.factory-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}
.factory-gallery img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 400px;
    margin: auto;
}
.contact-form input,
.contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #b71c1c;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.contact-form button {
    background: #b71c1c;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #d32f2f;
}
.contact-info {
    text-align: center;
    margin-top: 1.5rem;
    color: #730607;
    font-size: 1.1rem;
}
footer {
    background: #730607;
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem 1rem 1rem;
    margin-top: 2rem;
}
.footer-links,
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}
.footer-links a,
.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links a:hover,
.footer-social a:hover {
    color: #ffd600;
}
@media (max-width: 700px) {
    .top-bar {
        display: none !important;
    }
    nav ul {
        gap: 0.7rem;
        font-size: 0.95rem;
    }
    .hero h1 {
        font-size: 1.3rem;
    }
    /* إخفاء معلومات التواصل في الشريط العلوي على الهاتف */
    .top-bar .contact-info, .top-bar .contact-details {
        display: none !important;
    }
    section h2 {
        font-size: 1.3rem;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .factory-gallery img {
        width: 100px;
        height: 70px;
    }
}
@media (max-width: 500px) {
    .top-bar, nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .factory-gallery {
        flex-direction: column;
        align-items: center;
}
}

