/*
Theme Name: السلام الدولي لتكسير الخرسانة
Theme URI: https://elsalam-eldawly.com/
Author: السلام الدولي
Description: قالب ووردبريس عربي متجاوب لشركة السلام الدولي لتكسير وقص وتخريم الخرسانة بخميس مشيط، بتصميم أصفر وفحمي ومحتوى رئيسي محسّن لمحركات البحث.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: elsalam-international
*/

:root{
  --es-gold:#f5b51b;
  --es-gold-2:#ffc83d;
  --es-dark:#152124;
  --es-dark-2:#0f1719;
  --es-text:#252525;
  --es-muted:#6a6a6a;
  --es-bg:#f6f6f6;
  --es-white:#ffffff;
  --es-radius:18px;
  --es-shadow:0 12px 35px rgba(0,0,0,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Tahoma,Arial,sans-serif;background:#fff;color:var(--es-text);direction:rtl;line-height:1.95}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.es-container{width:min(1180px,92%);margin:auto}
.es-section{padding:72px 0}
.es-center{text-align:center}
.es-kicker{color:#a87500;font-weight:800;margin-bottom:8px}
.es-title{font-size:clamp(28px,4vw,42px);line-height:1.4;margin:0 0 14px;color:var(--es-dark)}
.es-sub{max-width:850px;margin:0 auto 30px;color:var(--es-muted)}

/* Header */
.es-header{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.07);position:sticky;top:0;z-index:1000}
.es-header-inner{min-height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.es-header-actions{display:flex;gap:10px;justify-content:flex-start}
.es-circle{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f5f5f5;font-size:20px}
.es-brand{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900;color:#141414}
.es-brand .custom-logo{max-height:56px;width:auto}
.es-fallback-logo{width:56px;height:56px;border-radius:50%;background:var(--es-gold);display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.25;font-weight:900}
.es-menu-toggle{justify-self:end;width:44px;height:44px;border:0;background:#f5f5f5;border-radius:50%;font-size:23px;cursor:pointer}
.es-nav{display:none;background:#fff;border-top:1px solid #eee}
.es-nav.open{display:block}
.es-nav ul{list-style:none;margin:0;padding:14px 0;display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.es-nav a{font-weight:700;color:#222}

/* Hero / background slider */
.es-hero{position:relative;min-height:680px;display:flex;align-items:center;color:#fff;background:#101819;overflow:hidden}
.es-hero-slides,.es-hero-overlay{position:absolute;inset:0}
.es-hero-slides{z-index:0;background:linear-gradient(135deg,#203033,#101819)}
.es-hero-slide{position:absolute;inset:-2%;opacity:0;background-size:cover;background-position:center;transition:opacity 1.15s ease;transform:scale(1.025);will-change:opacity,transform;pointer-events:none}
.es-hero-slide.is-active{opacity:1;animation:esHeroZoom 7s ease-out both}
.es-hero-fallback{background:linear-gradient(135deg,#2b3f42,#101819)}
.es-hero-overlay{z-index:1;background:linear-gradient(rgba(10,23,26,.78),rgba(10,23,26,.88))}
.es-hero-inner{position:relative;z-index:2;text-align:center;max-width:980px;margin:auto;padding:78px 0 185px}
@keyframes esHeroZoom{from{transform:scale(1.025)}to{transform:scale(1.075)}}
.es-slider-dots{display:flex;justify-content:center;gap:9px;margin-top:24px}
.es-slider-dot{width:11px;height:11px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.45);cursor:pointer;transition:.2s}
.es-slider-dot.is-active{width:30px;border-radius:999px;background:var(--es-gold)}
.es-badge{display:inline-block;padding:8px 18px;background:var(--es-gold);color:#111;border-radius:999px;font-weight:900;margin-bottom:18px}
.es-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.35;margin:0;color:#fff}
.es-hero h1 span{color:var(--es-gold-2)}
.es-rule{display:block;width:150px;height:6px;border-radius:10px;background:var(--es-gold);margin:24px auto}
.es-hero p{font-size:18px;max-width:820px;margin:0 auto 28px;color:#f6f6f6}
.es-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.es-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 28px;border-radius:7px;font-weight:900;transition:.2s}
.es-btn:hover{transform:translateY(-2px)}
.es-btn-gold{background:var(--es-gold);color:#111}
.es-btn-white{background:#fff;color:#111}
.es-btn-dark{background:var(--es-dark);color:#fff}

/* Lead Form */
.es-lead-wrap{margin-top:-120px;position:relative;z-index:5}
.es-lead{max-width:940px;margin:auto;background:#fff;border-radius:22px;padding:34px;box-shadow:0 18px 48px rgba(0,0,0,.18)}
.es-lead h2{text-align:center;margin:0 0 6px;font-size:29px}
.es-lead>p{text-align:center;margin:0 0 24px;color:#666}
.es-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.es-field{width:100%;padding:15px;border:1px solid #d7d7d7;border-radius:8px;background:#fff;font:inherit;color:#222}
.es-submit{width:100%;border:0;background:linear-gradient(135deg,var(--es-gold),var(--es-gold-2));padding:16px;border-radius:8px;font:inherit;font-weight:900;margin-top:14px;cursor:pointer}

/* Stats */
.es-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:48px}
.es-stat{background:#fff;border-radius:16px;padding:24px 14px;text-align:center;box-shadow:var(--es-shadow)}
.es-stat strong{display:block;font-size:28px;color:#a87500}.es-stat span{color:#666;font-size:14px}

/* Cards */
.es-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.es-card{background:#fff;border-radius:16px;padding:27px;box-shadow:var(--es-shadow);border-top:4px solid var(--es-gold)}
.es-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff3cc;font-size:28px;margin-bottom:15px}
.es-card h3{margin:0 0 10px;font-size:21px}.es-card p{margin:0 0 15px;color:#666}.es-more{font-weight:900;color:#956700}

/* Article */
.es-article{background:#fff}.es-article-inner{max-width:1000px;margin:auto}
.es-article h2{font-size:30px;line-height:1.45;margin:44px 0 15px;border-right:5px solid var(--es-gold);padding-right:14px}
.es-article h3{font-size:23px;margin:28px 0 12px}.es-article p{font-size:17px;color:#404040;margin:0 0 18px}
.es-highlight{background:#fff7d9;border-right:5px solid var(--es-gold);padding:22px;border-radius:10px;margin:26px 0}
.es-highlight strong{color:#795300}

/* Steps */
.es-dark{background:var(--es-dark);color:#fff}.es-dark .es-title{color:#fff}.es-dark .es-sub{color:#d8d8d8}
.es-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.es-step{text-align:center;padding:24px 12px;border:1px solid rgba(255,255,255,.13);border-radius:14px}
.es-num{width:48px;height:48px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--es-gold);color:#111;font-weight:900;font-size:20px}

/* Areas & links */
.es-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.es-chip{background:#fff;border:1px solid #e5e5e5;padding:10px 17px;border-radius:999px;box-shadow:0 3px 12px rgba(0,0,0,.05)}
.es-link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.es-link-card{background:#fff;border:1px solid #e5e5e5;padding:20px;border-radius:12px}.es-link-card strong{display:block;margin-bottom:5px}.es-link-card span{font-size:14px;color:#666}

/* FAQ */
.es-faq{max-width:950px;margin:auto}.es-faq details{background:#fff;border:1px solid #e2e2e2;border-radius:10px;margin-bottom:12px;overflow:hidden}.es-faq summary{padding:18px;background:#fafafa;font-weight:900;cursor:pointer}.es-faq p{padding:0 18px 18px;margin:0;color:#555}

/* Posts */
.es-posts{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.es-post{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--es-shadow)}.es-post .thumb{aspect-ratio:16/10;background:#ececec;overflow:hidden}.es-post .thumb img{width:100%;height:100%;object-fit:cover}.es-post .body{padding:18px}.es-post h3{font-size:18px;line-height:1.6;margin:0 0 9px}.es-post p{font-size:14px;color:#666;margin:0}

/* CTA/Footer */
.es-cta{background:linear-gradient(135deg,#e8a900,#ffcc41);padding:58px 20px;text-align:center}.es-cta h2{font-size:34px;margin:0 0 10px}.es-cta p{max-width:760px;margin:0 auto 22px}
.es-footer{background:#0f1719;color:#ccc;padding:48px 0 155px}.es-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.es-footer h3{color:#fff}.es-footer a{color:#eee}
.es-footer-credits{margin-top:34px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);text-align:center;font-size:14px;line-height:1.8}
.es-footer-credits p{margin:4px 0}.es-alzaeem-credit{color:#fff;margin-top:14px!important;padding:12px 16px;border:1px solid rgba(245,181,27,.35);border-radius:10px;background:rgba(245,181,27,.08)}.es-alzaeem-credit a{color:var(--es-gold);font-weight:900}.es-alzaeem-credit strong{color:inherit}
.es-bottom{position:fixed;z-index:1200;bottom:0;right:0;left:0;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -2px 15px rgba(0,0,0,.22)}.es-bottom a{background:var(--es-gold);color:#111;text-align:center;padding:10px 5px;font-weight:900;border-left:1px solid rgba(0,0,0,.12)}.es-bottom span{display:block;font-size:22px;line-height:1.1}

/* Generic templates */
.es-content{padding:60px 0;max-width:900px;margin:auto}.es-content h1{font-size:38px;line-height:1.4}.es-content h2{margin-top:34px}.es-content p{font-size:17px;color:#444}
.es-pagination{margin:30px 0;display:flex;gap:10px;justify-content:center}

@media(max-width:900px){.es-grid{grid-template-columns:1fr 1fr}.es-steps{grid-template-columns:1fr 1fr}.es-stats{grid-template-columns:1fr 1fr}.es-posts{grid-template-columns:1fr 1fr}.es-link-grid{grid-template-columns:1fr 1fr}.es-footer-grid{grid-template-columns:1fr}.es-header-inner{grid-template-columns:auto 1fr auto}.es-brand span:last-child{display:none}}
@media(max-width:600px){.es-section{padding:50px 0}.es-hero{min-height:600px}.es-hero-inner{padding:60px 0 165px}.es-hero p{font-size:16px}.es-lead{padding:24px 18px}.es-form-grid,.es-grid,.es-steps,.es-link-grid,.es-posts{grid-template-columns:1fr}.es-header-actions .es-circle:first-child{display:none}.es-title{font-size:28px}.es-content h1{font-size:30px}}
