  :root {
        --primary-color: #ec7438;
        --primary-dark: #cd612b;
        --secondary-color: #ff5500;
        --accent-color: #e74c3c;
        --text-color: #ffe2cd;
        --text-light: #ffede0;
        --background: #f7f9fc;
        --card-bg: #ffffff;
        --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        --radius: 18px;
        --transition: all 0.3s ease;
        --sweet-color: #006700 ;
        --bitter-color: #7b3f00;
        --indicator-color: #ffffff;
        
        /* متغيرات التصميم الثاني */
        --bg: #f6f7f9;
        --chip: #e9edf1;
        --green: #006241;
        --dark-green: #004c32;
        --gold: #d4a574;
        --gap: 20px;
        --container: 1200px;
        --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
 body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background-image: url('../img/Artboard 1.svg'); /* Your existing SVG */
  background-attachment: fixed; /* Ensures the background stays in place when scrolling */
  background-position: center center; /* Centers the SVG */
  background-repeat: no-repeat; /* Prevents the SVG from repeating */
  background-size: cover; /* Ensures the SVG covers the entire background */
  height: 2000px; /* Example height, adjust as needed */
  padding-top: 100px;
  scroll-behavior: smooth;
  color: #fff;
}

@media (max-width: 768px) {
    .factory-img img {
        height: 200px;
        max-width: 90%;
    }
    
    .loading-bar-container {
        width: 250px;
    }
}

html, body {
    height: 100%; /* تأكد من أن html و body يأخذان 100% من ارتفاع الشاشة */
    margin: 0;
    padding: 0;
}
      /* 🔹 Navbar */
      .navbar {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #092620;
        padding: 15px 40px;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        max-width: 1000px;
        z-index: 1000;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        transition: all 0.4s ease;
        height: 80px;
        color: #E0AB85;
      }

      .navbar.scrolled {
        width: 35%;
        height: 60px;
        padding: 10px 30px;
      }

      .navbar .logo {
        margin-left: 50px;
        margin-right: 50px;

      }
      .navbar .logo img {
        height: 70px;
        width: auto;
        display: block;
        transition: all 0.4s ease;
     filter: 
        drop-shadow(1px 1px 0  #E0AB85)
        drop-shadow(-1px -1px 0 #E0AB85)
       drop-shadow(0 0 0  #E0AB85)
      
       
      }

      .navbar.scrolled .logo img {
        height: 60px;
      }

      .nav-left, .nav-right {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
        flex: 1;
        justify-content: center;
      }

      .nav-left {
        justify-content: flex-end;
        margin-right: 50px;
      }

      .nav-right {
        justify-content: flex-start;
        margin-left: 50px;
      }

      .navbar ul li a {
        text-decoration: none;
        color: #E0AB85;
        font-size: 18px;
        font-weight: 700;
        transition: 0.3s;
        padding: 8px 14px;
        border-radius: 30px;
      }

      .navbar ul li a:hover {
         background: #E0AB85;
        color: #092620;
      }

      /* 🔹 Hamburger Menu */
      .hamburger {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        transition: all 0.3s ease;
      }

      .hamburger span {
        height: 3px;
        width: 100%;
        background-color:  #E0AB85;
        border-radius: 5px;
        transition: all 0.3s ease;
        transform-origin: center;
      }

      .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }

      .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
      }

      .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      /* 🔹 القائمة المنسدلة للهاتف */
      .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 400px;
        height: 100vh;
       background: rgba(9, 38, 32, 0.98);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        transform: translateX(100%);
        backdrop-filter: blur(10px);
      }

      .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
      }

      .mobile-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
        transform: translateX(20px);
        transition: all 0.6s ease;
        opacity: 0;
        width: 100%;
      }

      .mobile-menu.active ul {
        transform: translateX(0);
        opacity: 1;
        transition-delay: 0.3s;
      }

      .mobile-menu ul li {
        margin: 25px 0;
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.5s ease;
      }

      .mobile-menu.active ul li {
        transform: translateX(0);
        opacity: 1;
      }

      .mobile-menu ul li:nth-child(1) { transition-delay: 0.2s; }
      .mobile-menu ul li:nth-child(2) { transition-delay: 0.3s; }
      .mobile-menu ul li:nth-child(3) { transition-delay: 0.4s; }
      .mobile-menu ul li:nth-child(4) { transition-delay: 0.5s; }

      .mobile-menu ul li a {
        color: #f9bf96;
        text-decoration: none;
        font-size: 24px;
        font-weight: 700;
        padding: 12px 24px;
        border-radius: 30px;
        transition: all 120ms ease;
        display: inline-block;
        position: relative;
        width: 80%;
      }

      .mobile-menu ul li a::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -30px;
        transform: translateY(-50%);
        width: 20px;
        height: 2px;
        background: #f9bf96;
        opacity: 0;
        transition: all 120ms ease;
      }

      .mobile-menu ul li a:hover::before {
        opacity: 1;
        right: -20px;
      }

      .mobile-menu ul li a:hover {
         background: #E0AB85;
        color: #092620;
        transform: translateX(-10px);
      }

      /* 🔹 Overlay للخلفية */
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
      }

      .overlay.active {
        opacity: 1;
        visibility: visible;
      }

      /* Header Section */
      .header {
        text-align: center;
        margin: 40px auto;
        margin-top: 100px;
        max-width: 800px;
        padding: 0 20px;
      }

      .header h1 {
        font-size: 2.2rem;
        color: #092620;
        margin-bottom: 10px;
        font-weight: 700;
      }

      .header p {
        color:#092620;
        font-size: 1.3rem;
        font-weight: 500;
        max-width: 600px;
        margin: 0 auto;
      }

      /* Tabs */
      .tabs-wrapper {
        position: relative;
        margin: 30px auto 50px;
        max-width: 1200px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 15px;
      }

      .tabs-wrapper::-webkit-scrollbar {
        display: none;
      }

      .tabs-container {
        display: flex;
        gap: 12px;
        padding: 0 10px;
        min-width: max-content;
      }

      .tab {
        flex: 0 0 auto;
        padding: 12px 25px;
        border-radius: 25px;
        background: rgba(9, 38, 32, 0.8);
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        font-family: "Tajawal", sans-serif;
      }

      .tab:hover {
        background: rgba(9,38,32,0.9);
      }

      .tab.active {
        background: #006241;
        color: #fff;
      }

      .tab-indicator {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 0;
        background: #ef8f60;
        border-radius: 2px;
        transition: all 0.3s ease;
      }

      /* Container for products */
      .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
      }

