/*
Theme Name: HAJRSMART Premium
Theme URI: https://hajrsmart.net/
Author: Zendip
Author URI: https://zendipit.com/
Description: Premium bilingual English-default RTL/LTR smart home product showcase and quotation theme, developed for HAJRSMART.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: hajrsmart
License: GPL-2.0-or-later
*/
:root{--navy:#061e3c;--dark:#05152d;--blue:#087fe9;--cyan:#42c6ff;--ink:#0b2544;--muted:#61758b;--light:#f4f9fd;--line:#dde9f4;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Tajawal','Segoe UI',Tahoma,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.7}body[dir=ltr]{font-family:Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,textarea{font:inherit}.container{width:min(1200px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);box-shadow:0 2px 20px #0b2d5210;backdrop-filter:blur(12px)}.header-inner{min-height:85px;display:flex;align-items:center;gap:24px;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand img{width:176px;height:68px;object-fit:contain}.site-nav{display:flex;gap:21px;align-items:center;font-weight:700;font-size:14px}.site-nav a:hover,.footer a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:12px}.lang-switch{white-space:nowrap;background:#eff7ff;padding:6px 12px;border-radius:60px;font-size:12px;font-weight:800}.lang-switch a.active{color:var(--blue)}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;padding:12px 22px;font-weight:800;cursor:pointer;transition:.2s;background:linear-gradient(120deg,#04b5f1,#0676eb);color:#fff;box-shadow:0 9px 24px #078feb30}.btn:hover{transform:translateY(-2px);filter:brightness(1.07)}.btn-outline{background:transparent;border:1px solid #ffffff90;box-shadow:none}.menu-toggle{display:none;background:#edf6ff;border:0;padding:8px 14px;border-radius:8px;color:var(--navy);cursor:pointer}.hero{position:relative;background:linear-gradient(105deg,#04162cf2,#062c54e5),radial-gradient(circle at 75% 50%,#1d8ac9,#061e3c);color:white;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 78% 30%,#21b7ff47,transparent 43%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;min-height:570px;padding:65px 0}.eyebrow{font-size:13px;font-weight:900;color:#30bfff;letter-spacing:1px}.hero h1{font-size:clamp(36px,4.2vw,64px);margin:15px 0;line-height:1.22;font-weight:900}.hero h1 em{font-style:normal;color:#6ad7ff}.hero p{font-size:18px;color:#d5e8f7;max-width:590px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 38px}.hero-photo{background:radial-gradient(circle,#0f76ae70,#0a284d35);border:1px solid #ffffff20;border-radius:36px;padding:25px;transform:rotate(-2deg)}.hero-photo img{width:100%;aspect-ratio:1.1;object-fit:contain;filter:drop-shadow(0 20px 22px #0008)}.hero-features{display:flex;gap:20px;flex-wrap:wrap}.hero-features span{font-size:13px;color:#e2f3ff}.hero-features b{color:#38c1ff}.section{padding:85px 0}.section-soft{background:var(--light)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.section h2{font-size:clamp(27px,3vw,40px);line-height:1.28;margin:8px 0 15px}.section-lead{max-width:610px;color:var(--muted);margin:0}.text-link{color:var(--blue);font-weight:800}.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}.about-visual{background:linear-gradient(135deg,#d6f1ff,#e9f6fd);border-radius:30px;min-height:345px;display:grid;place-items:center}.about-visual img{max-width:76%;filter:drop-shadow(0 30px 30px #0e428438)}.feature-grid,.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature,.category-card,.product-card,.info-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:24px;box-shadow:0 10px 35px #06234a07}.feature-icon{width:48px;height:48px;display:grid;place-items:center;background:#e6f6ff;color:#0574c9;border-radius:13px;font-size:23px;margin-bottom:13px}.feature h3{margin:0 0 7px}.feature p{margin:0;color:var(--muted);font-size:14px}.category-card{padding:15px;text-align:center;display:block;transition:.2s}.category-card:hover,.product-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #06234a18}.category-card .photo,.product-img{background:#f7fafc;border-radius:15px;display:grid;place-items:center;overflow:hidden}.category-card .photo{height:168px}.category-card img{height:145px;width:100%;object-fit:contain}.category-card strong{display:block;margin:12px 0 4px}.category-card small{color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{padding:12px 12px 22px;transition:.2s}.product-img{height:205px}.product-img img{width:95%;height:95%;object-fit:contain}.product-content{padding:13px}.product-category{color:var(--blue);font-size:12px;font-weight:800}.product-card h3{margin:5px 0;font-size:18px;line-height:1.35}.product-card p{color:var(--muted);font-size:13px;min-height:44px;margin:5px 0 17px}.product-card .btn{width:100%;font-size:13px;padding:9px}.solutions{background:linear-gradient(130deg,#051a34,#064179);color:#fff}.solutions .section-lead{color:#cbdff2}.solutions-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:42px}.solutions img{border-radius:25px;max-height:440px;width:100%;object-fit:cover}.check-list{list-style:none;padding:0;margin:25px 0}.check-list li{margin:10px 0}.check-list li:before{content:'✓';background:#0ca1ea;border-radius:50%;color:white;padding:1px 6px;margin-inline-end:10px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.contact-info{display:grid;gap:13px}.contact-info .info-card{padding:15px 20px}.contact-info strong{display:block}.contact-form{display:grid;gap:12px}.contact-form input,.contact-form textarea{width:100%;border:1px solid #d9e6f1;border-radius:10px;padding:13px;background:#fff;color:var(--ink)}.contact-form textarea{min-height:115px}.form-note{font-size:12px;color:var(--muted)}.form-status{padding:9px;font-weight:700}.footer{background:#061b35;color:#d3dfed;padding-top:65px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:35px}.footer h3{color:white;font-size:16px}.footer p{color:#acbfd3;font-size:14px}.footer a{display:block;margin:8px 0;font-size:14px}.footer-logo{width:185px;height:75px;object-fit:contain;background:#fff;border-radius:9px;padding:4px}.footer-bottom{border-top:1px solid #ffffff22;margin-top:45px;padding:18px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.footer-credit a{display:inline;color:#58c5ff;font-weight:900}.whatsapp-float{position:fixed;bottom:28px;inset-inline-end:24px;z-index:60;background:#20c866;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 26px #168e4890;border:3px solid white;transition:.2s}.whatsapp-float:hover{transform:scale(1.08)}.whatsapp-float svg{width:32px;height:32px;fill:white}.wa-tooltip{position:absolute;inset-inline-end:72px;top:14px;background:#102c49;color:#fff;padding:7px 13px;font-size:12px;white-space:nowrap;border-radius:8px}.single-wrap{padding:65px 0}.single-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px}.single-photo{background:#f5f9fc;border-radius:23px;padding:30px}.single-photo img{width:100%;object-fit:contain;max-height:490px}.site-page{padding:80px 0;min-height:50vh}.notice{background:#e9f7ff;color:#07517e;padding:10px 15px;border-radius:9px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:1000px){.header-inner{gap:9px}.site-nav{gap:10px}.site-nav a{font-size:12px}.header-actions .btn{display:none}.product-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.header-inner{min-height:70px}.brand img{width:140px;height:55px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:70px;right:0;left:0;background:#fff;padding:18px 5%;box-shadow:0 20px 30px #08162d19;flex-direction:column;align-items:stretch;gap:13px}.site-nav.open{display:flex}.hero-grid,.about-grid,.solutions-grid,.contact-grid,.single-layout{grid-template-columns:1fr}.hero-grid{padding:45px 0;min-height:0}.hero-photo{max-width:500px;margin:auto}.hero h1{font-size:39px}.section{padding:60px 0}.category-grid,.feature-grid,.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.footer-grid{grid-template-columns:repeat(2,1fr);gap:20px}.section-head{align-items:start}.wa-tooltip{display:none}.whatsapp-float{width:54px;height:54px;bottom:17px;inset-inline-end:16px}}@media(max-width:430px){.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.category-card{padding:9px}.category-card .photo{height:130px}.category-card img{height:110px}.product-card{padding:8px}.product-img{height:145px}.product-content{padding:7px}.product-card h3{font-size:14px}.product-card p{font-size:12px}.footer-grid{grid-template-columns:1fr 1fr}.header-actions{gap:6px}.lang-switch{padding:5px}}

/* v1.2 refinements */
:focus-visible{outline:3px solid #24adfa;outline-offset:3px}html{scroll-padding-top:95px}#home,#about,#categories,#products,#solutions,#contact{scroll-margin-top:95px}.site-nav a,.footer a{transition:color .18s}.category-card img[src$=".svg"]{max-width:116px;max-height:116px}.footer-credit a{font-weight:900}.form-status:empty{display:none}@media(max-width:760px){.site-nav{z-index:95}.header-actions{flex-shrink:0}.hero-photo{transform:none}.header-inner{flex-wrap:nowrap}}@media(max-width:430px){.lang-switch{font-size:11px}.wa-tooltip{display:none}.header-inner{gap:4px}}

/* v1.4 — premium smart-home lifestyle About presentation */
.about-lifestyle{position:relative;display:block;isolation:isolate;min-height:460px;aspect-ratio:1.16;overflow:hidden;border-radius:28px;background:#0b2744;box-shadow:0 24px 55px rgba(6,32,72,.19);border:1px solid #d7e9f6}
.about-lifestyle:before{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,rgba(3,21,43,.85),transparent);z-index:1;pointer-events:none}
.about-lifestyle>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center center;filter:none;transition:transform .45s ease}
.about-lifestyle:hover>img{transform:scale(1.035)}
.about-overlay{position:absolute;z-index:2;inset-inline-start:28px;inset-inline-end:24px;bottom:28px;display:flex;align-items:center;gap:14px;color:#fff}
.about-overlay-dot{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#068eef;color:white;font-size:25px;box-shadow:0 6px 22px #021b3159}
.about-overlay strong{display:block;font-size:21px;line-height:1.25;font-weight:800}
.about-overlay span:not(.about-overlay-dot){display:block;font-size:13px;color:#e4f5ff;margin-top:4px}
.about-grid{gap:clamp(24px,4vw,64px)}
.feature{transition:transform .25s ease,box-shadow .25s ease}
.feature:hover{transform:translateY(-3px);box-shadow:0 15px 30px #06234a12}
@media(max-width:1000px){.about-lifestyle{min-height:360px}}
@media(max-width:760px){.about-lifestyle{min-height:310px;aspect-ratio:1.25}.about-overlay{bottom:20px;inset-inline-start:20px}.about-overlay strong{font-size:18px}.about-grid{gap:30px}}
@media(max-width:430px){.about-lifestyle{min-height:270px;aspect-ratio:1.1}.feature-grid{gap:8px}.feature{padding:15px 11px}.feature h3{font-size:14px}.feature-icon{width:42px;height:42px}.section h2{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){.about-lifestyle>img,.feature{transition:none}.about-lifestyle:hover>img{transform:none}}
