/*----------------------------------------
VELOX Shoes Showcase - Black & White Theme
----------------------------------------*/

/* Search Form */
.search-form {
  position: relative;
  margin-left: 1rem;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 220px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333 !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  height: 38px;
  position: relative;
  box-sizing: border-box;
}

/* Force text color in all states */
.search-input,
.search-input:focus,
.search-input::placeholder {
  color: #333 !important;
  opacity: 1;
}

/* Header styles for all states */
.header .search-input {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
  color: #333 !important;
}

.header .search-input:focus {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.header .search-input::placeholder {
  color: #666 !important;
  opacity: 1;
}

.search-button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #333 !important; /* Force dark color */
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
  z-index: 2;
}

/* Ensure search button is visible on all backgrounds */
.header .search-button,
.header.scrolled .search-button {
  color: #333 !important;
}

.search-button:hover {
  color: #0d6efd !important;
}

/* Make sure the search icon is properly sized and visible */
.search-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  color: #333 !important;
  fill: #333 !important;
}

/* Single Auth Button */
.nav-auth-buttons {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.btn-auth {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
}

/* Light header state */
.header:not(.scrolled) .btn-auth {
  color: var(--light-color);
  border-color: var(--light-color);
}

.header:not(.scrolled) .btn-auth:hover {
  background-color: var(--light-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Dark header state (scrolled) */
.header.scrolled .btn-auth {
  color: var(--dark-color);
  border-color: var(--dark-color);
}

.header.scrolled .btn-auth:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.search-input {
  color: #333; /* Dark text by default */
}

.header:not(.scrolled) .search-input {
  color: #333; /* Dark text on light background */
}

.header.scrolled .search-input {
  color: #fff; /* White text on dark background */
}

.search-input:focus {
  outline: none;
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  background-color: #fff; /* Solid white on focus for better contrast */
}

.search-input::placeholder {
  color: rgba(0, 0, 0, 0.5); /* Dark placeholder text */
}

.header.scrolled .search-input::placeholder {
  color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Light placeholder text on dark background */
}

.search-button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.5);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: -1px;
}

.search-button:focus {
  outline: none;
  box-shadow: none;
}

.search-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .search-form {
    margin: 1rem 0;
    width: 100%;
  }

  .search-input {
    width: 100%;
  }
}

/* Auth Buttons Styles */
.nav-auth-buttons {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.btn-login,
.btn-signup {
  padding: 0.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-login {
  background-color: transparent;
  color: var(--dark-color);
  border: 1px solid var(--dark-color);
}

.header:not(.scrolled) .btn-login {
  color: var(--dark-color);
  border-color: var(--dark-color);
}

.header:not(.scrolled) .btn-login:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

.btn-signup {
  background-color: var(--dark-color);
  color: var(--light-color);
  border: 1px solid var(--dark-color);
  margin-left: 0.75rem;
}

.header:not(.scrolled) .btn-signup {
  background-color: var(--dark-color);
  color: var(--light-color);
  border-color: var(--dark-color);
}

.header:not(.scrolled) .btn-signup:hover {
  background-color: #333;
  border-color: #333;
}

.btn-signup:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark-color);
}

/* Auth Modal Styles */
.auth-modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 450px;
  margin: 0 auto;
}

/* Password field styling */
.auth-modal-content .password-field {
  position: relative;
}

.auth-modal-content .password-field .form-control {
  padding-right: 2.5rem;
}

.password-eye-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 14px;
}

.password-eye-toggle:hover {
  color: #495057;
}

.password-eye-toggle:focus {
  outline: none;
}

/* Adjust position for validation states */
.form-control.is-invalid + .password-eye-toggle,
.form-control.is-valid + .password-eye-toggle {
  right: 45px;
}

/* Ensure proper input padding */
.password-field .form-control {
  padding-right: 45px;
}

.password-field .form-control.is-invalid,
.password-field .form-control.is-valid {
  padding-right: 75px;
}

