/* ================= RESET ================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080808;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}


/* ================= HEADER ================= */

.header {
  height: 78px;
  width: 100%;
  background: #090909;
  border-bottom: 1px solid #242424;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: #e50914;
}

.desktop-nav {
  display: flex;
  gap: 35px;
}

.desktop-nav a {
  color: #dddddd;
  font-size: 14px;
  transition: 0.3s;
}

.desktop-nav a:hover {
  color: #e50914;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ================= SEARCH ================= */

.search-box {
  display: flex;
  height: 40px;
  border: 1px solid #333;
  background: #111;
}

.search-box input {
  width: 190px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 12px;
  color: white;
}

.search-box input::placeholder {
  color: #777;
}

.search-box button {
  width: 42px;
  border: none;
  background: #e50914;
  color: white;
  cursor: pointer;
}


/* ================= CART BUTTON ================= */

.cart-btn {
  height: 40px;
  min-width: 45px;

  border: 1px solid #333;
  background: #111;
  color: white;

  cursor: pointer;
}

.cart-btn span {
  background: #e50914;
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 11px;
}


/* ================= MENU BUTTON ================= */

.menu-btn {
  display: none;

  width: 42px;
  height: 40px;

  background: #111;
  border: 1px solid #333;

  cursor: pointer;

  padding: 9px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: white;
  margin: 5px 0;
}


/* ================= MOBILE MENU ================= */

.mobile-menu {
  position: fixed;

  top: 0;
  right: -100%;

  width: 300px;
  height: 100vh;

  background: #0b0b0b;

  z-index: 2000;

  padding: 35px;

  border-left: 1px solid #292929;

  transition: 0.4s;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 18px;
  right: 20px;

  background: transparent;
  border: none;

  color: white;
  font-size: 32px;

  cursor: pointer;
}

.menu-logo {
  margin: 45px 0 40px;

  font-size: 21px;
  font-weight: bold;
  letter-spacing: 2px;
}

.menu-logo span {
  color: #e50914;
}

.mobile-menu a {
  display: block;

  padding: 16px 0;

  border-bottom: 1px solid #252525;

  color: #ddd;

  font-size: 16px;
}

.mobile-menu a:hover {
  color: #e50914;
}


/* ================= HERO ================= */

.hero {
  min-height: 620px;

  display: flex;
  align-items: center;

  padding: 80px 8%;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.98) 0%,
      rgba(0,0,0,0.88) 50%,
      rgba(120,0,0,0.25) 100%
    ),
    linear-gradient(
      135deg,
      #070707,
      #210306
    );

  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  right: -150px;
  top: 100px;

  background: #c7000a;

  opacity: 0.12;

  filter: blur(80px);
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.small-title {
  color: #e50914;

  font-size: 12px;
  font-weight: bold;

  letter-spacing: 3px;

  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 75px);

  line-height: 1.05;

  margin-bottom: 25px;
}

.hero h1 span {
  color: #e50914;
}

.hero-text {
  color: #bdbdbd;

  max-width: 520px;

  font-size: 17px;

  margin-bottom: 35px;
}


/* ================= BUTTONS ================= */

.hero-buttons {
  display: flex;
  gap: 14px;
}

.primary-btn,
.secondary-btn {
  display: inline-block;

  padding: 13px 28px;

  font-size: 14px;

  transition: 0.3s;
}

.primary-btn {
  background: #e50914;
  color: white;
  border: 1px solid #e50914;
}

.primary-btn:hover {
  background: #b90710;
}

.secondary-btn {
  border: 1px solid #555;
  color: white;
}

.secondary-btn:hover {
  border-color: #e50914;
  color: #e50914;
}


/* ================= FEATURES ================= */

.features {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  background: #0e0e0e;

  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
}

