/* 
 * شماك للأسمنت - أنماط التصميم المتجاوب
 */

/* الشاشات الكبيرة */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* الشاشات المتوسطة */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%; /* للعربية */
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: all 0.4s ease;
    z-index: 999;
  }
  
  .en .nav-menu {
    right: auto;
    left: -100%; /* للإنجليزية */
  }
  
  .nav-menu.active {
    right: 0; /* للعربية */
  }
  
  .en .nav-menu.active {
    right: auto;
    left: 0; /* للإنجليزية */
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-image {
    opacity: 0.3;
  }
  
  .about-content, 
  .contact-container {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
}

/* الهواتف */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero {
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .sidebar {
    width: 250px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-text h3,
  .contact-info h3 {
    font-size: 1.5rem;
  }
}

/* تنسيقات خاصة للطباعة */
@media print {
  .sidebar,
  .menu-toggle,
  .nav-menu,
  .footer-social,
  .contact-form,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background-color: #fff;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  header {
    position: static;
    box-shadow: none;
    border-bottom: 1pt solid #000;
  }
  
  .hero {
    height: auto;
    background-color: #fff;
    color: #000;
    margin-top: 20pt;
  }
  
  .hero::after {
    display: none;
  }
  
  .about,
  .products,
  .contact {
    padding: 20pt 0;
    background-color: #fff;
  }
  
  footer {
    background-color: #fff;
    color: #000;
    border-top: 1pt solid #000;
  }
}

/* تنسيق متجاوب لقسم قيمنا */
@media (max-width: 992px) {
    .values-container {
        padding: 30px 0;
    }
    
    .value-slide {
        padding: 0 30px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .value-slide h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .values-slider {
        height: 320px;
    }
    
    .value-slide p {
        font-size: 15px;
    }
    
    .values-arrows {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .values-slider {
        height: 350px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .value-slide h3 {
        font-size: 20px;
    }
    
    .value-arrow {
        width: 35px;
        height: 35px;
    }
}

/* تنسيق متجاوب لقسم الإحصائيات */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 34px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .plus {
        font-size: 26px;
    }
    
    .stat-item h3 {
        font-size: 18px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .stats-cta {
        margin-top: 40px;
    }
    
    .stats-cta .btn {
        padding: 10px 25px;
        font-size: 16px;
    }
    
    .stats-particle {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .stats-container {
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 38px;
    }
    
    .plus {
        font-size: 24px;
    }
    
    .stat-progress {
        height: 5px;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 20px;
        max-width: 320px;
        margin: 0 auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .stat-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .plus {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .stats-cta .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .statistics {
        padding: 70px 0;
    }
    
    .stats-bg-animation {
        opacity: 0.2;
    }
} 