* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Playfair Display','Open Sans','Cinzel', serif;
  background-color: #f6f3ea; 
  color: #3a2f2f; 
  scroll-behavior: smooth;
}
/* الوضع الإنجليزي (عادي) */
body {
  direction: ltr;
  text-align: left;
}

/* عند التحويل إلى العربية */
body.arabic-mode {
  direction: rtl;
  text-align: right;
}

/* يمكنك تخصيص عناصر معينة فقط */
body.arabic-mode h1,
body.arabic-mode h2,
body.arabic-mode h3,
body.arabic-mode p {
  text-align: right;
}


.container {
  width: 98%;
/*max-width: 1200px;*/
  margin: auto;
}

.main-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #4f5333;
  backdrop-filter: blur(0px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.main-header.scrolled {
  background: rgba(79, 83, 51, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
/* زر الهمبرجر */
 .menu-toggle {
  cursor: pointer;
  color: #fff9ec;
  z-index: 1100;
  transition: transform 0.1s ease;
}
.menu-toggle.active {
  transform: rotate(180deg);
  color: #fff9ec;
}
.nav-container {
  display: flex;
  justify-content: left;
  padding: 20px 0;
  align-items: center;
  height: 70px;
}
.logo-nav{
  display: flex;
}
.logo {
  height: 60px;
  border-radius: 50%;
}
.logo-title {
  font-family: 'Playfair Display','Great Vibes', cursive;
  font-size: 1.3rem;
  user-select: none;
  color: #fff9ec;
 margin-top: 15px ;
}

/* ===== Sidebar أساسي ===== */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px; /* مخفي بالكامل على اليسار */
  width: 250px; /* عرض السايد بار */
  height: 100%;
    background: rgba(79, 83, 51, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding:40px 20px; /* لتجنب التداخل مع الهيدر */
  z-index: 999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* عند فتح السايد بار */
.sidebar.active {
  right: 0;
}

/* Overlay للسايد بار */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}

/* روابط السايد بار */
.sidebar .nav-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding:40px 20px;
  list-style: none;
}

.sidebar .nav-links li {
  width: 100%;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 249, 236, 0.2);
}

.sidebar .nav-links li:last-child {
  border-bottom: none;
}

.sidebar .nav-links li a {
  color: #fff9ec;
  font-size: 1.2rem;
  text-decoration: none;  
  font-weight: 500;
  text-shadow: 0 0 5px #b08d57, 0 0 15px #8a6a3e;
  transition: all 0.3s ease;
}

.sidebar .nav-links li a:hover {
  color: #b08d57;
}

.ico-men{
    display: flex;
    gap: 20px;
    position: absolute;
    right: 0;
    margin: 10px;
}
.nav-icons {
  font-size: 1.5rem;
  color: #fff9ec; 
  cursor: pointer;
}
.nav-icons a {
  color: #fff9ec; 
  text-decoration: none; 
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.hidden {
  display: none !important;
}

#userInfo {
  display:none;
  margin-top: 20px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  gap: 10px;
  text-align: center;
  color: #fff9ec;  
  font-weight: 500;
  text-shadow: 0 0 5px #b08d57, 0 0 15px #8a6a3e;
  transition: all 0.3s ease;
  flex-direction: column;
 /* يجعل النص يبدأ من اليسار أو اليمين حسب اللغة */
  
}
.user-info span {
  display: block;
  line-height: 1.5;
}
#userInfo:hover {
  color: #b08d57;
}

.nav-icons a:hover {
  transform: scale(1.2) rotate(8deg);
}
.nav-icons a:active{
  transform: scale(1.2) rotate(8deg);
}
.hero {
  height: calc(100vh - 40px);
  margin-top: 40px;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  color: #fff9ec; /* ذهبي */
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px)brightness(0.9);
  z-index: 0;
}

.hero-overlay {
  text-align: center;
}

.hero-overlay.no-bg {
  background: none !important;
  padding: 0 !important;
  z-index: 1;
}