.auth-modal-content .modal-header {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.auth-modal-content .modal-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}

.auth-modal-content .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.auth-modal-content .modal-body {
  padding: 1.5rem;
}

/* Auth Toggle */
.auth-toggle {
  display: flex;
  background: #f1f3f4;
  border-radius: 25px;
  padding: 3px;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.auth-tab-btn.active {
  background: var(--dark-color);
  color: var(--light-color);
}

.auth-tab-btn:not(.active) {
  color: #666;
}

/* Form Styles */
.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-form .form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.auth-form .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.auth-form .form-control:focus {
  border-color: var(--dark-color);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  outline: none;
}

.auth-form .form-control.is-invalid {
  border-color: #dc3545;
}

.auth-form .form-control.is-valid {
  border-color: #28a745;
}

/* Field Error Messages */
.field-error {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.strength-bar {
  height: 4px;
  width: 100px;
  background: #e9ecef;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.strength-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-bar.strength-1::after {
  width: 20%;
  background: #dc3545;
}

.strength-bar.strength-2::after {
  width: 40%;
  background: #fd7e14;
}

.strength-bar.strength-3::after {
  width: 60%;
  background: #ffc107;
}

.strength-bar.strength-4::after {
  width: 80%;
  background: #20c997;
}

.strength-bar.strength-5::after {
  width: 100%;
  background: #28a745;
}

.strength-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
}

.auth-form .btn-primary {
  background: var(--dark-color);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  width: 100%;
}

.auth-form .btn-primary:hover:not(:disabled) {
  background: #333;
}

.auth-form .btn-primary:disabled {
  opacity: 0.7;
}

.form-check {
  margin-bottom: 1rem;
}

.form-check-label {
  font-size: 0.85rem;
  color: #666;
}

.form-check-label a {
  color: var(--dark-color);
  text-decoration: none;
}

/* User Menu Styles */
.user-menu {
  position: relative;
}

.btn-user {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header:not(.scrolled) .btn-user {
  color: var(--light-color);
  border-color: var(--light-color);
}

.header:not(.scrolled) .btn-user:hover {
  background: var(--light-color);
  color: var(--dark-color);
}

.header.scrolled .btn-user {
  color: var(--dark-color);
  border-color: var(--dark-color);
}

.header.scrolled .btn-user:hover {
  background: var(--dark-color);
  color: var(--light-color);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  margin-top: 10px;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-info {
  margin-bottom: 0.5rem;
}

.user-info strong {
  display: block;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.user-info small {
  color: #666;
  font-size: 0.75rem;
}

.user-dropdown hr {
  margin: 0.5rem 0;
  border-color: #eee;
}

.dropdown-item {
  background: none;
  border: none;
  padding: 0.5rem 0;
  color: #666;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

.dropdown-item:hover {
  color: var(--dark-color);
}

/* Toast Notifications */
.velox-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.25rem;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.velox-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.velox-toast.toast-success {
  border-left-color: #28a745;
}

.velox-toast.toast-error {
  border-left-color: #dc3545;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-content i {
  font-size: 1.1rem;
}

.toast-success .toast-content i {
  color: #28a745;
}

.toast-error .toast-content i {
  color: #dc3545;
}

.toast-content span {
  font-weight: 500;
  color: var(--dark-color);
  font-size: 0.9rem;
}

:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #ff0000;
  --dark-color: #000000;
  --light-color: #ffffff;
  --gray-color: #666666;
  --light-gray: #f5f5f5;
  --text-color: #333333;
  --text-light: #666666;
  --body-font: "Roboto", sans-serif;
  --heading-font: "Oswald", sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Sticky Hero Background Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  z-index: -2;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: transparent;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.section-padding {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
}

/* Featured Products Section */
.products .product-card {
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Reduce hover flicker by stabilizing layers */
.product-card,
.btn {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

/* Force the hover effect to work */
#products .product-card {
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#products .product-card:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  z-index: 2;
}

#products .product-image {
  overflow: hidden;
}

#products .product-image img {
  transition: transform 0.5s ease !important;
  transform: scale(1);
}

#products .product-card:hover .product-image img {
  transform: scale(1.1) !important;
}

.products .product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.products .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* no grayscale in Featured Products */
}

/* Show color when active (e.g., tapped on mobile) */
.product-card.active .product-image img {
  /* keep as-is; no grayscale applied */
}

.products .product-info {
  padding: 1.5rem;
}

.products .product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.products .product-description {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.products .product-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--dark-color);
  font-weight: 900;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

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

.btn {
  font-weight: 700;
  padding: 1rem;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  border: 2px solid transparent;
  min-height: 44px;
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
  cursor: pointer;
}

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

.collections .btn-primary {
  background-color: var(--light-color);
  border-color: var(--light-color);
  color: var(--primary-color);
}

.collections .btn-primary:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--light-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
  /* transform: translateY(-3px); */
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  color: var(--light-color);
  border-color: var(--light-color);
  background-color: transparent;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
  background-color: var(--light-color);
  color: var(--primary-color);
  /* border-color: var(--light-color); */
  /* transform: translateY(-3px); */
  box-shadow: var(--shadow-md);
}

/* Remove zoom/scale effects from hero section buttons only */
.hero-buttons .btn {
  transform: none !important;
}

.hero-buttons .btn:hover,
.hero-buttons .btn:focus,
.hero-buttons .btn:active {
  transform: none !important;
}

.hero-buttons .btn-primary {
  background-color: var(--light-color);
  border-color: var(--light-color);
  color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Remove zoom/scale effects from product overlay buttons to match hero buttons */
.product-overlay .btn {
  transform: none !important;
}

.product-overlay .btn:hover,
.product-overlay .btn:focus,
.product-overlay .btn:active {
  transform: none !important;
}

.btn-glow {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
}

/*----------------------------------------
:Search Box
-----------------------------------------/* Modern Search Form */
.search-form {
  max-width: 300px;
  margin-left: 1.5rem;
  position: relative;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.search-container:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.search-input {
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: none;
  background: transparent;
  color: white;
  font-size: 0.95rem;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.3px;
}

.search-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  color: white;
  transition: all 0.3s ease;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.search-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-button:active {
  transform: scale(0.95);
}

.search-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
  transition: transform 0.2s ease;
}

.search-button:hover .search-icon {
  transform: scale(1.1);
}

/* Focus styles for better accessibility */
.search-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.search-input:focus-visible {
  outline: none;
}

/* Scrolled state */
.header.scrolled .search-form .search-container {
  background: rgba(255, 255, 255, 0.9);
  border-color: #000000;
  border-width: 2px;
  color: var(--text-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header.scrolled .search-form .form-control:focus {
  background-color: white;
  border-color: #000000;
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.header.scrolled .search-form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.header.scrolled .search-form .btn {
  color: rgba(0, 0, 0, 0.6);
}

.header.scrolled .search-form .btn:hover {
  color: var(--primary-color);
  background: transparent;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  /* Hide search input from menu in mobile view */
  .header .search-form {
    display: none !important;
  }
  .search-form {
    margin: 1rem 0 0;
    max-width: 100%;
    padding: 0 15px;
  }

  .search-form .form-control {
    border-radius: 25px;
    width: 100%;
  }

  .search-form .btn {
    right: 15px;
  }
}

/*----------------------------------------
Hero Section
----------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--light-color);
  padding-top: 80px;
  overflow: hidden;
  z-index: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.geometric-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.shape-1 {
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  transform: rotate(45deg);
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: -10%;
  right: -5%;
  width: 250px;
  height: 250px;
  transform: rotate(30deg);
  animation: float 7s ease-in-out infinite;
  animation-delay: 1s;
}

.shape-3 {
  top: 50%;
  right: 20%;
  width: 200px;
  height: 200px;
  transform: rotate(60deg);
  animation: float 9s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(-30px) rotate(45deg);
  }
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
}

.hero-text-container {
  position: relative;
  z-index: 1;
}

.hero-buttons-container {
  /* position: absolute; */
  bottom: 80px;
  left: 0;
  width: 100%;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--accent-color);
  position: relative;
  display: inline-block;
  min-width: 250px;
  width: 500px;
  height: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-title .highlight {
    text-align: center;
    display: block;
    width: 100%;
    min-width: 100%;
  }
}

.typed-cursor {
  color: var(--accent-color);
  font-weight: 900;
  animation: blink 0.7s infinite;
  opacity: 1;
  transition: opacity 0.3s;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typing-start {
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.typing-complete {
  transform: scale(1.05);
  display: inline-block;
}

.cycle-complete {
  position: relative;
}

@keyframes underline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Shoe Animation */
@keyframes shoeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.hero-shoe {
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
  animation: shoeFloat 4s ease-in-out infinite;
  transform-origin: center bottom;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-shoe:hover {
  animation-play-state: paused;
  transform: scale(1.05);
}

.hero-shoe-container {
  position: relative;
  perspective: 1000px;
}

.shoe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
  opacity: 0.7;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  font-weight: 300;
}

.hero-buttons {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-shoe-container {
  position: relative;
  z-index: 1;
  perspective: 1000px;
}
.hero-shoe-container:hover img {
  scale: 1.02;
}

.hero-shoe {
  width: 100%;
  max-width: 700px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.shoe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-indicator:hover {
  border-color: var(--light-color);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(15px);
  }
}

/*----------------------------------------
Products Section
----------------------------------------*/
.products {
  background-color: var(--light-color);
  position: relative;
  z-index: 1;
  margin-top: 0px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.product-card {
  background: var(--light-color);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  cursor: default;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  display: none !important;
}

/* Hide Quick View button on small screens */
@media (max-width: 991.98px) {
  .quick-view-btn {
    display: none !important;
  }
}

/* Allow interaction only on actionable elements to avoid hover flicker at edges */
.product-overlay .btn,
.product-overlay a {
  pointer-events: auto;
  cursor: pointer;
}

.product-info {
  padding: 30px 20px;
  text-align: left;
}

.product-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark-color);
  font-weight: 700;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

/*----------------------------------------
Collections Section
----------------------------------------*/
.collections {
  background-color: var(--dark-color);
  position: relative;
  z-index: 1;
}

/* Premium Collections: grayscale by default; color on hover */
#collections .collection-image {
  filter: grayscale(100%) !important;
  transition: filter 0.3s ease;
}

#collections .collection-image-container:hover .collection-image {
  filter: grayscale(0%) !important;
}

.collection-image-container {
  position: relative;
  padding: 20px;
}

.collection-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
  filter: grayscale(100%);
  opacity: 0.9;
  transform: scale(1);
  display: block;
}

.collection-image:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

.collection-stats {
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  margin-bottom: 20px;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--light-color);
  margin-bottom: 5px;
  display: inline-block;
  font-family: var(--heading-font);
}

.stat-item span {
  font-size: 2rem;
  font-weight: 900;
  color: var(--light-color);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

/*----------------------------------------
Technology Section
----------------------------------------*/
.technology {
  background-color: var(--light-gray);
  position: relative;
  z-index: 1;
}

.tech-card {
  background: var(--light-color);
  border-radius: 0;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background-color: var(--dark-color);
  color: var(--light-color);
}

.tech-icon {
  width: 80px;
  height: 80px;
  border-radius: 0;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--light-color);
  transition: var(--transition);
}

.tech-card:hover .tech-icon {
  background: var(--light-color);
  color: var(--primary-color);
  transform: rotateY(180deg);
}

.tech-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  transition: var(--transition);
  font-weight: 700;
}

.tech-card:hover .tech-title {
  color: var(--light-color);
}

.tech-description {
  color: var(--text-light);
  margin-bottom: 0;
  transition: var(--transition);
}

.tech-card:hover .tech-description {
  color: rgba(255, 255, 255, 0.8);
}

/*----------------------------------------
Athletes Section - Enhanced Testimonials
----------------------------------------*/
.athletes {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.athletes-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-shoe {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 2rem;
  animation: floatShoe 6s ease-in-out infinite;
}

.shoe-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shoe-2 {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shoe-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes floatShoe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.title-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--light-color), transparent);
  margin: 0 auto 20px;
  position: relative;
}

