:root {
  --gold: #c9a227; --gold-light: #e6c75a; --gold-dark: #a8841a;
  --dark: #1a1a1a; --white: #ffffff; --text: #333333;
  --wa: #25d366; --phone: #0078d4; --bg: #f9f7f2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Tajawal', sans-serif; direction: rtl; background: var(--bg); color: var(--text); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* الهيدر */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(26,26,26,0.95); backdrop-filter: blur(10px); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 15px rgba(0,0,0,0.3); }
.header .logo { display: flex; align-items: center; justify-content: center; }
.header .logo img { max-height: 65px; width: auto; object-fit: contain; }
.header-btns { display: flex; gap: 10px; align-items: center; }
.menu-btn { background: transparent; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 5px; }
.menu-btn svg { width: 32px; height: 32px; fill: currentColor; }
.btn-quote { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: all 0.3s ease; border: none; cursor: pointer; background: var(--gold); color: #1a1a1a; }
.btn-quote:hover { background: var(--gold-light); transform: translateY(-2px); }

/* القائمة الجانبية */
.sidebar { position: fixed; top: 0; right: -320px; width: 320px; height: 100vh; background: var(--dark); z-index: 2000; transition: right 0.4s ease; box-shadow: -5px 0 20px rgba(0,0,0,0.5); padding: 25px; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.sidebar-header h3 { color: var(--gold); font-size: 22px; font-weight: 800; }
.close-btn { background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.sidebar-links { display: flex; flex-direction: column; gap: 12px; }
.sidebar-links a { color: #eee; font-size: 17px; font-weight: 600; transition: all 0.3s; padding: 8px 10px; border-radius: 8px; }
.sidebar-links a:hover { color: var(--dark); background: var(--gold); transform: translateX(-5px); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1500; display: none; opacity: 0; transition: opacity 0.3s; }
.overlay.active { display: block; opacity: 1; }

/* الهيرو */
.hero { position: relative; min-height: 75vh; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; padding: 40px 20px; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 900; margin-bottom: 20px; text-shadow: 0 3px 15px rgba(0,0,0,0.6); }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: clamp(15px, 2vw, 20px); margin-bottom: 30px; color: #eee; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* العدادات (الشكل المقوس الجديد) */
.stats { display: flex; justify-content: center; gap: 30px; padding: 70px 20px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; margin-top: -50px; position: relative; z-index: 10; }
.stat-box { background: #fff; border-radius: 50px; padding: 20px 40px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 2px solid rgba(201,162,39,0.4); transition: all 0.4s ease; min-width: 180px; }
.stat-box:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 15px 40px rgba(201,162,39,0.4); }
.stat-num { font-size: 45px; font-weight: 900; color: var(--gold-dark); display: flex; align-items: center; justify-content: center; gap: 5px; }
.stat-num .plus { color: var(--gold); font-size: 30px; }
.stat-label { font-size: 16px; margin-top: 5px; color: var(--dark); font-weight: 700; }

/* المربعات الصغيرة للأقسام */
.sections-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.mini-card { background: #fff; border: 2px solid var(--gold); border-radius: 15px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--dark); font-weight: 800; font-size: 15px; transition: all 0.3s ease; text-align: center; }
.mini-card:hover { background: var(--gold); color: #fff; transform: translateY(-5px); }
.mini-card svg { width: 28px; height: 28px; fill: var(--gold); transition: fill 0.3s; }
.mini-card:hover svg { fill: #fff; }

/* السلايدر */
.gallery-slider { padding: 40px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.gallery-slider h2 { font-size: 32px; color: var(--dark); margin-bottom: 30px; font-weight: 900; }
.gallery-slider h2 span { color: var(--gold); }
.slider-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.slider-track { display: flex; transition: transform 0.6s ease; }
.slider-track img { width: 100%; height: 400px; object-fit: cover; flex-shrink: 0; cursor: pointer; }

/* صفوف الأقسام */
.section-row { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.section-row-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; border-bottom: 2px solid var(--gold-light); padding-bottom: 10px; }
.section-row-header h2 { font-size: 26px; font-weight: 900; color: var(--dark); }
.section-row-header h2 span { color: var(--gold); }
.section-row-header .row-btns { display: flex; gap: 10px; }
.cards-2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(201, 162, 39, 0.3); }
.card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 15px; text-align: center; }
.card-body h4 { color: var(--gold-dark); font-size: 18px; margin-bottom: 5px; font-weight: 800; }
.card-body p { font-size: 14px; color: #666; line-height: 1.8; text-align: justify; }

/* آراء العملاء */
.reviews-section { background: var(--dark); padding: 60px 20px; text-align: center; color: #fff; overflow: hidden; }
.reviews-section h2 { font-size: 32px; color: var(--gold-light); margin-bottom: 40px; font-weight: 900; }
.reviews-track { display: flex; gap: 20px; transition: transform 0.5s ease; width: max-content; padding: 10px; }
.review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.3); border-radius: 15px; padding: 25px; width: 320px; text-align: right; backdrop-filter: blur(10px); }
.stars { color: var(--gold); font-size: 20px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: #ddd; margin-bottom: 15px; font-style: italic; line-height: 1.8; }
.review-name { font-weight: 800; color: #fff; font-size: 16px; }
.review-city { font-size: 13px; color: var(--gold-light); }

/* لماذا تختارنا */
.why-us { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 50px 20px; max-width: 1100px; margin: 0 auto; text-align: center; }
.feature-box { background: #fff; border-radius: 15px; padding: 25px 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--gold); transition: all 0.3s; }
.feature-box:hover { transform: translateY(-5px); }
.feature-box svg { width: 40px; height: 40px; fill: var(--gold); margin-bottom: 10px; }
.feature-box h4 { font-size: 18px; font-weight: 800; color: var(--dark); }

/* الفوتر */
.footer { background: #0a0a0a; color: #aaa; text-align: center; padding: 40px 20px; font-size: 14px; line-height: 2; border-top: 3px solid var(--gold); }
.footer .brand { color: var(--gold); font-weight: 800; font-size: 18px; display: block; margin-bottom: 10px; }
.footer .dev { color: #fff; font-weight: bold; display: block; margin-bottom: 5px; }
.footer .wa-link { color: var(--wa); font-weight: bold; font-size: 16px; display: inline-block; direction: ltr; }
.map-container { margin-bottom: 20px; border-radius: 10px; overflow: hidden; }

/* صفحات الأقسام */
.page-banner { position: relative; height: 40vh; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; color: #fff; border-bottom: 5px solid var(--gold); }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.page-banner h1 { position: relative; z-index: 1; font-size: 42px; font-weight: 900; color: var(--gold-light); text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.center-btn { text-align: center; margin-top: 40px; }

/* الأزرار العائمة */
.float-btns { position: fixed; bottom: 25px; left: 25px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.float-btns a { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.float-btns a:hover { transform: scale(1.15); }
.float-btns .wa { background: var(--wa); animation: pulse 2s infinite; }
.float-btns .ph { background: var(--phone); animation: pulse-ph 2s infinite; }
.float-btns .tk { background: #000; border: 1px solid var(--gold); animation: pulse-tk 2s infinite; }
.float-btns svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } }
@keyframes pulse-ph { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,120,212,0.7); } 50% { box-shadow: 0 0 0 15px rgba(0,120,212,0); } }
@keyframes pulse-tk { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.7); } 50% { box-shadow: 0 0 0 15px rgba(201,162,39,0); } }

@media (max-width: 768px) {
  .header { padding: 10px 12px; } .header .logo img { max-height: 45px; }
  .header-btns .btn-quote span { display: none; }
  .slider-track img { height: 250px; } .stat-num { font-size: 32px; } .page-banner h1 { font-size: 28px; }
  .cards-2-grid { grid-template-columns: 1fr; }
  .section-row-header { flex-direction: column; text-align: center; }
  .review-card { width: 280px; }
}