@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
:root {
     --body_background: #c1e0f6  ;
  --category-card-backgroundcolor:#fff;
  --blue_logo: #335DA9 ;
  --footer_sidelist_background:#335DA9;
  --pink_logo: #C95192;
  --title-texts:#1c3a71 ;
  --bg-image-body: url("./images/body_background.webp");
 
 
}
.dark-mode {
      --body_background: #130e56 ;
  --category-card-backgroundcolor:#d1d7ddad;
  --blue_logo: #a5c4ff;
  --pink_logo: #fb8cc7;;
  --title-texts:#f5f5f5 ;
 --footer_sidelist_background:#162b52;
  --bg-image-body: url("./images/night_mood.webp");

 
}

html, body {
     background-color: var(--body_background) ;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

/* Navbar */
.dropdown {
  position: relative;
  z-index: 999;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: white;
  list-style: none;
  padding: 10px 0;
  min-width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--blue_logo);
}

.dropdown-menu li a:hover {
  background: #f1f5f9;
}

.dropdown-menu.show {
  display: block;
}
.navbar {
  direction: ltr;
  width: 100%;
  height: 90px;
  color: var(--pink_logo);
  font-size: 17px;
   background-image:var(--bg-image-body);
   background-position: center ;
   background-attachment: fixed;
  
  
  
}
.navbar_div{
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  margin:0px 20px;
  
}


.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
 
  
}
.nav-links{
  direction: rtl;
  display: flex;
}
.nav-links a.active {
  color: #C95192;
  font-weight: bold;
}

.navbar a {
  
  
  text-decoration: none;
  color: var(--blue_logo);
  font-weight: bold;
  transition: all 0.3s ease ;
  position: relative;
  padding: 10px 20px;
  display: inline-block; 
}
.navbar a:hover {
  color: var(--pink_color);
  font-size: 18px; 
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--pink_logo); /* لون الخط */
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}
.right_nav {
  display: flex;
}
.account-icon {
  margin: 0px 8px;
  font-size: 1rem;
  cursor: pointer;
  color: white;
  padding: 8px;
  display: flex;
  align-items: center;
  transition: 0.3s;
  background-color: var(--pink_logo);
  border-radius: 30px;
   border: 2px solid var(--pink_logo);
}

.account-icon:hover {
  background-color: #1f4f5400;
  color: var(--blue_logo);
   border: 2px solid var(--pink_logo);
}
.user-circle {
  width: 40px;
  height: 40px;
  background-color: #C95192;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}
.user-container {
  position: relative;
  display: inline-block;
}

.user-circle {
  width: 40px;
  height: 40px;
  background-color: #C95192;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}

.user-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 200px;
  padding: 8px 0;
  z-index: 1000;
}

.user-menu div {
  padding: 8px 12px;
  cursor: pointer;
}
.user-menu div:first-child {
  border-bottom: 1px solid #eee;
}
.user-menu div:hover {
  background-color: #f3f3f3;
}

#darkModeBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
 height: 40px;
  border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background-color: #464646;
    
}
#darkModeBtn:hover {
  box-shadow: 0 8px 32px rgba(111, 97, 193, 0.455);
}
#darkModeBtn i {
  color: #ffffff;
}
.rocket {
  position: fixed;
  top: 20%;
  left: 30px;
  width: 80px;
  z-index: 9999;
}

.first_header{
   height: 70vh;
   width: 100%;
   background-image:var(--bg-image-body);
   background-position: center ;
  background-attachment: fixed;
  
  
}
.hero_header_back {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  padding: 50px;
  background-color: #222;
 display: flex;
   flex-direction: row-reverse;
   justify-content: space-between;
   align-items: center;
   gap: 40px;
    background: rgba(255, 255, 255, 0.15); /* شفافية */
  backdrop-filter: blur(10px);          /* ضبابية الخلفية */
  -webkit-backdrop-filter: blur(10px);  /* دعم سفاري */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.first_header .hero_header_back  img {
height: 500px;

}
.hero_text {
    width: 100%;
}
.hero_text h1{
 font-size: 3.3rem;
 margin-bottom: 12px;
 color: var(--title-texts);
}
.hero_text p{
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--blue_logo);
}
.hero_text button {
    padding: 1em 2.1em 1.1em ;
    border-radius: 8px;
    margin: 8px;
    border: none;
    background-color: var(--pink_logo);
    color: aliceblue;
    font-size: 0.85em;
   
}
.hero_text .hero_buttons #bt1:hover {
  cursor: pointer;
  border: 1px solid var(--pink_logo);
    background-color: rgba(167, 101, 160, 0) ;
    color: var(--pink_logo);
    

}
.hero_text .hero_buttons #bt2:hover {
  cursor: pointer;
  border: 1px solid var(--pink_logo) ;
    background-color: rgba(167, 101, 160, 0) ;
    color: var(--pink_logo);
  
}