.card {
  background: #092620; /* خلفية الكارد غامقة */
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  height: 500px;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #E8804B; /* برتقالي */
  color: #F5F1E6; /* نص فاتح */
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 3;
}

.card-img-container {
  width: 90%;
  height: 250px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background-color: #124239; /* خلفية الصورة داكنة أفتح */
  border-radius: 16px;
  margin: 20px auto 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* ظل للصورة */
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  display: block;
  border-radius: 12px;
 filter: drop-shadow( 7px 15px 6px black);
}

.card:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.card h3 {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #F5F1E6; /* بيجي فاتح */
}

.card-price {
  font-weight: 700;
  color: #FF7A00; /* برتقالي */
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: block;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  z-index: 2;
  position: relative;
}

.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #FF7A00;
  color: #F5F1E6; /* نص فاتح */
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-weight: 500;
  gap: 8px;
  display: none;
}

.read-more:hover {
  background: #cd612b; /* برتقالي غامق */
  transform: translateY(-2px);
}

      

      /* Extra content sliding up from bottom */
      .extra-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #092620;
        border-radius: var(--radius) var(--radius) 0 0;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(100%);
        transition: transform 0.4s ease-out;
        z-index: 2;
        padding: 10px;
        height: 75%;
        overflow-y: auto;
        display: none;
        flex-direction: column;
      }

      .extra-content.active {
        transform: translateY(0%);
      }

      .close-btn {
        align-self: flex-end;
        background: #7b3f00;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 8px 16px;
        cursor: pointer;
        font-size: 0.9rem;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: var(--transition);
        z-index: 3;
      }

      .close-btn:hover {
        background: #00472e;
      }

      .product-details {
        margin-bottom: 20px;
        flex-grow: 1;
      }

      .product-details h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--text-color);
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
      }

    .product-description-text  {
      color: #ffede0;
     }

      .detail-item {
        display: flex;
        margin-bottom: 12px;
        align-items: center;
      }

      .detail-item i {
        color: var(--primary-color);
        margin-left: 10px;
        margin-top: 3px;
        flex-shrink: 0;
      }
      .detail-item div {
        flex-grow: 1;
      }

      /* Bitterness Scale Styling (Linear Bar) */
      .bitterness-scale-wrapper {
        margin-top: 15px;
        text-align: center;
        width: 100%;
      }

      .bitterness-scale-wrapper span {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
      }

      .bitterness-bar-container {
        position: relative;
        height: 20px;
        width: 100%;
        background: linear-gradient(
          to left,
          
          var(--bitter-color),
          var(--sweet-color)
        );
        border-radius: 10px;
        margin: 10px auto;
        max-width: 280px;
      }

      .bitterness-indicator {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        background-color: var(--indicator-color);
        border-radius: 50%;
        border: 2px solid var(--card-bg);
        transition: left 0.4s ease;
        z-index: 1;
      }

      .bitterness-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 5px;
        font-size: 0.75rem;
        color: var(--text-light);
        width: 100%;
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 5px;
      }

      .bitterness-labels span {
        flex: 1;
        text-align: center;
        white-space: nowrap;
      }

      .bitterness-labels span:first-child {
        text-align: right;
        color: var(--bitter-color);
      }
      .bitterness-labels span:last-child {
        text-align: left;
        color: var(--sweet-color);
      }

      .nutrition-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 0 0;
        flex-shrink: 0;
      }

      .nutrition-item {
        background: #f8f9fa;
        padding: 12px;
        border-radius: 10px;
        text-align: center;
      }

      .nutrition-value {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.1rem;
      }

      .nutrition-label {
        font-size: 0.85rem;
        color: var(--text-light);
      }

      /* Footer */
     
    .footer-full {
  background: #092620;
  color: #f2f2f2;
  font-family: "Tajawal", sans-serif;
    border-radius: 30px 30px 0 0;
    margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 50px 20px;
  background: #092620;
    border-radius: 30px 30px 0 0;
}

