/*
Theme Name: CB AutoTech
Theme URI: https://cbautotech.gr
Author: CB AutoTech
Author URI: https://cbautomobile.gr
Description: A lightweight, minimal, high-performance WooCommerce theme for CB AutoTech auto parts shop specializing in body parts and steering wheels.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cb-autotech
Tags: woocommerce, e-commerce, custom-menu, custom-logo, featured-images, full-width-template, theme-options

CB AutoTech WordPress Theme
Copyright 2024 CB AutoTech
*/

/* ==========================================================================
   CSS Custom Properties (Design System)
   ========================================================================== */
:root {
    /* Colors */
    --primary-bg: #ffffff;
    --primary-green: #00E676;
    --primary-green-dark: #00C853;
    --primary-green-light: #00FF88;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --card-bg: #f5f5f5;
    --border-color: #e0e0e0;

    /* Typography - Outfit Font */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --line-height-base: 1.6;

    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Layout */
    --container-max-width: 1440px;
    --container-padding: 1rem;
    --header-height: 80px;
    --sidebar-width: 280px;

    /* Borders & Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--spacing-md);
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
}

h6 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
}

p {
    margin: 0 0 var(--spacing-md);
    font-weight: var(--font-weight-regular);
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
.btn {
    font-family: var(--font-family);
    font-weight: var(--font-weight-semibold);
}

/* Navigation */
nav,
.menu,
.nav-links {
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-green-dark);
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-green);
    color: var(--text-primary);
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    top: 0;
}