/* Body */
.main-bg {
   background: var(--bg-image-body) center / cover no-repeat fixed;
   
  }
.line-svg {
  position: relative;
  top: -120px;
  right: -80px;
 z-index: 0;
}
.line-svg svg {
 position: relative;
 right: -80px;
 
}
/* Hero body */
.hero_body {
  background: rgba(255, 255, 255, 0.15); /* شفافية */
  backdrop-filter: blur(10px);          /* ضبابية الخلفية */
  -webkit-backdrop-filter: blur(10px);  /* دعم سفاري */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
   height: 70vh;
   margin: 4%;
   display: flex;
   flex-direction: row-reverse;
   justify-content: space-between;
   align-items: center;
   padding: 0px 30px;
   overflow: hidden;
   border-radius: 30px;
   
}
.hero_body img {
   height: 400px;
   border-radius: 30px;
}

.hero-content {
  padding-left: 50px;
  padding-right: 50px;
  margin: 30px 0px;
  width: 90%;
  text-align: center;
}
.hero-content h2 {
 font-size: 2.3rem;
 padding-bottom: 30px;
 color: var(--title-texts);
 
}
.hero-content p {
  font-size: 1.4rem;
  padding-bottom: 30px;
  color: var(--blue_logo);
}

.hero_body button {
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--pink_logo);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}
.hero_body button:hover {
  border: 3px solid var(--pink_logo);

   box-shadow: 0 10px 25px rgba(255, 255, 255, 0.222);
}
/* Sections */
#about {
   padding: 60px 40px;
  text-align: center;
}
#about {
  color: var(--title-texts); 
}
#categories{
   padding: 60px 40px;
  text-align: center;
}
.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* Category */
.category-card {
  background: var(--category-card-backgroundcolor);
  padding: 40px;
  border-radius: 10px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3d3d3d;
}

.cat_photo{
  height: 100px;
  width: 100px;
  margin-bottom: 10px;
 
}
.cat1 {
   background-image: url(./images/cat1.png);
   background-repeat: no-repeat;
  background-size: cover;
}
.cat2 {
   background-image: url(./images/hand2.png);
   background-repeat: no-repeat;
  background-size: cover;
}
.cat3 {
   background-image: url(./images/communication2.png);
   background-repeat: no-repeat;
  background-size: cover;
}

 .cat_photo:hover{
 animation: pulse 1s;
 }

/* Product */
.product-card {
  margin: auto;
  width: 300px;
  background: white;
  border-radius: 10px;
  padding: 15px;
  height: 500px;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 60%;
  border-radius: 10px;
  
}

.product-card button {
  margin-top: 10px;
  padding: 10px;
  background: #8b5e3c;
  color: white;
  border: none;
  width: 90%;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  bottom: 15px;
  right: 15px;
  transition: all 0.3s ease;
  
}
.product-card button:hover {
  background: #a97b5800;
  border: 1px solid #a97b58;
  color: #3d3d3d;
}

/* Footer */
.footer {
  background:var(--footer_sidelist_background);
  padding: 50px 20px 20px;
  font-family: "Tajawal", sans-serif;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-container  h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #ff88ce;
}

.footer-contact-info p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: rgb(255, 255, 255);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #f4f4f4;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #cf4494;
}

.footer-social .social-icons a {
  margin-right: 10px;
  font-size: 1.5rem;
  color: #f4f4f4;
  transition: 0.3s;
}

.footer-social .social-icons a:hover {
  color: #cf4494;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
}

/* رسبونسف */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-contact-info, .footer-links, .footer-social {
    width: 100%;
  }
}

/* Overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* Modal */
.login-modal {
  max-height: 90vh; /* مهم */
  overflow-y: auto; /* يحل مشكلة القص */
  position: relative;
  width: 90%;
  max-width: 500px;
  padding: 35px 30px;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.05)
  );
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  color: #ffffff;
  text-align: center;
  animation: popUp 0.4s ease;
}



.login-modal h2 {
  margin-bottom: 8px;
  font-size: 24px;
  
}

.login-modal p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 25px;
}

/* Inputs */
.login-modal input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--blue_logo), #4fa1a9);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(55,123,130,0.5);
}


/* Footer */
.login-footer {
  margin-top: 18px;
  font-size: 14px;
}

.login-footer a {
  color: var(--pink_logo);
  margin-right: 6px;
  text-decoration: underline;
}
.password-field {
  position: relative;
}