.brand-title {
  font-family: 'Playfair Display','open sans', cursive;
  font-size: 5rem;
  margin: 0;
  user-select: none;
  color: #fff9ec;
  display: flex;
  flex-wrap: wrap;
  text-align: center !important;
  justify-content: center;
  align-items: center;
}
[data-key="heroSubtitle"] {
  white-space: pre-line;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 20px 0 30px;
  /*font-weight: 500;*/
  line-height: 1.6;
  color: #fff9ec;
  text-align: center !important;
}
.hero-btn {
  cursor: pointer;  
  background-color: #4f5333; 
  color: #ffffff;
  padding: 4px 10px;
  border-color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  user-select: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero-btn:hover {
  background-color: rgba(118, 120, 84,0.5);
  filter: brightness(1.05);
}

/* Victorian Button */
.victorian-btncont {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  border: 2px solid #b58b42;
  border-radius: 50px;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 23px;
  color: #3a2e14;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 #fff5d1, 0 2px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  background: linear-gradient(180deg, #f9eccc 0%, #e5c477 45%, #caa84f 100%);
  background-blend-mode: overlay;
  box-shadow: 0 10px 25px rgba(58, 46, 20, 0.3), inset 0 1px 2px rgba(255,255,255,0.4);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.victorian-btncont {
  text-decoration: none;
  color: inherit;
}

.victorian-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: inline-block;
}

/* إطار زخرفي حول الزر */
.victorian-btncont::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(181,139,66,0.5);
  border-radius: 46px;
  pointer-events: none;
  opacity: 0.2;
}

/* لمعة تمر فوق الزر */
.victorian-btncont::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: 0.7s;
}

.victorian-btncont:hover::after {
  left: 120%;
}

.victorian-btncont:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(58, 46, 20, 0.4);
}

.victorian-btncont:active {
  transform: translateY(0);
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.3);
  background: linear-gradient(180deg, #e5c477 0%, #caa84f 45%, #b58b42 100%);
}

/*.section-whatever {
  position: relative;
  overflow: hidden;
  padding: 130px 0 200px 0;
  color: #5B5247;
}

.section-bg {
  position: absolute;
  top: 9px;
  left: -10%; /* لتغطية القسم بالكامل عند الميل لليمين *
  width: 120%;
  height: 100%;
  background: linear-gradient(60deg, #FAF6E2 ); /* تغيير الزاوية إلى 60deg *
  transform-origin: right top; /* محور الميل يكون من الزاوية اليمنى *
  transform: skewY(6deg); /* زاوية موجبة للميل لليمين *
  z-index: -2;
}*/
.section-whatever {
  position: relative;
  overflow: visible;
  padding: 130px 0 260px 0;
  color: #463421;
  background: #FAF6E2; /* لون الخلفية */
/*  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%); / الميل من الأسفل فقط */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 80%);
  text-align: center; /* إذا تريدين النص في الوسط */
}
.section-whatever::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 51, 20, 0.7);
  backdrop-filter: blur(2px);
  
}
.section-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:url(../images/backs3.jpg) center center / cover no-repeat ;
  opacity: 0.9;
  z-index: -1;
}

.section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  /*gap: 5%;*/
  position: relative;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  background:linear-gradient(to left,rgba(47, 51, 20, 0.3) ,
   rgba(138, 134, 121, 0.3)) ;
}

.section-content * {
  position: relative;
  z-index: 2;
}

.section-left {
  position: relative;
  text-align: left;
  margin: 2% 0;
  z-index: 2;
}

.section-left .section-title {
  text-align: center;
  font-size: 2rem;
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #fff9ec !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/*.section-left .section-subtitle {
  font-size: 2rem;
  margin: 10px 0;
  font-family: 'Great Vibes', cursive;
}*/

