/* Import Noto Kufi Arabic Font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f39c12;
}

.contact-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.phone, .whatsapp {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.phone {
    background: rgba(255,255,255,0.1);
}

.whatsapp {
    background: #25d366;
}

.phone:hover, .whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #25d366;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* About Product Section */
.about-product {
    padding: 4rem 0;
    background: white;
}

.about-product h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.product-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.product-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.product-details p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.product-details ul {
    list-style: none;
    padding: 0;
}

.product-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
}

.product-details li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Keywords Section */
.keywords-section {
    padding: 4rem 0;
    background: white;
}

.keywords-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.keywords-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.keyword-block {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.keyword-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.keyword-block h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.keyword-block p {
    color: #666;
    line-height: 1.7;
}

/* Articles Section */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.articles-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.article-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #3498db;
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Cities Section */
.cities-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cities-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cities-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.city-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.city-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.city-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.city-card h3 a:hover {
    color: #3498db;
}

.city-card p {
    color: #666;
}

/* Regional Links Section */
.regional-links {
    padding: 4rem 0;
    background: #f8f9fa;
}

.regional-links h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.regional-links > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.regional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.regional-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #e74c3c;
}

.regional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.regional-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.regional-card h3 a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.regional-card h3 a:hover {
    color: #c0392b;
}

.regional-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
}

.contact-method h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-method a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.contact-method a:hover {
    color: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f39c12;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f39c12;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* City Pages Styles */
.city-content {
    padding: 4rem 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.content-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content-main ul {
    margin-bottom: 2rem;
    padding-right: 1.5rem;
}

.content-main li {
    margin-bottom: 0.5rem;
    position: relative;
}

.content-main li:before {
    content: "•";
    position: absolute;
    right: -1rem;
    color: #3498db;
    font-weight: bold;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-box, .info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.contact-box h3, .info-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.whatsapp-btn, .phone-btn {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.phone-btn {
    background: #3498db;
    color: white;
}

.whatsapp-btn:hover, .phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.related-cities {
    padding: 3rem 0;
    background: #f8f9fa;
}

.related-cities h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.cities-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.cities-links a {
    background: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cities-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #3498db;
}

/* Article Page Styles */
.article-content {
    padding: 4rem 0;
    background: white;
}

.article-content article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #2c3e50;
}

.article-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: #666;
}

.article-content strong {
    color: #2c3e50;
    font-weight: bold;
}

.faq-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.faq-section h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.faq-section p {
    margin-bottom: 1rem;
    color: #666;
}

.related-articles {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.related-articles h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.8rem;
}

.related-articles a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-articles a:hover {
    color: #2980b9;
}

/* FAQ Page Styles */
.faq-content {
    padding: 4rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

.faq-content .contact-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.faq-content .contact-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-content .contact-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: auto;
    height: auto;
    background: #25d366;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    padding: 8px 12px;
    min-width: 140px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp a {
    color: white;
    font-size: 28px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.floating-whatsapp .whatsapp-icon {
    width: auto;
    height: auto;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #25d366;
    font-weight: bold;
    padding: 8px 12px;
    white-space: nowrap;
    min-width: 120px;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp tooltip */
.floating-whatsapp::before {
    content: "اضغط للتواصل عبر واتساب";
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.floating-whatsapp::after {
    content: "";
    position: absolute;
    right: 140px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2c3e50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover::before,
.floating-whatsapp:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .product-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .cities-links {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        width: auto;
        height: auto;
        bottom: 15px;
        left: 15px;
        min-width: 120px;
        padding: 6px 10px;
    }
    
    .floating-whatsapp .whatsapp-icon {
        font-size: 12px;
        padding: 6px 8px;
        min-width: 100px;
    }
    
    .floating-whatsapp::before {
        font-size: 11px;
        padding: 6px 8px;
        right: 130px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced Typography with Noto Kufi Arabic */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

p, span, div, a, li {
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
}

.hero h1 {
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
    font-weight: 700;
}

nav a {
    font-family: 'Noto Kufi Arabic', 'Arial', 'Tahoma', sans-serif;
    font-weight: 500;
}
