/* =========================================
   GLOBAL PALETTE – HAIR EXPERTS SOFT LUXURY
========================================= */

:root {
  --bg-page: #fff8f4;
  --bg-soft: #fffdfb;
  --bg-card: rgba(255, 255, 255, 0.96);

  --accent-rose: #d88a73;
  --accent-rose-deep: #c46c52;
  --accent-soft-pink: #f4d1c6;
  --accent-soft-beige: #f7e3d5;
  --accent-gold: #d9a45e;

  --text-main: #3f2a2a;
  --text-muted: #8a6e66;
  --border-soft: rgba(214, 183, 164, 0.85);
  --shadow-soft: 0 18px 40px rgba(170, 137, 120, 0.22);
}

/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  direction: rtl;
  text-align: center;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, #fde7dd 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #fbe9df 0, transparent 55%),
    linear-gradient(135deg, #fff8f4, #fceee6);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(248,222,210,0.9), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.55;
  z-index: -1;
}

/* =========================================
   ANIMATIONS (واضحة للجوال والكمبيوتر)
========================================= */

/* دخول عام */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.75s ease-out forwards;
}
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.25s; }
.delay-4 { animation-delay: 0.35s; }
.delay-5 { animation-delay: 0.45s; }
.delay-6 { animation-delay: 0.55s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* شعر خلفية الهيرو يتحرك بوضوح */
@keyframes hairWave {
  0% {
    transform: translateX(-40px) translateY(5px) skewX(-6deg);
    opacity: 0.75;
  }
  50% {
    transform: translateX(10px) translateY(-10px) skewX(-2deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-20px) translateY(8px) skewX(-8deg);
    opacity: 0.85;
  }
}

/* أيقونات تطفو */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* واتساب نبض */
@keyframes pulseWhats {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 32px rgba(187,145,121,0.5);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 22px 44px rgba(187,145,121,0.8);
  }
}