.footer h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #f9bf96;
  position: relative;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 50px;
  height: 3px;
  background: #f9bf96;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 12px 0;
}

.footer-col ul li a {
  color: #f2f2f2;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ef8f60;
  padding-right: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2b2b2b;
  color: #f9bf96;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #f9bf96;
  color: #1e1e1e;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-col h3::after {
    right: 50%;
    transform: translateX(50%);
  }

  .social-links {
    justify-content: center;
  }
}

.footer-logo {
  height: 20px; /* Adjust as needed */
  vertical-align: middle;
  margin-bottom: 10px;
  margin-right: 5px; /* Add some space if needed */
}

      /* Responsive Styles */
      @media (max-width: 1440px) {
        .navbar {
          width: 80%;
        }
      }

      @media (max-width: 1024px) {
        .navbar {
          width: 75%;
        }
        
        .navbar.scrolled {
          width: 70%;
        }
      }
      
      @media (max-width: 768px) {
        .navbar {
          width: 90%;
          justify-content: space-between;
          padding: 15px 20px;
          height: 80px;
        }

         .bitterness-scale-wrapper span {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
        margin-left: 5px;
        margin-right: -5px;
        padding-left: 50;
      }
        
        .navbar.scrolled {
          width: 85%;
          padding: 10px 20px;
          height: 50px;
        }
        
        .nav-left, .nav-right {
          display: none;
        }
        
        .hamburger {
          display: flex;
        }
        
        .logo {
          position: absolute;
          transform: translateX(0);
          left: 0px;
        }
        
        .navbar.scrolled .logo  {
          transform: translateX(0);
          
        }

         .navbar.scrolled .logo  img  {
          
          height: 50px;
         }

        .card {
          margin-bottom: 10px;
        }
        

        .footer-container {
          grid-template-columns: 1fr;
          text-align: center;
          gap: 30px;
        }

        .footer-col h3::after {
          right: 50%;
          transform: translateX(50%);
        } 

        
        .container {
          grid-template-columns: repeat(2, 1fr); /* 2 cards in a row on mobile */
          gap: 12px;
        }

        .social-links {
          justify-content: center;
        }

        .tabs-wrapper {
          padding-bottom: 10px;
        }
        .tab {
          padding: 10px 20px;
          font-size: 0.9rem;
        }

        .bitterness-scale-wrapper {
        margin-top: 10px;
        text-align: center;
        width: 70%;
       
      }
      }

    
      

      @media (max-width: 360px) {
        .container {
          grid-template-columns: 1fr; /* 1 card on very small screens */
        }
      }

      .loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #E0AB85; /* Dark background for a classy feel */
    color: #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    direction: ltr;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.factory-img {
    margin-bottom: 5px;
    
}