.section-left .section-text {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 1.5%;
  color: #fff9ec !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}


/*.vertical-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #5B5247;
}*/

.section-right {
  flex: 1;
  position: relative;
}
.img-top {
  width:200px;
  left: 25%;
  opacity: 0.7;
  overflow:hidden;
  object-fit:cover;
  display:block;
  z-index: 1;
}
/*.section-right .img-top {
  position: relative;
  width:220px;
  left: 25%;
  overflow:hidden;
  object-fit:cover;
  display:block;

}

/*.section-right .img-bottom {
  position: absolute;
  top: -110px;
  /*right: 0;
  left: 35px;*
  width: 130%;
  z-index: 1;
  overflow:hidden;
  object-fit:cover;
  display:block;
   transform: rotate(-15deg); /* الميل بزاوية 10 درجات *
}*/
/*.decor-letter {
    position: absolute;
    font-size: 200px;
    font-weight: 900;
    color: #9a9c77;
    font-family: the seasons;
    pointer-events: none;
}
.decor-letter.s {
    left: 47%;
    top: 550px;
    transform: translateY(-20%);
}*//*
.decor-letter.s {
    position: absolute;
    left: 50%;           /* توسيط الحرف *
    top: calc(100% - 1720px); /* تحريك حسب القسم *
    transform: translateX(-50%);
    font-size: 13rem;
   /* font-weight: 200;*
    color: #463421;
    font-family: 'Playfair Display';
    pointer-events: none;
    z-index: 2;          /* خلف المحتوى *
}*/
.decor-wrapper {
  position: relative; /* العنصر الحاوي فقط للحرف */
  height: 0;          /* لا يأخذ مساحة مرئية كبيرة */
}

.decor-letter.s {
  position: absolute;
  color: #463421;
  top:-100px;             /* فوق النقطة بين القسمين مباشرة */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13rem;
  z-index: 1;
  pointer-events: none;
}

.services {
  position: relative;
  padding: 20px 10%;
  text-align: center;
  background-color: #f6f3ea;

}

/* خلفية مكونة من ثلاث صور */
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* نستخدم ثلاث صور بخلفية متدرجة عموديًا */
  background-image: 
    url('../images/serba.png'),
    url('../images/serba.png'),
    url('../images/serba.png');
    
  background-repeat: no-repeat;
  background-position: 
    left top,   /* الأولى يسار أعلى */
    right center, /* الثانية يمين وسط */
    left bottom;  /* الثالثة يسار أسفل */
    
  background-size: 30%, 30%, 30%; /* حجم كل صورة */
  opacity: 0.2; /* شفافية الصور */
  z-index: 0;
}
.services * {
  position: relative;
  z-index: 1;
}
.section-title {
  font-size: 4rem;
  margin-top: 30px;
  font-family: 'Playfair Display', serif;
  color: #463421;
  text-align: center !important;
}

.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

.service.reverse {
  flex-direction: row-reverse; /* لعكس مكان النص والصورة */
}

.service-text {
  flex: 1;
  text-align: left;
}

.service-text h3 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #463421;
  font-family: 'Open Sans', sans-serif;
}

.service-text p {
  font-size: 22px;
  font-family: 'Open Sans', sans-serif;
  color: #624837;
  line-height:1.6;
  margin-bottom: 10px;
  display: inline-block;   /* مهم حتى ياخذ الطول فقط للنص */
  border-bottom: 3px solid #463421; /* الخط تحت النص */
  padding-bottom: 5px;     /* مسافة بسيطة بين النص والخط */
}

.service-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.service-img img {
  width: 100%;
  height:350px;
  max-width: 600px;
  object-fit:cover;
}
/*
.decor-letter.g {
    position: absolute;
    left: 50%;           /* توسيط الحرف *
    top: calc(100% - -2195px); /* تحريك حسب القسم *
    transform: translateX(-50%);
    font-size: 8.5rem;
   /* font-weight: 200;*
    color: #4f5333;
    font-family:'Playfair Display';
    pointer-events: none;
    z-index: 1;          /* خلف المحتوى *
}*/
.decor-letter.g {
  position: absolute;
  color: #4f5333;
  top: 60px;             /* فوق النقطة بين القسمين مباشرة */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13rem;
  z-index: 1;
  pointer-events: none;
}
/* ===== القسم الجديد ===== */
.section-gallery {
  position: relative;
  width: 100%;
  padding: 120px 15px 70px;
  background: #FAF6E2;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
  text-align: center;
  overflow: visible;
  background:url(../images/backs4.jpg) center center / cover no-repeat ;
  opacity: 0.9;
  
}

