/* Base styles */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--white);
  background-color: var(--black);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

a:link, a:visited {
  color: inherit;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  width: 100%;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gray-300);
}

.nav-menu-button {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .nav-menu-button {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-content p {
    font-size: 1.5rem;
  }
}

/* Button styles */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  color: var(--black) !important; 
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: var(--gray-300);
}

/* Products Section */
.products {
  padding: 5rem 1rem;
}

.products h2,
.stories h2,
.contact h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  cursor: pointer;
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--gray-900);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.product-card:hover .product-image img {
  opacity: 0.75;
}

.product-info {
  margin-top: 1rem;
}

.product-info h3 {
  font-size: 1.125rem;
  font-weight: 500;
}

.product-info p {
  color: var(--gray-400);
}

/* Product Detail Page */
.product-detail {
  padding: 8rem 1rem 5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--gray-900);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-thumbnails img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-thumbnails img:hover {
  opacity: 0.75;
}

.product-info-detail h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.5rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.product-description {
  margin-bottom: 2rem;
  color: var(--gray-400);
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.size-options h3,
.color-options h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.size-buttons {
  display: flex;
  gap: 0.5rem;
}

.size-button {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-700);
  background: none;
  color: var(--white);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.size-button:hover {
  border-color: var(--white);
}

.color-buttons {
  display: flex;
  gap: 0.5rem;
}

.color-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid var(--gray-700);
  background-color: var(--color);
  cursor: pointer;
  transition: border-color 0.2s;
}

.color-button:hover {
  border-color: var(--white);
}

.buy-button {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
}

/* Stories Section */
.stories {
  padding: 5rem 1rem;
  background-color: var(--gray-900);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.story-card {
  cursor: pointer;
}

.story-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.5rem;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-info {
  margin-top: 1rem;
}

.story-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

.story-info p {
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons svg {
  cursor: pointer;
  transition: color 0.2s;
}

.social-icons svg:hover {
  color: var(--gray-300);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  padding: 2rem 1rem;
  text-align: center;
}

.footer p {
  color: var(--gray-400);
}