/*
Theme Name: TU Clothing Theme
Theme URI: https://example.com/tu-theme
Author: Custom Developer
Author URI: https://example.com
Description: A WooCommerce-ready WordPress theme inspired by TU Clothing, featuring modular homepage sections with full Customizer control.
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: tu-theme
Tags: e-commerce, woocommerce, customizable, modular

This theme is designed to replicate the TU Clothing website UI with maximum customization options.
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
    /* Colors */
    --tu-primary: #000000;
    --tu-secondary: #404040;
    --tu-accent: #e53935;
    --tu-accent-light: #F9D3D1;
    --tu-white: #FFFFFF;
    --tu-light-gray: #f5f5f5;
    --tu-border: #e0e0e0;
    
    /* Typography */
    --tu-font-primary: 'Inter', Arial, Helvetica, sans-serif;
    --tu-font-heading: 'Inter', Arial, Helvetica, sans-serif;
    
    /* Font Sizes */
    --tu-fs-xs: 0.75rem;
    --tu-fs-sm: 0.875rem;
    --tu-fs-base: 1rem;
    --tu-fs-lg: 1.125rem;
    --tu-fs-xl: 1.25rem;
    --tu-fs-2xl: 1.5rem;
    --tu-fs-3xl: 2rem;
    --tu-fs-4xl: 2.5rem;
    
    /* Spacing */
    --tu-space-xs: 0.25rem;
    --tu-space-sm: 0.5rem;
    --tu-space-md: 1rem;
    --tu-space-lg: 1.5rem;
    --tu-space-xl: 2rem;
    --tu-space-2xl: 3rem;
    --tu-space-3xl: 4rem;
    
    /* Container */
    --tu-container-max: 1440px;
    --tu-container-padding: 1rem;
    
    /* Transitions */
    --tu-transition: all 0.3s ease;
    --tu-transition-fast: all 0.15s ease;
    
    /* Shadows */
    --tu-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --tu-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --tu-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --tu-radius-sm: 4px;
    --tu-radius: 8px;
    --tu-radius-lg: 12px;
    --tu-radius-full: 9999px;
}

/* ==========================================================================
   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(--tu-font-primary);
    font-size: var(--tu-fs-base);
    line-height: 1.6;
    color: var(--tu-secondary);
    background-color: var(--tu-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tu-transition-fast);
}

a:hover {
    color: var(--tu-primary);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tu-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--tu-primary);
}

h1 { font-size: var(--tu-fs-4xl); }
h2 { font-size: var(--tu-fs-3xl); }
h3 { font-size: var(--tu-fs-2xl); }
h4 { font-size: var(--tu-fs-xl); }
h5 { font-size: var(--tu-fs-lg); }
h6 { font-size: var(--tu-fs-base); }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.tu-container {
    width: 100%;
    max-width: var(--tu-container-max);
    margin: 0 auto;
    padding: 0 var(--tu-container-padding);
}

.tu-container--fluid {
    max-width: 100%;
}

.tu-section {
    padding: var(--tu-space-2xl) 0;
}

.tu-grid {
    display: grid;
    gap: var(--tu-space-md);
}

.tu-flex {
    display: flex;
}

.tu-flex--center {
    align-items: center;
    justify-content: center;
}

.tu-flex--between {
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.tu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--tu-space-sm) var(--tu-space-lg);
    font-size: var(--tu-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--tu-radius-sm);
    transition: var(--tu-transition);
    cursor: pointer;
}

.tu-btn--primary {
    background-color: var(--tu-primary);
    color: var(--tu-white);
    border: 2px solid var(--tu-primary);
}

.tu-btn--primary:hover {
    background-color: var(--tu-white);
    color: var(--tu-primary);
}

.tu-btn--secondary {
    background-color: var(--tu-white);
    color: var(--tu-primary);
    border: 2px solid var(--tu-primary);
}

.tu-btn--secondary:hover {
    background-color: var(--tu-primary);
    color: var(--tu-white);
}

.tu-btn--accent {
    background-color: var(--tu-accent);
    color: var(--tu-white);
    border: 2px solid var(--tu-accent);
}

.tu-btn--accent:hover {
    background-color: var(--tu-white);
    color: var(--tu-accent);
}

.tu-btn--large {
    padding: var(--tu-space-md) var(--tu-space-xl);
    font-size: var(--tu-fs-base);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.tu-input {
    width: 100%;
    padding: var(--tu-space-sm) var(--tu-space-md);
    font-size: var(--tu-fs-base);
    border: 1px solid var(--tu-border);
    border-radius: var(--tu-radius-sm);
    transition: var(--tu-transition-fast);
}

.tu-input:focus {
    outline: none;
    border-color: var(--tu-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   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;
}