.section-gallery::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(221, 195, 147,0.7);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.section-gallery h2 {
  font-size: 2rem;
  color: #4f5333;
  margin: 40px 0 3px 0;
  text-align: center !important;
}
.section-gallery p {
  font-size: 1.5rem;
  color: #4f5333;
  margin-bottom: 10px;
  margin-top: 5px;
  font-family: 'Great Vibes', cursive;
  text-align: center !important;
}
/* ===== المعرض الرئيسي ===== */
  .gallery {
    --offset: 250px;
    --gap: 60px;
    position: relative;
    height: 470px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 30px;
    padding-top: 0;
  }

  .gallery img {
    position: absolute;
    top: 0;
    width: 310px;
    height: 440px;
    object-fit: cover;
   /* border: 2px solid #e0d6c6; */
   border-radius: 5%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 0 10px rgba(176,141,87,0.2);
    cursor: pointer;
    opacity: 0;
    transform: translateX(0) scale(0.8);
    transition: all 0.5s ease;
    filter: blur(2.5px) brightness(0.85);
    z-index: 0;
  }
  
  .gallery img.center {
    width: 320px;
    height: 450px;
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
    filter: none;
  }
  .gallery img.left {
    transform: translateX(calc(var(--offset) * -1 - var(--gap))) scale(0.8);
    opacity: 0.75;
    z-index: 1;
    filter: blur(2.5px) brightness(0.85);
  }
  .gallery img.right {
    transform: translateX(calc(var(--offset) + var(--gap))) scale(0.8);
    opacity: 0.75;
    z-index: 1;
    filter: blur(2.5px) brightness(0.85);
  }
  
  .gallery img.center:hover {
  transform: translateX(0) scale(1.05);
}

.gallery img.left:hover {
  transform: translateX(calc(var(--offset) * -1 - var(--gap))) scale(0.85);
}

.gallery img.right:hover {
  transform: translateX(calc(var(--offset) + var(--gap))) scale(0.85);
}


  /* أزرار التحكم */
  .controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
  }
  .controls button {
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    border: 2px solid #b58b42;
    background: rgba(181, 139, 66, 0.2);
    color: #4f5333;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
  }
  .controls button:hover {
    background: rgba(181, 139, 66, 0.5);
    transform: scale(1.1);
    border-color: #8a6a3e;
    color: #fff9ec;
  }
  .controls button:active {
    transform: scale(0.95);
  }
  /* النقاط */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}
.dots span {
  width: 10px;
  height: 10px;
  background: #767854b3;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}
.dots span.active {
  background: #a58d5f;
  transform: scale(1.2);
}

  /* ===== Lightbox ===== */
  .lightbox {
  display: none;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
/*  background: rgba(0,0,0,0.9);*/
  border-radius: 20px;
  padding: 20px;
  z-index: 1000;
  flex-direction: column;
  width: 50%;   /* العرض الكلي للـ Lightbox */
  height: auto; /* الارتفاع حسب الصورة */
  max-width: 800px; /* حد أقصى */
}
.lightbox img {
  width: 20vw;      /* العرض 90% من نافذة العرض */
  height: auto;     /* يحافظ على نسبة الطول */
  max-height: 90vh; /* الحد الأقصى للارتفاع 90% من ارتفاع النافذة */
  margin: auto;     /* يثبتها في النص */
  display: block;   /* يخلي المارجن يشتغل */
  box-shadow: 0 0 20px #d4bc8e;
}

  .lightbox img.show {
    opacity: 1;
    position: relative;
  }

  /* حركة حسب الاتجاه */
  .lightbox img.slide-left {
    animation: slideFromRight 0.5s ease;
  }
  .lightbox img.slide-right {
    animation: slideFromLeft 0.5s ease;
  }
  @keyframes slideFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
  }
  @keyframes slideFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
  }

  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #767854;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    z-index: 2000;
  }
  .lightbox .close:hover {
    color: #d4bc8e;
    transform: scale(1.2);
  }
  .lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #767854;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transition: 0.3s;
    z-index: 2000;
  }
  .lightbox .nav:hover {
    color: #d4bc8e;
    transform: scale(1.2) translateY(-50%);
  }
  .lightbox .prev { left: 10px; }
  .lightbox .next { right: 10px; }

/* صورة أسفل يسار 
.section-gallery .bottom-left-img {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 120px;
  opacity: 0.9;
}*/

