/* أسلوب CSS لصفحات الموقع */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background: linear-gradient(to right, #90EE90, #708090);
    color: #fff;
    padding: 2px 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

header .logo img {
    max-height: 70px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    margin: 0;
}

nav ul li a,
nav ul li button {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li button:hover {
    color: #ffcc00;
}

.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 100px;
    margin-top: 70px; /* لتجنب التداخل مع الهيدر */
    width: 100%;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin: 10px 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0f9b0f;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #0c7a0c;
    transform: translateY(-5px);
}

main {
    padding: 80px 0;
    width: 100%;
    margin-top: 70px; /* لتجنب التداخل مع الهيدر */
    display: flex;
    justify-content: center;
}

section {
    padding: 60px 0;
}

.contact-form,
.faq {
    max-width: 600px;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.contact-form h2,
.faq h2 {
    margin-bottom: 20px;
}

.contact-form form,
.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
}

.products {
    max-width: 800px;
    width: 100%;
}

.product-list {
    display: flex;
    flex-direction: column; /* عرض المنتجات بشكل أفقي */
    gap: 20px; /* مسافة بين المنتجات */
    margin-top: 20px;
}

.product-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-item img {
    max-width: 100%;
    border-radius: 10px;
}

.product-item p {
    margin: 10px 0 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
}

.close-btn {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
    }

    .container {
        width: 95%;
    }
}

.container_social {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
	padding: 20px 0;
}