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

html, body {
  height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  color: white;
}
/* ==== BACKGROUND ==== */
.background {
  position: fixed;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
  width: 100vw;
  height: 100vh;
  z-index: -1;

  background-image: url('back.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* ==== CONTENT WRAPPER ==== */
.content {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

/* ==== BANNER ==== */
.banner-container {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease forwards;
}

.banner {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* ==== NAVIGATION ==== */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s ease 0.5s forwards;
}

nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255,255,255,0.3);
}

/* ==== STORE SECTION ==== */
.store-section {
  background: rgba(0,0,0,0.85);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  animation: fadeIn 1s ease 0.6s forwards;
}

.store-section h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* ==== PRODUCT GRID ==== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ==== PRODUCT CARD ==== */
.product-card {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-card h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.product-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

/* ==== SIZE DROPDOWN ==== */
.size-label {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.9rem;
}

.size-select {
  padding: 0.5rem;
  font-size: 0.9rem;
  background: #111;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* ==== BUY BUTTON ==== */
.buy-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  background: #111;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background: #222;
  border-color: rgba(255,255,255,0.4);
}

.buy-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
