/*
Theme Name: ALIOBC Astra Child
Template: astra
Theme URI: https://www.aliobc.com/
Author: ALIOBC
Description: Astra child theme built from the content of https://www.aliobc.com/ and https://www.aliobc.com/about-us/. Astra keeps the header, footer, navigation and Customizer; this child adds two page templates (HOME01 landing + About US) whose copy is plain HTML editable in the WordPress admin. All theme CSS is scoped under .ab-scope, images and the hero video ship inside the theme, and no site options or reading settings are modified.
Version: 1.0.2
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: aliobc-astra-child
*/

/* ------------------------------------------------------------------
   ALIOBC content layer. Everything is scoped to .ab-scope so the
   Astra parent header / footer / widgets are never restyled.
   Palette taken from the source site's Elementor CSS:
   button #E4BC0E, headings #AD8A64, body #AF9C6C, dark #946B03.
------------------------------------------------------------------- */
.ab-scope{
  --ab-brand:#e4bc0e;
  --ab-brand-soft:#ffc05e;
  --ab-gold:#ad8a64;
  --ab-body:#af9c6c;
  --ab-deep:#946b03;
  --ab-ink:#1f2024;
  --ab-muted:#6f6a5f;
  --ab-line:#ece6da;
  --ab-soft:#f7f4ee;
  --ab-white:#fff;
  --ab-max:1200px;
  --ab-radius:6px;
  margin:0;
  background:var(--ab-white);
  color:var(--ab-ink);
  font-family:"Inter","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.ab-scope *{box-sizing:border-box}
.ab-scope img{max-width:100%;display:block}
.ab-scope a{color:inherit;text-decoration:none}
.ab-scope h1,.ab-scope h2,.ab-scope h3,.ab-scope p,.ab-scope blockquote{margin:0}
.ab-scope .ab-wrap{width:min(var(--ab-max),calc(100% - 48px));margin:0 auto}
.ab-scope .ab-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Buttons --------------------------------------------------------- */
.ab-scope .ab-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:15px 38px;border:0;border-radius:4px;
  background:var(--ab-brand);color:#fff;
  font-family:"Inter","Segoe UI",system-ui,Arial,sans-serif;
  font-size:15px;font-weight:600;line-height:1.2;letter-spacing:.01em;
  cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;
}
.ab-scope .ab-btn:hover{background:#cba408;transform:translateY(-2px);box-shadow:0 10px 24px rgba(148,107,3,.22)}
.ab-scope .ab-btn--soft{background:var(--ab-brand-soft)}
.ab-scope .ab-btn--soft:hover{background:#f0ad3e}

/* Hero ------------------------------------------------------------ */
.ab-scope .ab-hero{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-height:600px;padding:90px 24px;text-align:center;overflow:hidden;
  background:#2a221a;
}
.ab-scope .ab-hero-media{position:absolute;inset:0;z-index:0}
.ab-scope .ab-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.ab-scope .ab-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(28,23,16,.55),rgba(28,23,16,.28) 55%,rgba(28,23,16,.18))}
.ab-scope .ab-hero-inner{position:relative;z-index:1;max-width:900px}
.ab-scope .ab-hero h1{font-size:clamp(34px,5.2vw,62px);line-height:1.16;font-weight:600;letter-spacing:.01em;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.ab-scope .ab-hero h1 span{display:block;color:var(--ab-brand-soft)}
.ab-scope .ab-hero .ab-lead{margin:22px 0 30px;font-size:17px;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.4)}
.ab-scope .ab-hero .ab-btn{padding:17px 42px}

/* Video band ------------------------------------------------------ */
.ab-scope .ab-video-band{position:relative;min-height:420px;display:grid;place-items:center;overflow:hidden;background:#f5f5f5}
.ab-scope .ab-video-band video,.ab-scope .ab-video-band > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ab-scope .ab-video-band:after{content:"";position:absolute;inset:0;background:rgba(33,33,33,.34)}
.ab-scope .ab-video-band h2{position:relative;z-index:1;max-width:var(--ab-max);padding:0 24px;text-align:center;font-size:clamp(28px,4.4vw,56px);line-height:1.2;font-weight:600;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.4)}

