/* ================================================= */
/*     JEWELRY STORE - MASTER CSS                    */
/*     يكسر حدود الثيم ويعطي full width              */
/* ================================================= */

@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;700&family=El+Messiri:wght@400;500;600;700&display=swap");

/* ============================================ */
/*  FULL WIDTH OVERRIDE - كسر حدود الثيم        */
/* ============================================ */

html {
  overflow-x: clip;
}

.jw-fullwidth-wrap {
  position: relative;
  width: calc(100vw - 17px);
  margin-left: calc(-50vw + 50% + 8.5px);
  margin-right: calc(-50vw + 50% + 8.5px);
  font-family: "Tajawal", Arial, sans-serif;
  direction: rtl;
  color: #1a1a1a;
  line-height: 1.7;
}

/* Container داخلي للمحتوى */
.jw-inner-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================ */
/*  SHARED SECTION HEADER                       */
/* ============================================ */

.jw-section-header {
  text-align: center;
  margin-bottom: 55px;
}

.jw-section-label {
  font-family: "Tajawal", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #d4a574;
  display: block;
  margin-bottom: 14px;
}

.jw-section-title {
  font-family: "El Messiri", serif;
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.jw-section-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
  margin: 0 auto;
}

/* ============================================ */
/*  1. HERO SECTION                             */
/* ============================================ */

.jw-hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  max-height: 750px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.jw-hero-img-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.jw-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: jw-subtleZoom 20s ease-in-out infinite;
}

@keyframes jw-subtleZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.jw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
  z-index: 2;
}

.jw-hero-content {
  position: relative;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  z-index: 3;
}

.jw-hero-text {
  max-width: 650px;
  color: #fff;
  text-align: right;
  animation: jw-fadeInRight 1.2s ease-out;
}

@keyframes jw-fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.jw-hero-text h1 {
  font-family: "El Messiri", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 26px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.jw-hero-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.jw-hero-btn {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  padding: 18px 50px;
  border: 2px solid #fff;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.jw-hero-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================ */
/*  2. CATEGORIES SECTION                       */
/* ============================================ */

.jw-categories-section {
  padding: 80px 0;
  background: #ffffff;
}

.jw-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  justify-items: center;
}

.jw-category-item {
  text-align: center;
  text-decoration: none;
  transition: transform 0.4s ease;
  animation: jw-fadeInUp 0.7s ease-out backwards;
}

.jw-category-item:nth-child(1) {
  animation-delay: 0.1s;
}
.jw-category-item:nth-child(2) {
  animation-delay: 0.2s;
}
.jw-category-item:nth-child(3) {
  animation-delay: 0.3s;
}
.jw-category-item:nth-child(4) {
  animation-delay: 0.4s;
}
.jw-category-item:nth-child(5) {
  animation-delay: 0.5s;
}
.jw-category-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes jw-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jw-category-item:hover {
  transform: translateY(-8px);
}

.jw-category-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #f5f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.jw-category-item:hover .jw-category-circle {
  background: #f0ece5;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.jw-category-circle img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.jw-category-circle svg {
  width: 65%;
  height: 65%;
  transition: transform 0.4s ease;
}

.jw-category-item:hover .jw-category-circle img,
.jw-category-item:hover .jw-category-circle svg {
  transform: scale(1.1);
}

.jw-category-name {
  font-family: "El Messiri", serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.jw-category-name::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #d4a574;
  transition: width 0.4s ease;
}

.jw-category-item:hover .jw-category-name {
  color: #d4a574;
}
.jw-category-item:hover .jw-category-name::after {
  width: 30px;
}

/* ============================================ */
/*  3. PRODUCTS SECTION                         */
/* ============================================ */

.jw-products-section {
  padding: 60px 0;
  background: #ffffff;
}

.jw-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.jw-product-card {
  position: relative;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.jw-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.jw-product-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.jw-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
  z-index: 1;
}

.jw-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.jw-product-card:hover .jw-product-image img {
  transform: scale(1.08);
}

.jw-discount-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #d4a574, #c99456);
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.jw-product-content {
  position: absolute;
  bottom: 28px;
  right: 28px;
  left: 28px;
  z-index: 2;
}

