/*
Theme Name: InkBoomer
Theme URI: https://inkboomer.com
Author: InkBoomer Team
Author URI: https://inkboomer.com
Description: Custom WordPress theme for InkBoomer - Modern, clean e-commerce design with white background, acid green secondary color, and purple accents.
Version: 1.0.5
Requires at least: 6.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: inkboomer
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, theme-options

InkBoomer - Wear Your Statement Loud
Designed in Texas, Shipped Worldwide
*/

/* ==========================================================================
   CSS Custom Properties - LIGHT THEME
   White background, Acid Green secondary, Purple accents
   ========================================================================== */

:root {
    /* Primary Colors - Light Theme */
    --color-background: #FFFFFF;
    --color-surface: #FAFAFA;
    --color-surface-alt: #F5F5F5;

    /* Text Colors */
    --color-text-primary: #0A0A0A;
    --color-text-secondary: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;

    /* Brand Colors */
    --color-accent: #D1FA31;
    /* Acid Green - Secondary/CTA */
    --color-accent-dark: #B8E029;
    --color-purple: #9D4EDD;
    /* Purple - Accents */
    --color-purple-light: #B57BED;
    --color-purple-dark: #7B2CBF;

    /* Utility Colors */
    --color-border: #E5E7EB;
    --color-border-dark: #D1D5DB;
    --color-white: #FFFFFF;
    --color-black: #0A0A0A;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Typography */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Font Sizes - Mobile First */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    --text-7xl: 5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(209, 250, 49, 0.4);
    --shadow-purple: 0 4px 20px rgba(157, 78, 221, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-purple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Text Colors */
.text-accent {
    color: var(--color-accent);
}

.text-purple {
    color: var(--color-purple);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-white {
    color: var(--color-white);
}

.text-black {
    color: var(--color-black);
}

/* Background Colors */
.bg-white {
    background-color: var(--color-white);
}

.bg-surface {
    background-color: var(--color-surface);
}

.bg-accent {
    background-color: var(--color-accent);
}

.bg-purple {
    background-color: var(--color-purple);
}

.bg-black {
    background-color: var(--color-black);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border-dark);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

/* ==========================================================================
   Selection
   ========================================================================== */

::selection {
    background-color: var(--color-accent);
    color: var(--color-black);
}

/* ==========================================================================
   Focus States
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

/* ==========================================================================
   Responsive Typography Scale
   ========================================================================== */

@media (min-width: 640px) {
    :root {
        --text-5xl: 3.5rem;
        --text-6xl: 5rem;
        --text-7xl: 6rem;
    }

    h1 {
        font-size: var(--text-6xl);
    }

    h2 {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    :root {
        --text-6xl: 6rem;
        --text-7xl: 8rem;
        --text-8xl: 10rem;
    }

    h1 {
        font-size: var(--text-7xl);
    }

    h2 {
        font-size: var(--text-6xl);
    }
}

/* ==========================================================================
   CSS View Transitions API
   ========================================================================== */

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.25s;
    animation-timing-function: ease-in-out;
}

/* Fade transition animation */
::view-transition-old(root) {
    animation-name: fade-out;
}

::view-transition-new(root) {
    animation-name: fade-in;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}