/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    direction: rtl;
    background-color: #f8f9fa;
    line-height: 1.6;
}
/* شريط التنقل */
.navbar {
    width: 100%;
    background-color: #2c3e50; /* لون يتماشى مع خلفية الهيدر */
    color: white;
    padding: 15px 20px;
    margin-top: 20px; /* مسافة بين الناف بار والهيدر */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* إضافة مسافة بين الناف بار ومحتوى الهيدر */
#home {
    padding-top: 60px; /* نفس ارتفاع الناف بار */
}

/* باقي التنسيق كما هو */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar nav ul li {
    margin: 0 15px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar nav ul li a:hover {
    background-color: #16a085; /* لون متناسق مع اللون الأساسي */
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .navbar nav ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar nav ul li {
        margin: 5px 0;
    }
}

.header {
    background-color: #1e3a5f;
    color: white;
    padding: 20px;
    text-align: center;
}

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

.text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: right;
}

.text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fecd2f;
}

.text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.text .btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.text .whatsapp {
    background-color: #25d366;
}

.text .phone {
    background-color: #007bff;
}

.text .btn:hover {
    opacity: 0.9;
}

.image {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .content {
        flex-direction: column;
    }

    .text {
        max-width: 100%;
        text-align: center;
    }

    .image {
        max-width: 100%;
    }
/* خدماتنا */
.services {
    background-color: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3a5f;
}

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

.service {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007bff;
}

.service p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.service:hover {
    transform: scale(1.05);
    transition: 0.3s;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* عن الشركة */
.about {
    background-color: #ffffff;
    padding: 40px 20px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1;
    text-align: right;
    padding: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1e3a5f;
}

.about-text p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* تصميم متجاوب */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }
}

/* تعريف صاحب الشركة */
.owner {
    background-color: #f1f1f1;
    padding: 40px 20px;
    text-align: center;
}

.owner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.owner-image {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.owner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.owner-text {
    flex: 2;
    text-align: right;
    max-width: 600px;
}

.owner-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1e3a5f;
}

.owner-text p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.owner-text .btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.owner-text .btn:hover {
    background-color: #0056b3;
}
/* قسم التواصل */
.contact {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #1e3a5f;
    margin-bottom: 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #007bff;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: #0056b3;
}

/* ألوان مخصصة للأيقونات */
.contact-item:nth-child(1) i {
    color: #e74c3c; /* لون الموقع */
}

.contact-item:nth-child(2) i {
    color: #27ae60; /* لون الهاتف */
}

.contact-item:nth-child(3) i {
    color: #3b5998; /* لون الفيسبوك */
}

.contact-item:nth-child(4) i {
    color: #25d366; /* لون الواتساب */
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* تنسيق الفوتر */
.footer {
    background-color: #333; /* لون خلفية الفوتر */
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer p strong {
    color: #16a085; /* لون مميز لاسم الشركة والمصمم */
}

.footer p a {
    text-decoration: none;
    color: #16a085;
}

.footer p a:hover {
    text-decoration: underline;
}

/* تنسيق رابط الواتساب */
.whatsapp-link {
    color: #25d366; /* لون مميز لأيقونة الواتساب */
    font-weight: bold;
}

.whatsapp-link:hover {
    color: #128c7e;
}

/* تنسيق اسم المصمم */
.designer-name {
    cursor: pointer;
    color: #16a085;
    font-weight: bold;
}

.designer-name:hover {
    text-decoration: underline;
}

/* تنسيق متجاوب */
@media (max-width: 768px) {
    .footer p {
        font-size: 1rem;
    }
}