/*
Theme Name: RCHQWK
Theme URI: https://rchqwk.com
Author: RCHQWK
Author URI: https://rchqwk.com
Description: Modern minimalist streetwear theme with dark aesthetics, designed for urban brands and counterculture e-commerce. Features WooCommerce integration, bold typography, and smooth animations.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rchqwk
Tags: e-commerce, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111;
    --border-color: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888;
    --text-tertiary: #666;
    --accent-color: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* WordPress Core Classes */
.alignnone {
    margin: 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
}

.sticky {
    /* Add sticky post styles if needed */
}

.bypostauthor {
    /* Highlight comments by post author */
}

.gallery-caption {
    color: var(--text-secondary);
    font-size: 14px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Navigation */
nav,
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo,
.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-primary);
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.site-logo:hover,
.logo:hover {
    opacity: 0.7;
}

.main-navigation ul,
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a,
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    font-weight: 500;
}

.main-navigation a:hover,
.nav-links a:hover,
.main-navigation .current-menu-item a {
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1,
.hero .entry-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button,
.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.cta-button:hover,
.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-tertiary), transparent);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Main Content */
.site-content {
    padding-top: 80px;
    min-height: 100vh;
}

.content-area {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 40px;
}

article {
    margin-bottom: 60px;
}

.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.entry-meta {
    color: var(--text-tertiary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 40px 0 20px;
}

.entry-content h2 {
    font-size: 36px;
}

.entry-content h3 {
    font-size: 28px;
}

.entry-content p {
    margin-bottom: 20px;
}

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

.entry-content a:hover {
    opacity: 0.7;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
}

/* Section Styling */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Features Section */
.features {
    background: var(--secondary-bg);
    padding: 80px 40px;
    margin: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Comments */
.comments-area {
    max-width: 800px;
    margin: 60px auto;
    padding: 60px 40px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
}

.comments-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comment-author {
    font-weight: 700;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 15px;
}

.comment-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.reply {
    margin-top: 15px;
}

.reply a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 15px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: var(--primary-bg);
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3,
.widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul,
.widget ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li,
.widget ul li {
    margin-bottom: 12px;
}

.footer-section a,
.widget a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover,
.widget a:hover {
    color: var(--text-primary);
}

.footer-bottom,
.site-info {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 12px;
    letter-spacing: 1px;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 60px 0;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    padding: 12px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
}

.pagination a:hover,
.nav-links a:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}

.pagination .current,
.nav-links .current {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}

/* Widgets */
.widget {
    margin-bottom: 40px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .main-navigation ul,
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1,
    .hero .entry-title {
        font-size: 60px;
    }

    .content-area {
        padding: 0 20px;
        margin: 80px auto 60px;
    }

    .features-grid {
        gap: 40px;
    }

    .section-title,
    .entry-title {
        font-size: 32px;
    }

    .nav-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
a {
    color: #FFFFFF;
    text-decoration: none; /* Optional: removes underline */
}

a:visited {
    color: #FFFFFF;
}

a:hover {
    color: #CCCCCC; /* Slightly gray on hover so users know it's clickable */
}