
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
:root {
    --background: #ece7e2;
    --main-color-A: #db903c;
    --main-color-B: #1d202d;
    --color: #63320a;
    --main-font: "El Messiri", serif;
  }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Tajawal", serif;
    background-color: var(--background);
}
ul {
  list-style: none;
  padding: 0;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  font-size: 4rem;
  color: var(--main-color-A);
  cursor: pointer;
  display: none; 
  transition: opacity 0.3s ease;
}

/* START LOADER */
.loader-div {
    width: 100%;  
    background-color: #1d202d;
    display: flex;
    height: 100vh;
    position: absolute;
    z-index: 150;
  }
  
  .cube {
    margin: auto;
    font-size: 24px;
    height: 1em;
    width: 1em;
    transform: rotatex(30deg) rotatey(45deg);
    transform-style: preserve-3d;
    animation: cube-spin 1.5s infinite ease-in-out alternate;
  }
  
  .side {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform-style: preserve-3d;
  }
  .side::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #db903c;
    transform: translatez(0.5em);
    animation: cube-explode 1.5s infinite ease-in-out;
    opacity: 0.5;
  }
  
  .side:nth-child(1) {
    transform: rotatey(90deg);
  }
  
  .side:nth-child(2) {
    transform: rotatey(180deg);
  }
  
  .side:nth-child(3) {
    transform: rotatey(270deg);
  }
  
  .side:nth-child(4) {
    transform: rotatey(360deg);
  }
  
  .side:nth-child(5) {
    transform: rotatex(90deg);
  }
  
  .side:nth-child(6) {
    transform: rotatex(270deg);
  }
  
  @keyframes cube-spin {
    0% {
      transform: rotatex(30deg) rotatey(45deg);
    }
    100% {
      transform: rotatex(30deg) rotatey(405deg);
    }
  }
  @keyframes cube-explode {
    0% {
      transform: translatez(0.5em);
    }
    50% {
      transform: translatez(0.75em);
    }
    100% {
      transform: translatez(0.5em);
    }
  }
  .hidden{
      display: none;
  }

/* END LOADER */

/* START NAVE */
header{
    background-color: var(--main-color-B);
    position: fixed;
    width: 100%;
    height: 10vh;
    z-index: 100;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1366px;
    height: 10vh;
    margin: 0 auto;
    padding: 0 5rem;
}
nav .fa-bars{
    color: var(--main-color-A);
    display: none;
}
nav .logo img{
    width: 100px;
}
nav .nav-items{
    display: flex;
    list-style: none;
}
nav .nav-items .nav-item{
    padding: 0 1rem;
}
nav .nav-items .nav-item .nav-link{
    text-decoration: none;
    color: var(--background);
    font-size: 1.4rem;
    transition: 0.5s;
}
nav .nav-items .nav-item .nav-link:hover{
    color:var(--main-color-A);
}
/* END NAVE */

/* START SLIDER BANNER */
.slide-div{
  /* background-color: #1d202d; */
  height: 100vh;
  max-width: 1200px;
  /* margin-left: -30px; */
  margin: 0 auto;
  overflow: hidden;
  padding-top: 10px;

}
.image-slider-container { 
  margin-right: -25px;
  width: 100%; 
  height: 50vh; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-top: 5vh;
  margin-left: -30px;

}

.image-slider {
  list-style: none; 
  position: relative; 
  width: 100%; 
  height: 100%;
  margin-left: -30px;
  z-index: 1;
}

.image-slider li { 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  opacity: 0; 
  transition: opacity 1s ease-in-out; 
}


.image-wrapper {
  width: 100%;
  height: 30vh;
}

.image-wrapper img {
  width: 100%;
  height: 650px;
  /* object-fit: cover; */
}

/* تعديلات للشاشات الصغيرة */
@media (max-width: 880px) {
  /* START SLIDER BANNER */
.slide-div{
  /* background-color: #1d202d; */
  height: 50vh;
  max-width: 1200px;
  /* margin-left: -30px; */
  margin: 0 auto;
  overflow: hidden;
  padding-top: 10px;

}
.image-slider-container { 
  margin-right: -25px;
  width: 100%; 
  height: 50vh; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-top: 5vh;
  margin-left: -30px;

}

.image-slider {
  list-style: none; 
  position: relative; 
  width: 100%; 
  height: 100%;
  margin-left: -30px;
  z-index: 1;
}

.image-slider li { 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  opacity: 0; 
  transition: opacity 1s ease-in-out; 
}


.image-wrapper {
  width: 100%;
  height: 30vh;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}
}


li.active { opacity: 1; }

/* END SLIDER BANNER */










