/* إعدادات عامة */
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    color: #222;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* الهيدر */
header.sticky {
    background-color: #8f7321;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    height: 50px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav li a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav li a:hover {
    color: #f2e6cd;
}

/* قسم الصفحة الرئيسية */
.home-section {
    padding: 60px 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-section .container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.slider {
    flex: 1;
    position: relative;
    min-width: 300px;
    max-width: 500px;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

.signup-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.signup-form h2 {
    color: #8f7321;
    margin-bottom: 20px;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.btn-submit {
    background-color: #8f7321;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #6e571a;
}

/* قسم المميزات */
.features-section {
    padding: 60px 0;
    background-color: #f9f4ea;
}

.features-section h2 {
    text-align: center;
    color: #8f7321;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.feature-card img {
    width: 90%;
    height: auto;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #8f7321;
    margin-bottom: 10px;
}

/* من نحن */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-section h2 {
    color: #8f7321;
    margin-bottom: 20px;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* خدماتنا */
.services-section {
    padding: 60px 0;
    background-color: #f9f4ea;
}

.services-section h2 {
    text-align: center;
    color: #8f7321;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: #8f7321;
    margin-bottom: 10px;
}

/* اتصل بنا */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-section h2 {
    color: #8f7321;
    margin-bottom: 20px;
    text-align: center;
}

.container p{
    text-align: center;
}

.contact-info {
    list-style: none;
    padding: 0;
    text-align: center;
}

.contact-info li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* تذييل */
footer {
    background-color: #8f7321;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* استجابة للموبايل */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .home-section .container {
        flex-direction: column;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}
