// تحسينات التصميم المتجاوب
@media (max-width: 1200px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    width: 100%;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
  
  .footer-container {
    flex-wrap: wrap;
  }
  
  .footer-logo, .footer-links, .footer-contact {
    flex-basis: 100%;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 3%;
  }
  
  .logo {
    width: 100px;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-logo, .footer-links, .footer-contact {
    flex-basis: 100%;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .about-image img,
  .service-image img {
    max-height: 250px;
    object-fit: cover;
    width: 100%;
  }
  
  .specialties-image {
    height: 200px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .page-header {
    height: 40vh;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow i {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  p, .service-description {
    font-size: 0.95rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-input, 
  .form-textarea {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
  
  .submit-btn {
    width: 100%;
    padding: 0.8rem;
  }
  
  .mobile-menu {
    width: 75%;
  }
  
  .hero {
    height: 70vh;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .gold-line {
    margin: 0 auto 1.5rem;
  }
  
  .about-image img,
  .service-image img {
    max-height: 200px;
  }
  
  .specialties-image {
    height: 180px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu {
    width: 85%;
    padding: 1.5rem;
  }
  
  .mobile-nav ul li {
    margin-bottom: 1rem;
  }
  
  .mobile-nav ul li a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
}

/* تحسينات للتوافق بين اللغة العربية والإنجليزية */
/* للنسخة العربية (RTL) */
html[dir="rtl"] .contact-icon,
html[dir="rtl"] .footer-contact-icon {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* للنسخة الإنجليزية (LTR) */
html[dir="ltr"] .contact-icon,
html[dir="ltr"] .footer-contact-icon {
  margin-right: 0.5rem;
  margin-left: 0;
}

/* تحسينات للصور في التصميم المتجاوب */
@media (max-width: 768px) {
  .about-image img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }
}

/* تحسينات للنموذج في التصميم المتجاوب */
@media (max-width: 576px) {
  .form-input, 
  .form-textarea {
    padding: 0.6rem;
  }
  
  .submit-btn {
    width: 100%;
  }
}

/* تحسينات للقائمة المحمولة */
@media (max-width: 768px) {
  .mobile-menu {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .mobile-menu {
    width: 75%;
  }
}

/* تحسينات للصفحة الرئيسية في التصميم المتجاوب */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 70vh;
  }
}

/* تحسينات لصفحة العلامات التجارية في التصميم المتجاوب */
@media (max-width: 768px) {
  .page-header {
    height: 40vh;
  }
}

/* تحسينات لصفحة الاتصال في التصميم المتجاوب */
@media (max-width: 768px) {
  .contact-info, .contact-form {
    width: 100%;
  }
}
