/* Responsive Site-wide Enhancements */
:root {
  --bg-dark: #020617;
  --bg-card: rgba(15, 23, 42, 0.8);
  --accent-primary: #1e40af;
  --accent-secondary: #3b82f6;
  --accent-vibrant: #60a5fa;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --danger: #ef4444;
  --radius-lg: 12px;
  --radius-md: 4px;
  --backdrop-blur: blur(20px);
  --border-light: rgba(148, 163, 184, 0.15);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.8;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0;
}

h1 { font-size: clamp(1.8rem, 8vw, 5.5rem); overflow-wrap: break-word; word-wrap: break-word; }
h2 { font-size: clamp(1.5rem, 6vw, 3.5rem); overflow-wrap: break-word; word-wrap: break-word; }
h3 { font-size: clamp(1.2rem, 4vw, 2.2rem); overflow-wrap: break-word; word-wrap: break-word; }

.glass {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: clamp(1.2rem, 5vw, 3rem);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.glass:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--accent-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(30, 64, 175, 0.4);
}

section {
  padding: clamp(50px, 10vw, 120px) 20px;
  max-width: 1300px;
  margin: 0 auto;
}

header {
  background: #1a1a1a !important;
  color: #ffffff !important;
  padding: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2000 !important;
  border-bottom: 1px solid var(--border-light);
  width: 100% !important;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.branding img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .header-inner { padding: 10px 40px; }
  .branding img { height: 60px; }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .phone-link { padding: 8px 15px; font-size: 1rem; }
  .header-actions { gap: 20px; }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: relative;
}

.hamburger::before, .hamburger::after {
  content: "";
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.is-active .hamburger { background: transparent; }
.menu-toggle.is-active .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle.is-active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 20px;
  background: #1a1a1a;
  border-top: 1px solid var(--border-light);
  gap: 15px;
}

@media (min-width: 768px) {
  .mobile-nav { padding: 20px 40px; }
}

.mobile-nav.is-active { display: flex; }

.mobile-nav a { color: #ffffff !important; text-decoration: none; font-size: 1.1rem; font-weight: 600; }

@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .desktop-nav { display: none; }
}

@media (min-width: 1101px) {
  .header-inner { gap: 40px; }
}

@media (max-width: 480px) {
  .phone-text { display: none; }
  .phone-link { padding: 8px 10px; }
}

.hero {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://huntshadow.com/wp-content/uploads/2026/03/hero-bg-1.png') !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 80px 20px !important;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 32px);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
  .btn { width: 100%; text-align: center; }
}

/* WooCommerce Overrides */
.woocommerce ul.products, 
.woocommerce-page ul.products {
  display: block !important;
}

.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
  width: 100% !important;
  margin: 0 0 30px 0 !important;
  float: none !important;
  display: block !important;
}

@media (min-width: 600px) {
  .woocommerce ul.products li.product, 
  .woocommerce-page ul.products li.product {
    width: 48% !important;
    float: left !important;
    margin: 0 1% 30px 1% !important;
  }
}

@media (min-width: 992px) {
  .woocommerce ul.products li.product, 
  .woocommerce-page ul.products li.product {
    width: 23% !important;
  }
}

.single-product div.product {
  max-width: 1180px;
  margin: 2rem auto;
  padding: 0 20px;
}

.single-product .product .summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 4vw, 2rem);
}

/* Video Loading State */
.video-container {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  min-height: 200px;
}

.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(10px);
}

.video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--accent-vibrant);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero Section Refinements */
.hero-section {
  padding-top: 100px !important;
  margin-top: -100px !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 80px !important;
  }
  
  .hero-section .glass {
    padding: 30px 20px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    margin: 0 15px !important;
  }

  .hero-section h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }

  .hero-section p {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }
}

/* Fix for background image text readability */
.hero p { max-width: 900px; margin-left: auto; margin-right: auto; }

.wp-content-container { max-width: 1300px; margin: 0 auto; padding: clamp(30px, 8vw, 80px) 20px; }
