/*
Theme Name: Fazeelac Home Services
Theme URI: https://fazeelac.in
Author: Fazeelac
Author URI: https://fazeelac.in
Description: Blank, lightweight, Elementor-ready theme for Fazeelac (Fazeel AC) - Home Appliance Repair & Home Services. Includes header, footer, mobile bottom bar and an auto-imported Elementor home page that matches the desktop and mobile designs.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fazeelac
Tags: custom-logo, custom-menu, elementor, blank, one-column, responsive-layout
*/

:root{
  --fz-navy:#0a2a66;
  --fz-navy-dark:#071c47;
  --fz-orange:#f26b1d;
  --fz-green:#16a34a;
  --fz-blue-soft:#eaf2fb;
  --fz-text:#1f2a44;
  --fz-muted:#5b6780;
  --fz-radius:12px;
  --fz-shadow:0 4px 18px rgba(10,42,102,.10);
  --fz-wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--fz-text);
  background:#fff;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:var(--fz-navy);text-decoration:none}
.fz-wrap{max-width:var(--fz-wrap);margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* ---------- Buttons used in header/footer ---------- */
.fz-btn{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:8px;font-weight:600;font-size:15px;line-height:1.2;color:#fff;border:0;cursor:pointer;transition:.2s}
.fz-btn:hover{filter:brightness(1.08);color:#fff}
.fz-btn--green{background:var(--fz-green)}
.fz-btn--orange{background:var(--fz-orange)}
.fz-btn small{display:block;font-weight:500;font-size:12px;opacity:.95}
.fz-btn svg{width:24px;height:24px;fill:currentColor;flex:none}

/* ---------- Header ---------- */
.fz-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 2px 12px rgba(10,42,102,.08)}
.fz-header__bar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}
.fz-logo{display:flex;align-items:center;gap:10px;color:var(--fz-navy)}
.fz-logo img,.fz-logo .custom-logo{max-height:56px;width:auto}
.fz-logo__text{display:flex;flex-direction:column;line-height:1.1}
.fz-logo__name{font-size:30px;font-weight:800;color:var(--fz-navy);letter-spacing:-.5px}
.fz-logo__name span{color:var(--fz-orange)}
.fz-logo__tag{font-size:10px;font-weight:500;color:var(--fz-muted)}
.fz-nav{flex:1;display:flex;justify-content:center}
.fz-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:30px;align-items:center}
.fz-nav li{position:relative}
.fz-nav a{display:block;padding:24px 0;font-weight:500;font-size:15px;color:var(--fz-text)}
.fz-nav .current-menu-item>a,.fz-nav .current_page_item>a,.fz-nav a:hover{color:var(--fz-navy);box-shadow:inset 0 -3px 0 var(--fz-navy)}
.fz-nav .menu-item-has-children>a::after{content:"";display:inline-block;margin-left:6px;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px)}
.fz-nav .sub-menu{display:none;position:absolute;left:-14px;top:100%;min-width:220px;background:#fff;box-shadow:var(--fz-shadow);border-radius:0 0 10px 10px;padding:8px 0;flex-direction:column;gap:0;align-items:stretch}
.fz-nav li:hover>.sub-menu{display:flex}
.fz-nav .sub-menu a{padding:10px 18px;box-shadow:none!important}
.fz-header__cta{display:flex;align-items:center;gap:10px}
.fz-header__icons{display:none;align-items:center;gap:10px}
.fz-icon-btn{width:40px;height:40px;border-radius:50%;background:#f1f5fb;border:0;display:inline-flex;align-items:center;justify-content:center;color:var(--fz-navy);cursor:pointer}
.fz-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.fz-location{display:none;background:#f6f9fd;border-top:1px solid #e6edf7;font-size:13px;color:var(--fz-text);padding:8px 0}
.fz-location svg{width:16px;height:16px;fill:var(--fz-navy);vertical-align:-3px;margin-right:6px}

/* ---------- Footer ---------- */
.fz-footer{background:var(--fz-navy-dark);color:#dbe5f7;padding:36px 0 28px;margin-top:0}
.fz-footer a{color:#fff}
.fz-footer__top{display:flex;gap:30px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.fz-footer .fz-logo__name{color:#fff}
.fz-footer .fz-logo__tag{color:#c3d1ea}
.fz-footer p{margin:10px 0 0;max-width:460px;font-size:14px}
.fz-social{display:flex;gap:12px;margin-top:14px}
.fz-social a{width:38px;height:38px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.fz-social svg{width:18px;height:18px}
.fz-footer__areas{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;display:flex;gap:10px}
.fz-footer__areas svg{width:18px;height:18px;fill:#fff;flex:none;margin-top:2px}
.fz-footer__copy{margin-top:14px;font-size:12px;color:#9fb2d6}

/* ---------- Mobile bottom bar ---------- */
.fz-bottom{display:none}

/* ---------- Generic content (non-Elementor pages) ---------- */
.fz-content{padding:40px 0}
.fz-content h1{color:var(--fz-navy)}

/* ======================================================
   ELEMENTOR HOME PAGE HELPERS (classes set in the template)
   ====================================================== */
.elementor-section.elementor-section-boxed>.elementor-container{max-width:var(--fz-wrap)}
.fz-card{background:#fff;border-radius:var(--fz-radius);box-shadow:var(--fz-shadow);padding:12px 10px 14px;text-align:center;height:100%}
.fz-card .elementor-image-box-wrapper{text-align:center}
.fz-card .elementor-image-box-img img{border-radius:8px;width:100%;object-fit:contain;aspect-ratio:4/3;background:#f4f8fd}
.fz-card .elementor-image-box-title{margin:8px 0 2px;font-size:14px;font-weight:600;color:var(--fz-text)}
.fz-card .elementor-image-box-description{font-size:12px;color:var(--fz-muted);line-height:1.4}
.fz-card .elementor-image-box-description a{display:inline-block;margin-top:6px;font-weight:600;color:var(--fz-navy);font-size:12px}
.fz-scroll{overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.fz-scroll::-webkit-scrollbar{display:none}
.fz-scroll>.elementor-widget,.fz-scroll>.e-con{scroll-snap-align:start}
.fz-scroll--9>.elementor-widget{flex:1 0 108px;min-width:108px}
.fz-scroll--7>.elementor-widget{flex:1 0 150px;min-width:150px}
.fz-scroll--6>.elementor-widget{flex:1 0 140px;min-width:140px}
.fz-area{background:#fff;border-radius:10px;box-shadow:var(--fz-shadow);padding:8px 8px 10px;text-align:center}
.fz-area .elementor-image-box-img img{border-radius:6px;width:100%;aspect-ratio:3/2;object-fit:cover}
.fz-area .elementor-image-box-title{font-size:14px;font-weight:700;margin:6px 0 0}
.fz-area .elementor-image-box-description{font-size:11px;color:var(--fz-muted);line-height:1.35}
.fz-area .elementor-image-box-description a{display:block;margin-top:4px;font-weight:600;font-size:11px}
.fz-why .elementor-icon-box-wrapper{align-items:center}
.fz-why{background:#fff;border-radius:10px;box-shadow:var(--fz-shadow);padding:14px}
.fz-feature .elementor-icon-box-title{font-size:13px;font-weight:600;line-height:1.25;margin:0}
.fz-stat{text-align:center}
.fz-pill{display:inline-block;padding:8px 18px;border-radius:6px;color:#fff;font-weight:600;font-size:14px}
.fz-chips p{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.fz-chips span{background:#fff;border:1px solid #dbe5f4;border-radius:20px;padding:5px 14px;font-size:13px;font-weight:500}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .fz-nav ul{gap:18px}
  .fz-header__cta .fz-btn small{display:none}
}

/* ---------- Mobile ---------- */
@media (max-width:860px){
  .fz-header__bar{min-height:62px}
  .fz-header__cta{display:none}
  .fz-header__icons{display:flex}
  .fz-location{display:block}
  .fz-logo__name{font-size:24px}
  .fz-logo img,.fz-logo .custom-logo{max-height:44px}
  .fz-nav{position:fixed;inset:62px 0 auto 0;background:#fff;display:none;box-shadow:0 10px 24px rgba(0,0,0,.12);max-height:calc(100vh - 62px);overflow:auto}
  .fz-nav.is-open{display:block}
  .fz-nav ul{flex-direction:column;align-items:stretch;gap:0;padding:6px 20px 16px}
  .fz-nav a{padding:13px 0;border-bottom:1px solid #eef2f8;box-shadow:none!important}
  .fz-nav .sub-menu{display:block;position:static;box-shadow:none;padding:0 0 0 14px;min-width:0}
  .fz-nav .menu-item-has-children>a::after{display:none}

  body{padding-bottom:74px}
  .fz-bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:998;background:#fff;box-shadow:0 -4px 18px rgba(10,42,102,.14);padding:6px 6px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;align-items:flex-end}
  .fz-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:500;color:var(--fz-muted);padding:4px 0}
  .fz-bottom a.is-active{color:var(--fz-navy)}
  .fz-bottom svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .fz-bottom .fz-bottom__wa span.circle{width:54px;height:54px;border-radius:50%;background:var(--fz-green);display:flex;align-items:center;justify-content:center;margin-top:-26px;box-shadow:0 4px 12px rgba(22,163,74,.45);border:4px solid #fff}
  .fz-bottom .fz-bottom__wa svg{fill:#fff;stroke:none;width:26px;height:26px}
  .fz-footer{padding-bottom:30px}

  .fz-card{padding:8px 6px 10px}
  .fz-scroll--9>.elementor-widget{flex-basis:118px;min-width:118px}
  .fz-scroll--7>.elementor-widget{flex-basis:104px;min-width:104px}
  .fz-scroll--6>.elementor-widget{flex-basis:130px;min-width:130px}
}

/* ======================================================
   v1.0 additions: section/column based Elementor layout
   ====================================================== */
.fz-logo__icon{width:48px;height:48px;flex:none}
.fz-hero{background:linear-gradient(100deg,#eef3fa 0%,#e4edf8 100%)}
.fz-hero .elementor-widget-image img{border-radius:12px}
.fz-hero .fz-tagline .elementor-heading-title{font-family:'Poppins',cursive;font-style:italic;transform:rotate(-6deg);margin-top:-60px;position:relative}
.fz-hero .fz-feature .elementor-icon-box-wrapper{text-align:center}
.fz-hero .fz-feature .elementor-icon-box-title{font-size:13px;font-weight:500;color:var(--fz-text)}
.fz-hero .fz-feature .elementor-column+.elementor-column{border-left:1px solid #d3deee}

/* Horizontal rows: 9 / 7 / 7 / 6 items in one line on desktop, swipe on mobile */
.fz-scroll>.elementor-container{flex-wrap:nowrap}
.fz-scroll .elementor-column{min-width:0}
.fz-scroll .elementor-widget-image-box .elementor-widget-container{height:100%}
.fz-prop .elementor-image-box-img img{aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.fz-prop .elementor-image-box-title{font-size:14px;font-weight:600}
.fz-areas .fz-pill{margin-bottom:6px}
.fz-areas .elementor-widget-heading .elementor-heading-title{color:#fff}
.fz-whyrow .elementor-column{padding-bottom:10px}
.fz-why .elementor-icon-box-title{font-size:13px;font-weight:600;line-height:1.25;margin:0}
.fz-why .elementor-icon-box-description{font-size:11.5px;color:var(--fz-muted);line-height:1.35;margin:2px 0 0}
.fz-why .elementor-icon-box-icon{margin-right:10px!important}
.fz-banner{border-radius:14px;background-image:linear-gradient(110deg,var(--fz-navy-dark),var(--fz-navy))!important}
.fz-cta .elementor-widget-text-editor{margin-top:4px}
.fz-stats .elementor-heading-title{line-height:1.1}
.fz-locations>.elementor-container{background:#f2f7fd;border-radius:14px}

@media (max-width:860px){
  .fz-scroll>.elementor-container{overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
  .fz-scroll>.elementor-container::-webkit-scrollbar{display:none}
  .fz-scroll>.elementor-container>.elementor-column{flex:0 0 118px;width:118px!important;scroll-snap-align:start}
  .fz-scroll--props>.elementor-container>.elementor-column{flex-basis:128px;width:128px!important}
  .fz-scroll--areas>.elementor-container>.elementor-column{flex-basis:124px;width:124px!important}
  .fz-grid4 .fz-card{padding:6px 4px}
  .fz-grid4 .elementor-image-box-title{font-size:11px}
  .fz-hero{padding-top:20px}
  .fz-hero .elementor-widget-image{display:none}
  .fz-hero .fz-tagline{display:none}
  .fz-hero .elementor-widget-heading .elementor-heading-title{line-height:1.1}
  .fz-hero .fz-feature .elementor-column{width:25%!important}
  .fz-hero .fz-feature .elementor-icon-box-title{font-size:11px}
  .fz-whyrow .elementor-column{width:50%!important}
  .fz-cta{border-radius:0}
}