/*
.section-testimonials {
  position: relative;
  width: 100%;
  padding: 100px 40px;
  background: #FAF6E2;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%); /* ميل من الأسفل: يمين أقصر 
  color: #5B5247;
}

.section-header {
  text-align: right;
  margin-bottom: 60px;
  position: relative;
}

.section-header .main-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  display: inline-block;
}

.section-header .line {
  display: inline-block;
  height: 2px;
  width: 120px;
  background: #5B5247;
  margin: 0 15px;
  vertical-align: middle;
}

.section-header .sub-title {
  font-size: 1.2rem;
  margin-top: 15px;
  font-family: 'Great Vibes', cursive;
  color: #767854;
}

.testimonials-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap; /* عشان يكون متجاوب *
}

.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
}

.testimonial-card .wrap-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.testimonial-card .stars {
  font-size: 1.2rem;
  color: #e1c233; /* لون النجوم *
  margin-bottom: 10px;
}

.testimonial-card .review-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #5B5247;
}

.testimonial-card .client-name {
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-weight: bold;
  color: #9a9c77;
  font-size: 0.9rem;
}
*/
    /* ===== قسم تقييم العملاء ===== */
.testimonials {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: #FAF6E2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 80%);
  color: #4f5333;
  background:url(../images/backs5.jpg) center center / cover no-repeat ;
  opacity: 0.9;
  text-align: center
}

.testimonials::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(221, 195, 147,0.7);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.section-header {
  margin-bottom: 10px;
  position: relative;
}

.section-header .main-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  color: #4f5333;
  text-align: center !important;
}

.section-header .line {
  display: inline-block;
  height: 6px;
  width: 400px;
  background: #9a9c77;
  margin: 0 35px;
  vertical-align: middle;
}


.testimonial-gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  margin:0 0 140px 0;
  position: relative;
}

.testimonial-gallery {
  display: flex;
 overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 25px 20px;
  white-space: nowrap;
  align-items: center;
  margin: 0 140px;
  
}
.testimonial-gallery >*{
  flex-shrink: 0;
}

.testimonial-gallery::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  white-space: normal; 
  border: 3px solid #9a9c77;/*e0d6c6*/
  align-items: center;
 /* background: #fff;*/
  padding: 10px;
  border-radius: 18px;
  width: 180px;
  height: 230px;
  box-shadow: 0 10px 0px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.wrap-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 5px;
}

.client-rating i {
  color: #f2b01e;
  font-size: 0.8rem;
  margin: 0 1px;
}

.review-text {
  font-size: 0.7rem;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #4f5333;
}

.client-name {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #767854;
  font-size: 0.6rem;
}


.decor-letter.c {
  position: absolute;
  color: #9a9c77;
  top: -100px;             /* فوق النقطة بين القسمين مباشرة */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13rem;
  font-family:'Playfair Display';
  z-index: 1;
  pointer-events: none;
}


.contact-section {
  position: relative;
  width: 100%;
  text-align: center;
}

.contact-img-right {
  position: absolute;
  right: 0;
  bottom: 16%;
/*  height: 100%;
  width: 450px; /* عدليها حسب التصميم *
  object-fit: cover;*/
  z-index: 5;
}

.contact-img-left {
  position: absolute;
  left: 0px;
  bottom: 41%;
  width: 170px; /* حجم الديكور */
  z-index: 5;
}

.contact-content {
  position: relative;
  z-index: 2;
}
.contact-content .contact-title{
    color: #4f5333;
    font-size: 2.5rem;
    font-family: 'Open Sans', sans-serif;
    text-align: center !important;
}
.contact-content .contact-text{
    color: #343434;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    text-align: center !important;
}
.contact-btn {
  margin: 20px 0;
}


.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c95c6e; /* لون الموقع */
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: #fff9ec;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  user-select: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.whatsapp-link:hover {
  background-color: #c95c6e80;;
  filter: brightness(1.05);
}

.icon-circle {
  width: 35px;
  height: 35px;
  background: #fff9ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c95c6e;
}

.contact-footer {
  background: #e6ddbb;
  color: #4f5333;
  margin-top: 50px;
  padding: 20px;
}

