/*
Theme Name: Combat Fit
Theme URI: https://combatfit.com
Author: Combat Fit
Author URI: https://combatfit.com
Description: Premium boxing wear and equipment manufacturer theme. Built for fighters, trusted by brands worldwide.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: combat-fit
Tags: business, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* =============================================
   COMBAT FIT - CUSTOM WORDPRESS THEME
   ============================================= */

:root {
  --red: #C0392B;
  --red-dark: #96281B;
  --red-light: #E74C3C;
  --black: #0A0A0A;
  --dark: #111111;
  --card: #1A1A1A;
  --border: #2A2A2A;
  --text: #F0F0F0;
  --muted: #888888;
  --gold: #D4AF37;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

h1, h2, h3 { line-height: 1; }
.display-font { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; }

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--red);
  padding: 18px 0;
  text-decoration: none;
}
.site-logo span { color: var(--text); }

#primary-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}
#primary-menu a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
#primary-menu a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-light); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0505 50%, #0A0A0A 100%);
  z-index: 0;
}
.hero-line {
  position: absolute;
  top: 0; right: 15%;
  width: 3px; height: 100%;
  background: var(--red);
  opacity: 0.3;
}
.hero-line2 {
  position: absolute;
  top: 0; right: 20%;
  width: 1px; height: 100%;
  background: var(--red);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 10vw, 130px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title .red { color: var(--red); }

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--red);
  letter-spacing: 1px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  background: var(--red);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: #fff;
  padding: 0 40px;
}
.ticker-dot { color: rgba(255,255,255,0.5); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================
   SECTIONS - SHARED
   ============================================= */
.cf-section { padding: 100px 5%; }
.cf-section-dark { background: var(--dark); }
.cf-section-black { background: var(--black); }

.container { max-width: 1400px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 60px;
}

/* =============================================
   CATEGORIES
   ============================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}
.cat-card {
  background: var(--card);
  padding: 40px 32px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s;
}
.cat-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.3s;
}
.cat-card:hover::after { width: 100%; }
.cat-card:hover { background: #1f1f1f; }
.cat-icon { font-size: 36px; margin-bottom: 20px; }
.cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.cat-count { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.cat-arrow {
  position: absolute;
  top: 40px; right: 32px;
  color: var(--muted);
  font-size: 18px;
  transition: color 0.2s;
}
.cat-card:hover .cat-arrow { color: var(--red); }

/* =============================================
   PRODUCTS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--red); transform: translateY(-4px); }
.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161616;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 1;
}
.product-info { padding: 20px; }
.product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 18px; font-weight: 700; color: var(--red); }
.product-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.product-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}
.why-card { background: var(--card); padding: 40px 32px; }
.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--border);
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.why-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.why-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* =============================================
   CUSTOM / OEM BANNER
   ============================================= */
.custom-banner {
  background: var(--red);
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.custom-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 2px;
  color: #fff;
  max-width: 500px;
}
.custom-title span { color: rgba(255,255,255,0.4); }
.custom-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 28px;
}
.btn-white {
  background: #fff;
  color: var(--red);
  border: none;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-white:hover { background: #f0f0f0; color: var(--red-dark); transform: translateY(-1px); }

/* =============================================
   WHOLESALE FORM
   ============================================= */
.wholesale-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.wholesale-points { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.wholesale-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.wp-dot { width: 8px; height: 8px; background: var(--red); flex-shrink: 0; }

.wholesale-form { display: flex; flex-direction: column; gap: 16px; }
.wholesale-form .form-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.wholesale-form input,
.wholesale-form select,
.wholesale-form textarea {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.wholesale-form input:focus,
.wholesale-form select:focus,
.wholesale-form textarea:focus { border-color: var(--red); }
.wholesale-form select option { background: var(--dark); }
.wholesale-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wholesale-form .btn-primary { width: 100%; padding: 14px; border: none; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.contact-card { background: var(--card); padding: 36px 32px; }
.contact-icon { font-size: 28px; margin-bottom: 16px; }
.contact-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: #000;
  padding: 60px 5% 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.7; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--red); color: var(--red); }

/* =============================================
   WOOCOMMERCE COMPATIBILITY
   ============================================= */
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 12px;
}
.woocommerce ul.products li.product .price { color: var(--red); font-weight: 700; }
.woocommerce ul.products li.product a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--red-light) !important; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .wholesale-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #primary-menu { display: none; }
  #primary-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 24px 5%;
    gap: 20px;
  }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }

  .hero-stats { gap: 24px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .wholesale-card { padding: 28px 20px; }
  .custom-banner { flex-direction: column; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
}

/* =============================================
   WORDPRESS CORE ALIGNMENT
   ============================================= */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; padding: 8px 0; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
