/*
 * SORKISTx — Jewel Showcase template CSS overlay
 * Overrides base CSS custom properties for the luxury dark-gold theme.
 * Loaded after sorkistx-components via sorkistx_enqueue_template_style().
 */

/* ─── Google Fonts ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Color & typography overrides ──────────────────────────────────────────── */

:root {
  /* Palette — deep midnight black with gold accents */
  --color-primary:    #C4A35A;
  --color-secondary:  #8a6c30;
  --color-accent:     #e8c97a;
  --color-bg:         #0a0a0f;
  --color-bg-alt:     #12121a;
  --color-text:       #f0ece4;
  --color-text-muted: #8a8070;
  --color-border:     #1e1c18;
  --color-success:    #10b981;
  --color-error:      #ef4444;
  --color-surface-raised: #1a1820;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Shadows — deeper for dark theme */
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
}

/* ─── Body & global ─────────────────────────────────────────────────────────── */

body { background-color: var(--color-bg); color: var(--color-text); }

/* ─── Headings — italic serif for elegance ──────────────────────────────────── */

h1, h2, h3, .section-title {
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ─── Gold gradient text for key headings ───────────────────────────────────── */

.section-title,
.hero-headline,
.sp-title {
  background: linear-gradient(135deg, #f0d080 0%, #C4A35A 50%, #8a6c30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */

.nav-sticky {
  --nav-bg-scrolled: rgba(10, 10, 15, 0.95);
  --nav-border-color: rgba(196, 163, 90, 0.15);
}

/* ─── Buttons — gold primary ────────────────────────────────────────────────── */

.btn--primary {
  background: linear-gradient(135deg, #C4A35A, #8a6c30);
  border-color: transparent;
  color: #0a0a0f;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e8c97a, #C4A35A);
  color: #0a0a0f;
}

.btn--outline {
  border-color: rgba(196, 163, 90, 0.4);
  color: #C4A35A;
}

.btn--outline:hover {
  background: rgba(196, 163, 90, 0.1);
  border-color: #C4A35A;
}

/* ─── Cards — dark glass surface ────────────────────────────────────────────── */

.product-card,
.jewel-card {
  background: var(--color-bg-alt);
  border-color: rgba(196, 163, 90, 0.12);
}

.product-card:hover,
.jewel-card:hover {
  box-shadow: 0 12px 40px rgba(196, 163, 90, 0.12), 0 0 0 1px rgba(196, 163, 90, 0.2);
}

/* ─── Pricing ────────────────────────────────────────────────────────────────── */

.product-card__price,
.jewel-card__price,
.sp-price {
  color: #C4A35A;
}

/* ─── Stats counter — gold numbers ──────────────────────────────────────────── */

.stats-counter .stat-value {
  font-family: var(--font-heading);
  color: #0a0a0f;
  font-style: normal;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* ─── Accordion ─────────────────────────────────────────────────────────────── */

.accordion__trigger { border-block-end-color: rgba(196, 163, 90, 0.15); }
.accordion__trigger[aria-expanded="true"] { color: #C4A35A; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */

.hero-fullscreen {
  background-color: #0a0a0f;
}

.hero-badge {
  background: rgba(196, 163, 90, 0.15);
  border-color: rgba(196, 163, 90, 0.4);
  color: #C4A35A;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */

.footer-multi {
  --footer-bg: #060608;
  border-block-start-color: rgba(196, 163, 90, 0.1);
}

.footer-multi a:hover { color: #C4A35A; }

/* ─── Scrollbar (webkit) — subtle gold ──────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: rgba(196, 163, 90, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(196, 163, 90, 0.6); }

/* ─── Selection ──────────────────────────────────────────────────────────────── */

::selection {
  background: rgba(196, 163, 90, 0.3);
  color: #f0ece4;
}