.contact-footer a {
  text-align: center !important;
}

.contact-foot {
  display: flex;
  justify-content: space-between;
  
  align-items: center;
  padding:0 10%;
}

.info-left {
  display: flex;
  gap: 30px;
}

.info-item {
  text-align: center;
   display: flex;
   gap: 10px;
}

.info-item a {
  display: inline-block;
  text-decoration: none;
  color: #4f5333; /* اللون الافتراضي */
  transition: transform 0.3s, color 0.3s;
}

.info-item a i {
  display: inline-block;
  margin-bottom: 25px; 
  font-size: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}   
/* الظل الواقعي أسفل الأيقونة */
.info-item a i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px; /* المسافة تحت الأيقونة */
  transform: translateX(-50%);
  width: 100%;
  height: 10px;
  background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: all 0.3s ease;
} 
.info-item a:hover i {
  color: #c95c6e; /* لون عند المرور */
 transform: translateY(-3px) scale(1.15);
} 
.info-item a:hover i::after {
  transform: translateX(-50%) scale(0.8);
  opacity: 0.7;
}

.social-right {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 1.5rem;
}

.social-right span {
  margin-right: 5px;
}

.social-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #9a9c77;
  border-radius: 20%;
  color: #4f5333;
  text-decoration: none;
  transition: all 0.3s;
}

.social-right a i {
  font-size: 1rem;
}

.social-right a:hover {
  background-color: #c95c6e; /* لون عند المرور */
  transform: scale(1.2);
  color: #fff9ec;
}


.container-footer {
  margin: auto;
  display: flex; 
  align-items: center;
  justify-content: center;
}
.footer-img{
  width: 50px;
}
footer {
  background-color: #e6ddbb;
  border-top: 3px solid #9a9c77;
  padding: 3px 0;
  text-align: center;
  font-size: 0.9rem;
}


/* ===== 920px ===== */
@media (max-width: 920px) {

.img-top {
    width: 160px;
}
.decor-letter.s {
   top: -80px;
   font-size: 13rem;
  }
   .decor-letter.g {
    font-size: 10rem;
 }
.gallery {
    --offset: 200px;
    --gap: 60px;
}
.gallery img {
    width: 250px;
    height: 430px;
}
.gallery img.center {
    width: 260px;
    height: 440px;
}

.lightbox img {
    width: 35vw;
}
.testimonial-gallery{
  margin: 0 20px;
}
.contact-img-right {
    bottom: 22%;
    width: 180px;
    z-index: 1;
}
.contact-img-left {
    bottom: 51%;
    width: 150px;
    z-index: 1;
}
}

/* ===== 710px ===== */
@media (max-width: 730px) {
    .sidebar {
  width: 200px; /* عرض السايد بار */
} 
.brand-title {
  font-size: 4.3rem; 
}
.hero-subtitle {
    font-size: 1rem;
}
.hero-btn {
    font-size: 1rem;
}
.section-whatever {
    padding: 110px 0 230px 0;
}
.section-left .section-title {
    font-size: 1.8rem;
}
.section-left .section-text {
    font-size: 1.1rem;
}
.img-top {
    width: 150px;
}
.decor-letter.s {
    top: -80px;
    font-size: 10rem;
  }
.services .section-title {
    font-size: 3rem;}
.services {
    padding: 20px 3%
}
.services::before {
   background-size: 40%, 60%, 40%;
}
 .service {
    gap: 20px;
}
  .service-img img { 
    height: 250px;
    margin-top: 150px; 
 }
 .decor-letter.g {
    font-size: 8.5rem;
 }
 .section-gallery h2 {
    font-size: 1.7rem;
 }
 .section-gallery p {
    font-size: 1rem;
 }
 .gallery {
    --offset: 130px;
    --gap: 30px;
    height: 400px;
 }
.gallery img.center {
    width: 180px;
    height: 300px;
 }
 .gallery img {
    width: 160px;
    height: 290px;
 }
 /*
 .lightbox {
    width: 75%;
 }
 .lightbox img {
    width: 40vw;
 }*/
  .section-header .main-title {
  font-size: 1.5rem;
 }
 .section-header .line {
    height: 6px;
    width: 220px;
 }
 .testimonial-gallery-container {
    margin: 0 0 120px 0;
 }
 .testimonial-gallery{
  margin: 0 15px;
 }
 .testimonial-card {
    width: 190px;
    height: 220px;
 }
 .wrap-img {
    width: 100%;
    height: 100px;
 }
 .decor-letter.c {
    top: -80px;
    font-size: 8rem;
 }
 .contact-img-right {
    width: 122px;
    z-index: 0;
    bottom: 30%;
 }
 .contact-img-left {
    bottom: 80%;
    width: 100px;
    z-index: 0;
 }
 .contact-content .contact-title {
    color: #4f5333;
    font-size: 1.8rem;
 }
 .contact-content .contact-text {
    font-size: 1.1rem;
 }
 
.whatsapp-link {
    padding: 8px 13px;
    font-size: 1.2rem;
}
.icon-circle {
    width: 32px;
    height: 32px;
}
.contact-foot {
    padding: 0 ;
}

.info-item a i {
    font-size: 1.2rem;
}
.social-right {
    font-size: 1rem;
}

.social-right a {
    width: 25px;
    height: 25px;
}
}

