/*
Theme Name:        Women Thrive by Design
Theme URI:         https://womenthrivebydesign.com
Author:            Women Thrive by Design
Author URI:        https://womenthrivebydesign.com
Description:       A premium faith-driven Elementor-ready theme for Women Thrive by Design. Supports WooCommerce and Event Tickets.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.1
License:           Private
Text Domain:       womenthrive
Tags:              elementor, woocommerce, one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready, block-patterns
*/

/* ──────────────────────────────────────────────
   DESIGN TOKENS — match the Next.js site exactly
   ────────────────────────────────────────────── */
:root {
    --wtd-gold:          #c9a84c;
    --wtd-gold-light:    #e8c97a;
    --wtd-gold-dim:      rgba(201,168,76,0.25);
    --wtd-bg:            #07050f;
    --wtd-bg-deep:       #0d0a14;
    --wtd-bg-purple:     #1a0d2e;
    --wtd-bg-purple-mid: #2d1557;
    --wtd-cream:         #f5f0e8;
    --wtd-cream-dim:     rgba(245,240,232,0.7);
    --wtd-cream-faint:   rgba(245,240,232,0.4);

    --font-cinzel:    'Cinzel', serif;
    --font-cormorant: 'Cormorant Garamond', serif;
    --font-lato:      'Lato', sans-serif;
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--wtd-bg);
    color: var(--wtd-cream);
    font-family: var(--font-lato);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--wtd-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--wtd-gold-light); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-cinzel);
    color: var(--wtd-cream);
    line-height: 1.2;
}

p { font-family: var(--font-cormorant); font-size: 18px; line-height: 1.7; color: var(--wtd-cream-dim); }

/* ── Utility Classes ── */
.wtd-gold       { color: var(--wtd-gold); }
.wtd-bg         { background-color: var(--wtd-bg); }
.wtd-bg-deep    { background-color: var(--wtd-bg-deep); }
.wtd-section    { padding: 80px 24px; }
.wtd-container  { max-width: 1280px; margin: 0 auto; }

.text-gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #e8c97a 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider-gold {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--wtd-gold), transparent);
    margin: 16px auto;
}

.glow-gold { box-shadow: 0 0 20px rgba(201,168,76,0.3); }

.pattern-overlay {
    background-image: radial-gradient(circle, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ── Buttons ── */
.wtd-btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--wtd-gold);
    color: var(--wtd-bg-deep) !important;
    font-family: var(--font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.wtd-btn-primary:hover {
    background-color: var(--wtd-gold-light);
    box-shadow: 0 0 20px rgba(201,168,76,0.35);
}

.wtd-btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(201,168,76,0.6);
    color: var(--wtd-cream) !important;
    font-family: var(--font-cinzel);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}
.wtd-btn-outline:hover {
    border-color: var(--wtd-gold);
    color: var(--wtd-gold) !important;
}

/* ── Navigation ── */
.wtd-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.wtd-header.scrolled {
    background-color: rgba(7,5,15,0.95);
    backdrop-filter: blur(12px);
    padding: 14px 40px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.wtd-logo img { height: 48px; width: auto; }
.wtd-logo-text {
    font-family: var(--font-cinzel);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--wtd-cream);
}

.wtd-nav ul { list-style: none; display: flex; gap: 36px; }
.wtd-nav ul li a {
    font-family: var(--font-cinzel);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.75);
    transition: color 0.3s;
}
.wtd-nav ul li a:hover,
.wtd-nav ul li.current-menu-item > a { color: var(--wtd-gold); }

.wtd-nav-cta {
    padding: 10px 24px;
    border: 1px solid rgba(201,168,76,0.4);
    font-family: var(--font-cinzel);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wtd-gold) !important;
    transition: all 0.3s;
}
.wtd-nav-cta:hover {
    background-color: var(--wtd-gold);
    color: var(--wtd-bg-deep) !important;
    border-color: var(--wtd-gold);
}

