/* ========================================================
   تأجير لوازم حفلات ومناسبات - بالمنطقة الشرقية
   تصميم عربي RTL احترافي وسريع وخفيف بدون مكتبات خارجية ثقيلة
   ======================================================== */

:root {
  --primary-color: #7b2cbf;
  --primary-hover: #5a189a;
  --secondary-color: #d896ff;
  --accent-gold: #c59b27;
  --dark-bg: #10002b;
  --text-dark: #240046;
  --text-body: #3c3c43;
  --text-muted: #6b7280;
  --light-bg: #fdfbf7;
  --card-bg: #ffffff;
  --border-color: #ebe7df;
  --whatsapp-color: #25d366;
  --call-color: #0284c7;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  direction: rtl;
  font-family: var(--font-family);
  scroll-behavior: smooth;
  background-color: var(--light-bg);
  color: var(--text-body);
  line-height: 1.7;
}

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HEADER & NAV ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.menu-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 6px 10px;
  line-height: 1;
  border-radius: 6px;
  transition: var(--transition);
}

.menu-btn:hover {
  background: #f3f0fa;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 999;
  transition: right 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-drawer.open {
  right: 0;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.nav-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: #f3e8ff;
  color: var(--primary-color);
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  display: none;
}

.backdrop.show {
  display: block;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, #f7f1fc 0%, #fef8ee 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.service-coverage {
  background: #ffffff;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
}

.service-coverage strong {
  color: var(--primary-color);
}

.cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.city-badge {
  background: #f3f0fa;
  color: var(--text-dark);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ================= SECTION HEADINGS ================= */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #f9f8f5;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.85rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ================= SERVICE CARDS (HOME) ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.card-content {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.card-content p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-btn {
  display: inline-block;
  text-align: center;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
}

.card-btn:hover {
  background: var(--primary-hover);
}

/* ================= IMAGE GALLERY (GRID) ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 1.5rem 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #e9ecef;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ================= BREADCRUMBS ================= */
.breadcrumbs {
  background: #f3f0fa;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li::after {
  content: "/";
  margin-right: 8px;
  color: var(--text-muted);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: var(--primary-color);
}

/* ================= SEO CONTENT & KEYWORDS BOX ================= */
.seo-block {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.seo-block h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.keywords-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.keyword-tag {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* ================= FAQ ACCORDION ================= */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.25rem;
  color: var(--text-body);
}

.faq-item.active .faq-answer {
  padding: 0 1.25rem 1rem 1.25rem;
  max-height: 400px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--dark-bg);
  color: #d8cde8;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a:hover {
  color: #ffffff;
  padding-right: 4px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #a491c3;
}

/* ================= FIXED FLOATING BUTTONS ================= */
.fixed-floating-btn {
  position: fixed;
  bottom: 24px;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.fixed-floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.fixed-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* WhatsApp: أسفل يسار الشاشة */
.whatsapp-float {
  left: 20px;
  background-color: var(--whatsapp-color);
}

/* الاتصال: أسفل يمين الشاشة */
.call-float {
  right: 20px;
  background-color: var(--call-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .section {
    padding: 2.5rem 0;
  }
  .fixed-floating-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
  }
  .fixed-floating-btn svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float {
    left: 14px;
  }
  .call-float {
    right: 14px;
  }
}
