/*
Theme Name:   Forgevant Dark Premium
Theme URI:    https://forgevant.io
Description:  Dark premium child theme for Forgevant.io — Built on GeneratePress
Author:       Forgevant
Template:     generatepress
Version:      1.0.0
Tags:         dark, premium, e-commerce, minimal
Text Domain:  forgevant-dark
*/

/* ──────────────────────────────────────────────
   FORGEVANT — BRAND COLORS
   Primary Dark:  #0F172A
   Accent Gold:   #F59E0B
   Accent Blue:   #3B82F6
   Silver Chrome: #94A3B8
   Text Primary:  #F8FAFC
   Text Secondary:#CBD5E1
────────────────────────────────────────────── */

:root {
  --fv-bg:        #0F172A;
  --fv-bg-2:      #1E293B;
  --fv-bg-3:      #0D1424;
  --fv-gold:      #F59E0B;
  --fv-gold-dark: #D97706;
  --fv-blue:      #3B82F6;
  --fv-silver:    #94A3B8;
  --fv-text:      #F8FAFC;
  --fv-text-2:    #CBD5E1;
  --fv-border:    #1E293B;
  --fv-radius:    10px;
  --fv-shadow:    0 4px 24px rgba(0,0,0,0.4);
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--fv-bg) !important;
  color: var(--fv-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--fv-text) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p, li, td, th, label, span {
  color: var(--fv-text-2);
}

a {
  color: var(--fv-gold) !important;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--fv-gold-dark) !important; }

/* ── Site Header ── */
.site-header {
  background: var(--fv-bg-3) !important;
  border-bottom: 1px solid rgba(248,250,252,0.06) !important;
  padding: 1rem 0 !important;
}

.site-branding .site-title a {
  color: var(--fv-text) !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  letter-spacing: -0.02em;
}

.site-branding .site-title a:hover { color: var(--fv-gold) !important; }

/* ── Navigation ── */
.main-navigation a {
  color: var(--fv-text-2) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: color 0.2s !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--fv-gold) !important;
}

.main-navigation .sub-menu {
  background: var(--fv-bg-2) !important;
  border: 1px solid rgba(248,250,252,0.08) !important;
  border-radius: var(--fv-radius) !important;
  box-shadow: var(--fv-shadow) !important;
}

/* ── Content Area ── */
.site-content { background: var(--fv-bg) !important; }

.entry-content, .page-content {
  color: var(--fv-text-2) !important;
}

/* ── Cards / Widgets ── */
.widget, .wp-block-group {
  background: var(--fv-bg-2) !important;
  border: 1px solid rgba(248,250,252,0.06) !important;
  border-radius: var(--fv-radius) !important;
}

/* ── Buttons ── */
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--fv-gold) !important;
  color: #0F172A !important;
  border: none !important;
  border-radius: var(--fv-radius) !important;
  font-weight: 700 !important;
  padding: 0.75rem 2rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s !important;
  text-transform: none !important;
}

.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
.woocommerce a.button:hover {
  background: var(--fv-gold-dark) !important;
  transform: translateY(-1px) !important;
  color: #0F172A !important;
}

/* ── Forms / Inputs ── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  background: var(--fv-bg-2) !important;
  color: var(--fv-text) !important;
  border: 1px solid rgba(248,250,252,0.12) !important;
  border-radius: var(--fv-radius) !important;
  padding: 0.7rem 1rem !important;
  font-family: inherit !important;
  transition: border-color 0.2s !important;
}

input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: var(--fv-blue) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}

/* ── WooCommerce ── */
.woocommerce-page .woocommerce,
.woocommerce { color: var(--fv-text-2) !important; }

/* Shop grid */
.woocommerce ul.products li.product a img {
  border-radius: var(--fv-radius) !important;
  border: 1px solid var(--fv-border) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fv-gold) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

.woocommerce ul.products li.product h2 {
  color: var(--fv-text) !important;
}

.woocommerce ul.products li.product {
  background: var(--fv-bg-2) !important;
  border: 1px solid rgba(248,250,252,0.06) !important;
  border-radius: var(--fv-radius) !important;
  padding: 1.25rem !important;
  transition: border-color 0.2s, transform 0.2s !important;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--fv-gold) !important;
  transform: translateY(-2px) !important;
}

/* Cart / Checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout #order_review {
  background: var(--fv-bg-2) !important;
  border-radius: var(--fv-radius) !important;
}

.woocommerce table.shop_table {
  border: 1px solid var(--fv-border) !important;
  border-radius: var(--fv-radius) !important;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: rgba(248,250,252,0.04) !important;
  color: var(--fv-silver) !important;
  border-bottom: 1px solid var(--fv-border) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--fv-border) !important;
  color: var(--fv-text-2) !important;
}

/* Checkout guarantee badge */
.woocommerce-checkout .checkout-guarantee {
  background: rgba(245,158,11,0.08) !important;
  border: 1px solid rgba(245,158,11,0.3) !important;
  border-radius: var(--fv-radius) !important;
  padding: 1rem 1.25rem !important;
  color: var(--fv-gold) !important;
  font-size: 0.875rem !important;
  margin-bottom: 1.5rem !important;
}

/* WC notices */
.woocommerce-message, .woocommerce-info {
  background: rgba(59,130,246,0.1) !important;
  border-color: var(--fv-blue) !important;
  color: var(--fv-text) !important;
}
.woocommerce-error {
  background: rgba(239,68,68,0.1) !important;
  border-color: #EF4444 !important;
}

/* ── Footer ── */
.site-footer {
  background: var(--fv-bg-3) !important;
  border-top: 1px solid rgba(248,250,252,0.06) !important;
  color: var(--fv-silver) !important;
  padding: 2rem 0 !important;
}

.site-footer a { color: var(--fv-silver) !important; }
.site-footer a:hover { color: var(--fv-gold) !important; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--fv-bg); }
::-webkit-scrollbar-thumb { background: var(--fv-bg-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fv-silver); }

/* ── Selection ── */
::selection { background: var(--fv-gold); color: #0F172A; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header { padding: 0.75rem 0 !important; }
  .wp-block-button__link, .button, button[type="submit"] {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
  }
}
