/*
 * Houston Bears Redesign v2 - Global CSS
 * Explicit Utility Classes (No Tailwind Compiler Required)
 */

html { font-size: 100%; }

:root {
  /* Brand Tokens */
  --hb-orange-500: #E67E22;
  --hb-orange-600: #d97706;
  --hb-gold-500: #F1C40F;
  --hb-cream-500: #FDFAF5;
  --hb-charcoal-900: #333333;
  --hb-black: #000000;
  --hb-white: #FFFFFF;
  --hb-gray-100: #f3f4f6;
  --hb-gray-400: #9ca3af;
  --hb-gray-500: #6b7280;
  
  /* Spacing Scale */
  --s-0: 0;
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;
  --s-48: 12rem;

  /* Typography */
  --hb-font-sans: 'Inter', 'Montserrat', 'Roboto', system-ui, sans-serif;
  
  /* Gradients & Effects */
  --hb-gradient-primary: linear-gradient(90deg, var(--hb-orange-500) 0%, var(--hb-cream-500) 80%);
  --hb-gradient-glass: rgba(255, 255, 255, 0.7);
  --hb-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- Layout Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-20 { height: 5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-auto { width: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.object-cover { object-fit: cover; }
.object-top { object-position: top; }
.mt-auto { margin-top: auto; }

/* --- Spacing Utilities --- */
.p-0 { padding: 0; }
.p-6 { padding: var(--s-6); }
.p-8 { padding: var(--s-8); }
.p-10 { padding: var(--s-10); }
.p-12 { padding: var(--s-12); }
.p-16 { padding: var(--s-16); }
.py-4 { padding-top: var(--s-4); padding-bottom: var(--s-4); }
.py-12 { padding-top: var(--s-12); padding-bottom: var(--s-12); }
.py-16 { padding-top: var(--s-16); padding-bottom: var(--s-16); }
.py-20 { padding-top: var(--s-20); padding-bottom: var(--s-20); }
.py-24 { padding-top: var(--s-24); padding-bottom: var(--s-24); }
.py-32 { padding-top: var(--s-32); padding-bottom: var(--s-32); }
.py-48 { padding-top: var(--s-48); padding-bottom: var(--s-48); }
.pt-0 { padding-top: 0; }
.pb-16 { padding-bottom: var(--s-16); }
.pb-24 { padding-bottom: var(--s-24); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-8 { margin-bottom: var(--s-8); }
.mb-12 { margin-bottom: var(--s-12); }
.mb-24 { margin-bottom: var(--s-24); }
.ml-1 { margin-left: var(--s-1); }
.ml-4 { margin-left: var(--s-4); }
.mr-2 { margin-right: var(--s-2); }
.-mt-32 { margin-top: -8rem; }
.gap-6 { gap: var(--s-6); }
.gap-8 { gap: var(--s-8); }
.gap-12 { gap: var(--s-12); }

/* Space-between helpers */
.space-x-4 > * + * { margin-left: var(--s-4); }
.space-x-6 > * + * { margin-left: var(--s-6); }
.space-x-8 > * + * { margin-left: var(--s-8); }
.space-y-2 > * + * { margin-top: var(--s-2); }

/* --- Typography Utilities --- */
.text-center { text-align: center; }
.text-white { color: var(--hb-white); }
.text-orange-600 { color: var(--hb-orange-600); }
.text-gray-400 { color: var(--hb-gray-400); }
.text-gray-500 { color: var(--hb-gray-500); }
.text-gray-600 { color: #4b5563; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-relaxed { line-height: 1.625; }
.no-underline { text-decoration: none; }
.list-none { list-style-type: none; }

/* --- Visual Utilities --- */
.bg-white { background-color: var(--hb-white); }
.bg-black { background-color: var(--hb-black); }
.bg-opacity-30 { background-color: rgba(0, 0, 0, 0.3); }
.border-t { border-top: 1px solid var(--hb-gray-100); }
.border-gray-100 { border-color: var(--hb-gray-100); }
.shadow-xl { box-shadow: var(--hb-shadow-xl); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06)); }
.grayscale { filter: grayscale(100%); }
.opacity-50 { opacity: 0.5; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* --- Responsive Breakpoints --- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:py-24 { padding: var(--s-24) 0; }
  .md\:p-12 { padding: var(--s-12); }
  .md\:p-16 { padding: var(--s-16); }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:h-20 { height: 5rem; }
  .md\:h-\[600px\] { height: 600px; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Project Custom Classes --- */
.hb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.hb-bg-gradient {
  background: var(--hb-gradient-primary);
}

.hb-text-charcoal {
  color: var(--hb-charcoal-900);
}

.hb-btn-gold {
  background-color: var(--hb-gold-500);
  color: var(--hb-black) !important;
  font-family: var(--hb-font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hb-btn-gold:hover {
  background-color: #d4ac0d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

.hb-glass {
  background: var(--hb-gradient-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.hb-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hb-card-hover:hover {
  transform: translateY(-8px) scale(1.02) translateZ(0);
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.15);
}

.hb-heading {
  font-family: var(--hb-font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.hb-body {
  font-family: var(--hb-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hb-charcoal-900);
}

.hb-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #18181b; /* Matches dark header in reference */
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hb-nav-link {
  font-family: var(--hb-font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hb-nav-link:hover {
  color: var(--hb-white);
}

.hover\:text-orange-600:hover {
  color: var(--hb-orange-600);
}