@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.btn-primary {
  border: 1px solid #fff;
}

.btn-secondary,
.btn-third:hover {
  background: #383848;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-third {
  background: #e4b95b;
}

.primary-text {
  color:rgb(62, 94, 238) ;
  
}

/* Header Start */
header {
  height: 100vh;
  background: url(img/IMG-20250203-WA0170.jpg) center center/cover no-repeat;
  position: relative;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  width: 100%;
  color: #3a6cf4;
  text-decoration: none;
 font-size: 1.1em;
  font-weight: 500;
   padding-left: 30px;
}

#navbar img {
  width: 80px;
  margin-left: 100px;
  border-radius: 200vh;
}

nav ul {
  display: flex;
  margin-right: 100px;
  color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

nav ul li a {
  padding: 15px 20px;
  font-weight: 600;
  
}

nav ul li a:hover {
  border-bottom: 2px solid #e4b95b;
}

header .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 75%; /* Add exmple of greeen background */
}

header::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0, 0.6);
}

header .content h1 {
  font-size: 40px;
  color: #fff;
}

header .content p {
  color: #fff;
  margin: 20px 0 40px;
}

header * {
  z-index: 10;
}

/* Header End */

/* About Start */
#about {
  height: 80vh;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about .title,
#offers .title,
#menu .title {
  text-align: center;
  margin-bottom: 4rem;
}

#about h2,
#offers h2,
#menu h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

#about h2 {
  color: #383848;
}

#about .title p {
  font-weight: 600;
  font-size: 14px;
  color: #9a9a9a;
}

#about .about-content {
  display: flex;
  justify-content: space-between;
}

#about .about-content p {
  margin-right: 7rem;
  line-height: 1.6;
  color: #9a9a9a;
  font-weight: 500;
}

#about img {
  max-width: 450px;
  border-radius: 8%;
}

#about .about-content a {
  margin-top: 2rem;
}
/* About End */
/* Offers Section start */
#offers {
  height: 80vh;
  background: url("img/offer-background.jpg") center center/cover fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#offers h2 {
  color: #e4b95b;
}

#offers .title p {
  color: #fff;
  font-weight: 500;
}

#offers .offers-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

#offers .offers-items img {
  width: 200px;
  border-radius: 150vh;
}

#offers .offers-items h3 {
  font-size: 25px;
  color: #fff;
  margin: 15px 0;
}

/* Sticky Navbar */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000000; /* لون غامق مناسب للوضع الداكن */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Mobile Menu */
#menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  #menu-btn {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 0;
    background: #383848;
    width: 200px;
    padding: 10px;
  }

  #nav-menu.active {
    display: flex;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* الصورة الخلفية */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/offer-background.jpg') no-repeat center center/cover;
  z-index: -1;
}

/* عند تفعيل الوضع المظلم، نضيف طبقة شفافة داكنة فوق الصورة */
.dark-mode .background-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* تعتيم 50% */
}

/* باقي تعديل الـ Dark Mode */
.dark-mode {
  background: #000000; /* خلفية سوداء */
  color: #ffffff; /* لون الخط أبيض */
}

.dark-mode header {
  background: #000; /* تغيير خلفية الهيدر */
}

.dark-mode a {
  color: #e4b95b; /* جعل الروابط ذهبية */
}

.dark-mode .btn {
  background: #e4b95b;
  color: #000;
}

.dark-mode .sticky,
.dark-mode #menu,
.dark-mode #offers,
.dark-mode #gallery,
.dark-mode #contact {
  background: transparent; /* نجعل الخلفية شفافة حتى يظهر تأثير الصورة */
}

/* زر تبديل الوضع */
#dark-mode-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #383848;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  transition: background 0.3s ease;
}

#dark-mode-btn:hover {
  background: #e4b95b;
  color: #000;
}

#offers .offers-items p {
  color: #fff;
  font-size: 14px;
  padding: 0 20px;
  font-weight: 300;
  margin-bottom: 15px;
}

#offers .offers-items span {
  font-weight: 600;
  font-size: 18px;
  margin-left: 5px;
}

