/* ==========================================================================
   TAZON SPORTS - Core Stylesheet & Design System
   Sialkot, Pakistan | Custom Soccer Ball Manufacturing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Colors */
  --color-primary-dark: #070a13;
  --color-bg-dark: #0a0f1d;
  --color-bg-surface: #0f172a;
  --color-bg-card: #151e34;
  --color-bg-card-hover: #1c2844;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  
  /* Accent: Electric Pitch Green */
  --color-accent: #00ff87;
  --color-accent-hover: #00e575;
  --color-accent-subtle: rgba(0, 255, 135, 0.12);
  --color-accent-glow: rgba(0, 255, 135, 0.35);
  --color-accent-border: rgba(0, 255, 135, 0.25);
  
  /* WhatsApp Authentic Brand Colors */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebd5a;
  
  /* Typography Colors */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-dark: #0f172a;
  --color-text-dark-secondary: #475569;
  --color-text-dark-muted: #64748b;
  
  /* Borders & Dividers */
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-border-dark-hover: rgba(255, 255, 255, 0.18);
  --color-border-light: #e2e8f0;
  
  /* Status & Accents */
  --color-gold: #f59e0b;
  --color-gold-bg: rgba(245, 158, 11, 0.12);
  --color-blue: #38bdf8;
  --color-danger: #ef4444;
  --color-success: #10b981;
  
  /* Typography System */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevations & Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.25), 0 4px 8px -4px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.35);
  --shadow-accent-glow: 0 0 25px rgba(0, 255, 135, 0.3);
  
  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --header-height: 80px;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--color-bg-surface);
  color: var(--color-accent);
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.4);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--color-text-secondary);
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-white {
  color: #ffffff !important;
}

.text-muted {
  color: var(--color-text-muted) !important;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Section Spacing */
.section {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
}

.section-darker {
  background-color: var(--color-primary-dark);
  color: var(--color-text-primary);
}

.section-light {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--color-text-dark);
}

.section-light p {
  color: var(--color-text-dark-secondary);
}

.section-light-alt {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-light-alt h2,
.section-light-alt h3,
.section-light-alt h4 {
  color: var(--color-text-dark);
}

.section-light-alt p {
  color: var(--color-text-dark-secondary);
}

/* Section Header Component */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-header.text-left {
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background-color: var(--color-accent-subtle);
  border: 1px solid var(--color-accent-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-light .section-tag,
.section-light-alt .section-tag {
  color: #059669;
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

.section-header.text-left .section-subtitle {
  margin-left: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Info Bar */
.top-bar {
  background-color: #04060c;
  border-bottom: 1px solid var(--color-border-dark);
  padding: 0.45rem 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-secondary);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
}

.top-bar-item a:hover {
  color: var(--color-accent);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.top-bar-social a:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* Main Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(7, 10, 19, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background-color: var(--color-bg-surface);
  border-left: 1px solid var(--color-border-dark);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-close:hover {
  color: #ffffff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-accent);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-dark);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #04060c;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border-dark);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-border);
  background-color: var(--color-bg-card-hover);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  letter-spacing: -0.01em;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9125rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.8875rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--color-accent);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-float-widget:hover .whatsapp-float-btn {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-tooltip {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-normal);
}

.whatsapp-float-widget:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation effect */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: rgba(37, 211, 102, 0.6);
  z-index: -1;
  animation: pulseGreen 2.2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 868px) {
  .top-bar {
    display: none; /* Keep clean on small mobile */
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .whatsapp-float-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float-tooltip {
    display: none; /* Avoid screen clutter on mobile */
  }
}

/* Accessible Reduced-Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .whatsapp-float-btn::before {
    display: none;
  }
}

/* ==========================================================================
   Print Optimization (@media print)
   Generates clean B2B specification sheets on Ctrl+P / Print
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .site-header,
  .top-bar,
  .site-footer,
  .whatsapp-float-widget,
  .modal-backdrop,
  .hero-glow,
  .hero-mesh,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  .section,
  .section-dark,
  .section-darker,
  .section-light,
  .section-light-alt {
    background: transparent !important;
    color: #000000 !important;
    padding: 1rem 0 !important;
  }

  h1, h2, h3, h4, p, td, th, span {
    color: #000000 !important;
  }

  .product-gallery-main {
    background: transparent !important;
    border: 1px solid #cccccc !important;
  }

  .specs-table {
    border: 1px solid #dddddd;
  }

  .specs-table th,
  .specs-table td {
    border-bottom: 1px solid #dddddd;
    padding: 6px 8px;
    font-size: 11pt;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

