/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: white;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #0f0;
}

img {
  max-width: 100%;
  display: block;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 10px 30px;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #0f0;
}

/* === SLIDESHOW === */
.slideshow-container {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide {
  display: none;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.slideshow-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.slideshow-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta {
  background: #0f0;
  color: black;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

/* === PROMO SECTION === */
.promo {
  background: #1a1a1a;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.promo h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.promo p {
  font-size: 16px;
  color: #ccc;
}

.promo .btn {
  margin-top: 20px;
  background: #e50914;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.promo .btn:hover {
  background: #ff1c26;
}

/* === PRODUCTS === */
.products {
  padding: 60px 20px;
  text-align: center;
}

.products h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #0f0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #222;
  transition: transform 0.3s, border 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #0f0;
}

.product-card h3 {
  margin: 15px 0 5px;
  font-size: 20px;
}

.product-card p {
  font-weight: bold;
  color: #0f0;
  font-size: 18px;
}

/* === FOOTER === */
footer {
  background: #000;
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .slideshow-text h1 {
    font-size: 32px;
  }

  .slideshow-text p {
    font-size: 16px;
  }

  .cta {
    padding: 10px 20px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-card p {
    font-size: 16px;
  }
}
