/**
 * Global Reset and Base Styles
 * Only essential resets and CSS variables
 * Each page will have its own complete styling
 */

/* Google Fonts - Load early for all pages */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Teko:wght@400;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* Main Colors - Hamco Sports Brand */
    --primary: #FFFFFF;
    --accent-red: #FE0000;  /* Keep red as red */
    --accent-black: #000000;
    --accent-grey: #666666;
    --accent-light-grey: #F5F5F5;
    --text-dark: #000000;  /* Pure black for text */
    --text-grey: #333333;
    --border-grey: #E5E5E5;

    /* Alias variables for consistency across all pages */
    --primary-color: #FE0000;  /* Main brand color - red */
    --dark-color: #000000;  /* Dark/black color */
    --light-color: #F5F5F5;  /* Light grey background */
    --text-color: #333333;  /* Body text color */
    --transition: 0.3s ease;  /* Default transition */
    --border-radius: 8px;  /* Default border radius */
    
    /* Status Colors */
    --success: #10B981;
    --info: #2563EB;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Layout */
    --max-width: 1600px;
    --container-padding: 20px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-sport: 'Teko', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Remove underlines from all button links */
a.btn,
a.btn-primary,
a.btn-secondary,
a.btn-white,
a.btn-outline,
a.view-products-btn,
a.explore-btn,
a.customize-btn,
a.load-more-btn,
a.featured-cta,
a[class*="btn"] {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Remove underlines on hover as well */
a.btn:hover,
a.btn-primary:hover,
a.btn-secondary:hover,
a.btn-white:hover,
a.btn-outline:hover,
a.view-products-btn:hover,
a.explore-btn:hover,
a.customize-btn:hover,
a.load-more-btn:hover,
a.featured-cta:hover,
a[class*="btn"]:hover,
a.btn:focus,
a.btn-primary:focus,
a.btn-secondary:focus,
a.btn-white:focus,
a.btn-outline:focus,
a.view-products-btn:focus,
a.explore-btn:focus,
a.customize-btn:focus,
a.load-more-btn:focus,
a.featured-cta:focus,
a[class*="btn"]:focus,
a.btn:active,
a.btn-primary:active,
a.btn-secondary:active,
a.btn-white:active,
a.btn-outline:active,
a.view-products-btn:active,
a.explore-btn:active,
a.customize-btn:active,
a.load-more-btn:active,
a.featured-cta:active,
a[class*="btn"]:active,
a.btn:visited,
a.btn-primary:visited,
a.btn-secondary:visited,
a.btn-white:visited,
a.btn-outline:visited,
a.view-products-btn:visited,
a.explore-btn:visited,
a.customize-btn:visited,
a.load-more-btn:visited,
a.featured-cta:visited,
a[class*="btn"]:visited {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Global override for any link that looks like a button */
.btn,
.button,
[class*="btn"],
[class*="button"] {
    text-decoration: none !important;
}

.btn *,
.button *,
[class*="btn"] *,
[class*="button"] * {
    text-decoration: none !important;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    text-decoration: none !important;
}

button:hover,
button:focus {
    text-decoration: none !important;
}

/* Remove default GeneratePress spacing */
#page,
.site,
#content,
.site-content,
.content-area,
#primary,
main.site-main {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure content starts immediately after header */
body.hamcospo-site #page {
    margin-top: 0 !important;
}

body.hamcospo-site .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}