/*
Theme Name: Cole Warrior
Theme URI: https://example.com
Author: Antigravity
Author URI: https://example.com
Description: A premium, high-conversion portfolio theme for Warrior Plus vendors. Features a dark, modern aesthetic with gold accents.
Version: 1.0.0
Text Domain: cole-warrior
*/

:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary: #FFD700;
    /* Gold */
    --primary-hover: #E5C100;
    --secondary: #3b82f6;
    /* Blueish for trust */
    --accent: #f43f5e;
    /* Red/Pink for CTA */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-container: 1200px;
    --section-padding: 4rem 1rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.main-navigation .main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation .main-menu > li {
    margin: 0;
    padding: 0;
}

.main-navigation .main-menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.2;
}

.main-navigation .main-menu > li > a:hover {
    color: var(--primary);
}

.main-navigation .main-menu .current-menu-item > a,
.main-navigation .main-menu .current_page_item > a {
    color: var(--text-main);
}

/* Header CTA menu item (My Store) — balanced sizing vs other menu items */
.main-navigation .main-menu > li.menu-item-cta > a {
    padding: 0.45rem 0.95rem;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    border: 1px solid rgba(255, 215, 0, 0.35);
}

.main-navigation .main-menu > li.menu-item-cta > a:hover {
    background: var(--primary-hover);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.18);
    transform: translateY(-1px);
}

/* Trusted vendor top bar (under header) */
.top-trust-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.6rem 0;
    background: rgba(0,0,0,0.08);
}

.top-trust-bar__inner {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.72);
    font-size: 0.875rem;
}

.top-trust-bar__inner .sep {
    opacity: 0.4;
}

/* Trust strip */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.trust-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.25rem;
}

.trust-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-desc {
    color: var(--text-muted);
}

/* Blog grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.post-excerpt {
    color: var(--text-muted);
}

/* Page + single post typography */
.entry {
    max-width: 860px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 0.75rem;
}

.entry-meta {
    color: rgba(255,255,255,0.62);
    font-size: 0.95rem;
}

.entry-meta .sep {
    opacity: 0.4;
    margin: 0 0.5rem;
}

.entry-featured {
    margin: 1.75rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.entry-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    color: rgba(255,255,255,0.88);
}

.entry-content > * + * {
    margin-top: 1rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
}

.entry-tags {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.entry-tags a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.85rem;
}

.entry-tags a:hover {
    border-color: rgba(255,215,0,0.5);
    color: var(--text-main);
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.25rem;
    align-items: start;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.25rem;
    color: var(--text-main);
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 0.75rem;
    max-width: 52ch;
}

.footer-meta {
    margin-top: 1.25rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    display: grid;
    gap: 0.35rem;
}

.footer-meta a {
    color: var(--primary);
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 0.85rem 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.78);
}

.social-links a:hover {
    border-color: rgba(255,215,0,0.45);
    color: var(--text-main);
    transform: translateY(-1px);
}

.footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
    color: rgba(255,255,255,0.62);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-copy {
        text-align: left;
    }
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: #000;
    transform: translateY(-2px);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-gold {
    color: var(--primary);
}

.section {
    padding: var(--section-padding);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-supertitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Grid */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-image {
    height: 200px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}