.factory-img  img {
    height: 350px;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        color: #e0e0e0;
    }
    50% {
        transform: scale(1.05);
        color: #f0f0f0;
    }
    100% {
        transform: scale(1);
        color: #e0e0e0;
    }
}

.loading-bar-container {
    width: 300px;
    height: 8px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #E8804B, #f06e2e); /* Classy gradient */
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}


  /* زر العودة إلى الأعلى */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }

  
    /* 🔹 تحسين الـ Loader للهواتف */
    @media (max-width: 768px) {
        .factory-img img {
            height: 200px;
            max-width: 90%;
        }
        
        .loading-bar-container {
            width: 250px;
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            color: #e0e0e0;
        }
        50% {
            transform: scale(1.05);
            color: #f0f0f0;
        }
        100% {
            transform: scale(1);
            color: #e0e0e0;
        }
    }

    .loading-bar-container {
        width: 300px;
        height: 8px;
        background-color: #333;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    }

    .loading-bar {
        width: 0%;
        height: 100%;
        background: linear-gradient(to right, #E8804B, #f06e2e);
        border-radius: 5px;
        transition: width 0.3s ease-in-out;
    }

    /* 🔹 Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 50px;
        height: 50px;
        background: #006241;
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: #004c32;
        transform: translateY(-3px);
    }

    
/* 🔹 تحسينات الـ Responsive للهواتف */
@media (max-width: 768px) {
    /* تحسين الهيدر والنافبار */
    .navbar {
        width: 95%;
        padding: 12px 15px;
        height: 70px;
        border-radius: 35px;
    }
    
    .navbar.scrolled {
        width: 90%;
        height: 55px;
        padding: 8px 15px;
    }
    
    .navbar .logo img {
        height: 55px;
    }
    
    .navbar.scrolled .logo img {
        height: 45px;
    }
    
    /* تحسين الفوتر */
    .footer-container {
        padding: 30px 15px;
        gap: 25px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    /* تحسين الـ Loader */
    .factory-img img {
        height: 250px;
    }
    
    .loading-bar-container {
        width: 250px;
    }
    
    /* تحسين زر العودة للأعلى */
    .back-to-top {
        left: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .navbar {
        width: 98%;
        padding: 10px 12px;
        height: 60px;
    }
    
    .navbar.scrolled {
        height: 50px;
    }
    
    .navbar .logo img {
        height: 45px;
    }
    
    .navbar.scrolled .logo img {
        height: 40px;
    }
    
    .factory-img img {
        height: 200px;
    }
    
    .loading-bar-container {
        width: 200px;
    }
}

/* تحسينات للوضع الأفقي على الهواتف */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        height: 55px;
    }
    
    .navbar.scrolled {
        height: 45px;
    }
    
    .navbar .logo img {
        height: 40px;
    }
    
    .mobile-menu {
        justify-content: flex-start;
        padding-top: 80px;
    }
    
    .mobile-menu ul li {
        margin: 15px 0;
    }
    
    .mobile-menu ul li a {
        font-size: 18px;
        padding: 8px 16px;
    }
}