/* START HERO */
.hero{
    background-color:var(--background);
    /* background-image: url("../images/logo\ background.png");
    background-size: cover;
    background-position: center; */
    margin-bottom: 12rem;
}
.hero-section{
    max-width: 1366px;
    height: 30vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 50px;
    padding: 0 5rem;
}
.hero .content{
    display: flex;
    flex-direction: column;
}
.hero .content h4{
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.hero .content h1{
    font-family: "Readex Pro", serif;
    color:var(--color);
    font-size: 2.6rem;
    margin-bottom: 1rem;
}
.hero .content p{
    color: rgba(0, 0, 0, 0.716);
    font-size: 1.4rem;
}
.hero .content p span{
    color:var(--main-color-A);
}
.btn{
    width: 10rem;
    margin-top: 3rem;
    border-radius: 0.5rem;
    outline: none;
    border: none;
    padding: 0.75rem 1.5rem;
    background-color:var(--main-color-B);
    transition: 0.5s;
}
.btn a{
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
}
.btn:hover{
    background-color:var(--main-color-A);
    cursor: pointer;

}
.hero-image img{
    width: 500px;

}
/* END HERO */

/* START ABOUT SECTION */
.about-container{
  background-color: var(--main-color-B);
  margin-bottom: 3rem;
}
.about-us{
  width: 90%;
  max-width: 1366px;
  margin: 0 auto;
  height: 60vh;
  display: flex;
  justify-content: space-between;
}
.about-content{
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.about-content h2{
  color: var(--main-color-A);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.about-content p {
  margin-top: 1rem;
  color: var(--background);
  line-height: 2;
  width: 85%; 
  text-align: justify; 
  word-spacing: 0.1rem; 
  hyphens: auto; 
}

.about-us img{
  width: 100%;
  height: 100%;

}
/* END ABOUT SECTION */
/* START OUR-VISION */
.vision-container{
  background-color: var(--main-color-B);
  margin-bottom: 3rem;
}
.vision-us{
  width: 90%;
  max-width: 1366px;
  margin: 0 auto;
  height: 70vh;
  display: flex;
  justify-content: space-between;
}
.vision-content{
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.vision-content h2{
  color: var(--main-color-A);
  font-size: 3rem;
  margin: 0 2rem;
  margin-bottom: 1.5rem;


}
.vision-content p {
  margin-top: 1rem;
  color: var(--background);
  line-height: 2; 
  width: 85%; 
  text-align: justify; 
  word-spacing: 0.05rem; 
  hyphens: auto;
  margin: 0 auto; 
}

.vision-us img{
  width: 100%;
  height: 100%;
  margin-left: 20px;

}
/* END OUR-VISION */

/* START FEATURES SECTION */

section.features{
  padding: 2rem 0;
}
section.features .features-section{
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features-section h4{
  color: var(--main-color-B);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.features-section .qualities{
  display: flex;
  justify-content: space-between;
}

.features-section .qualities .quality{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #db903c;
  padding: 2rem;
  max-width: 17rem;
  border-radius: 1rem;
  margin: 1rem;
  transition: 0.5s;

}
.features-section .qualities .quality:hover{
  box-shadow: 3px 8px 5px 8px var(--color);

}
.features-section .qualities .quality i{
  font-size: 2rem;
  color: var(--main-color-B);
  margin-bottom: 1rem;
}
.features-section .qualities .quality h3{
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.features-section .qualities .quality p{
  font-size: 1.2rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.716);
}
/* END FEATURES SECTION */





.blog-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-link {
  text-decoration: none;
  background: linear-gradient(45deg, var(--color), var(--main-color-A)); 
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-link:hover {
  background: linear-gradient(45deg, var(--main-color-A), var(--color));
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}


        /* Slider */



/* set scroll animation */

.products h2 {
  text-align: center;
  font-size: 1.6rem;
  margin: 2rem;
}

.slider-body {
  margin-top: 5vh;
  width: 100%;
  background-color: #1d202d;
  display: flex;
  justify-content: center;
}

.slider {
  position: relative;
  width: 80%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slide-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  width: 100px;
  height: 100px;
  margin: 15px 10px;
  border-radius: 10px;
  transition: transform 0.5s, box-shadow 0.5s;
}

.slide-item:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0 10px 5px -5px rgba(0, 0, 0, 0.678);
}

/* أزرار التحكم */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

/* تحسين للأزرار */
.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

#prev-btn {
  right: 5px;
}

#next-btn {
  left: 5px;
}

/* تحسين للشاشات الصغيرة */
@media only screen and (max-width: 600px) {
  .slider {
      width: 100vw;
  }
}



#our-suppliers h2 {
  text-align: center;
  font-size: 1.6rem;
  margin: 2rem;
}

.slider-body {
  margin-top: 5vh;
  width: 100%;
  background-color: #1d202d;
  display: flex;
  justify-content: center;
}

.slider {
  position: relative;
  width: 80%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slide-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  width: 100px;
  height: 100px;
  margin: 15px 10px;
  border-radius: 10px;
  transition: transform 0.5s, box-shadow 0.5s;
}

.slide-item:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0 10px 5px -5px rgba(0, 0, 0, 0.678);
}

/* أزرار التحكم */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

/* تحسين للأزرار */
.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

#supplier-prev-btn {
  right: 5px;
}

#supplier-next-btn {
  left: 5px;
}