/* صور المعرض */
@keyframes galleryIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.container {
  padding: 80px 20px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.logo {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 4px;
  background: linear-gradient(120deg, #d38b6f, #e7b48b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-sub {
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.main-title {
  font-size: 26px;
  margin-top: 22px;
  line-height: 1.7;
  color: var(--accent-rose-deep);
}

.main-title-en {
  font-size: 17px;
  margin-top: 6px;
  color: var(--text-muted);
  letter-spacing: .5px;
}

.subtitle,
.subtitle-en {
  margin-top: 12px;
  line-height: 1.9;
  font-size: 15.5px;
  color: #5e4741;
}

.section-title {
  font-size: 26px;
  margin-bottom: 8px;
  background: linear-gradient(120deg, #d88a73, #e7b48b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title-en {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: var(--text-muted);
}

.section-text,
.section-text-en {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 15.5px;
  color: #5e4741;
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  padding: 110px 20px 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline: 5%;
  top: 10%;
  height: 260px;
  border-radius: 999px;
  background:
    linear-gradient(130deg, rgba(245,210,193,0.95), rgba(255,255,255,0.98));
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: hairWave 14s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 26px 38px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #fff7f2);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.85),
    var(--shadow-soft);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(248,222,210,0.8), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

/* CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eac398, #d58a73);
  color: #5a352f;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(208,150,111,0.45);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  width: 65%;
  height: 180%;
  background: linear-gradient(115deg, rgba(255,255,255,0.8), transparent);
  top: -40%;
  right: 120%;
  transform: skewX(-25deg);
  opacity: 0;
  transition: all .5s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 22px 40px rgba(191,142,106,0.6);
}

.cta-button:hover::after {
  right: -15%;
  opacity: 1;
}

.cta-icon { font-size: 20px; }
.cta-text { line-height: 1.6; }
.cta-en { font-size: 13px; opacity: 0.9; }

/* =========================================
   PAIN & SOLUTION
========================================= */

.pain-solution { position: relative; }

.before-after {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.ba-item {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffe8dd, #fff);
  border: 1px solid rgba(236, 204, 186, 0.9);
  box-shadow: 0 10px 24px rgba(203,164,141,0.25);
  font-size: 15px;
  color: var(--text-main);
}

.ba-item .emoji { font-size: 20px; margin-bottom: 2px; }
.arrow { font-size: 24px; color: var(--accent-rose); }

/* =========================================
   SERVICES
========================================= */

.services-section { position: relative; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.service-item {
  position: relative;
  padding: 20px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #fff7f1);
  border: 1px solid rgba(234, 209, 193, 0.95);
  box-shadow: 0 12px 30px rgba(196,161,141,0.25);
  text-align: right;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  inset-inline: -20%;
  bottom: -40%;
  height: 60%;
  background: radial-gradient(circle at 50% 0%, rgba(255,221,203,0.9), transparent 65%);
  opacity: .5;
  pointer-events: none;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(187,145,121,0.35);
  border-color: rgba(222,188,167,1);
}

.service-icon { font-size: 26px; margin-bottom: 8px; }
.service-title { font-size: 17px; margin-bottom: 4px; color: var(--accent-rose-deep); }
.service-title-en { font-size: 14px; color: var(--text-muted); }
.service-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #5a433d;
  line-height: 1.8;
}

/* =========================================
   WHY US
========================================= */

.why-us { position: relative; }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.usp-item {
  position: relative;
  padding: 18px 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #fff7f3);
  border: 1px solid rgba(235,210,194,0.95);
  box-shadow: 0 12px 30px rgba(194,160,143,0.25);
  text-align: right;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.usp-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(187,145,121,0.35);
}

.usp-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 6px;
  margin-inline-end: 6px;
  background: radial-gradient(circle at 30% 0%, #fce7cf, #e2b189);
  color: #6c4534;
  box-shadow: 0 8px 18px rgba(188,146,117,0.5);
}

.usp-title { font-size: 15.5px; margin-bottom: 6px; color: #513531; }
.usp-desc  { font-size: 13.5px; color: #7b5b53; line-height: 1.8; }

/* =========================================
   CONTACT / SOCIAL
========================================= */

.contact-container { padding-top: 40px; }

.contact-lead {
  max-width: 720px;
  margin: 8px auto 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.contact-galaxy {
  position: relative;
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 24px 22px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, #fff6f1);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 40px rgba(190,150,125,0.3);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  text-decoration: none;
  background: #fffdfb;
  border: 1px solid rgba(236,210,196,0.95);
  box-shadow: 0 10px 24px rgba(188,146,117,0.2);
  color: var(--text-main);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(184,140,113,0.28);
  border-color: rgba(214,182,164,1);
}

.contact-card.main {
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 18px;
}

.contact-main-top { display: flex; justify-content: flex-end; }

.contact-main-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff8f3;
  border: 1px solid rgba(236,210,196,0.95);
  color: var(--text-muted);
}

.contact-main-body {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

/* ICONS – هنا الحركة الواضحة */
.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(184,140,113,0.6);
  animation: floatIcon 2.8s ease-in-out infinite;
}

/* كل واحدة بتوقيت مختلف */
.card-wa .contact-icon { animation-delay: 0s; }
.card-sn .contact-icon { animation-delay: .4s; }
.card-ig .contact-icon { animation-delay: .8s; }
.card-tt .contact-icon { animation-delay: 1.2s; }
.card-loc .contact-icon { animation-delay: 1.6s; }

/* ألوان لكل منصة */
.card-wa .contact-icon {
  background: linear-gradient(135deg, #e0f7dd, #7cd38a);
  color: #116635;
}
.card-sn .contact-icon {
  background: #fff9c4;
  color: #f6ad00;
}
.card-ig .contact-icon {
  background: radial-gradient(circle at 30% 30%, #ffd66b, #ff8b5c, #f5467f, #d939c5);
}
.card-tt .contact-icon {
  background: #1c1c1c;
}
.card-loc .contact-icon {
  background: linear-gradient(135deg, #f9c0b8, #e57a6a);
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-label {
  font-size: 14px;
  font-weight: 700;
  color: #53322b;
}

.contact-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-sn { grid-column: 1; grid-row: 1; }
.card-ig { grid-column: 3; grid-row: 1; }
.card-tt { grid-column: 1; grid-row: 2; }
.card-loc { grid-column: 3; grid-row: 2; }

.social-strip {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(233,204,188,0.9);
  font-size: 11.5px;
  color: #65453c;
  box-shadow: 0 8px 16px rgba(196,160,143,0.25);
}

.social-chip i { font-size: 14px; }

/* =========================================
   VISUAL GALLERY – صور نانو بنانا
========================================= */

.visual-gallery {
  margin-top: 40px;
  margin-bottom: 90px;
  position: relative;
}

.vg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.vg-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(236,210,196,0.95);
  box-shadow: 0 14px 32px rgba(187,145,121,0.28);
  opacity: 0;
  transform: translateY(40px);
  animation: galleryIn 0.7s ease forwards;
}

.vg-item:nth-child(1) { animation-delay: 0.1s; }
.vg-item:nth-child(2) { animation-delay: 0.2s; }
.vg-item:nth-child(3) { animation-delay: 0.3s; }
.vg-item:nth-child(4) { animation-delay: 0.4s; }
.vg-item:nth-child(5) { animation-delay: 0.5s; }
.vg-item:nth-child(6) { animation-delay: 0.6s; }

.vg-item.large { grid-column: span 2; }

.vg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.vg-item:hover img { transform: scale(1.05); }

/* =========================================
   FOOTER
========================================= */

.footer {
  margin-top: 20px;
  padding: 22px 16px 30px;
  background: linear-gradient(135deg, #fff9f5, #ffece0);
  border-top: 1px solid rgba(236,210,196,0.95);
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecd0b3, #d88a73);
  color: #55322a;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(191,142,106,0.4);
  border: 1px solid rgba(255,255,255,0.9);
  transition: transform .2s ease, box-shadow .2s ease;
}

.shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(186,136,103,0.55);
}

.shop-icon { font-size: 19px; }
.copyright { margin-top: 12px; font-size: 12.5px; color: var(--text-muted); }

/* =========================================
   FLOATING WHATSAPP – نبض واضح
========================================= */

.floating-whatsapp {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0%, #fce7cf, #e2b189);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1a9b4c;
  font-size: 24px;
  box-shadow: 0 16px 32px rgba(187,145,121,0.5);
  border: 2px solid #ffffff;
  z-index: 40;
  animation: pulseWhats 2.6s ease-in-out infinite;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card.main {
    grid-column: auto;
    grid-row: auto;
  }
  .card-sn,
  .card-ig,
  .card-tt,
  .card-loc {
    grid-column: auto;
    grid-row: auto;
  }
  .contact-galaxy {
    padding: 22px 18px 22px;
  }
}

@media (max-width: 768px) {
  .container { padding: 60px 16px; }
  .hero { padding-top: 90px; }
  .hero-content { padding: 26px 18px 30px; }
  .logo { font-size: 38px; }
  .main-title { font-size: 22px; }
  .section-title { font-size: 22px; }

  /* المعرض على الجوال: سلايدر أفقي بالسحب */
  .vg-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .vg-grid::-webkit-scrollbar { height: 4px; }
  .vg-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 999px;
  }
  .vg-item,
  .vg-item.large {
    min-width: 78%;
    scroll-snap-align: center;
    border-radius: 18px;
  }

  .floating-whatsapp {
    bottom: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}
