/*
Theme Name: Apex Fox Web Store
Theme URI: https://example.com/apex-fox
Author: Apex Fox
Description: WordPress theme converted from the Apex Fox static HTML web store. Includes homepage, shop, product detail, technology, support, and cart pages.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apex-fox-web-store
*/


:root {
    --primary: #0a0a0a;
    --accent: #00e5ff; /* Cyan from Fox eyes */
    --text: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent);
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1571068316341-75042c4462b4?auto=format&fit=crop&q=80&w=2000') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

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

.section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 1.5rem;
    transition: var(--transition);
    border-radius: 8px;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e0faff;
    color: #007d8a;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 10%;
    margin-top: 5rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

/* Shop Page Specifics */
.filters {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

/* Product Detail */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.specs-list {
    margin: 2rem 0;
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Compliance Badges */
.compliance-section {
    background: var(--light-bg);
    text-align: center;
    padding: 3rem;
    border-radius: 12px;
}


/* WordPress compatibility */
.admin-bar header { top: 32px; }
.wp-site-blocks { margin: 0; }
img { max-width: 100%; height: auto; }

@media (max-width: 782px) {
    .admin-bar header { top: 46px; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; padding: 1rem 4%; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    nav ul li { margin-left: 0; }
    .hero { height: 70vh; padding: 0 6%; }
    .hero h1 { font-size: 2.5rem; line-height: 1.1; }
    .hero p { font-size: 1rem; }
    .section { padding: 3rem 6%; }
    .section-title h1, .section-title h2 { font-size: 2rem; }
    .product-layout { grid-template-columns: 1fr; gap: 2rem; }
    .product-info h1 { font-size: 2.2rem; }
}
