
/* الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    color: #333;
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none;
}
body::-webkit-scrollbar{
    display: none;
}

.min{
    width: auto;
    height: 600px;
    background-color: white;
}

.min img{
    width: 50%;
    height: 600px;
}

/*النافبار*/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #c10a28;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    direction: ltr;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 100px;
    transition: 0.3s;
    padding: 5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    order: 3;
}

.logo{
    order: 2;
    margin-top: 8px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    order: 1;
}

/* قائمة الفون الجانبية */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s;
    z-index: 1001;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: none; 
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 2rem;
}

.mobile-menu ul li {
    margin: 1.5rem 0;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.mobile-menu ul li a:hover {
    color: #c10a28;
}

.close-menu {
    text-align: left;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-social-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-social-icons a {
    color: #c10a28;
    font-size: 1.2rem;
    transition: 0.3s;
}

.mobile-social-icons a:hover {
    color: #8a061a;
}

/* القوائم المنسدلة في القائمة الجانبية */
.dropdown {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.dropbtn {
    display: inline-block;
    background: none;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    text-align: right;
    flex-grow: 1;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: rgb(204, 21, 21);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-right: 10px;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    width: 100%;
    padding-right: 15px;
    margin-top: 10px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.dropdown-content a:hover {
    color: #928688;
}

/* سكشن قائمة التمرير  */
.navigator {
    background-color:#c10a28;
    padding: 20px;
    font-size: 20px;
    direction: rtl;
}
  
.navigator a {
    text-decoration: none;
}
  
.navigator p {
    display: inline-block;
    color: white;
}

/* سكشن المنتجات  */
.product-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem;
    background-color: #fff;
    width: 100%
}
  
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
    border: 1px solid #eee;
}
  
.product-card:hover {
    transform: translateY(-10px);
}
  
.product-card img {
    width: 60%;
    height: 250px;
    object-fit: contain;
    margin: 0 auto;
}
  
.product-card h3 {
    color: #c10a28;
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
}
  
.btn {
    background-color:#c10a28;
    color: white;
    padding: 0.5rem 1.2rem;
    margin-top: 1rem;
    border-radius: 25px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}
  
.btn:hover {
    background-color: white;
    color: #c10a28;
}

/* الفوتر */
.footer {
    background-color: #c10a28;
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 150px;
    max-width: 30%;
    height: auto;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: rgb(62, 36, 211);
    transform: translateX(-5px);
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #c10a28;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgb(62, 36, 211);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* التحكم ف الفون */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo{
        order: 2;
        position: static;
        transform: none;
    }
}

@media (max-width: 768px) {
    .product-section {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1.5rem;
    }
    
    .product-card {
        max-width: 320px;
    }
    
    .product-card img {
        height: 200px;
    }

    .min{
        width: auto;
        height: 500px;
        background-color: white;
    }
    
    .min img{
        width: 100%;
        height: 500px;
    }

     .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }

}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .hero-section {
        height: 68vh;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo img {
        height: 100px;
    }
    
    .menu-toggle {
        position: static;
        order: 1;
        margin-left: auto;
    }
    
    .welcome-text {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-box h3 {
        font-size: 1.3rem;
    }
    
    .download-btn img {
        height: 50px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-method h3 {
        font-size: 1.4rem;
        direction: ltr;
        text-align: center;
    }
    
    .contact-list li a {
        font-size: 1.2rem;
        direction: ltr;
        text-align: center;
    }

    .contact-list li {
        font-size: 1.2rem;
    }
    
    .mobile-menu {
        width: 75%;
    }
}

@media (max-width: 480px) {
    .product-section {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .product-card {
        max-width: 100%;
    }

    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo img {
        height: 100px;
    }
    
    .menu-toggle {
        position: static;
        order: 1;
        margin-left: auto;
    }

    .navigator {
        font-size: 16px;
        padding: 15px;
    }
}



