/*
Theme Name: موثق وكالات متقدم
Description: قالب متكامل مع لوحة تحكم
Version: 2.0
*/

:root {
    --primary: #1e3a5f;
    --secondary: #c5a047;
    --text: #2d3748;
    --background: #ffffff;
    --font-family: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text);
    direction: rtl;
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الهيدر */
.header {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: var(--primary);
    font-size: 24px;
    margin: 0;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    padding: 8px 15px;
    transition: color 0.3s;
    display: block;
}

.nav-link:hover {
    color: var(--secondary);
}

/* السلايدر */
.hero-slider {
    height: 80vh;
    margin-top: 70px;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-content {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 40px;
    max-width: 600px;
    border-radius: 10px;
    margin-right: 10%;
}

.slide-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.slide-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    background: #d4b15a;
}

/* الخدمات */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* الواتساب */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* الفوتر */
.footer {
    background: var(--primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

/* قسم التواصل */
.contact-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item p {
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

/* التجاوبية */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-slider {
        height: 60vh;
        margin-top: 100px;
    }
    
    .slide-content {
        margin: 0 20px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .hero-slider {
        height: 50vh;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}