.jw-product-title {
  font-family: "El Messiri", serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.jw-shop-link {
  display: inline-block;
  font-family: "Tajawal", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.jw-shop-link:hover {
  color: #d4a574;
  border-color: #d4a574;
}

/* ============================================ */
/*  4. FEATURED SECTION                         */
/* ============================================ */

.jw-featured-section {
  padding: 80px 0;
  background: #ffffff;
}

.jw-featured-wrapper {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
}

.jw-featured-text {
  padding-left: 30px;
  animation: jw-fadeInRight 0.8s ease-out;
}

.jw-featured-title {
  font-family: "El Messiri", serif;
  font-size: 44px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 24px;
}

.jw-featured-description {
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.jw-featured-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4a574, #c99456);
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1.5px;
  padding: 16px 42px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
  position: relative;
  overflow: hidden;
}

.jw-featured-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s;
}

.jw-featured-btn:hover::before {
  left: 100%;
}

.jw-featured-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.jw-featured-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.jw-featured-image-box {
  overflow: hidden;
  height: 480px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}

.jw-featured-image-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.13);
}

.jw-featured-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.jw-featured-image-box:hover img {
  transform: scale(1.07);
}

/* ============================================ */
/*  5. PARALLAX SECTION                         */
/* ============================================ */

.jw-parallax-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.jw-parallax-image {
  position: absolute;
  inset: 0;
  background-image: url("https://demos.codezeel.com/wordpress/WCM09/WCM090225/default/wp-content/uploads/2025/05/parallax-banner-1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.jw-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
  z-index: 2;
}

.jw-parallax-container {
  position: relative;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  z-index: 3;
}

.jw-parallax-content {
  max-width: 650px;
  color: #fff;
  text-align: right;
}

.jw-parallax-title {
  font-family: "El Messiri", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 26px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.jw-parallax-description {
  font-family: "Tajawal", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.jw-parallax-btn {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  padding: 18px 50px;
  border: 2px solid #fff;
  transition: all 0.4s ease;
}

.jw-parallax-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================ */
/*  6. FEATURES SECTION                         */
/* ============================================ */

.jw-features-section {
  padding: 80px 0;
  background: #fafafa;
}

.jw-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.jw-feature-item {
  text-align: center;
  padding: 25px 15px;
  transition: transform 0.4s ease;
  animation: jw-fadeInUp 0.6s ease-out backwards;
}

.jw-feature-item:nth-child(1) {
  animation-delay: 0.1s;
}
.jw-feature-item:nth-child(2) {
  animation-delay: 0.2s;
}
.jw-feature-item:nth-child(3) {
  animation-delay: 0.3s;
}
.jw-feature-item:nth-child(4) {
  animation-delay: 0.4s;
}

.jw-feature-item:hover {
  transform: translateY(-5px);
}

.jw-feature-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.jw-feature-item:hover .jw-feature-icon {
  transform: scale(1.1);
}

.jw-feature-icon svg {
  width: 55px;
  height: 55px;
  stroke: #1a1a1a;
  stroke-width: 1.5;
  fill: none;
}

.jw-feature-title {
  font-family: "El Messiri", serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.jw-feature-description {
  font-family: "Tajawal", sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================ */
/*  7. BANNERS SECTION                          */
/* ============================================ */

.jw-banners-section {
  padding: 60px 0;
  background: #ffffff;
}

.jw-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.jw-banner-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.jw-banner-card:hover .jw-banner-img {
  transform: scale(1.05);
}
.jw-banner-card:hover .jw-banner-gold-line {
  opacity: 1;
}
.jw-banner-card:hover .jw-banner-cta {
  opacity: 1;
}

.jw-banner-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.jw-banner-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.jw-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(15, 10, 5, 0.65) 100%
  );
}

.jw-banner-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 36px 32px;
  z-index: 2;
  text-align: right;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.jw-banner-card:hover .jw-banner-content {
  transform: translateY(0);
}

.jw-banner-heading {
  font-family: "El Messiri", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  color: #f7f4f0;
  margin: 0 0 16px 0;
}

.jw-banner-heading span {
  color: #d4b896;
  font-weight: 700;
}

.jw-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Tajawal", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #f7f4f0;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  letter-spacing: 1.2px;
}

.jw-banner-cta-line {
  display: block;
  width: 30px;
  height: 1px;
  background: #d4a574;
  transition: width 0.3s ease;
}

.jw-banner-card:hover .jw-banner-cta-line {
  width: 46px;
}

/* ============================================ */
/*  8. TESTIMONIALS SECTION                     */
/* ============================================ */

.jw-testimonials-section {
  padding: 100px 30px;
  background: #fafafa;
  text-align: center;
}

.jw-testimonials-section .jw-section-label {
  font-family: "Tajawal", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #d4a574;
  display: block;
  margin-bottom: 14px;
}

.jw-tst-title {
  font-family: "El Messiri", serif;
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.jw-tst-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
  margin: 0 auto 70px;
}

.jw-tst-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.jw-tst-track {
  position: relative;
  min-height: 300px;
}

.jw-tst-slide {
  position: absolute;
  width: 100%;
  top: 0;
  opacity: 0;
  animation: jw-tstAnim 15s infinite;
}

.jw-tst-slide:nth-child(1) {
  animation-delay: 0s;
}
.jw-tst-slide:nth-child(2) {
  animation-delay: 5s;
}
.jw-tst-slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes jw-tstAnim {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  6% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  36% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.jw-tst-stars {
  font-size: 14px;
  color: #d4a574;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.jw-tst-quote {
  font-family: "El Messiri", serif;
  font-size: 56px;
  color: #d4a574;
  line-height: 0.8;
  margin-bottom: 28px;
  opacity: 0.45;
}

.jw-tst-text {
  font-family: "Tajawal", sans-serif;
  font-size: 18px;
  color: #555;
  line-height: 2;
  max-width: 720px;
  margin: 0 auto 34px;
}

.jw-tst-sep {
  width: 36px;
  height: 1px;
  background: #d4a574;
  margin: 0 auto 20px;
}

.jw-tst-name {
  font-family: "El Messiri", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.jw-tst-position {
  font-family: "Tajawal", sans-serif;
  font-size: 13px;
  color: #aaa;
  letter-spacing: 1.5px;
}

.jw-tst-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 52px;
}

.jw-tst-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
}

.jw-tst-dot:nth-child(1) {
  animation: jw-dotActive 15s infinite 0s;
}
.jw-tst-dot:nth-child(2) {
  animation: jw-dotActive 15s infinite 5s;
}
.jw-tst-dot:nth-child(3) {
  animation: jw-dotActive 15s infinite 10s;
}

@keyframes jw-dotActive {
  0% {
    width: 28px;
    border-radius: 4px;
    background: #d4a574;
  }
  33% {
    width: 28px;
    border-radius: 4px;
    background: #d4a574;
  }
  40% {
    width: 8px;
    border-radius: 50%;
    background: #ddd;
  }
  100% {
    width: 8px;
    border-radius: 50%;
    background: #ddd;
  }
}

/* ============================================ */
/*  RESPONSIVE                                  */
/* ============================================ */

@media (max-width: 1023px) {
  .jw-hero-text h1 {
    font-size: 46px;
  }
  .jw-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
  .jw-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jw-featured-wrapper {
    gap: 40px;
  }
  .jw-featured-image-box {
    height: 400px;
  }
  .jw-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .jw-parallax-title {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .jw-hero-section {
    height: 65vh;
  }
  .jw-hero-text h1 {
    font-size: 36px;
  }
  .jw-hero-text p {
    font-size: 16px;
  }
  .jw-hero-content {
    padding: 0 25px;
  }
  .jw-section-title {
    font-size: 30px;
  }
  .jw-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .jw-category-circle {
    width: 105px;
    height: 105px;
  }
  .jw-products-grid {
    gap: 20px;
  }
  .jw-product-card {
    height: 340px;
  }
  .jw-featured-wrapper {
    grid-template-columns: 1fr;
  }
  .jw-featured-text {
    padding-left: 0;
    text-align: center;
  }
  .jw-featured-description {
    margin: 0 auto 30px;
  }
  .jw-featured-images {
    grid-template-columns: 1fr;
  }
  .jw-featured-image-box {
    height: 340px;
  }
  .jw-parallax-image {
    background-attachment: scroll;
  }
  .jw-parallax-title {
    font-size: 36px;
  }
  .jw-parallax-container {
    padding: 0 30px;
  }
  .jw-banner-img {
    height: 360px;
  }
  .jw-tst-track {
    min-height: 340px;
  }
  .jw-tst-title {
    font-size: 30px;
  }
}

@media (max-width: 599px) {
  .jw-hero-text h1 {
    font-size: 30px;
  }
  .jw-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .jw-category-circle {
    width: 95px;
    height: 95px;
  }
  .jw-products-grid {
    grid-template-columns: 1fr;
  }
  .jw-features-grid {
    grid-template-columns: 1fr;
  }
  .jw-banners-grid {
    grid-template-columns: 1fr;
  }
  .jw-banner-img {
    height: 320px;
  }
  .jw-parallax-title {
    font-size: 30px;
  }
  .jw-tst-track {
    min-height: 380px;
  }
  .jw-inner-container {
    padding: 0 18px;
  }
}

@media (max-width: 479px) {
  .jw-hero-text h1 {
    font-size: 26px;
  }
  .jw-section-title {
    font-size: 26px;
  }
  .jw-featured-title {
    font-size: 28px;
  }
  .jw-tst-title {
    font-size: 26px;
  }
  .jw-tst-text {
    font-size: 16px;
  }
  .jw-tst-track {
    min-height: 400px;
  }
}