/* Mobile Menu Toggle */
.wtd-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.wtd-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--wtd-gold);
    transition: all 0.3s;
}

/* ── Footer ── */
.wtd-footer {
    background-color: var(--wtd-bg-deep);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 64px 40px 32px;
}
.wtd-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.wtd-footer-brand p {
    font-size: 15px;
    color: rgba(245,240,232,0.5);
    margin-top: 12px;
    line-height: 1.6;
}
.wtd-footer-col h4 {
    font-family: var(--font-cinzel);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wtd-gold);
    margin-bottom: 16px;
}
.wtd-footer-col ul { list-style: none; }
.wtd-footer-col ul li { margin-bottom: 10px; }
.wtd-footer-col ul li a {
    font-family: var(--font-lato);
    font-size: 13px;
    color: rgba(245,240,232,0.5);
    transition: color 0.3s;
}
.wtd-footer-col ul li a:hover { color: var(--wtd-gold); }

.wtd-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(201,168,76,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.wtd-footer-bottom p {
    font-size: 12px;
    color: rgba(245,240,232,0.3);
    font-family: var(--font-lato);
}

/* ── WooCommerce Overrides ── */
.woocommerce-page .woocommerce,
.woocommerce { background: transparent; }

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--wtd-gold) !important;
    color: var(--wtd-bg-deep) !important;
    font-family: var(--font-cinzel) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 28px !important;
    transition: background-color 0.3s !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover { background-color: var(--wtd-gold-light) !important; }

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
    color: var(--wtd-cream);
    font-family: var(--font-cinzel);
}
.woocommerce ul.products li.product { background: rgba(26,13,46,0.4); border: 1px solid rgba(201,168,76,0.15); padding: 20px; }
.woocommerce ul.products li.product:hover { border-color: rgba(201,168,76,0.4); }

.woocommerce div.product .product_title {
    font-family: var(--font-cinzel);
    color: var(--wtd-cream);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--wtd-gold) !important;
    font-family: var(--font-cinzel);
}

.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout {
    background: transparent;
    color: var(--wtd-cream);
}
.woocommerce table.shop_table { border: 1px solid rgba(201,168,76,0.15); }
.woocommerce table.shop_table th { background: rgba(26,13,46,0.6); color: var(--wtd-gold); font-family: var(--font-cinzel); }
.woocommerce table.shop_table td { border-top: 1px solid rgba(201,168,76,0.1); }

.woocommerce form .form-row label { color: var(--wtd-cream); font-family: var(--font-cinzel); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    background: transparent !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: var(--wtd-cream) !important;
    border-radius: 0 !important;
    font-family: var(--font-lato) !important;
}
.woocommerce form .form-row input.input-text:focus { border-color: var(--wtd-gold) !important; outline: none !important; }

/* ── Event Tickets (The Events Calendar) ── */
.tribe-events { background: transparent !important; }
.tribe-events .tribe-events-c-nav__list-item-link,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link { color: var(--wtd-cream); }
.tribe-events .tribe-events-c-nav__list-item-link:hover { color: var(--wtd-gold); }
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header { background: transparent; }

/* ── Elementor Global Overrides ── */
.elementor-section { position: relative; }
.elementor-widget-heading .elementor-heading-title { line-height: 1.2; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .wtd-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .wtd-header { padding: 16px 20px; }
    .wtd-header.scrolled { padding: 12px 20px; }
    .wtd-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(7,5,15,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
    .wtd-nav.open { display: flex; }
    .wtd-nav ul { flex-direction: column; align-items: center; gap: 28px; }
    .wtd-nav ul li a { font-size: 14px; }
    .wtd-menu-toggle { display: flex; z-index: 1001; }
    .wtd-footer { padding: 48px 20px 24px; }
    .wtd-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .wtd-footer-bottom { flex-direction: column; text-align: center; }
}