/* Offers Section end */
/* Menu Section Start */
#menu {
    background: #f4f2ed;
    padding: 5rem 0;
}

#menu .title h1 {
    color: #383848;
}

#menu .title p {
    color: #9a9a9a;
    font-weight: 500;
}

#menu .menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
}

#menu .menu-item {
    margin: 5px;
    flex: 1;
    text-align: center; /* لتوسيط جميع العناصر داخل كل عنصر قائمة */
}

#menu .menu-items .menu-item img {
    width: 150px;
    margin-right: 40px;
    margin-left: 60px;
    border-radius: 50%;
}
#menu .menu-item img {
  width: 180px;
  height: 150px;
  object-fit: cover; /* لضمان تناسق الصور */
  border-radius: 50%;
  transition: transform 0.7s ease-in-out;
  cursor: pointer;
}
#menu .menu-item-sd img {
  width: 480px;
  height: 280px;
  object-fit: cover; /* لضمان تناسق الصور */
  border-radius: 5%;
  transition: transform 0.7s ease-in-out;
  cursor: pointer;
}



#menu .menu-item img:active {
  transform: scale(9);
}
#menu .menu-items .menu-item h1 {
    color: #383848;
    border-bottom: 1px dashed #c2bdbd;
    padding-bottom: 10px;
    position: relative;
}

#menu .menu-items .menu-item span {
    display: block; /* يجعل السعر يظهر في سطر منفصل */
    text-align: center; /* يوسّط السعر أسفل العنوان */
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 5px;
    color: #007bff; /* لون مميز للسعر */
}

#menu .menu-items .menu-item p {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.2em;
}

#menu .btn {
    display: block;
    margin: auto;
    border: none;
    margin-top: 30px;
}


/* Menu Section End */
/* Daytime section Start */
#daytime {
  background: url("img/daytime_bg.jpeg") center center/cover fixed no-repeat;
  color: #fff;
  text-align: center;
}

#daytime .daytime-items {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 40vh;
}

#daytime .daytime-items h3 {
  font-size: 32px;
  margin: 20px 0 10px;
}

#daytime .daytime-items p {
  font-weight: 500;
}
/* Daytime section End */

/* Gallery section start */
#gallery {
  background: url("img/offer-background.jpg") center center/cover;
  padding: 8rem 0 6rem;
}
#gallery h2 {
  font-size: 40px;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

#gallery .img-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#gallery .img-gallery img {
  margin: 20px;
  width: 280px;
  height: 200px;
  border-radius: 15px;
  opacity: 0.8;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  
}

#gallery .img-gallery img:hover {
  opacity: 1;
  transform: translateY(-25px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    

}
/* Gallery section end */
/* Contact Section start */
#contact {
  background: #f4f2ed;
  padding: 5rem 0;
}

#contact .container {
  max-width: 900px;
}

#contact .contact-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#contact .contact-info {
  width: 50%;
}

#contact .contact-info div {
  margin: 30px 0;
  line-height: 1.7;
}

#contact .contact-info h3 {
  font-size: 28px;
  color: #383848;
  margin-bottom: 10px;
}

#contact .contact-info p {
  color: #9a9a9a;
}

#contact .contact-info p i {
  color: #e4b95b;
  margin-right: 5px;
}

#contact .contact-info a i {
  color: #fff;
  background: #383848;
  padding: 10px;
  font-size: 20px;
  border-radius: 50%;
}

#contact .contact-info a i:hover {
  background-color: #e4b95b;
  color: #383848;
}

form {
  width: 50%;
}

form input,
textarea {
  display: block;
  width: 100%;
  padding: 20px 15px;
  margin: 20px 0;
  border: none;
  background-color: #e3e2dd;
}

form input:focus,
textarea:focus {
  outline: none;
}

form button {
  color: #fff;
}

/* Contact Section End */
/* Footer Start */
#footer {
  background-color: #383848;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  font-size: 14px;
}
/* Footer End */