.title-underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--light-color);
  animation: underlineGrow 2s ease-out forwards;
}

@keyframes underlineGrow {
  to {
    width: 100%;
  }
}

.testimonial-card-modern {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  height: 100%;
  overflow: hidden;
  border-width: 1px;
  border-style: solid;
  transition: box-shadow 0.3s ease;
}

.testimonial-card-modern:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.testimonial-bg-pattern {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  /* animation: rotatePattern 20s linear infinite; */
}

@keyframes rotatePattern {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.testimonial-content {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.quote-mark {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: serif;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.testimonial-content p {
  color: var(--light-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.rating i {
  color: #ffd700;
  font-size: 1rem;
  animation: starTwinkle 2s ease-in-out infinite;
}

.rating i:nth-child(2) {
  animation-delay: 0.2s;
}
.rating i:nth-child(3) {
  animation-delay: 0.4s;
}
.rating i:nth-child(4) {
  animation-delay: 0.6s;
}
.rating i:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.author-avatar {
  position: relative;
  margin-right: 20px;
}

.author-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-color);
  transition: var(--transition);
}

.avatar-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-top: 2px solid var(--light-color);
  border-radius: 50%;
  animation: ringRotate 3s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.author-info h5 {
  color: var(--light-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 700;
}

.author-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.sport-icon {
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/*----------------------------------------
Contact Section - Enhanced with Animations
----------------------------------------*/
.contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Contact Background Animation */
.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-element {
  position: absolute;
  color: rgba(0, 0, 0, 0.05);
  font-size: 2rem;
  animation: floatElement 8s ease-in-out infinite;
}

.element-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 70%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.05;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.1;
  }
}

/* Contact Info Cards */
.contact-info-cards {
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

.contact-info-card {
  background: var(--light-color);
  border-radius: 15px;
  padding: 30px 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: visible;
  min-height: 120px;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  /* left: -100%; */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

/* .contact-info-card:hover::before {
    left: 100%;
} */

.contact-info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.contact-info-card {
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
  color: var(--light-color);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.contact-info-card:hover .contact-icon {
  background: var(--light-color);
  color: var(--primary-color);
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-details h5 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Enhanced Contact Form */
.contact-form-container {
  background: var(--light-color);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}

.form-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.form-group-modern {
  position: relative;
  margin-bottom: 35px;
}

.form-control-modern {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  font-size: 1rem;
  color: var(--dark-color);
  transition: var(--transition);
  outline: none;
}

.form-control-modern:focus {
  border-bottom-color: var(--primary-color);
}

.form-control-modern:focus + .form-label-modern,
.form-control-modern:not(:placeholder-shown) + .form-label-modern {
  top: -20px;
  font-size: 0.875rem;
  color: var(--primary-color);
}

.form-label-modern {
  position: absolute;
  top: -20px;
  left: 0;
  color: var(--text-light);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-line {
  display: none;
}

.invalid-feedback {
  display: block;
  color: var(--accent-color);
  font-size: 0.875rem;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Wishlist heart - shared style for cards and modal */
.wishlist-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.wishlist-heart i {
  font-size: 18px;
  color: #333;
}

.wishlist-heart.active i {
  color: #e63946;
}

.form-control-modern.is-invalid ~ .invalid-feedback {
  opacity: 1;
}

.form-control-modern.is-invalid {
  border-bottom-color: var(--accent-color);
}

.form-control-modern.is-invalid ~ .form-line {
  background: var(--accent-color);
  width: 100%;
}

/* Enhanced Submit Button */
.btn-submit-modern {
  background: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  min-width: 200px;
}

.btn-submit-modern:hover {
  background: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-submit-modern:active {
  transform: translateY(-1px);
}

.btn-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit-modern:active .btn-ripple {
  width: 300px;
  height: 300px;
}

/*----------------------------------------
Footer
----------------------------------------*/
.footer {
  background-color: var(--dark-color);
  padding: 25px 0 5px;
  color: var(--light-color);
}

.footer-widget {
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.VELOX-logo-footer {
  width: 30px;
  height: auto;
  margin-right: 10px;
  filter: invert(1);
}

.brand-text-footer {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--light-color);
}

.footer-title {
  color: var(--light-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--light-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  padding: 5px;
  margin: 5px;
}

.social-link:hover {
  background-color: white;
  color: black;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Ensure X Twitter icon displays properly */
.social-link .fa-x-twitter {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

/* Fallback for X Twitter icon if not available */
.social-link .fa-x-twitter:before {
  content: "\e61b"; /* X icon unicode */
}

/* Alternative fallback using CSS content */
.social-link[href*="twitter"] .fa-x-twitter:before {
  content: "𝕏";
  font-family: Arial, sans-serif;
  font-weight: bold;
}

/* Cart Sidebar Styles */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.cart-overlay.active {
  display: block;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: white;
  z-index: 9999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background-color: #f8f9fa;
}

.cart-total {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.cart-actions .btn {
  flex: 1;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.cart-empty i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ddd;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5px;
  margin-top: 10px;
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

/*----------------------------------------
Product Quick View Modal Styles
----------------------------------------*/
.product-modal-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-modal-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-modal-image:hover img {
  transform: scale(1.05);
}

.product-modal-info h3 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.product-modal-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.product-modal-rating i {
  color: #f39c12;
  font-size: 16px;
}

.product-modal-rating span {
  color: #7f8c8d;
  font-weight: 500;
  margin-left: 5px;
}

.product-modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 20px;
}

.product-modal-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.product-modal-options {
  margin-bottom: 25px;
}

.size-selector,
.quantity-selector {
  margin-bottom: 15px;
}

.size-selector label,
.quantity-selector label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls .form-control {
  width: 80px;
  text-align: center;
  border: 2px solid #e9ecef;
  border-radius: 8px;
}

.quantity-controls .btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.product-modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.product-modal-actions .btn {
  flex: 1;
  min-width: 150px;
  padding: 12px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-modal-actions .btn-primary {
  background-color: #000;
  border-color: #000;
}

.product-modal-actions .btn-primary:not(.added-to-cart):hover {
  background-color: #333;
  border-color: #333;
}

.product-modal-actions .btn-outline-secondary {
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
}

.product-modal-actions .btn-outline-secondary:hover {
  background-color: #f8f9fa;
}

.added-to-cart {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

/* Remove number input arrows (spinners) */
.quantity-controls input[type="number"]::-webkit-outer-spin-button,
.quantity-controls input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-controls input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: none;
}

/* Modal responsive styles */
@media (max-width: 768px) {
  .product-modal-actions {
    flex-direction: column;
  }

  .product-modal-actions .btn {
    width: 100%;
    min-width: auto;
  }

  .product-modal-info h3 {
    font-size: 1.5rem;
  }

  .product-modal-price {
    font-size: 1.6rem;
  }
}

/*----------------------------------------
Responsive Design
----------------------------------------*/
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 30px;
  }

  /* Medium screens: Improve hero buttons layout */
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 350px;
    margin: 0 !important;
    min-height: 50px;
  }
}

@media (max-width: 768px) {
  .header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: none !important;
  }

  .header:not(.scrolled) .navbar-nav .nav-link {
    color: var(--dark-color) !important;
  }

  .header:not(.scrolled) .navbar-toggler {
    color: var(--dark-color);
    border-color: var(--dark-color);
  }

  .header:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .header .logo-v {
    color: var(--primary-color) !important;
  }

  .header .logo-speed-lines {
    color: var(--primary-color) !important;
  }

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

  .header .nav-link {
    color: var(--primary-color) !important;
  }

  .header .nav-link::after {
    background-color: var(--primary-color) !important;
  }

  .nav-link.active::after {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }

  .header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .hero {
    text-align: center;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }

  .hero-content-wrapper {
    justify-content: center;
    text-align: center;
  }

  .hero-buttons-container {
    position: static;
    margin-top: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }

  .footer {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-widget {
    margin-bottom: 15px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-bottom {
    margin-top: 8px;
    padding-top: 5px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item span {
    font-size: 1.5rem;
  }

  /* Tablet: Improve hero buttons layout */
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 !important;
    min-height: 50px;
  }

  /* Mobile: Hide product overlay completely */
  .product-overlay {
    display: none !important;
  }

  .quick-view-btn {
    display: none !important;
  }

  .product-overlay .btn {
    min-height: 44px; /* Touch-friendly minimum height */
    width: 80%;
    max-width: 200px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
  }

  /* Ensure product images are visible on mobile */
  .product-image {
    height: 250px;
    overflow: hidden;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Improve product card layout on mobile */
  .product-card {
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .product-info {
    padding: 20px 15px;
  }

  .product-name {
    font-size: 1.2rem;
  }

  .product-price {
    font-size: 1.3rem;
  }

  /* Ensure proper grid spacing on mobile */
  .row.g-4 {
    margin: 0 -10px;
  }

  .row.g-4 > [class*="col-"] {
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    margin: 0 auto 2rem auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 !important;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .product-info {
    padding: 20px 15px;
  }

  .tech-card,
  .athlete-card {
    padding: 30px 20px;
  }

  /* Small mobile: Adjust product overlay */
  .product-overlay {
    background: rgba(0, 0, 0, 0);
    gap: 8px;
  }

  .product-overlay .btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    min-height: 40px; /* Touch-friendly minimum height */
    width: 90%;
    max-width: 180px;
  }

  /* Smaller product images for small mobile */
  .product-image {
    height: 200px;
  }

  /* Footer mobile optimization for small screens */
  .footer {
    padding: 20px 0 5px;
  }

  .footer-widget {
    margin-bottom: 12px;
  }

  .footer-links li {
    margin-bottom: 6px;
  }

  .footer-bottom {
    margin-top: 5px;
    padding-top: 3px;
  }

  .social-links {
    margin-top: 10px;
  }
}

/* iPad/tablet alignment fixes */
@media (min-width: 768px) and (max-width: 1024.98px) {
  .hero {
    min-height: 80vh;
    padding-top: 100px;
    align-items: center;
  }

  .hero-content-wrapper {
    align-items: center;
    text-align: center;
  }

  .hero-buttons-container {
    position: static;
    margin-top: 24px;
    width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    gap: 16px;
  }

  .hero-title {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
  }

  /* Product cards: consistent heights and spacing */
  .products .product-image {
    height: 260px;
  }
  .product-info {
    padding: 20px;
  }

  /* Page header spacing */
  .page-header {
    padding: 60px 0 40px;
  }
  .page-title {
    margin-bottom: 8px;
  }
  .page-subtitle {
    margin-bottom: 0;
  }

  /* Footer spacing */
  .footer {
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}

/*----------------------------------------
Custom Scrollbar
----------------------------------------*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color);
}

/* ===== SHOE ANIMATIONS ===== */

/* Hero Shoe Floating Animation */
@keyframes shoeFloat {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-20px) rotateZ(2deg);
  }
}

/* Shoe Bounce Effect */
@keyframes shoeBounce {
  0% {
    transform: scale(1) rotateY(0deg);
  }
  25% {
    transform: scale(1.05) rotateY(5deg);
  }
  50% {
    transform: scale(1.1) rotateY(15deg);
  }
  75% {
    transform: scale(1.05) rotateY(10deg);
  }
  100% {
    transform: scale(1.1) rotateY(15deg);
  }
}

/* Shoe Click Animation */
@keyframes shoeClick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95) rotateZ(-5deg);
  }
  100% {
    transform: scale(1) rotateZ(0deg);
  }
}

/* Shoe Rotation Animation */
@keyframes shoeRotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Shoe Glow Animation */
@keyframes shoeGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    transform: scale(1.02);
  }
}

/* Floating Shoe Icons */
@keyframes floatShoe {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-25px) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-15px) rotate(-5deg);
    opacity: 0.9;
  }
}

/* Pulse Glow Effect */
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Shoe Wiggle Animation */
@keyframes shoeWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

/* Shoe Zoom In Animation */
@keyframes shoeZoomIn {
  0% {
    transform: scale(0.8) rotateY(-30deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}

/* Shoe Slide In Animation */
@keyframes shoeSlideIn {
  0% {
    transform: translateX(-100px) rotateY(-45deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotateY(0deg);
    opacity: 1;
  }
}

/* Enhanced Shoe Hover Effects */
.hero-shoe {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.product-image img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

/* Collection image styles are defined above */

/* Floating Shoes Background Elements */
.floating-shoe {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-shoe.shoe-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shoe.shoe-2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.floating-shoe.shoe-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

/* Shoe Glow Element */
.shoe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* Product Card Zoom Effect */
.product-card .product-image img {
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

/* Collection Section Shoe Effects */
.collection-image-container {
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Responsive Shoe Animations */
@media (max-width: 768px) {
  .hero-shoe {
    animation: shoeFloat 4s ease-in-out infinite;
  }

  .floating-shoe {
    font-size: 1.5rem;
  }

  @keyframes shoeFloat {
    0%,
    100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }
}

/* Performance Optimizations */
.hero-shoe,
.product-image img,
.collection-image {
  will-change: transform;
  backface-visibility: hidden;
}

/* Shoe Animation Triggers */
.shoe-animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) rotateY(-30deg);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.shoe-animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0) rotateY(0deg);
}

/* Interactive Shoe Elements */
.interactive-shoe {
  cursor: pointer;
  transition: all 0.3s ease;
}

.interactive-shoe:hover {
  transform: scale(1.05) rotateY(10deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.interactive-shoe:active {
  transform: scale(0.98) rotateY(5deg);
}

/* ===== FORM VALIDATION WITH RED UNDERLINES ===== */

/* Error state - Red underline for invalid fields */
.form-control-modern.is-invalid {
  border-bottom: 3px solid #dc3545 !important;
  box-shadow: 0 2px 0 0 rgba(220, 53, 69, 0.3) !important;
}

.form-control-modern.is-invalid:focus {
  border-bottom: 3px solid #dc3545 !important;
  box-shadow: 0 2px 0 0 rgba(220, 53, 69, 0.5) !important;
}

/* Success state - Green underline for valid fields */
.form-control-modern.is-valid {
  border-bottom: 3px solid #28a745 !important;
  box-shadow: 0 2px 0 0 rgba(40, 167, 69, 0.3) !important;
}

.form-control-modern.is-valid:focus {
  border-bottom: 3px solid #28a745 !important;
  box-shadow: 0 2px 0 0 rgba(40, 167, 69, 0.5) !important;
}

/*----------------------------------------
Contact Section - Layout fixes and compact spacing
----------------------------------------*/
#contact .row.g-5 {
  align-items: stretch;
}

#contact .contact-info-cards,
#contact .contact-form-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Reduce overall form height */
#contact .contact-form-container {
  padding: 30px 30px;
}

#contact .form-header {
  margin-bottom: 20px;
}

#contact .form-group-modern {
  margin-bottom: 20px;
}

/* Shake animation for validation errors */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake-error {
  animation: shake 0.5s ease-in-out;
}