/* Intro + features ------------------------------------------------ */
.ab-scope .ab-intro{padding:74px 0 18px;text-align:center;background:#fff}
.ab-scope .ab-rule{display:block;width:64px;height:3px;margin:0 auto 26px;background:var(--ab-gold)}
.ab-scope .ab-intro h2{font-size:clamp(28px,3.6vw,42px);font-weight:600;letter-spacing:-.02em;color:var(--ab-gold)}
.ab-scope .ab-features{padding:26px 0 88px;background:#fff}
.ab-scope .ab-feature{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:54px 0;border-bottom:1px solid var(--ab-line)}
.ab-scope .ab-feature:last-child{border-bottom:0}
.ab-scope .ab-feature:nth-child(even) .ab-feature-media{order:2}
.ab-scope .ab-feature-media{overflow:hidden;border-radius:var(--ab-radius);background:var(--ab-soft)}
.ab-scope .ab-feature-media img{width:100%;height:auto}
.ab-scope .ab-feature-copy .ab-num{display:inline-block;margin-bottom:18px;font-size:13px;font-weight:700;letter-spacing:.22em;color:var(--ab-brand)}
.ab-scope .ab-feature-copy .ab-label{display:block;margin-bottom:12px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ab-gold)}
.ab-scope .ab-feature-copy p{font-size:19px;line-height:1.72;color:var(--ab-body)}
.ab-scope .ab-feature-copy p + p{margin-top:14px}

/* Quote ----------------------------------------------------------- */
.ab-scope .ab-quote{padding:82px 0;background:var(--ab-soft);text-align:center}
.ab-scope .ab-quote .ab-wrap{max-width:920px}
.ab-scope .ab-quote img{width:54px;height:54px;margin:0 auto 26px;opacity:.75}
.ab-scope .ab-quote blockquote{font-size:clamp(21px,2.6vw,30px);line-height:1.5;letter-spacing:-.03em;font-weight:500;color:var(--ab-gold)}
.ab-scope .ab-quote .ab-quote-by{display:block;margin-top:22px;font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--ab-body)}

