/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(15,15,15,0.8)),
              url("https://picsum.photos/1600/800?fashion") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center; /* only affects hero-content now */
  text-align: center;
  padding: 0 20px;
  position: relative;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
  z-index: 1000;
}

.navbar.scrolled {
  position: fixed;
  background: rgba(15,15,15,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 35px;
  height: 35px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.logo span {
  color: #ff0080;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}
.nav-links a:hover {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Hero Content */
.hero h1 {
  font-size: 3rem;
  animation: fadeInDown 1s ease forwards;
}
.hero p {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #ccc;
  animation: fadeInUp 1.5s ease forwards;
}
.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff0080, #7928ca);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}
.cta-btn:hover {
  background: linear-gradient(135deg, #00f2fe, #2af598);
  transform: scale(1.1);
}

/* Products */
.products {
  padding: 60px 20px;
  text-align: center;
}
.products h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-10px);
}
.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.product-card h3 {
  margin: 10px 0;
}
.product-card p {
  color: #2af598;
  font-weight: 600;
}
.product-card button {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff0080, #7928ca);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.product-card button:hover {
  background: linear-gradient(135deg, #00f2fe, #2af598);
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #111;
  font-size: 0.9rem;
  color: #777;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    gap: 10px;
    padding: 10px 15px;
  }
  .nav-links {
    flex-direction:row;
    gap: 10px;
  }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .cta-btn { padding: 10px 20px; }
}

@media (max-width: 480px) {
     .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.9rem; }
  .cta-btn { padding: 8px 16px; font-size: 0.9rem; }
  .logo { font-size: 1.2rem; }
  .logo-img { width: 30px; height: 30px; }
  .product-card { padding: 15px; }
}
