@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #000;
  --text-color: #333;
  --bg-color: #fff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--primary-color);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-item button {
  font-size: 0.875rem;
  padding: 1.5rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-item button:hover {
  color: var(--gray-600);
}

.nav-link {
  font-size: 0.875rem;
  padding: 1.5rem 0.5rem;
  text-decoration: none;
  color: var(--text-color);
}

.nav-link:hover {
  color: var(--gray-600);
}

.icon-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--gray-100);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 40;
}

.mega-menu.active {
  display: block;
}

.mega-menu-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.menu-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.menu-section ul {
  list-style: none;
  space: 0.5rem;
}

.menu-section a {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
}

.menu-section a:hover {
  color: var(--gray-900);
}

.dropdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 30;
}

.dropdown-overlay.active {
  display: block;
}

.menu-image-container {
  height: 200px; /* Reduced height */
  overflow: hidden;
  border-radius: 4px;
}

.menu-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1465311440653-ba9b1d9b0f5b?q=80&w=1932&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
  position: relative;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.hero p {
  font-size: 1.25rem;
  color: #f3f4f6;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons button {
  background: white;
  color: black;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hero-buttons button:hover {
  background: #f3f4f6;
}

/* Featured Collections */
.featured {
  padding: 5rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.featured h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.collection-card {
  cursor: pointer;
  group-hover: scale-105;
}

.collection-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.collection-card:hover .collection-image::after {
  background: rgba(0, 0, 0, 0.4);
}

.collection-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  z-index: 10;
}

.collection-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.collection-content p {
  font-size: 0.875rem;
  opacity: 0.9;
}

  /* Technology Showcase */
  .technology-showcase {
    padding: 6rem 0;
    background: var(--gray-100);
  }
  
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .tech-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--mens-primary);
  }
  
  .tech-card h3 {
    margin-bottom: 0.5rem;
    color: var(--mens-primary);
  }
  
  .tech-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
  }
  



/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-section ul a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: white;
  transition: color 0.2s;
}

.social-icon:hover {
  color: var(--gray-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Mobile Styles */
.mobile-only {
  display: none;
}

@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .nav-container {
    padding: 0 0.5rem;
  }
  
  .collection-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}

/*Gear*/

/* Hero Small */
.hero-small {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 64px;
}

.hero-small::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.tech-hero {
  background-image: url('https://images.unsplash.com/photo-1434389677669-e08b4cac3105');
}

.sale-hero {
  background-image: url('https://images.unsplash.com/photo-1483721310020-03333e577078');
}

/* Categories Section */
.categories {
  padding: 4rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.category-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.category-content ul {
  list-style: none;
}

.category-content a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.category-content a:hover {
  opacity: 1;
}

/* Tech Features */
.tech-features {
  padding: 4rem 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
}

.tech-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tech-content {
  padding: 1.5rem;
}

.tech-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tech-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.learn-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gray-900);
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.learn-more:hover {
  background: var(--gray-800);
}

/* Sale Page */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.25rem;
  background: white;
  min-width: 150px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  height: 300px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price {
  display: flex;
  gap: 1rem; .price {
  margin-bottom: 1rem;
}

.original-price {
  color: var(--gray-600);
  text-decoration: line-through;
}

.sale-price {
  color: #ef4444;
  font-weight: 600;
}

.add-to-cart {
  width: 100%;
  padding: 0.75rem;
  background: var(--gray-900);
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-to-cart:hover {
  background: var(--gray-800);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .category-grid,
  .tech-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .hero-small {
    height: 40vh;
  }

  .tech-content h3 {
    font-size: 1.125rem;
  }

  .product-image {
    height: 250px;
  }
}