/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #0f0f0f;
  --foreground: #fafafa;
  --card: #1a1a1a;
  --card-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #0f0f0f;
  --secondary: #262626;
  --secondary-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a3a3a3;
  --accent: #d4a843;
  --accent-foreground: #0f0f0f;
  --border: #333333;
  --input: #262626;
  --ring: #fafafa;
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-btn {
  color: var(--foreground);
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.875rem;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.cart-btn {
  position: relative;
  color: var(--foreground);
}

.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s;
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--background);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.close-menu-btn {
  color: var(--foreground);
}

.mobile-nav {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--foreground);
  transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 85vh;
  }
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, rgba(15, 15, 15, 0.4) 50%, transparent 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem;
  }
}

.hero-subtitle {
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(250, 250, 250, 0.9);
  transform: translateY(-1px);
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Category Pills */
.category-pills {
  display: block;
  overflow-x: auto;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .category-pills {
    display: none;
  }
}

.pills-container {
  display: flex;
  gap: 0.5rem;
}

.pill {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}

.pill.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Products Section */
.products-section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .products-section {
    padding: 5rem 0;
  }
}

.products-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.products-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .products-title {
    font-size: 2.25rem;
  }
}

.products-count {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Product Card */
.product-card {
  cursor: pointer;
}

.product-image-container {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}

.product-card:hover .product-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.add-to-bag-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  padding: 0.625rem 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s;
}

.product-card:hover .add-to-bag-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-to-bag-btn:hover {
  background-color: rgba(250, 250, 250, 0.9);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-category {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .product-name {
    font-size: 1rem;
  }
}

.product-price {
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .product-price {
    font-size: 1rem;
  }
}

/* Featured Banner */
.featured-banner {
  background-color: var(--secondary);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .featured-banner {
    padding: 6rem 0;
  }
}

.banner-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.banner-subtitle {
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.banner-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 3.75rem;
  }
}

.banner-description {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: var(--muted-foreground);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(250, 250, 250, 0.1);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--foreground);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.company-info {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.company-name {
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
}

.legal-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.legal-links a:hover {
  color: var(--foreground);
}

.copyright {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
