/* Base Styles */
@import url('./base/reset.css');
@import url('./base/variables.css');
@import url('./base/typography.css');
@import url('./base/utilities.css');


/* Component Styles */
@import url('./components/buttons.css');
@import url('./components/forms.css');
@import url('./components/cards.css');
/* @import url('./components/alerts.css'); */
/* @import url('./components/modals.css'); */
/* @import url('./components/toast.css'); */
@import url('./components/loader.css');
/* @import url('./components/nav.css'); */
/* @import url('./components/carousel.css'); */
@import url('./components/product-card.css');
@import url('./components/pagination.css');
/* @import url('./components/breadcrumb.css'); */
/* @import url('./components/accordion.css'); */
@import url('./components/tabs.css');

/* Page Styles */
@import url('./pages/home.css');

:root {
  /* Colors */
  --primary: #e60b2f;
  --primary-hover: #b8092a;
  --secondary: #112045;
  --accent: #FFC107;
  
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  
  --light: #f8f9fa;
  --dark: #030713;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Grays */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-tertiary: #aaaaaa;
  --text-light: #ffffff;
  
  /* Background colors */
  --bg-primary: #030713;
  --bg-secondary: #0f1621;
  --bg-tertiary: #121925;
  
  /* Borders */
  --border-light: #1f2330;
  --border-color: #252a36;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-base: 1.5;
  --line-height-loose: 1.75;
  
  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.5rem;
  --spacing-6: 2rem;
  --spacing-8: 3rem;
  --spacing-10: 4rem;
  --spacing-12: 5rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.6);
  --shadow-input: 0 0 0 3px rgba(230, 11, 47, 0.25);
  
  /* Transitions */
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-slower: 0.5s ease;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

h1, .h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.025em;
}

h2, .h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.025em;
}

h3, .h3 {
  font-size: var(--font-size-2xl);
}

h4, .h4 {
  font-size: var(--font-size-xl);
}

h5, .h5 {
  font-size: var(--font-size-lg);
}

h6, .h6 {
  font-size: var(--font-size-base);
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  color: var(--text-secondary);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover, a:focus {
  color: var(--primary-hover);
  text-decoration: none;
}

/* Button Overrides */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, 
.btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Form Control Overrides */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-input);
}

/* Custom Classes */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-primary);
}

.site-content {
  flex: 1;
  background-color: var(--bg-primary);
}

/* Skip to content - Accessibility */
.skip-to-content {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
  z-index: var(--z-fixed);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: var(--spacing-3) var(--spacing-5);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-to-content:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  outline: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-md);
}

.back-to-top i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Font class utilities */
.font-heading {
  font-family: var(--font-heading) !important;
}

.font-body {
  font-family: var(--font-body) !important;
}

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

.bg-light-color {
  background-color: var(--bg-secondary) !important;
}

/* Responsive typography */
@media (max-width: 991px) {
  h1, .h1 {
    font-size: calc(var(--font-size-3xl) + 0.5rem);
  }
  
  h2, .h2 {
    font-size: var(--font-size-3xl);
  }
  
  h3, .h3 {
    font-size: calc(var(--font-size-xl) + 0.25rem);
  }
}

@media (max-width: 767px) {
  html {
    font-size: 15px;
  }
  
  .back-to-top {
    width: 2.5rem;
    height: 2.5rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* Menu open body state - prevent scroll */
body.menu-open,
html.menu-open {
  overflow: hidden;
}

/* Utility responsive display */
@media (max-width: 991px) {
  .d-none {
    display: none;
  }
  
  .d-sm-inline-block {
    display: inline-block !important;
  }
  
  .d-md-inline-block {
    display: inline-block !important;
  }
  
  .d-none-mobile {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .d-none-desktop {
    display: none !important;
  }
}

/* Mobile Touch Optimizations */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  a, button, 
  .btn,
  input[type="submit"],
  input[type="button"] {
    cursor: pointer;
    touch-action: manipulation;
  }
}

/* Page Header Component */
.page-header {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
  opacity: 0.3;
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
}

.page-description {
  max-width: 600px;
  margin-bottom: 0;
}

/* Form Elements - Dark Mode */
.form-check-input:checked{
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus{
  border-color: var(--primary);
}

.form-check-input:focus-visible{
  outline: var(--primary) auto 1px;
}

/* Card Styles for Dark Mode */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
}

/* Table Styles for Dark Mode */
.table {
  color: var(--text-secondary);
}

.table thead th {
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}

.table td, .table th {
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--bg-tertiary);
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Modal Styles for Dark Mode */
.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
}

.modal-footer {
  border-top: 1px solid var(--border-color);
}

.close {
  color: var(--text-primary);
  text-shadow: none;
}

/* Dropdown Styles for Dark Mode */
.dropdown-menu {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.dropdown-item {
  color: var(--text-secondary);
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.dropdown-divider {
  border-top: 1px solid var(--border-color);
}

/* List Group Styles for Dark Mode */
.list-group-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.list-group-item.active {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Badge Styles for Dark Mode */
.badge {
  font-weight: var(--font-weight-medium);
}

.badge-primary {
  background-color: var(--primary);
}

.badge-secondary {
  background-color: var(--secondary);
}

/* Alert Styles for Dark Mode */
.alert {
  border: 1px solid transparent;
}

.alert-primary {
  background-color: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--primary-80);
}

.alert-secondary {
  background-color: rgba(var(--secondary-rgb), 0.15);
  border-color: rgba(var(--secondary-rgb), 0.3);
  color: var(--secondary-80);
}
.author-content{
background-color: #1a1a1a!important;
}