/*
Theme Name: TK Crystal Alchemy
Author: TK Crystal Alchemy
Description: A stable luxury jewelry WordPress theme for TK Crystal Alchemy.
Version: 1.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tk-crystal-alchemy
*/

:root {
  --ink: #0b0710;
  --deep: #16031f;
  --purple: #4a0b68;
  --gold: #c6a528;
  --soft-gold: #e6cc73;
  --cream: #fff9ec;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.serif { font-family: Georgia, "Times New Roman", serif; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(11,7,16,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 1.15rem; letter-spacing: .08em; }
.brand-mark { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 8px; background: var(--cream); color: var(--purple); font-size: 1.5rem; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: rgba(255,249,236,.72); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav a:hover { color: var(--soft-gold); }
.shop-link { border-radius: 999px; background: var(--cream); color: var(--deep) !important; padding: 10px 16px; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: transparent; color: var(--cream); padding: 8px 11px; }

.hero { display: grid; min-height: calc(100vh - 82px); align-items: center; background: radial-gradient(circle at 75% 30%, rgba(109,16,166,.35), transparent 32%), var(--ink); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3.6rem, 8vw, 7.4rem); font-weight: 500; line-height: .96; }
h1 span { color: var(--soft-gold); }
.hero-copy { max-width: 650px; margin: 24px 0 0; color: rgba(255,249,236,.72); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 999px; padding: 13px 20px; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.button-primary { background: var(--gold); color: var(--deep); }
.button-secondary { color: var(--cream); }
.hero-art { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgba(198,165,40,.32); border-radius: 28px; background: var(--cream); color: var(--purple); box-shadow: 0 25px 80px rgba(74,11,104,.35); }
.hero-art strong { font-family: Georgia, serif; font-size: clamp(7rem, 18vw, 12rem); letter-spacing: -.16em; }
.hero-art span { display: block; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .3em; text-align: center; text-transform: uppercase; }

.section { padding: 90px 0; }
.cream { background: var(--cream); color: var(--deep); }
.dark { background: var(--deep); color: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section h2 { max-width: 800px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.04; }
.section-copy { max-width: 480px; margin: 0; color: rgba(22,3,31,.64); }
.dark .section-copy { color: rgba(255,249,236,.68); }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid rgba(198,165,40,.32); border-radius: 18px; background: var(--white); color: var(--deep); padding: 24px; }
.card-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--purple); color: var(--soft-gold); font-family: Georgia, serif; }
.card h3 { margin: 24px 0 10px; color: var(--purple); font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; line-height: 1.15; }
.card p { color: rgba(22,3,31,.64); }
.price { color: var(--purple); font-family: Georgia, serif; font-size: 1.8rem; }
.product-art { display: grid; aspect-ratio: 1; place-items: center; border-radius: 14px; background: radial-gradient(circle, rgba(230,204,115,.22), transparent 48%), var(--purple); color: var(--soft-gold); font-family: Georgia, serif; font-size: 4rem; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.badge { border-radius: 999px; background: rgba(74,11,104,.1); color: var(--purple); padding: 5px 9px; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.select-button { border: 0; border-radius: 999px; background: var(--gold); color: var(--deep); padding: 10px 14px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.alchemy-card { border: 1px solid rgba(198,165,40,.3); border-radius: 18px; background: rgba(255,255,255,.05); padding: 25px; }
.alchemy-card h3 { margin: 0; color: var(--soft-gold); font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.alchemy-card p { color: rgba(255,249,236,.68); }
.custom-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 38px; border-radius: 22px; background: var(--purple); padding: 38px; }
.form-card { border-radius: 18px; background: var(--cream); color: var(--deep); padding: 24px; }
.form-card h3 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.form { display: grid; gap: 11px; }
.form input, .form textarea { width: 100%; border: 1px solid rgba(22,3,31,.16); border-radius: 999px; padding: 12px 15px; }
.form textarea { min-height: 105px; border-radius: 14px; resize: vertical; }
.form button { border: 0; border-radius: 999px; background: var(--deep); color: var(--cream); padding: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(198,165,40,.32); border-radius: 18px; background: var(--white); padding: 28px; }
.contact-bar h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: var(--ink); color: rgba(255,249,236,.62); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; }
.default-page { min-height: 70vh; background: var(--cream); color: var(--deep); padding: 100px 0; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 82px; right: 0; left: 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 20px; }
  .nav.open { display: flex; }
  .hero-grid, .custom-panel { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 520px); margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .brand-name { display: none; }
  .section { padding: 68px 0; }
  .section-head, .contact-bar, .footer-inner { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .custom-panel { padding: 22px; }
}