/* Responsiveness */
/* Medium Screen + Tablet */
@media (max-width: 1000px) {
  #navbar img {
    margin-left: 20px;
  }

  nav ul {
    margin-right: 20px;
  }

  nav ul li a {
    padding: 10px;
  }

  header .content h1 {
    font-size: 28px;
  }

  #about {
    height: auto;
    padding: 4rem 2rem;
  }

  #about .about-content p {
    margin-right: 2rem;
  }

  #about img {
    width: 250px;
  }

  #offers .offers-items img {
    width: 150px;
  }

  #offers .offers-items h3 {
    font-size: 18px;
  }

  #menu .menu-items {
    display: block;
  }

  #contact .contact-content {
    flex-direction: column;
  }

  /* Mobile Devices */
  @media (max-width: 600px) {
    #navbar {
      flex-direction: column;
    }

    #navbar img {
      margin-bottom: 20px;
    }

    header .content h1 {
      font-size: 18px;
    }

    header .content p {
      font-size: 14px;
    }

    #about .about-content {
      flex-direction: column;
    }

    #about .about-content a {
      margin: 2rem 0;
    }

    #about img {
      display: none;
    }

    #offers {
      height: auto;
      padding: 30px 10px;
    }

    #offers .offers-items {
      flex-direction: column;
    }

    #menu .menu-items .menu-item {
      margin: 20px 10px;
    }

    #daytime .daytime-items {
      display: block;
      height: auto;
      padding: 30px 0;
    }

    #daytime .daytime-items .daytime-item {
      margin-top: 20px;
    }

    #contact .contact-info,
    form {
      width: 80%;
    }
  }
}
/* Reset أساسي */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ضبط الحاوية الرئيسية */
.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}

/* جعل الصور متجاوبة */
img {
  max-width: 100%;
  height: auto;
}

/* جعل النصوص متجاوبة */
body {
  font-size: 16px;
  line-height: 1.6;
}

/* تخطيط الناف بار */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li {
  margin: 0 15px;
}

/* القائمة المنسدلة للأجهزة الصغيرة */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* الشبكة الرئيسية */
.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* تخطيط البطاقات (Project Cards) */
.card {
  width: calc(33.333% - 20px);
  margin: 10px;
  padding: 20px;
  background: #f4f4f4;
  border-radius: 8px;
  text-align: center;
}

/* الأزرار */
button {
  padding: 12px 25px;
  font-size: 18px;
  cursor: pointer;
}

/* ============================= */
/*   MEDIA QUERIES لكل الأجهزة   */
/* ============================= */

/* أجهزة الشاشات الكبيرة (4K و Ultra-Wide) */
@media (min-width: 1921px) {
  .container {
      max-width: 1800px;
  }
}

/* أجهزة اللابتوب الكبيرة (Full HD) */
@media (max-width: 1920px) {
  .container {
      max-width: 1200px;
  }
}

/* التابلت والشاشات المتوسطة */
@media (max-width: 1024px) {
  .navbar {
      flex-direction: column;
      text-align: center;
  }

  .navbar ul {
      flex-direction: column;
      width: 100%;
  }

  .navbar ul li {
      margin: 10px 0;
  }

  .card {
      width: calc(50% - 20px);
  }
}

/* الموبايلات الكبيرة مثل iPhone 14 Pro Max و Pixel 7 */
@media (max-width: 768px) {
  .card {
      width: calc(100% - 20px);
  }

  button {
      width: 100%;
  }
}

/* الموبايلات الصغيرة (iPhone SE, Galaxy S8, iPhone 6/7/8) */
@media (max-width: 480px) {
  body {
      font-size: 14px;
  }

  .navbar ul {
      display: none;
      flex-direction: column;
      width: 100%;
  }

  .menu-icon {
      display: block;
  }

  .card {
      width: 100%;
  }

  button {
      font-size: 16px;
      padding: 10px;
  }
}

/* الأجهزة القابلة للطي مثل Galaxy Z Fold و Asus Zenbook Fold */
@media (max-width: 600px) and (orientation: landscape) {
  .content {
      flex-direction: column;
  }

  .card {
      width: 100%;
  }

  button {
      font-size: 16px;
  }
}