.password-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
}

.forgot-link {
  display: block;
  margin: 10px 0;
  font-size: 13px;
  color: #ffd1ec;
  text-decoration: underline;
}


/* Close button */
.close-btn {
  position: absolute;
  top: 14px;
  left: 16px;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.8;
}

.close-btn:hover {
  opacity: 1;
}
.account-icon {
  position: relative;
  z-index: 10000;
  cursor: pointer;
   font-size: clamp(5px, 3vw, 15px);
  
}
.contact-section {
  padding: 80px 40px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ===== الصورة ===== */
.contact-image {
  width: 45%;
  background: url("./images/contact_img.webp") center / cover no-repeat;
}

/* ===== الفورم ===== */
.contact-box {
  width: 55%;
  padding: 50px;
}

.contact-box h2 {
  font-size: 2.2rem;
  color: var(--blue_logo);
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 30px;
  color: var(--blue_logo);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  font-size: 15px;
  background: rgba(255,255,255,0.9);
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(90deg, #8f3a70, var(--pink_logo));
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.login-modal button {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #335DA9, #4fa1a9);
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-modal button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@keyframes popUp {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@media (max-width:848px){
  .dropdown-menu {
    position: static; /* تصبح جزء من العمود */
    display: none;
    padding-left: 15px; /* مسافة داخلية عن الزر */
    background: none; /* أو لون فاتح إذا تحبي */
    box-shadow: none;
    width: 100%;
  }
.dropdown-menu li a:hover {
  background-color: #377b8200;
}
  .dropdown-menu li a {
    padding: 10px 0;
    color: #fff; /* أو أي لون مناسب */
  }

  .dropdown-menu.show {
    display: block;
  }
 .logo{
  visibility: hidden;
 }
    .hero_text .hero_buttons  {
      display: flex;
      flex-direction: column;
      padding: 0px 30px;
    }
    .hero_header_back{
        flex-direction: column;
    }
    .first_header{
       
         height: auto;
        
    }
    .hero_body {
      
      flex-direction: column;
      height: auto;
    }
    .first_header .hero_header_back img {
      height: 300px;
    }
    .hero_body img{
         padding-top: 20px;
         height: 300px;
    }
    .hero_body .hero-content {
       padding-left: 0px;
  padding-right: 0px;
      font-size: 3rem;
    }
    .hero_text{
        width: 100%;
        text-align: center;
       
    }
    .hero_text h1{
        font-size: 3rem;
    }
      .logo {
    font-size: clamp(30px, 5vw, 30px);
    margin: 0;
  }
.navbar_div nav a {
  color: #ffffff;
  
}
.navbar_div nav a:hover {
    color: #ffa0d2;
}
  .navbar_div {
   
    margin: 2px 30px;
  }
 


/* زر البرجر */
.hamburger{
  display:block;
  font-size:30px;
  color: var(--blue_logo);
  z-index:1001;
}

/* ===== Overlay ===== */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99999;
  pointer-events: none;
}

.menu-overlay.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== Sidebar (يمين 🔥) ===== */
.nav-links{
  position: fixed;
  top: 0;
  right: 0; /* 🔥 بدل left */
  width: 260px;
  height: 100vh;

  /* 🔥 Gradient من ألوانك */
  background: linear-gradient(
    160deg,
    var(--blue_logo),
    var(--pink_logo)
  );

  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  gap: 15px;

  transform: translateX(100%); /* مخفي يمين */
  transition: transform 0.35s ease;

  z-index: 99999;
}

/* عند الفتح */
.nav-links.active{
  transform: translateX(0);
}

/* عنوان */
.nav-links::before{
  content: "Sky Hand";
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

/* الروابط */
.nav-links a{
  color: #fff;
  font-size: 16px;
  padding: 12px 15px;
  border-radius: 10px;
  transition: 0.3s;
  display: block;
  width: 100%;
}

/* Hover */
.nav-links a:hover{
  background: rgba(255,255,255,0.15);
  transform: translateX(-5px); /* يتحرك لليسار */
}

/* Active */
.nav-links a.active{
  background: rgba(255,255,255,0.25);
}
 .contact-wrapper{
    flex-direction: column; /* 🔥 أهم شيء */
  }

  .contact-image{
    width: 100%;
    height: 200px; /* عشان ما تكون طويلة */
  }

  .contact-box{
    width: 100%;
    padding: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .navbar a {
    font-size: 15px;
  }
  .navbar a:hover{
    font-size: 17px;
  }
  .hero_text h1{
 font-size: 2rem;
}
.first_header .hero_header_back  img {
height: 400px;

}
.logo{
  font-size: 30px;
}


}

