/*
Theme Name: AG Trading
Theme URI: https://agtrad.com
Description: Custom theme for Ghasaan Alghusain Trading LLC
Author: Ghasaan Alghusain Trading LLC
Version: 1.0
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --red:#8B1A2F; --red-dark:#5D1120; --red-light:#C41E3A;
    --cream:#F5EDD8; --cream-mid:#EDE3C8; --cream-dark:#DDD0B0;
    --text:#1C1C1C; --text-mid:#444; --text-light:#777; --white:#FFFFFF;
    --radius:16px; --radius-lg:24px;
    --shadow-sm:0 2px 14px rgba(0,0,0,0.07);
    --shadow-md:0 8px 36px rgba(0,0,0,0.10);
    --shadow-red:0 16px 48px rgba(139,26,47,0.18);
    --brand-c1:#8B1A2F; --brand-c2:#C41E3A; --brand-txt:#5D1120;
}
html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:'Poppins',sans-serif; color:var(--text); background:#fff; overflow-x:hidden; }
a    { color:inherit; text-decoration:none; }
.label { display:block; font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--red); margin-bottom:10px; }
h2.section-title { font-size:clamp(28px,4vw,46px); font-weight:800; line-height:1.12; color:var(--text); margin-bottom:16px; }
.section-subtitle { font-size:16px; color:var(--text-light); line-height:1.75; }
.section-header { margin-bottom:56px; }
.section-header.centered { text-align:center; }
.section-header.centered .section-subtitle { max-width:580px; margin:0 auto; }

/* NAV */
#nav { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,0.97); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid rgba(139,26,47,0.08); transition:box-shadow 0.3s; }
#nav.scrolled { box-shadow:0 4px 24px rgba(0,0,0,0.09); }
.nav-inner { max-width:1280px; margin:0 auto; padding:0 40px; height:72px; display:flex; align-items:center; justify-content:space-between; }
.nav-brand { display:flex; align-items:center; gap:14px; }
.nav-brand-icon { width:46px; height:46px; background:var(--red); border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; color:#fff; letter-spacing:-1px; flex-shrink:0; }
.nav-brand-text strong { display:block; font-size:14px; font-weight:700; color:var(--red); }
.nav-brand-text span  { font-size:11px; color:var(--text-light); letter-spacing:0.5px; }
.nav-menu { display:flex; align-items:center; gap:36px; list-style:none; }
.nav-menu a { font-size:14px; font-weight:500; color:var(--text-mid); position:relative; transition:color 0.2s; }
.nav-menu a::after { content:''; position:absolute; left:0; bottom:-4px; width:0; height:2px; background:var(--red); transition:width 0.25s; }
.nav-menu a:hover { color:var(--red); }
.nav-menu a:hover::after { width:100%; }
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--red); color:#fff; padding:11px 26px; border-radius:50px; font-size:14px; font-weight:600; font-family:inherit; border:none; cursor:pointer; transition:all 0.2s; }
.btn-primary:hover { background:var(--red-dark); transform:translateY(-1px); box-shadow:0 6px 20px rgba(139,26,47,0.3); }
.hamburger { display:none; flex-direction:column; gap:6px; background:none; border:none; cursor:pointer; padding:8px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--red); border-radius:2px; transition:all 0.3s; }
.mobile-nav { display:none; position:fixed; top:72px; left:0; right:0; background:#fff; z-index:999; border-bottom:2px solid var(--cream); box-shadow:0 20px 40px rgba(0,0,0,0.1); }
.mobile-nav.open { display:block; }
.mobile-nav a { display:block; padding:16px 40px; border-bottom:1px solid var(--cream); color:var(--text); font-weight:500; font-size:15px; }
.mobile-nav a:hover { color:var(--red); background:var(--cream); }
.mobile-cta { display:block; margin:16px 40px 20px; background:var(--red); color:#fff !important; text-align:center; padding:14px; border-radius:12px; font-weight:700; }
.nav-back { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--brand-txt,var(--red)); border:2px solid var(--brand-c1,var(--red)); padding:9px 22px; border-radius:50px; transition:all 0.2s; }
.nav-back:hover { background:var(--brand-c1,var(--red)); color:#fff; }
.nav-back::before { content:'←'; }

/* HERO */
#hero { min-height:100vh; background:linear-gradient(145deg,#5D1120 0%,#8B1A2F 45%,#C41E3A 100%); padding:140px 40px 90px; display:flex; align-items:center; position:relative; overflow:hidden; }
.hero-deco { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.hero-deco-circle { position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,0.07); }
.hero-deco-circle:nth-child(1) { width:700px; height:700px; top:-150px; right:-200px; }
.hero-deco-circle:nth-child(2) { width:500px; height:500px; top:-50px; right:-100px; }
.hero-deco-circle:nth-child(3) { width:400px; height:400px; bottom:-100px; left:5%; }
.hero-inner { max-width:1280px; margin:0 auto; width:100%; position:relative; }
.hero-pill { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,0.12); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,0.2); border-radius:50px; padding:9px 22px; margin-bottom:28px; color:rgba(255,255,255,0.9); font-size:13px; font-weight:500; }
.hero-pill .dot { width:8px; height:8px; background:#4ADE80; border-radius:50%; flex-shrink:0; animation:blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
#hero h1 { font-size:clamp(38px,6vw,72px); font-weight:800; color:#fff; line-height:1.08; margin-bottom:24px; max-width:720px; }
#hero h1 em { font-style:normal; color:rgba(255,255,255,0.55); }
.hero-desc { font-size:17px; color:rgba(255,255,255,0.82); line-height:1.75; max-width:540px; margin-bottom:40px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:68px; }
.btn-hero-white { background:#fff; color:var(--red); padding:15px 34px; border-radius:50px; font-size:15px; font-weight:700; box-shadow:0 8px 30px rgba(0,0,0,0.2); transition:all 0.25s; }
.btn-hero-white:hover { transform:translateY(-2px); box-shadow:0 14px 40px rgba(0,0,0,0.25); }
.btn-hero-outline { border:2px solid rgba(255,255,255,0.5); color:#fff; padding:13px 30px; border-radius:50px; font-size:15px; font-weight:600; transition:all 0.25s; }
.btn-hero-outline:hover { background:rgba(255,255,255,0.1); border-color:#fff; }
.hero-kpis { display:flex; border-top:1px solid rgba(255,255,255,0.18); padding-top:44px; }
.hero-kpi { flex:1; }
.hero-kpi + .hero-kpi { padding-left:40px; border-left:1px solid rgba(255,255,255,0.18); }
.hero-kpi strong { display:block; font-size:42px; font-weight:800; color:#fff; line-height:1; }
.hero-kpi span { font-size:13px; color:rgba(255,255,255,0.6); margin-top:6px; display:block; }

/* ABOUT */
#about { padding:110px 40px; background:var(--cream); }
.about-inner { max-width:1280px; margin:0 auto; display:grid; grid-template-columns:1.1fr 0.9fr; gap:80px; align-items:center; }
.about-desc p { font-size:16px; color:var(--text-mid); line-height:1.8; margin-bottom:18px; }
.about-features { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:36px; }
.feat-card { background:#fff; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); border-left:3px solid var(--red); transition:transform 0.2s,box-shadow 0.2s; }
.feat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.feat-icon { font-size:28px; margin-bottom:10px; display:block; }
.feat-card h4 { font-size:14px; font-weight:700; margin-bottom:6px; }
.feat-card p { font-size:13px; color:var(--text-light); line-height:1.55; }
.about-visual { background:linear-gradient(145deg,var(--red-dark) 0%,var(--red) 55%,var(--red-light) 100%); border-radius:var(--radius-lg); padding:48px; color:#fff; position:relative; overflow:hidden; }
.about-visual::after { content:''; position:absolute; width:320px; height:320px; border-radius:50%; background:rgba(255,255,255,0.05); top:-100px; right:-80px; pointer-events:none; }
.about-visual h3 { font-size:22px; font-weight:700; margin-bottom:8px; position:relative; z-index:1; }
.about-visual > p { font-size:14px; opacity:0.82; line-height:1.6; margin-bottom:28px; position:relative; z-index:1; }
.coverage-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; position:relative; z-index:1; }
.cov-item { background:rgba(255,255,255,0.13); border-radius:14px; padding:22px; border:1px solid rgba(255,255,255,0.15); }
.cov-item strong { display:block; font-size:20px; font-weight:800; color:#fff; }
.cov-item span  { font-size:12px; opacity:0.72; margin-top:3px; display:block; }

/* BRANDS */
#brands { padding:110px 40px; background:#fff; }
.brands-inner { max-width:1280px; margin:0 auto; }
.brand-filters { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:48px; }
.filter-btn { background:var(--cream); color:var(--text-mid); border:none; cursor:pointer; padding:10px 24px; border-radius:50px; font-family:inherit; font-size:13px; font-weight:600; transition:all 0.2s; }
.filter-btn:hover,.filter-btn.active { background:var(--red); color:#fff; }
.brands-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.brand-card { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid rgba(0,0,0,0.06); background:#fff; transition:all 0.3s; display:block; text-decoration:none; color:inherit; }
.brand-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-red); }
.brand-card.hidden { display:none; }
.brand-logo-header { height:160px; background:#fff; display:flex; align-items:center; justify-content:center; padding:24px; border-bottom:4px solid var(--brand-accent,#e0e0e0); position:relative; overflow:hidden; }
.brand-logo-header svg { max-height:110px; width:auto; max-width:100%; }
.brand-logo-header img { max-height:110px; max-width:100%; object-fit:contain; }
.brand-body { padding:24px 26px 28px; }
.brand-body h3 { font-size:18px; font-weight:700; color:var(--text); margin-bottom:8px; }
.brand-body p  { font-size:13px; color:var(--text-light); line-height:1.65; }
.brand-footer-row { display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.brand-tag { display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; padding:4px 12px; border-radius:50px; }
.brand-view-link { font-size:13px; font-weight:600; color:var(--red); display:flex; align-items:center; gap:5px; }
.brand-view-link::after { content:'→'; transition:transform 0.2s; }
.brand-card:hover .brand-view-link::after { transform:translateX(4px); }

/* WHY */
#why { padding:110px 40px; background:var(--cream); }
.why-inner { max-width:1280px; margin:0 auto; }
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.why-card { background:#fff; border-radius:var(--radius-lg); padding:36px 28px; box-shadow:var(--shadow-sm); text-align:center; transition:all 0.3s; }
.why-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.why-icon { width:72px; height:72px; background:var(--red); border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:32px; margin:0 auto 20px; }
.why-card h3 { font-size:17px; font-weight:700; margin-bottom:10px; }
.why-card p  { font-size:14px; color:var(--text-light); line-height:1.65; }

/* CONTACT */
#contact { padding:110px 40px; background:#fff; }
.contact-inner { max-width:1100px; margin:0 auto; }
.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:64px; }
.contact-item { display:flex; align-items:flex-start; gap:18px; margin-bottom:32px; }
.contact-icon { width:54px; height:54px; background:var(--red); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; box-shadow:0 6px 20px rgba(139,26,47,0.25); }
.contact-text h4 { font-size:11px; font-weight:700; color:var(--text-light); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:5px; }
.contact-text p { font-size:15px; color:var(--text); line-height:1.6; }
.contact-text a { color:var(--red); }
.contact-text a:hover { text-decoration:underline; }
.form-card { background:var(--cream); border-radius:var(--radius-lg); padding:44px; box-shadow:var(--shadow-md); }
.form-card h3 { font-size:22px; font-weight:700; margin-bottom:6px; }
.form-card > p { font-size:14px; color:var(--text-light); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--text-mid); }
.form-group input,.form-group textarea,.form-group select { width:100%; padding:13px 16px; font-family:inherit; font-size:14px; color:var(--text); border:2px solid var(--cream-dark); border-radius:12px; background:#fff; transition:border-color 0.2s,box-shadow 0.2s; }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus { outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(139,26,47,0.10); }
.form-group textarea { min-height:120px; resize:vertical; }
.form-submit { width:100%; background:var(--red); color:#fff; border:none; padding:15px; border-radius:12px; font-family:inherit; font-size:16px; font-weight:700; cursor:pointer; transition:all 0.2s; }
.form-submit:hover { background:var(--red-dark); transform:translateY(-1px); box-shadow:0 8px 24px rgba(139,26,47,0.3); }
.form-submit:disabled { opacity:0.7; cursor:not-allowed; transform:none; }
.form-success { display:none; background:#DCFCE7; border:1px solid #BBF7D0; color:#166534; padding:16px; border-radius:12px; font-size:14px; font-weight:600; margin-top:14px; text-align:center; }

/* HOMEPAGE FOOTER */
footer { background:#131313; color:rgba(255,255,255,0.55); padding:80px 40px 36px; }
.footer-inner { max-width:1280px; margin:0 auto; }
.footer-top { display:grid; grid-template-columns:2.2fr 1fr 1fr 1.2fr; gap:60px; margin-bottom:60px; }
.footer-logo { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.footer-logo-icon { width:48px; height:48px; background:var(--red); border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; color:#fff; }
.footer-logo-text strong { display:block; font-size:14px; font-weight:700; color:#fff; }
.footer-logo-text span  { font-size:11px; color:rgba(255,255,255,0.38); }
.footer-brand p { font-size:14px; line-height:1.75; max-width:270px; }
.footer-col h4 { font-size:12px; font-weight:700; color:#fff; margin-bottom:20px; letter-spacing:1px; text-transform:uppercase; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:12px; }
.footer-col a { font-size:14px; color:rgba(255,255,255,0.5); transition:color 0.2s; }
.footer-col a:hover { color:#fff; }
.footer-col p { font-size:14px; line-height:1.7; }
hr.footer-divider { border:none; border-top:1px solid rgba(255,255,255,0.08); margin-bottom:28px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; }
.footer-bottom p { font-size:13px; }

/* BRAND PAGE FOOTER (simple) */
footer.brand-footer { padding:50px 40px 30px; }
.footer-brand-mini { display:flex; align-items:center; gap:14px; }
.footer-logo-icon-sm { width:44px; height:44px; background:var(--red); border-radius:9px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; color:#fff; flex-shrink:0; }
.footer-brand-mini strong { display:block; font-size:13px; font-weight:700; color:#fff; }
.footer-brand-mini span  { font-size:11px; color:rgba(255,255,255,0.4); }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a { font-size:13px; color:rgba(255,255,255,0.5); transition:color 0.2s; }
.footer-links a:hover { color:#fff; }
.footer-copy { font-size:12px; width:100%; text-align:center; padding-top:24px; border-top:1px solid rgba(255,255,255,0.08); margin-top:10px; }

/* BRAND HERO */
.brand-hero { min-height:60vh; padding:130px 40px 80px; background:linear-gradient(145deg,var(--brand-c1) 0%,var(--brand-c2) 100%); display:flex; align-items:center; position:relative; overflow:hidden; }
.brand-hero::before { content:''; position:absolute; width:600px; height:600px; border-radius:50%; border:1px solid rgba(255,255,255,0.08); top:-150px; right:-150px; pointer-events:none; }
.brand-hero::after { content:''; position:absolute; width:400px; height:400px; border-radius:50%; border:1px solid rgba(255,255,255,0.06); bottom:-100px; left:5%; pointer-events:none; }
.brand-hero-inner { max-width:1280px; margin:0 auto; width:100%; display:flex; align-items:center; gap:80px; position:relative; z-index:1; }
.brand-logo-box { background:#fff; border-radius:var(--radius-lg); padding:36px 40px; box-shadow:0 20px 60px rgba(0,0,0,0.2); flex-shrink:0; display:flex; align-items:center; justify-content:center; min-width:220px; min-height:140px; }
.brand-logo-box img { max-width:200px; max-height:110px; object-fit:contain; }
.brand-hero-content { color:#fff; }
.brand-hero-label { font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(255,255,255,0.7); margin-bottom:12px; display:block; }
.brand-hero-content h1 { font-size:clamp(32px,4vw,54px); font-weight:800; line-height:1.1; margin-bottom:16px; }
.brand-hero-tagline { font-size:17px; font-weight:600; color:rgba(255,255,255,0.85); margin-bottom:18px; }
.brand-hero-desc { font-size:15px; color:rgba(255,255,255,0.78); line-height:1.78; max-width:560px; margin-bottom:32px; }
.btn-inquire { display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--brand-txt,var(--red)); padding:13px 28px; border-radius:50px; font-size:14px; font-weight:700; box-shadow:0 6px 24px rgba(0,0,0,0.18); transition:all 0.2s; }
.btn-inquire:hover { transform:translateY(-2px); box-shadow:0 12px 36px rgba(0,0,0,0.22); }
.btn-inquire::after { content:'→'; }

/* PRODUCTS */
.products-section { padding:90px 40px; background:#fff; }
.products-inner { max-width:1280px; margin:0 auto; }
.section-label { font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--brand-c1,var(--red)); display:block; margin-bottom:10px; }
.section-title { font-size:clamp(26px,3.5vw,40px); font-weight:800; color:var(--text); margin-bottom:12px; }
.section-sub { font-size:15px; color:var(--text-light); line-height:1.7; max-width:560px; margin-bottom:48px; }
.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:24px; }
.product-card { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid rgba(0,0,0,0.06); background:#fff; transition:all 0.3s; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.product-img { height:200px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.product-img img { width:100%; height:100%; object-fit:cover; }
.product-img-icon { font-size:52px; margin-bottom:10px; filter:drop-shadow(0 4px 12px rgba(0,0,0,0.15)); }
.product-img-label { font-size:11px; font-weight:600; color:rgba(255,255,255,0.8); text-transform:uppercase; letter-spacing:1px; background:rgba(0,0,0,0.2); padding:4px 12px; border-radius:50px; }
.product-body { padding:18px 20px 22px; }
.product-body h4 { font-size:15px; font-weight:700; color:var(--text); margin-bottom:5px; }
.product-body p  { font-size:13px; color:var(--text-light); line-height:1.55; }

/* BRAND STORY */
.brand-story { padding:80px 40px; background:var(--cream); }
.brand-story-inner { max-width:800px; margin:0 auto; text-align:center; }
.brand-story h2 { font-size:clamp(24px,3vw,36px); font-weight:800; margin-bottom:20px; }
.brand-story p { font-size:16px; color:var(--text-mid); line-height:1.82; margin-bottom:16px; }

/* BRAND CTA */
.brand-cta { padding:80px 40px; background:linear-gradient(145deg,var(--brand-c1) 0%,var(--brand-c2) 100%); text-align:center; }
.brand-cta h2 { font-size:clamp(24px,3vw,38px); font-weight:800; color:#fff; margin-bottom:14px; }
.brand-cta p  { font-size:16px; color:rgba(255,255,255,0.82); margin-bottom:32px; }
.btn-cta-white { display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--brand-txt,var(--red)); padding:15px 36px; border-radius:50px; font-size:15px; font-weight:700; box-shadow:0 8px 30px rgba(0,0,0,0.18); transition:all 0.2s; }
.btn-cta-white:hover { transform:translateY(-2px); box-shadow:0 14px 40px rgba(0,0,0,0.22); }
.btn-cta-white::after { content:'→'; }

/* RESPONSIVE */
@media(max-width:1100px) { .brands-grid{grid-template-columns:repeat(2,1fr);} .why-grid{grid-template-columns:repeat(2,1fr);} .footer-top{grid-template-columns:1fr 1fr;gap:40px;} .about-inner{grid-template-columns:1fr;gap:40px;} }
@media(max-width:900px) { .brand-hero-inner{flex-direction:column;gap:36px;align-items:flex-start;} .brand-logo-box{min-width:160px;padding:24px 28px;} }
@media(max-width:768px) {
    .nav-menu,.nav-actions{display:none;} .hamburger{display:flex;} .nav-inner{padding:0 20px;}
    #hero{padding:120px 20px 60px;} .hero-kpis{flex-direction:column;gap:24px;} .hero-kpi+.hero-kpi{padding-left:0;border-left:none;}
    #about,#brands,#why,#contact{padding:70px 20px;} .about-features{grid-template-columns:1fr;} .brands-grid{grid-template-columns:1fr;}
    .why-grid{grid-template-columns:1fr 1fr;gap:16px;} .contact-grid{grid-template-columns:1fr;gap:40px;} .footer-top{grid-template-columns:1fr;gap:36px;}
    .footer-bottom{flex-direction:column;gap:10px;text-align:center;} .form-row{grid-template-columns:1fr;} .coverage-grid{grid-template-columns:1fr 1fr;}
    .brand-hero{padding:110px 20px 60px;} .products-section,.brand-story,.brand-cta{padding:60px 20px;}
    .products-grid{grid-template-columns:1fr 1fr;} footer{padding:40px 20px 24px;}
}
@media(max-width:480px) { .why-grid{grid-template-columns:1fr;} .hero-actions{flex-direction:column;} .hero-actions a{text-align:center;} .products-grid{grid-template-columns:1fr;} }
