/* =========================================================
   site.css — تصميم القالب العام لمواقع أطباء الأسنان
   يعتمد على متغيرات CSS يتم ضبطها ديناميكياً حسب كل عميل
   ========================================================= */
:root {
  --primary: #0f766e;
  --secondary: #0d9488;
  --accent: #f59e0b;
  --primary-rgb: 15, 118, 110;
  --font-main: 'Cairo', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: #1f2937;
  background: #fbfbfc;
}

.text-primary-c { color: var(--primary); }
.bg-primary-c { background-color: var(--primary); }
.bg-secondary-c { background-color: var(--secondary); }
.bg-accent-c { background-color: var(--accent); }
.border-primary-c { border-color: var(--primary); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  transition: all .25s ease;
}
.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(var(--primary-rgb), .5);
}

.btn-accent {
  background: var(--accent);
  color: #1f2937;
  transition: all .25s ease;
}
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.05); }

.section-title-badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), .1);
  color: var(--primary);
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
}

.card-hover {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -15px rgba(0,0,0,.15);
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: #374151;
}
.nav-link.active, .nav-link:hover { color: var(--primary); }

.hero-gradient {
  background: linear-gradient(120deg, rgba(var(--primary-rgb), .95), rgba(var(--primary-rgb), .75));
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.rating-stars i { color: var(--accent); }

.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .25s ease; }

.gallery-item { cursor: zoom-in; overflow: hidden; border-radius: 1rem; }
.gallery-item img { transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }

#lightbox { backdrop-filter: blur(4px); }

.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.floating-badge {
  animation: float-y 3.5s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
