/*
Theme Name: Alsaqr Contracting
Theme URI: https://alsaqr.com.sa/
Author: OpenAI
Description: قالب عربي احترافي لشركة الصقر الثاقب للمقاولات، متجاوب للموبايل والكمبيوتر، بتصميم أسود وذهبي.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: alsaqr
*/
:root{--gold:#d5a33a;--gold2:#f3ca6d;--black:#0b1013;--black2:#12181c;--white:#fff;--muted:#9ba2a7;--light:#f6f6f4;--radius:10px;--shadow:0 12px 32px rgba(0,0,0,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,sans-serif;background:#fff;color:#111;direction:rtl;line-height:1.75}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.section{padding:64px 0}.section-title{text-align:center;margin:0 0 8px;font-size:38px;font-weight:800}.section-sub{text-align:center;color:#747b80;margin:0 0 34px}.gold-line{width:58px;height:3px;background:var(--gold);display:inline-block;vertical-align:middle;margin-inline-start:10px}
.topbar{background:#0d1317;color:#fff;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px}.topbar .inner{display:flex;justify-content:space-between;align-items:center;min-height:40px;gap:18px}.top-contact,.socials{display:flex;align-items:center;gap:22px}.top-contact span{direction:ltr}.top-contact b{color:var(--gold2);font-weight:600}
.site-header{position:sticky;top:0;z-index:100;background:rgba(9,14,17,.97);color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.18)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:25px}.brand{display:flex;align-items:center;gap:12px;min-width:205px}.brand img{width:200px;max-height:65px;object-fit:contain}.nav-menu{display:flex;align-items:center;gap:30px;list-style:none;padding:0;margin:0;font-size:15px;font-weight:700}.nav-menu a{position:relative;padding:26px 0 21px}.nav-menu a:after{content:"";position:absolute;right:0;bottom:14px;width:0;height:2px;background:var(--gold);transition:.25s}.nav-menu a:hover:after,.nav-menu .current-menu-item>a:after{width:100%}.header-cta{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#15120a;padding:11px 21px;border-radius:6px;font-weight:800;white-space:nowrap}.menu-toggle{display:none;background:none;border:0;color:white;font-size:28px;cursor:pointer}
.hero{position:relative;min-height:560px;background-size:cover;background-position:center;display:flex;align-items:center;color:white;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,9,11,.18),rgba(6,9,11,.72) 52%,rgba(6,9,11,.93) 100%)}.hero:after{content:"QUALITY BUILDS TRUST";position:absolute;left:25px;top:55px;writing-mode:vertical-rl;letter-spacing:7px;color:rgba(237,195,95,.8);font-size:12px}.hero .container{position:relative;z-index:2}.hero-content{max-width:620px;margin-right:0}.eyebrow{color:var(--gold2);font-size:18px;font-weight:700;margin-bottom:10px}.hero h1{font-size:62px;line-height:1.12;margin:0 0 18px;font-weight:900}.hero h1 span{color:var(--gold2)}.hero p{font-size:19px;max-width:610px;color:#f0f0f0;margin-bottom:26px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 24px;border-radius:6px;font-weight:800;border:1px solid var(--gold);transition:.25s}.btn-primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111}.btn-outline{color:white;background:rgba(0,0,0,.18)}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(213,163,58,.24)}.hero-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:46px;max-width:650px}.hero-badge{display:flex;align-items:center;gap:11px;font-weight:800}.icon-ring{width:45px;height:45px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold2);font-size:21px}
.services{background:#fff}.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card,.project-card{position:relative;border-radius:8px;overflow:hidden;box-shadow:var(--shadow);background:#111}.service-card img{width:100%;height:205px;object-fit:cover}.service-card .overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,8,10,.96) 0,rgba(5,8,10,.15) 62%)}.service-card .content{position:absolute;right:20px;left:20px;bottom:17px;color:#fff}.service-card .service-icon{color:var(--gold2);font-size:32px;margin-bottom:6px}.service-card h3{font-size:20px;margin:0 0 3px}.service-card p{font-size:13px;color:#d4d4d4;margin:0}
.projects{background:linear-gradient(180deg,#10161a,#0a0f12);color:#fff}.projects .section-sub{color:#bbc0c3}.project-card img{height:210px;width:100%;object-fit:cover}.project-card .project-info{padding:16px 18px 18px}.project-card h3{margin:0 0 4px;font-size:18px}.project-card small{color:#b9bdc0}.project-card .arrow{position:absolute;left:14px;bottom:14px;width:34px;height:34px;border:1px solid rgba(213,163,58,.55);display:grid;place-items:center;border-radius:5px;color:var(--gold2)}.section-head-row{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-head-row .section-title,.section-head-row .section-sub{text-align:right;margin-right:0}.text-link{color:var(--gold2);font-weight:800}
.about{background:#f7f7f5}.about-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:50px;align-items:center}.about-image{border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}.about-image img{width:100%;height:370px;object-fit:cover}.about h2{font-size:40px;margin:0 0 14px}.about p{color:#555;font-size:17px}.about-features{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:28px 0}.feature{background:white;border:1px solid #ece8dc;padding:17px;border-radius:7px;display:flex;align-items:center;gap:12px;font-weight:800}.feature span{color:var(--gold);font-size:26px}
.stats{background:linear-gradient(rgba(5,8,10,.86),rgba(5,8,10,.9)),url('assets/images/hero.jpg') center/cover;color:#fff;padding:38px 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center}.stat{padding:10px 18px;border-left:1px solid rgba(255,255,255,.12)}.stat:last-child{border-left:0}.stat .num{font-size:38px;color:#fff;font-weight:900;line-height:1}.stat .label{color:#d6d6d6;margin-top:8px}.stat .sym{color:var(--gold2);font-size:26px;margin-bottom:8px}
.contact{background:#f4f4f2}.contact-box{background:white;border-radius:10px;box-shadow:var(--shadow);padding:26px;display:grid;grid-template-columns:1.25fr 2fr;gap:25px}.map-placeholder{min-height:230px;border-radius:8px;background:radial-gradient(circle at 30% 35%,#dce8ea,#edf0ee 55%,#e1e4e2);position:relative;overflow:hidden}.map-placeholder:before,.map-placeholder:after{content:"";position:absolute;inset:auto;width:140%;height:2px;background:#c4d2d5;transform:rotate(-14deg);top:48%;right:-20%}.map-placeholder:after{transform:rotate(18deg);top:64%}.map-pin{position:absolute;inset:0;display:grid;place-items:center;font-size:45px;z-index:2}.contact-details h2{font-size:34px;margin:0 0 4px}.contact-details p{color:#777;margin-top:0}.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.contact-card{background:#f8f8f8;border:1px solid #eee;border-radius:7px;text-align:center;padding:21px 12px}.contact-card .i{color:var(--gold);font-size:29px}.contact-card b{display:block;margin:6px 0 3px}.contact-card span{direction:ltr;display:block;font-size:14px}
.site-footer{background:#080d10;color:#fff;padding:30px 0 18px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:35px}.footer-logo img{width:210px}.footer-menu{display:flex;gap:23px;list-style:none;margin:0;padding:0;color:#d5d7d8;font-size:14px}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:22px;padding-top:16px;color:#949a9e;font-size:13px;display:flex;justify-content:space-between;gap:20px}.whatsapp-float{position:fixed;left:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#16c664;color:white;display:grid;place-items:center;font-size:31px;z-index:150;box-shadow:0 10px 28px rgba(0,0,0,.3)}
.page-hero{background:linear-gradient(rgba(8,12,15,.84),rgba(8,12,15,.84)),url('assets/images/hero.jpg') center/cover;color:white;padding:90px 0;text-align:center}.page-hero h1{font-size:48px;margin:0}.content-area{padding:60px 0}.entry-content{max-width:900px;margin:auto}.entry-content h2,.entry-content h3{color:#171717}.entry-content a{color:#a87513}
@media(max-width:900px){.container{width:min(100% - 28px,1180px)}.topbar .inner{justify-content:center}.socials{display:none}.nav-wrap{min-height:68px}.brand img{width:165px}.menu-toggle{display:block}.header-cta{display:none}.nav-menu{position:absolute;right:0;left:0;top:100%;background:#0b1115;display:none;flex-direction:column;gap:0;padding:10px 20px 20px;border-top:1px solid rgba(255,255,255,.07)}.nav-menu.open{display:flex}.nav-menu li{width:100%;border-bottom:1px solid rgba(255,255,255,.06)}.nav-menu a{display:block;padding:14px 0}.nav-menu a:after{bottom:8px}.hero{min-height:630px;background-position:60% center}.hero:before{background:linear-gradient(90deg,rgba(6,9,11,.58),rgba(6,9,11,.9))}.hero h1{font-size:45px}.hero p{font-size:17px}.cards-4{grid-template-columns:repeat(2,1fr)}.about-grid{grid-template-columns:1fr}.about-image{order:2}.stats-grid{grid-template-columns:repeat(2,1fr);gap:18px}.stat{border-left:0}.contact-box{grid-template-columns:1fr}.contact-cards{grid-template-columns:1fr 1fr 1fr}.footer-top{flex-direction:column}.footer-menu{flex-wrap:wrap;justify-content:center}.footer-bottom{flex-direction:column;text-align:center}.section-head-row{align-items:flex-start;gap:15px}.hero-badges{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:620px){.top-contact{gap:10px;font-size:12px}.top-contact .email-top{display:none}.hero{min-height:650px;padding:55px 0;background-position:62% center}.hero:before{background:linear-gradient(rgba(6,9,11,.76),rgba(6,9,11,.88))}.hero:after{display:none}.eyebrow{font-size:15px}.hero h1{font-size:38px}.hero p{font-size:15px}.hero-actions .btn{width:100%}.hero-badges{grid-template-columns:1fr;margin-top:30px;gap:11px}.cards-4{grid-template-columns:1fr}.service-card img{height:250px}.section{padding:48px 0}.section-title{font-size:31px}.section-head-row{display:block}.section-head-row .text-link{display:inline-block;margin-top:8px}.project-card img{height:240px}.about h2{font-size:32px}.about-image img{height:280px}.about-features{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.stat .num{font-size:30px}.contact-cards{grid-template-columns:1fr}.contact-details h2{font-size:28px}.footer-logo img{width:180px}.footer-menu{gap:13px;font-size:12px}.page-hero h1{font-size:36px}}

/* Professional Gallery */
.gallery-home{background:#f7f7f5}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-item{position:relative;overflow:hidden;border-radius:12px;background:#111;min-height:210px}.gallery-item a{display:block;width:100%;height:100%;position:relative}.gallery-item img{display:block;width:100%;height:100%;min-height:210px;object-fit:cover;transition:transform .5s ease,filter .4s ease}.gallery-item:nth-child(1),.gallery-item:nth-child(6){grid-column:span 2}.gallery-item:hover img{transform:scale(1.06);filter:brightness(.72)}.gallery-hover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,transparent 35%,rgba(8,10,11,.76));color:#fff;opacity:0;transition:.3s}.gallery-item:hover .gallery-hover{opacity:1}.gallery-hover span{width:46px;height:46px;border:1px solid #d7a63c;border-radius:50%;display:grid;place-items:center;color:#d7a63c;font-size:27px}.gallery-hover strong{font-size:16px}.gallery-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.94);display:none;align-items:center;justify-content:center;padding:30px}.gallery-modal.open{display:flex}.gallery-modal img{max-width:min(1200px,92vw);max-height:82vh;object-fit:contain;border-radius:8px;box-shadow:0 20px 80px rgba(0,0,0,.6)}.gallery-close,.gallery-prev,.gallery-next{position:absolute;background:rgba(15,15,15,.72);border:1px solid rgba(215,166,60,.55);color:#fff;cursor:pointer;border-radius:50%;width:48px;height:48px;font-size:32px;line-height:1}.gallery-close{top:24px;left:24px}.gallery-prev{left:24px;top:50%;transform:translateY(-50%)}.gallery-next{right:24px;top:50%;transform:translateY(-50%)}.gallery-caption{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.62);color:#fff;padding:8px 18px;border-radius:30px;border:1px solid rgba(215,166,60,.35)}.gallery-hero-mini{padding:90px 0 55px;background:linear-gradient(90deg,rgba(10,12,13,.96),rgba(10,12,13,.86)),url('assets/images/hero.jpg') center/cover;color:#fff;text-align:center}.gallery-hero-mini span{color:#d7a63c}.gallery-hero-mini h1{font-size:44px;margin:8px 0}.gallery-hero-mini p{opacity:.75}.gallery-section{background:#f7f7f5}.gallery-grid-full{grid-template-columns:repeat(3,1fr)}.gallery-grid-full .gallery-item{grid-column:auto;min-height:280px}.gallery-grid-full .gallery-item img{min-height:280px}.gallery-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:28px}.gallery-filter{border:1px solid #d8d8d8;background:#fff;padding:9px 20px;border-radius:30px;cursor:pointer;font:inherit}.gallery-filter.active,.gallery-filter:hover{background:#111820;color:#d7a63c;border-color:#111820}.gallery-empty{text-align:center;padding:50px 0;color:#777}
@media(max-width:900px){.gallery-grid,.gallery-grid-full{grid-template-columns:repeat(2,1fr)}.gallery-item:nth-child(1),.gallery-item:nth-child(6){grid-column:auto}.gallery-item,.gallery-item img,.gallery-grid-full .gallery-item,.gallery-grid-full .gallery-item img{min-height:180px}.gallery-hero-mini h1{font-size:34px}}
@media(max-width:560px){.gallery-grid,.gallery-grid-full{grid-template-columns:1fr 1fr;gap:8px}.gallery-item,.gallery-item img,.gallery-grid-full .gallery-item,.gallery-grid-full .gallery-item img{min-height:145px;border-radius:8px}.gallery-hover strong{font-size:12px}.gallery-hover span{width:36px;height:36px;font-size:22px}.gallery-modal{padding:12px}.gallery-prev,.gallery-next{width:40px;height:40px}.gallery-prev{left:8px}.gallery-next{right:8px}.gallery-close{top:12px;left:12px}.gallery-caption{bottom:12px;font-size:12px;white-space:nowrap}.gallery-hero-mini{padding:70px 0 40px}}