/* Questions / customer service ------------------------------------ */
.ab-scope .ab-questions{position:relative;padding:96px 0;overflow:hidden;background:#fff}
.ab-scope .ab-questions:before{content:"";position:absolute;inset:0;background:url("assets/img/section-bg.jpg") center/cover no-repeat;opacity:.13}
.ab-scope .ab-questions .ab-wrap{position:relative;z-index:1;display:grid;grid-template-columns:340px 1fr;gap:70px;align-items:center}
.ab-scope .ab-service{text-align:center}
.ab-scope .ab-service img{width:min(240px,100%);margin:0 auto 14px;border-radius:var(--ab-radius)}
.ab-scope .ab-service span{font-size:14px;font-weight:700;letter-spacing:.1em;color:var(--ab-gold)}
.ab-scope .ab-questions h2{margin-bottom:14px;font-size:clamp(38px,5.4vw,62px);line-height:1.05;font-weight:700;color:var(--ab-deep)}
.ab-scope .ab-questions p{max-width:620px;margin-bottom:28px;font-size:19px;color:var(--ab-body)}

/* Brand bar ------------------------------------------------------- */
.ab-scope .ab-brandbar{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;padding:30px 24px;background:#fff;border-top:1px solid var(--ab-line);text-align:center}
.ab-scope .ab-brandbar img{width:170px;height:auto}
.ab-scope .ab-brandbar span{font-size:14px;letter-spacing:.08em;color:var(--ab-gold)}

/* About US: seven full-width screens ------------------------------ */
.ab-scope .ab-screens{background:#fff}
.ab-scope .ab-screen{position:relative;line-height:0;overflow:hidden}
.ab-scope .ab-screen img{width:100%;height:auto}
.ab-scope .ab-screen .ab-hotspot{
  position:absolute;display:block;background:transparent;border:0;
  cursor:pointer;line-height:0;
}
.ab-scope .ab-screen .ab-hotspot:focus-visible{outline:3px solid var(--ab-brand);outline-offset:3px}
/* The printed "Shop Now" button inside each artwork. The hotspot is
   an invisible, real link placed over it, so the artwork stays intact. */
.ab-scope .ab-screen--1 .ab-hotspot{left:4.4%;top:60.5%;width:11.5%;height:11%}
.ab-scope .ab-screen--7 .ab-hotspot{left:45.4%;top:62%;width:10.6%;height:13.5%}
.ab-scope .ab-screen--2,.ab-scope .ab-screen--3,.ab-scope .ab-screen--4,
.ab-scope .ab-screen--5,.ab-scope .ab-screen--6{background:#fff}
.ab-scope .ab-breadcrumb{padding:18px 0;font-size:13px;color:var(--ab-muted)}
.ab-scope .ab-breadcrumb a{color:var(--ab-gold);text-decoration:underline;text-underline-offset:3px}

/* Back-to-top ----------------------------------------------------- */
.ab-scope .ab-to-top{
  position:fixed;right:22px;bottom:22px;z-index:60;
  width:42px;height:42px;border:0;border-radius:50%;
  background:var(--ab-brand);color:#fff;font-size:19px;line-height:1;
  cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;
  box-shadow:0 8px 22px rgba(148,107,3,.28);
}
.ab-scope .ab-to-top.is-visible{opacity:1;pointer-events:auto}
.ab-scope .ab-to-top:hover{transform:translateY(-3px)}

/* Responsive ------------------------------------------------------ */
@media (max-width:900px){
  .ab-scope .ab-hero{min-height:480px}
  .ab-scope .ab-video-band{min-height:320px}
  .ab-scope .ab-feature{gap:32px;padding:38px 0}
  .ab-scope .ab-feature-copy p{font-size:17px}
  .ab-scope .ab-questions .ab-wrap{grid-template-columns:1fr;gap:34px;text-align:center}
  .ab-scope .ab-questions p{margin-left:auto;margin-right:auto}
  .ab-scope .ab-service img{width:170px}
}
@media (max-width:640px){
  .ab-scope .ab-wrap{width:min(var(--ab-max),calc(100% - 32px))}
  .ab-scope .ab-hero{min-height:420px;padding:64px 18px}
  .ab-scope .ab-hero .ab-lead{font-size:15px}
  .ab-scope .ab-video-band{min-height:250px}
  .ab-scope .ab-intro{padding:52px 0 8px}
  .ab-scope .ab-features{padding:12px 0 56px}
  .ab-scope .ab-feature{grid-template-columns:1fr;gap:22px;padding:34px 0}
  .ab-scope .ab-feature:nth-child(even) .ab-feature-media{order:0}
  .ab-scope .ab-feature-copy p{font-size:16px}
  .ab-scope .ab-quote{padding:56px 0}
  .ab-scope .ab-questions{padding:60px 0}
  .ab-scope .ab-screen--1 .ab-hotspot,.ab-scope .ab-screen--7 .ab-hotspot{height:9%}
}
@media (prefers-reduced-motion:reduce){
  .ab-scope .ab-video-band video{display:none}
  .ab-scope .ab-btn,.ab-scope .ab-to-top{transition:none}
}

/* ------------------------------------------------------------------
   The ONLY rules outside .ab-scope. They apply just to the two pages
   that use our templates (body.ab-ac-page is added in functions.php):
   lift Astra's default content container so the hero and the seven
   About US artworks are truly full width, and hide the auto page title
   because each layout already has its own heading.
------------------------------------------------------------------- */
body.ab-ac-page .site-content > .ast-container,
body.ab-ac-page .site-content > .ast-container-fluid{max-width:none;padding-left:0;padding-right:0}
body.ab-ac-page #primary,
body.ab-ac-page .ast-article-single,
body.ab-ac-page .entry-content{max-width:none;margin:0;padding:0}
body.ab-ac-page .entry-header,
body.ab-ac-page .ast-entry-header{display:none}
