/*
Theme Name: Haddad Bismillah Workshop
Theme URI: https://zendipit.com/
Author: Zendip IT Solution
Author URI: https://zendipit.com/
Description: Premium English portfolio WordPress theme for steel and aluminum workshops. Includes editable services, products, projects, testimonials, FAQs, contact information and demo content.
Version: 5.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: haddad-bismillah-workshop
Tags: custom-logo, custom-menu, featured-images, portfolio, one-column, responsive-layout
*/
:root{--hb-primary:#c9933b;--hb-dark:#0d1117;--hb-dark2:#171d25;--hb-light:#f7f4ee;--hb-text:#24272c;--hb-muted:#70747b;--hb-white:#fff;--hb-radius:20px;--hb-shadow:0 18px 50px rgba(0,0,0,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Inter","Arial",sans-serif;background:#fff;color:var(--hb-text);line-height:1.75}
@media(max-width:980px){.main-nav{position:fixed;top:82px;inset-inline:0;background:#10151b;padding:20px;display:none}.main-nav.open{display:block}.main-nav ul{flex-direction:column}.menu-toggle{display:block}.header-actions{display:none}.about-grid,.contact-grid{grid-template-columns:1fr}.services-grid,.projects-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.trust-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.section{padding:68px 0}.hero{min-height:760px}.hero h1{font-size:2.65rem}.hero-stats{grid-template-columns:1fr 1fr}.hero-stat:last-child{grid-column:1/-1}.services-grid,.projects-grid,.testimonials-grid,.process-grid,.footer-grid{grid-template-columns:1fr}.check-list{grid-template-columns:1fr}.trust-grid{grid-template-columns:1fr 1fr;font-size:.85rem}.cta{padding:34px 24px;flex-direction:column;align-items:flex-start}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.experience-card{inset-inline-start:12px}}

.products-grid{grid-template-columns:repeat(4,1fr);margin-top:42px}.product-card{background:#fff;border:1px solid #e8e4dc;border-radius:20px;overflow:hidden;transition:.3s}.product-card:hover{transform:translateY(-7px);box-shadow:var(--hb-shadow)}.product-card img{width:100%;height:230px;object-fit:cover;background:#111820}.product-card-content{padding:23px}.product-category{display:inline-block;color:var(--hb-primary);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.product-card h3{margin:8px 0;font-size:1.2rem}.product-card p{color:var(--hb-muted);font-size:.92rem}.text-link{color:var(--hb-primary);font-weight:800}.client small{display:block;color:var(--hb-muted)}@media(max-width:980px){.products-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.products-grid{grid-template-columns:1fr}}

.floating-whatsapp{position:fixed;right:20px;bottom:20px;z-index:130;display:flex;align-items:center;gap:10px;background:#25D366;color:#fff;padding:10px 16px 10px 10px;border-radius:999px;font-weight:900;box-shadow:0 14px 35px rgba(0,0,0,.28);transition:transform .2s ease,box-shadow .2s ease}.floating-whatsapp:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(0,0,0,.34);color:#fff}.whatsapp-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#25D366;font-size:24px;font-weight:900;line-height:1}.whatsapp-label{white-space:nowrap}@media(max-width:650px){.floating-whatsapp{right:14px;bottom:14px;padding:8px 14px 8px 8px}.whatsapp-icon{width:40px;height:40px}.footer-bottom{padding-bottom:0;flex-direction:column}}

/* WhatsApp-only contact improvements */
.footer-contact-list{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.footer-contact-list li{display:flex;align-items:flex-start;gap:12px;min-width:0}
.footer-contact-list a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.footer-contact-list a:hover{color:#25D366}
.footer-contact-icon{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;color:var(--primary,#c9933b);font-size:22px;line-height:1}
.footer-contact-icon svg{width:25px;height:25px;display:block}
.whatsapp-svg{color:#25D366}
.whatsapp-icon svg{width:27px;height:27px;display:block}
.whatsapp-contact-icon{color:#25D366!important}
@media(max-width:650px){
  .site-footer{padding-bottom:20px}
  .footer-grid{gap:34px}
  .footer-bottom{padding-bottom:0;margin-bottom:0}
  .floating-whatsapp{right:14px;bottom:16px;max-width:calc(100vw - 28px)}
  .footer-contact-list li{font-size:16px;line-height:1.55}
}

/* =========================================================
   V2 FINAL RESPONSIVE AUDIT — 100% English, mobile-first
   ========================================================= */
html{overflow-x:hidden}body{overflow-x:hidden;-webkit-text-size-adjust:100%}
.site-header{height:84px}.header-inner{height:84px;min-width:0}
.brand{min-width:0;max-width:440px;flex:1 1 auto}.brand-logo-wrap{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.brand-logo-wrap .custom-logo-link{display:flex;align-items:center}
.brand-text{min-width:0;line-height:1.18}.brand-text strong{font-size:1rem;line-height:1.15;white-space:normal}.brand-text span{font-size:.74rem;line-height:1.35;margin-top:4px;white-space:normal}
.menu-toggle{width:48px;height:48px;border:1px solid rgba(255,255,255,.15);border-radius:12px;display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;background:rgba(255,255,255,.04);flex:0 0 48px}
.menu-toggle span{width:23px;height:2px;background:#fff;border-radius:99px;display:block;transition:.2s}
.main-nav{flex:0 1 auto}.main-nav ul{align-items:center}.main-nav li{margin:0}.main-nav a{display:block;padding:10px 0}
.hero{min-height:760px;padding:130px 0 70px}.hero-content{padding-top:0}.hero h1{max-width:850px}.hero p{max-width:760px}
.products-grid{align-items:stretch}.product-card{display:flex;flex-direction:column;min-width:0}.product-card>a:first-child,.product-card>img{display:block}.product-card img{aspect-ratio:4/3;height:auto;min-height:0}.product-card-content{display:flex;flex-direction:column;flex:1}.product-card .text-link{margin-top:auto;padding-top:8px}
.site-footer{position:relative;padding:76px 0 26px}.footer-grid{align-items:start}.footer-about p{max-width:340px}.footer-brand{margin-bottom:18px}.footer-title{color:var(--hb-primary);font-size:1rem;text-transform:uppercase;letter-spacing:.035em}.footer-links li{position:relative;padding-left:15px}.footer-links li:before{content:'›';position:absolute;left:0;color:var(--hb-primary);font-weight:900}.footer-contact-list{gap:16px}.footer-contact-list li{line-height:1.45}.footer-contact-list strong{color:#fff}.footer-contact-list a{color:#c9ced5}.footer-contact-icon{color:var(--hb-primary);width:26px;height:26px;flex-basis:26px}.hb-contact-svg{display:block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;min-width:24px!important;min-height:24px!important;overflow:hidden}
.footer-bottom{align-items:center}.footer-bottom a{color:var(--hb-primary);font-weight:700}
.hb-floating-whatsapp{position:fixed!important;right:18px!important;bottom:18px!important;z-index:9999!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:auto!important;height:54px!important;max-width:190px!important;min-width:54px!important;padding:0 17px 0 14px!important;margin:0!important;border:0!important;border-radius:999px!important;background:#25d366!important;color:#fff!important;font-size:15px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;box-shadow:0 12px 30px rgba(0,0,0,.28)!important;overflow:hidden!important;transform:none!important}
.hb-floating-whatsapp:hover{transform:translateY(-2px)!important;color:#fff!important}.hb-floating-whatsapp-svg{display:block!important;flex:0 0 27px!important;width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;min-width:27px!important;min-height:27px!important;overflow:hidden!important}.hb-floating-whatsapp span{display:block!important;white-space:nowrap!important}
.floating-whatsapp,.whatsapp-icon,.whatsapp-label{display:none!important}
@media(max-width:1080px){.main-nav ul{gap:18px}.main-nav a{font-size:.88rem}.brand{max-width:360px}}
@media(max-width:980px){
 .site-header,.header-inner{height:76px}.brand{max-width:calc(100% - 62px);gap:10px}.brand-text strong{font-size:.96rem}.brand-text span{font-size:.7rem;display:block;max-width:230px}
 .menu-toggle{display:flex}.main-nav{position:fixed;top:76px;left:0;right:0;inset-inline:0;background:#0d1218;padding:14px 16px 20px;display:none;max-height:calc(100vh - 76px);overflow-y:auto;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 18px 35px rgba(0,0,0,.3)}.main-nav.open{display:block}.main-nav ul{gap:0}.main-nav li{border-bottom:1px solid rgba(255,255,255,.08)}.main-nav a{padding:14px 4px;font-size:.96rem}
 .hero{padding-top:116px;min-height:700px}.footer-grid{grid-template-columns:1.2fr 1fr;gap:42px 34px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .container{width:min(100% - 28px,1180px)}.section{padding:58px 0}.site-header,.header-inner{height:72px}.header-inner{gap:10px}.main-nav{top:72px;max-height:calc(100vh - 72px)}
 .brand{max-width:calc(100% - 58px);gap:9px}.brand-text strong{font-size:.88rem;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.brand-text span{font-size:.66rem;line-height:1.28;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:210px}.menu-toggle{width:44px;height:44px;flex-basis:44px;border-radius:11px}
 .hero{min-height:auto;padding:116px 0 56px;background-position:65% center!important}.hero h1{font-size:clamp(2.25rem,11vw,3.15rem);line-height:1.08}.hero p{font-size:1rem;line-height:1.7}.hero-buttons{display:grid;grid-template-columns:1fr;max-width:330px}.hero-buttons .btn{width:100%}.hero-stats{grid-template-columns:1fr;gap:10px;margin-top:34px}.hero-stat:last-child{grid-column:auto}.trust-grid{grid-template-columns:1fr 1fr;gap:10px}.trust-item{font-size:.8rem;line-height:1.35;text-align:center}
 .about-grid,.contact-grid{gap:34px}.experience-card{left:12px;right:auto;bottom:12px;padding:15px 18px}.services-grid,.projects-grid,.products-grid,.testimonials-grid,.process-grid{grid-template-columns:1fr}.product-card img{aspect-ratio:16/11}.project-card,.project-card img{min-height:300px;height:300px}.cta{border-radius:22px}.contact-info,.contact-form{padding:26px 20px;border-radius:20px}
 .site-footer{padding:58px 0 26px}.footer-grid{grid-template-columns:1fr;gap:34px}.footer-about p{max-width:none}.footer-brand .brand-text strong{font-size:1rem}.footer-brand .brand-text span{font-size:.73rem;max-width:260px}.footer-title{margin-bottom:14px}.footer-links li{margin:7px 0}.footer-contact-list{gap:18px}.footer-contact-list li{font-size:.95rem;overflow-wrap:anywhere}.footer-bottom{margin-top:34px;padding-top:20px;display:grid;gap:8px;padding-right:0;padding-bottom:70px;font-size:.9rem;line-height:1.55}
 .hb-floating-whatsapp{right:14px!important;bottom:14px!important;height:50px!important;max-width:166px!important;padding:0 14px 0 12px!important;font-size:14px!important}.hb-floating-whatsapp-svg{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;min-width:25px!important;min-height:25px!important;flex-basis:25px!important}
}
@media(max-width:390px){.brand-text strong{font-size:.82rem}.brand-text span{font-size:.62rem;max-width:170px}.hero h1{font-size:2.18rem}.trust-grid{grid-template-columns:1fr}.hb-floating-whatsapp{width:50px!important;min-width:50px!important;max-width:50px!important;padding:0!important}.hb-floating-whatsapp span{display:none!important}}


/* V2.2 — Editable gallery and responsive brand logo */
.hb-default-logo{display:block;width:clamp(210px,25vw,390px);max-width:100%;height:auto;object-fit:contain}
.brand .brand-text{display:none}
.footer-brand .hb-default-logo{width:min(100%,330px)}
.hb-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:38px}
.hb-gallery-item{position:relative;display:block;overflow:hidden;border-radius:16px;background:#10161d;aspect-ratio:4/3;box-shadow:0 12px 28px rgba(0,0,0,.12)}
.hb-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hb-gallery-item:hover img{transform:scale(1.05)}
.hb-gallery-overlay{position:absolute;inset:auto 0 0;padding:42px 18px 17px;color:#fff;background:linear-gradient(transparent,rgba(3,7,11,.92));display:grid;gap:3px}
.hb-gallery-overlay strong{font-size:1rem}.hb-gallery-overlay small{color:#e4b95f;font-weight:700}
.hb-lightbox{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.92)}
.hb-lightbox img{display:block;max-width:min(1200px,94vw);max-height:88vh;width:auto;height:auto;border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.hb-lightbox-close{position:fixed;right:20px;top:16px;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:#111;font-size:32px;line-height:1;cursor:pointer}
body.hb-lightbox-open{overflow:hidden}
.hb-social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.hb-social-links a{display:inline-flex;padding:8px 11px;border:1px solid rgba(255,255,255,.14);border-radius:8px;color:#d7dbe0;font-size:.78rem;font-weight:700}
.hb-social-links a:hover{color:#fff;border-color:var(--hb-primary)}
@media(max-width:980px){.hb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-default-logo{width:min(330px,calc(100vw - 94px))}}
@media(max-width:650px){
 .hb-default-logo{width:min(285px,calc(100vw - 84px));max-height:54px}
 .footer-brand .hb-default-logo{width:min(290px,100%);max-height:none}
 .hb-gallery-grid{grid-template-columns:1fr;gap:14px}
 .hb-gallery-item{border-radius:13px}
}
@media(max-width:390px){.hb-default-logo{width:min(245px,calc(100vw - 76px));max-height:49px}}

/* V4.3 final audit fixes */
.hb-custom-logo{display:block;width:auto;max-width:clamp(210px,25vw,390px);max-height:76px;object-fit:contain}

.footer-brand .hb-custom-logo{max-width:min(100%,330px);max-height:92px}
@media(max-width:980px){.hb-custom-logo{max-width:min(330px,calc(100vw - 94px));max-height:62px}}
@media(max-width:650px){.hb-custom-logo{max-width:min(285px,calc(100vw - 84px));max-height:54px}.footer-brand .hb-custom-logo{max-width:min(290px,100%);max-height:82px}}
@media(max-width:390px){.hb-custom-logo{max-width:min(245px,calc(100vw - 76px));max-height:49px}}

/* V4.4 final stability fixes */
.brand{min-width:0}.brand img{display:block;max-width:100%;height:auto}.brand .hb-default-logo,.brand .hb-custom-logo{width:min(390px,calc(100vw - 110px));max-height:68px;object-fit:contain}.footer-brand .hb-default-logo,.footer-brand .hb-custom-logo{width:min(330px,100%);max-height:90px}.contact-form #formMessage{margin-top:14px;min-height:1.5em;color:#d7dbe0}.faq-question:focus-visible,.menu-toggle:focus-visible,.hb-gallery-item:focus-visible,.hb-floating-whatsapp:focus-visible{outline:3px solid var(--hb-primary);outline-offset:3px}@media(max-width:650px){.brand .hb-default-logo,.brand .hb-custom-logo{width:min(285px,calc(100vw - 82px));max-height:52px}}@media(max-width:390px){.brand .hb-default-logo,.brand .hb-custom-logo{width:min(245px,calc(100vw - 74px));max-height:48px}}

/* Final 5.0 refinements */
html{scroll-behavior:smooth;scroll-padding-top:92px}img{max-width:100%;height:auto}
.hb-map-link{display:inline-flex;margin:0 0 20px 58px}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:2px solid var(--hb-primary);outline-offset:2px;border-color:var(--hb-primary)}
.main-nav a:focus-visible,.btn:focus-visible,.text-link:focus-visible,.footer-contact-list a:focus-visible,.hb-social-links a:focus-visible{outline:3px solid var(--hb-primary);outline-offset:3px}
@media(max-width:650px){.hb-map-link{margin-left:0}.hero-buttons{width:100%}.hero-buttons .btn{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