.feature {
  padding: 35px;

  text-align: center;

  border-right: 1px solid #242424;
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  font-size: 25px;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.feature p {
  color: #888;
  font-size: 13px;
}


/* ================= PRODUCTS ================= */

.products-section {
  padding: 100px 7%;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading > p {
  color: #e50914;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: bold;
}

.section-heading h2 {
  font-size: 40px;
  margin-top: 8px;
}

.section-heading h2 span {
  color: #e50914;
}

.red-line {
  width: 55px;
  height: 3px;

  background: #e50914;

  margin: 18px auto;
}


/* ================= PRODUCT GRID ================= */

.products-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.product-card {
  background: #101010;

  border: 1px solid #292929;

  transition: 0.3s;

  overflow: hidden;
}

.product-card:hover {
  border-color: #e50914;
  transform: translateY(-5px);
}

.product-image {
  height: 330px;

  background: #151515;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.badge {
  position: absolute;

  top: 15px;
  left: 15px;

  background: #e50914;

  padding: 5px 10px;

  font-size: 9px;

  letter-spacing: 1px;
}

.product-info {
  padding: 23px;
}

.category {
  color: #e50914;

  font-size: 10px;

  letter-spacing: 2px;

  margin-bottom: 7px;
}

.product-info h3 {
  font-size: 21px;
}

.description {
  color: #888;

  font-size: 13px;

  margin: 8px 0 20px;
}

.product-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.price {
  font-size: 20px;
  font-weight: bold;
}

.add-btn {
  background: #e50914;

  border: none;

  color: white;

  padding: 10px 18px;

  cursor: pointer;

  font-weight: bold;
}

.add-btn:hover {
  background: #b90710;
}

.no-products {
  display: none;

  text-align: center;

  color: #777;

  padding: 50px;
}


/* ================= ABOUT ================= */

.about {
  padding: 100px 8%;

  background: #0e0e0e;

  border-top: 1px solid #222;
}

.about-content {
  max-width: 700px;
}

.about h2 {
  font-size: 45px;

  line-height: 1.1;

  margin-bottom: 25px;
}

.about h2 span {
  color: #e50914;
}

.about p:last-child {
  color: #999;

  max-width: 600px;
}


/* ================= BENEFITS ================= */

.benefits {
  padding: 100px 7%;
}

.benefit-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.benefit-grid > div {
  padding: 30px;

  background: #101010;

  border: 1px solid #292929;
}

.benefit-grid strong {
  color: #e50914;

  font-size: 30px;
}

.benefit-grid h3 {
  margin: 15px 0 8px;
}

.benefit-grid p {
  color: #888;
  font-size: 13px;
}


/* ================= CONTACT ================= */

.contact {
  text-align: center;

  padding: 100px 20px;

  background:
    linear-gradient(
      rgba(0,0,0,0.85),
      rgba(0,0,0,0.95)
    ),
    #250307;
}

.contact h2 {
  font-size: 42px;

  margin-bottom: 15px;
}

.contact h2 span {
  color: #e50914;
}

.contact > p:not(.small-title) {
  color: #999;

  margin-bottom: 30px;
}


/* ================= CART ================= */

.cart-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.7);

  z-index: 2500;

  display: none;
}

.cart-overlay.active {
  display: block;
}

.cart-panel {
  position: fixed;

  top: 0;
  right: -430px;

  width: 420px;
  height: 100vh;

  background: #0d0d0d;

  z-index: 3000;

  border-left: 1px solid #333;

  display: flex;
  flex-direction: column;

  transition: 0.4s;
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 22px;

  display: flex;

  justify-content: space-between;

  border-bottom: 1px solid #292929;
}

.cart-header button {
  background: none;

  border: none;

  color: white;

  font-size: 28px;

  cursor: pointer;
}

.cart-items {
  flex: 1;

  overflow-y: auto;

  padding: 20px;
}

.empty-cart {
  color: #777;
  text-align: center;
  padding: 50px 0;
}

.cart-item {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1px solid #292929;
}

.cart-item h4 {
  font-size: 14px;
}

.cart-item p {
  color: #e50914;
  font-size: 13px;
}

.remove-item {
  background: none;

  border: none;

  color: #888;

  cursor: pointer;
}

.remove-item:hover {
  color: red;
}

.cart-footer {
  padding: 22px;

  border-top: 1px solid #292929;
}

.total-row {
  display: flex;

  justify-content: space-between;

  margin-bottom: 20px;

  font-size: 18px;
}

.total-row strong {
  color: #e50914;
}

.checkout-btn {
  width: 100%;

  padding: 14px;

  border: none;

  background: #e50914;

  color: white;

  font-weight: bold;

  cursor: pointer;
}


/* ================= FOOTER ================= */

footer {
  padding: 35px 20px;

  text-align: center;

  background: #050505;

  border-top: 1px solid #222;
}

.footer-logo {
  font-weight: bold;

  letter-spacing: 3px;

  margin-bottom: 10px;
}

.footer-logo span {
  color: #e50914;
}

footer p {
  color: #666;

  font-size: 12px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .search-box input {
    width: 140px;
  }

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

  .benefit-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 650px) {

  .header {
    height: 68px;
    padding: 0 15px;
  }

  .logo {
    font-size: 18px;
  }

  .search-box {
    display: none;
  }

  .hero {
    min-height: 570px;
    padding: 70px 25px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 15px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid #242424;
  }

  .products-section {
    padding: 70px 18px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 350px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .about {
    padding: 70px 25px;
  }

  .about h2 {
    font-size: 35px;
  }

  .benefits {
    padding: 70px 18px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .cart-panel {
    width: 100%;
    right: -100%;
  }

