/*
Theme Name: Buffer Butter Tactical
Theme URI: https://bufferbutter.com
Author: Custom
Author URI: https://bufferbutter.com
Description: Tactical professional WordPress theme for Buffer Butter with WooCommerce support. Features military-inspired design with gold and black color scheme.
Version: 1.0.0
Requires at least: 5.8
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: bufferbutter
Tags: e-commerce, woocommerce, tactical, professional, custom

Buffer Butter Tactical WordPress Theme
*/

/* ================================================
   CSS RESET & BASE STYLES
   ================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-gold-primary: #FFBF00;
  --color-gold-rich: #F4C430;
  --color-gold-highlight: #FFD700;
  --color-black-deep: #1A1A1A;
  --color-black-darker: #0A0A0A;
  --color-gunmetal: #3E4149;
  --color-gunmetal-light: #52575D;
  --color-text-light: #FFFFFF;
  --color-cream: #FFF8DC;

  /* Typography */
  --font-heading: 'Rajdhani', 'Arial Black', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;
  --font-size-base: 16px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;

  /* Layout */
  --layout-max-width: 1400px;

  /* Transitions */
  --transition-quick: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

html {
  font-size: var(--font-size-base);
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  background-color: var(--color-black-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: var(--color-text-light);
}

h1 { font-size: 3rem; letter-spacing: 0.125em; }
h2 { font-size: 2.25rem; letter-spacing: 0.094em; }
h3 { font-size: 1.75rem; letter-spacing: 0.063em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin: 0 0 1rem;
}

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

a:hover {
  color: var(--color-gold-highlight);
  text-decoration: underline;
}

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

/* ================================================
   LAYOUT
   ================================================ */

.container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

.site-content {
  min-height: 60vh;
}

/* ================================================
   WORDPRESS CORE
   ================================================ */

.alignleft {
  float: left;
  margin-right: var(--space-md);
}

.alignright {
  float: right;
  margin-left: var(--space-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--color-gold-primary);
  color: var(--color-black-deep);
  clip: auto !important;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--color-gold-primary);
  color: var(--color-black-deep);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100000;
}

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