/* ===== 430px ===== */
@media (max-width: 430px) {
  .logo-title {
    font-size: 1rem;
    margin-top: 20px;  
  }
  .sidebar {
  width: 150px; /* عرض السايد بار */
} 
.sidebar .nav-links li a {
    font-size: 1rem;    
}
.nav-icons {
  font-size: 1rem;
}
.brand-title {
  font-size: 3.3rem; 
}
.hero-subtitle {
    font-size: 0.6rem;
}
.hero-btn {
    font-size: 0.8rem;
}
.section-whatever {
    padding: 90px 0 200px 0;
}
.section-left .section-title {
    font-size: 1.6rem;
}
.section-left .section-text {
    font-size: 0.8rem;
    line-height: 1.3;
}
.decor-letter.s {
  top: -60px;
    font-size: 6rem;
  }
.services .section-title {
    font-size: 2rem;
}
.services {
    padding: 20px 3%
}
.services::before {
   background-size: 60%, 60%, 60%;
}
.service {
    gap: 20px;
}
.service-text h3 { 
    font-size: 20px;
 }
  .service-text p { 
    font-size: 16px; line-height: 1.45;
 }
  .service-img img { 
    height: 150px; 
    width: 200%;
    margin-top: 100px;
 }
  .decor-letter.g {
    font-size: 6rem;
 }
  .section-gallery h2 {
    font-size: 1.5rem;
 }
 .gallery {
    --offset: 103px;
    --gap: 25px;
    height: 350px;
 }
.gallery img.center {
    width: 140px;
    height: 260px;
 }
 .gallery img {
    width: 120px;
    height: 240px;
 }
 .lightbox {
    width: 75%;
 }
 .lightbox img {
    width: 40vw;
 }
 .section-header .main-title {
  font-size: 1.3rem;
 }
 .section-header .line {
    height: 4px;
    width: 200px;
 }
 .testimonial-gallery-container {
    margin: 0 0 100px 0;
 }
 .testimonial-gallery{
  margin: 0;
 }
 .testimonial-card {
    width: 150px;
    height: 200px;
 }
 .wrap-img {
    width: 100%;
    height: 80px;
 }
 .decor-letter.c {
    top: -80px;
    font-size: 8rem;
 }
 .contact-img-right {
    width: 122px;
    z-index: 0;
    bottom: 30%;
 }
 .contact-img-left {
    bottom: 80%;
    width: 100px;
    z-index: 0;
 }
 .contact-content .contact-title {
    color: #4f5333;
    font-size: 1.5rem;
 }
 .contact-content .contact-text {
    font-size: 0.9rem;
 }
 
.whatsapp-link {
    padding: 5px 10px;
    font-size: 1rem;
}
.icon-circle {
    width: 30px;
    height: 30px;
}
.contact-foot {
    padding: 0 ;
    display: block;
}

.info-item a i {
    font-size: 1.5rem;
}
.social-right {
    font-size: 1.2rem;
}
.social-right a {
    width: 30px;
    height: 30px;
}
  }
