/*
Theme Name: GoldTrade Global
Theme URI: https://goldtradeglobal.com
Author: GoldTrade Global
Description: A premium WordPress theme for international gold trading — featuring gold dust, bars, and bulk kg products for global buyers. Rank Math SEO ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: goldtrade
Tags: gold, trading, commerce, dark, luxury, business
*/

:root {
  --gold-primary: #B8860B;
  --gold-light: #E8C84A;
  --gold-pale: #FFF8E1;
  --gold-dark: #7A5C00;
  --dark-bg: #1a1208;
  --dark-mid: #2d1e05;
  --dark-surface: #231709;
  --text-light: #C9A84C;
  --text-muted: #888;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--white); background: var(--dark-bg); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold-light); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold-light); }
h3 { font-size: 1.2rem; color: var(--gold-light); }
p { color: var(--text-light); margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold-primary); margin: 12px auto 0; }

.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; cursor: pointer; transition: all var(--transition); border: none; letter-spacing: 0.5px; }
.btn-primary { background: var(--gold-primary); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold-light); border: 1px solid var(--gold-primary); }
.btn-outline:hover { background: var(--gold-primary); color: var(--white); }

#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26,18,8,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(184,134,11,0.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.site-logo { font-family: var(--font-display); font-size: 22px; color: var(--gold-light); letter-spacing: 2px; }
.site-logo span { color: var(--gold-primary); }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-size: 13px; color: var(--text-light); letter-spacing: 0.5px; transition: color var(--transition); }
.main-nav a:hover { color: var(--gold-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold-light); }

#hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 24px 80px; background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-bg) 60%); position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,11,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 680px; margin: 0 auto; text-align: center; position: relative; }
.hero-badge { display: inline-block; background: rgba(184,134,11,0.15); color: var(--gold-light); border: 1px solid rgba(184,134,11,0.3); font-size: 12px; padding: 5px 16px; border-radius: 20px; letter-spacing: 1px; margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 17px; max-width: 480px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

#price-ticker { background: rgba(0,0,0,0.4); border-top: 1px solid rgba(184,134,11,0.2); border-bottom: 1px solid rgba(184,134,11,0.2); padding: 12px 0; }
.ticker-inner { display: flex; gap: 40px; padding: 0 24px; justify-content: center; flex-wrap: wrap; }
.ticker-item { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.ticker-item .price { color: #4CAF50; font-weight: 500; margin-left: 6px; }

#stats { padding: 60px 0; background: var(--dark-mid); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.stat-card { background: rgba(184,134,11,0.08); border: 1px solid rgba(184,134,11,0.2); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-light); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.5px; }

#products { padding: 80px 0; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.product-card { background: var(--dark-surface); border: 1px solid rgba(184,134,11,0.2); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.product-card:hover { border-color: var(--gold-primary); transform: translateY(-4px); background: rgba(184,134,11,0.08); }
.product-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(184,134,11,0.15); border: 1px solid rgba(184,134,11,0.3); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.product-tag { display: inline-block; font-size: 11px; color: var(--gold-primary); border: 1px solid rgba(184,134,11,0.3); padding: 3px 12px; border-radius: 20px; }

#trust { padding: 80px 0; background: var(--dark-mid); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.trust-card { display: flex; gap: 16px; padding: 24px; background: var(--dark-surface); border: 1px solid rgba(184,134,11,0.15); border-radius: var(--radius-lg); }
.trust-icon { font-size: 22px; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(184,134,11,0.1); border-radius: var(--radius); }
.trust-card h4 { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.trust-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

#contact { padding: 80px 0; }
.contact-wrapper { max-width: 600px; margin: 0 auto; background: var(--dark-surface); border: 1px solid rgba(184,134,11,0.2); border-radius: var(--radius-lg); padding: 48px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input,.form-group select,.form-group textarea { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(184,134,11,0.2); border-radius: var(--radius); color: var(--white); font-family: var(--font-body); font-size: 14px; transition: border-color var(--transition); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { outline: none; border-color: var(--gold-primary); }
.form-group select option { background: var(--dark-bg); }
.form-group textarea { height: 100px; resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 15px; }

#site-footer { background: #0f0b04; border-top: 1px solid rgba(184,134,11,0.15); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 260px; margin-top: 12px; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--gold-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(184,134,11,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold-light); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .main-nav, .nav-cta { display: none; } .hamburger { display: flex; } .form-row { grid-template-columns: 1fr; } .contact-wrapper { padding: 32px 24px; } .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .hero-btns { flex-direction: column; align-items: center; } .stats-grid { grid-template-columns: 1fr 1fr; } }