/* تحسين للشاشات الصغيرة */
@media only screen and (max-width: 600px) {
  .slider {
      width: 100vw;
  }
}


/* START CONTACT US */
.contact{
  width: 90%;
  max-width: 1366px;
  margin: 3rem auto;
  height: 100%;
  padding: 2rem 0;
  text-align: center;
}
.contact h3{
  margin-bottom: -40px;
  font-size: 1.6rem;
}
label,input,textarea{
  font-family: "Tajawal", serif;
  font-size: 1.6rem;
}
form{
  display: flex;
  flex-direction: column;
  padding: 5rem 0;
  width: 100%;
}
form .btn-form{
  color: var(--background);
  background-color:var(--main-color-B);
  border: none;
  outline: none;
  font-size: 1.6rem;
  border-radius: 0.5rem;
  width: 100px;
  align-self: center;
  padding: 0.75rem 1.5rem;
  margin-bottom: -80px;
}
input,textarea{
  width: 80%;
  border-radius: 1rem;
  border: none;
  outline: none;
  padding: 0.75rem 2rem;
  margin: 0 auto;
}
label,input,textarea{
  margin-bottom: 1.5rem;
}
/* END CONTACT US */

/* START FOOTER */
.footer-section img {
  width: 120px;
}

footer {
  width: 100%;
  background-color: #1d202d;
  color: aliceblue;
  padding: 2rem 0;
}

.footer-section a {
  text-decoration: none;
  color: aliceblue;
  transition: 0.3s;
}

.footer-section a:hover {
  font-size: 1rem;
  color: #f9a825;
}

.footer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 2rem;
}

.content-footer {
  max-width: 300px;
}

.content-footer p {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* تصميم خاص بالأيقونات الاجتماعية */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.social-icons li a {
  font-size: 1.5rem;
  color: #f9a825;
  transition: 0.3s;
}

.social-icons li a:hover {
  color: #fff;
  transform: scale(1.2);
}

.contact-us h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-us ul,
.linkes ul {
  padding: 0;
}

.contact-us ul li,
.linkes ul li {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-us ul li i {
  margin-left: 8px;
  color: #f9a825;
  font-size: 1rem;
}

.copyright {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: #f1f1f1;
  border-top: 1px solid #444;
  padding-top: 10px;
  width: 100%;
}

/* END FOOTER */
























/* Responsive Design */
@media(max-width:1300px){
    *{
        font-size: 85%;
     }
     .hero-image img{
        width: 450px;
     }
     .features-section .qualities{
      flex-wrap: wrap;
      justify-content: center;
     }
}
@media(max-width:880px){
    *{
        text-align: center;
    }
    .hero-image{
        display: none;
    }
    .hero-section{
        align-items: center;
        padding: 2rem 0;
        width: 80%;
    }
    .hero .btn{
        align-self: center;
    }
    .about-us img{
      display: none;
    }
    .about-content{
      justify-content: center;
      align-items: center;
    }

    .about-content p{
      font-size: 1.4rem;
    }


    .vision-us img{
      display: none;
    }
    .vision-content{
      justify-content: center;
      align-items: center;
    }
    .vision-content p{
      font-size: 1.4rem;
  
    }

}


@media(max-width:570px){
  *{
    font-size: 75%;
 }
    nav .fa-bars{
        display: block;
        font-size: 3rem;
    }
    nav .nav-items{
        display: none;
        position: absolute;
        left: 0;
        top: 10vh;
        flex-direction: column;
        width: 100%;
        background-color: var(--main-color-B);
        padding: 2rem;
        transition: 0.5s;
        z-index: 1000;
    }
    nav .nav-items.active{
        display: flex;
    }
    nav .nav-items .nav-item{
        margin: 1rem 0;
    }
    .hero-section{
      height: 15vh;
      margin-bottom: 8rem;
    }
    .slide-div{
      width: 100%;
      overflow: hidden;
      padding-top: 18px;
    
    }
    .about-us img{
      display: none;
    }
    .content h1,h4,p{
      margin: 10px 0;
    }
    .about-content{
      justify-content: center;
      align-items: center;
    }
    .contact-div {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .content-footer img {
      width: 100px;
    }
    .contact-us h2 {
      font-size: 1.6rem;
    }
    .linkes h2 {
      font-size: 1.6rem;
    }
    .linkes a{
      font-size: 1.3rem;
    }
    .contact-us ul li,
    .linkes ul li {
      font-size: 1.6rem;
    }

}
