/*
Theme Name: AbangEmpire Dark
Theme URI: https://abangempireid.com/
Description: Child theme Astra khusus AbangEmpire, komunitas dan marketplace motor sport Indonesia.
Author: AbangEmpire
Template: astra
Version: 1.0.2
Text Domain: abangempire-dark
*/

:root {
  --ae-bg: #090b0f;
  --ae-panel: #11151c;
  --ae-panel-2: #171c25;
  --ae-line: #29303b;
  --ae-text: #f6f7f9;
  --ae-muted: #aab2bd;
  --ae-accent: #ffad1f;
  --ae-accent-2: #ff7300;
  --ae-radius: 18px;
  --ae-shadow: 0 24px 60px rgba(0,0,0,.28);
}

html { scroll-behavior: smooth; }
body.abangempire-dark,
body.abangempire-dark .site,
body.abangempire-dark .site-content,
body.abangempire-dark.ast-separate-container,
body.abangempire-dark.ast-page-builder-template { background: var(--ae-bg) !important; color: var(--ae-text); }
body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.72; }
a { color: var(--ae-accent); text-underline-offset: .18em; }
a:hover, a:focus { color: #ffd27d; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(9,11,15,.9); border-bottom: 1px solid var(--ae-line); backdrop-filter: blur(16px); }
.ast-primary-header-bar { background: transparent; border: 0; }
.site-branding img, .custom-logo { max-height: 52px; width: auto; filter: drop-shadow(0 6px 14px rgba(255,173,31,.16)); }
.site-title a { color: var(--ae-text) !important; font-weight: 850; letter-spacing: -.04em; }
.site-title a::first-letter { color: var(--ae-accent); }
.ast-builder-menu-1 .menu-item > .menu-link { color: #dfe3e8; font-weight: 650; font-size: .92rem; }
.ast-builder-menu-1 .current-menu-item > .menu-link, .ast-builder-menu-1 .menu-item > .menu-link:hover { color: var(--ae-accent); }
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner { background: var(--ae-panel); }
.ast-mobile-popup-drawer .menu-link { color: var(--ae-text) !important; }

.site-content .ast-container { max-width: 1180px; }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post, .ast-plain-container .site-content .ast-article-single { background: transparent; padding-left: 0; padding-right: 0; }
body.abangempire-dark .entry-title,
body.abangempire-dark .entry-title a,
body.abangempire-dark .entry-content h1,
body.abangempire-dark .entry-content h2,
body.abangempire-dark .entry-content h3,
body.abangempire-dark .entry-content h4,
body.abangempire-dark .ae-section__head h2,
body.abangempire-dark .ae-card h3 { color: var(--ae-text) !important; letter-spacing: -.025em; }
.entry-title { font-weight: 850; }
.entry-meta, .entry-meta * { color: var(--ae-muted) !important; }
.post-thumb img, .wp-post-image { border-radius: var(--ae-radius); box-shadow: var(--ae-shadow); aspect-ratio: 16/9; object-fit: cover; }
body.abangempire-dark .entry-content p,
body.abangempire-dark .entry-content li { color: #d5dae0; }
.entry-content strong { color: #fff; }
.entry-content blockquote { border-left: 4px solid var(--ae-accent); background: var(--ae-panel); border-radius: 0 12px 12px 0; color: #e7e9ec; padding: 1rem 1.25rem; }

.ae-hero { position: relative; overflow: hidden; min-height: 560px; display: grid; align-items: end; padding: clamp(2rem,6vw,5rem); border: 1px solid var(--ae-line); border-radius: 28px; background: linear-gradient(100deg,rgba(7,9,12,.97) 5%,rgba(7,9,12,.76) 53%,rgba(7,9,12,.25)), var(--ae-hero) center/cover; box-shadow: var(--ae-shadow); }
.ae-hero::after { content:""; position:absolute; inset:auto 0 0; height:40%; background:linear-gradient(transparent,var(--ae-bg)); pointer-events:none; }
.ae-hero__inner { position:relative; z-index:2; max-width:780px; }
.ae-kicker { display:inline-flex; gap:.5rem; align-items:center; color:var(--ae-accent); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:800; }
.ae-kicker::before { content:""; width:28px; height:2px; background:var(--ae-accent); }
.ae-hero h1, .ae-hero .ae-home-title { color:#fff !important; font-size:clamp(2.5rem,7vw,5.4rem); font-weight:850; line-height:.98; margin:.8rem 0 1.1rem; max-width:870px; text-shadow:0 3px 24px rgba(0,0,0,.72); }
.ae-hero h1 em, .ae-hero .ae-home-title em { color:var(--ae-accent); font-style:normal; }
.ae-hero p { color:#d8dde3; font-size:clamp(1rem,2vw,1.2rem); max-width:700px; }
.ae-actions { display:flex; flex-wrap:wrap; gap:.85rem; margin-top:1.5rem; }
.ae-btn, .wp-element-button, .button, button, input[type=submit] { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:.75rem 1.2rem; border-radius:999px !important; border:1px solid var(--ae-accent) !important; background:linear-gradient(135deg,var(--ae-accent),var(--ae-accent-2)) !important; color:#15100a !important; font-weight:800; text-decoration:none; box-shadow:0 10px 30px rgba(255,132,0,.18); }
.ae-btn--ghost { background:rgba(255,255,255,.04) !important; color:var(--ae-text) !important; border-color:#4b5563 !important; box-shadow:none; }

.ae-section { padding:clamp(3.2rem,7vw,6rem) 0; }
.ae-section + .ae-section { border-top:1px solid rgba(255,255,255,.06); }
.ae-section__head { display:flex; gap:1rem; justify-content:space-between; align-items:end; margin-bottom:1.5rem; }
.ae-section__head h2 { margin:0; font-size:clamp(1.9rem,4vw,3.2rem); }
.ae-section__head p { color:var(--ae-muted); max-width:580px; margin:0; }
.ae-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:1.1rem; }
.ae-card { grid-column:span 4; overflow:hidden; background:linear-gradient(145deg,var(--ae-panel-2),var(--ae-panel)); border:1px solid var(--ae-line); border-radius:var(--ae-radius); transition:transform .22s ease,border-color .22s ease; }
.ae-card:hover { transform:translateY(-4px); border-color:#5d4a24; }
.ae-card img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.ae-card__body { padding:1.25rem; }
.ae-card h3 { margin:.2rem 0 .55rem; font-size:1.23rem; }
.ae-card p { color:var(--ae-muted); margin:0 0 .8rem; font-size:.94rem; }
.ae-card a { font-weight:750; text-decoration:none; }
.ae-card--wide { grid-column:span 6; }
.ae-card--compact .ae-card__body { padding:1rem 1.1rem; }
.ae-label { display:inline-block; color:var(--ae-accent); text-transform:uppercase; letter-spacing:.1em; font-size:.7rem; font-weight:850; }
.ae-note { padding:1.2rem 1.35rem; background:rgba(255,173,31,.07); border:1px solid rgba(255,173,31,.3); border-radius:14px; color:#e7dfcf; }
.ae-link-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; padding:0; list-style:none; }
.ae-link-list a { display:block; padding:1rem 1.1rem; background:var(--ae-panel); border:1px solid var(--ae-line); border-radius:12px; text-decoration:none; }
.ae-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin:1.5rem 0; }
.ae-fact { background:var(--ae-panel); border:1px solid var(--ae-line); border-radius:14px; padding:1rem; }
.ae-fact strong { display:block; color:var(--ae-accent); font-size:1.35rem; }
.ae-source { font-size:.88rem; color:var(--ae-muted); border-top:1px solid var(--ae-line); margin-top:2.5rem; padding-top:1.2rem; }
.ae-source li { margin-bottom:.5rem; }

.woocommerce div.product, .woocommerce ul.products li.product, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce form.checkout, .woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation { background:var(--ae-panel); border:1px solid var(--ae-line); border-radius:var(--ae-radius); padding:1.2rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { color:var(--ae-text); }
.woocommerce table.shop_table, .woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color:var(--ae-line); color:#d8dde3; }

.site-footer { background:#07080b; border-top:1px solid var(--ae-line); color:var(--ae-muted); }
.site-below-footer-wrap[data-section="section-below-footer-builder"] { padding:0; background:#07080b; }
.site-below-footer-wrap .ast-builder-grid-row-container-inner,
.site-below-footer-wrap .ast-builder-footer-grid-columns { max-width:none; width:100%; }
.site-below-footer-wrap .site-footer-section { width:100%; }
.site-below-footer-wrap .ast-builder-layout-element { display:block; width:100%; }
.ae-footer { width:min(1180px,calc(100% - 36px)); margin:0 auto; padding:3.75rem 0 1.4rem; }
.ae-footer__grid { display:grid; grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(140px,1fr)); gap:clamp(1.5rem,4vw,3.5rem); }
.ae-footer__brand { display:flex; align-items:center; gap:.8rem; color:#fff; font-size:1.4rem; font-weight:850; letter-spacing:-.035em; text-decoration:none; }
.ae-footer__brand img { width:48px; height:48px; object-fit:contain; }
.ae-footer__intro { max-width:430px; margin:1rem 0 0; color:#b9c0c9; }
.ae-footer h2 { margin:0 0 .9rem; color:#fff !important; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; }
.ae-footer ul { list-style:none; margin:0; padding:0; }
.ae-footer li + li { margin-top:.55rem; }
.ae-footer a { color:#dfe3e8; text-decoration:none; }
.ae-footer a:hover, .ae-footer a:focus { color:var(--ae-accent); }
.ae-footer__bottom { display:flex; justify-content:space-between; gap:1.5rem; margin-top:3rem; padding-top:1.25rem; border-top:1px solid var(--ae-line); color:#9fa8b4; font-size:.86rem; }
.ae-footer__bottom p { margin:0; color:inherit; }

@media (max-width: 920px) {
  .ae-card, .ae-card--wide { grid-column:span 6; }
  .ae-hero { min-height:500px; }
  .ae-footer__grid { grid-template-columns:1.4fr 1fr 1fr; }
  .ae-footer__about { grid-column:1/-1; }
}
@media (max-width: 600px) {
  .site-content .ast-container { padding-left:18px; padding-right:18px; }
  .ae-hero { min-height:520px; padding:1.45rem; margin-inline:-4px; border-radius:20px; }
  .ae-hero h1, .ae-hero .ae-home-title { font-size:2.55rem; }
  .ae-card, .ae-card--wide { grid-column:1/-1; }
  .ae-section__head { display:block; }
  .ae-link-list, .ae-facts { grid-template-columns:1fr; }
  .ae-actions .ae-btn { width:100%; }
  .ae-footer { padding-top:3rem; }
  .ae-footer__grid { grid-template-columns:1fr 1fr; }
  .ae-footer__about { grid-column:1/-1; }
  .ae-footer__bottom { display:block; }
  .ae-footer__bottom p + p { margin-top:.55rem; }
}

