/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #333;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  max-width: 120px;
  height: auto;
}

/* Search bar */
.search-bar {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 400px;
  margin: 0 40px;
}

.search-bar input {
  width: 100%;
  padding: 10px 40px 10px 20px;
  border: none;
  border-radius: 25px;
  background: #f3f3f3;
  outline: none;
  color: #707070;
  font-size: 16px;
  font-weight: 500;
}

.search-bar .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  pointer-events: none;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #707070;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff007f;
}

/* Hero */
.hero {
  background: #feeae9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  border-radius: 10px;
  margin: 20px 60px;
  gap: 40px;
}

.hero-text h1 {
  color: #1f1f1f;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text p {
  color: #4e4e4e;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
}

.hero-text .price {
  color: #ff136f;
  font-size: 41px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-btn {
  width: 168px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff589b, #ff136f);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 19, 111, 0.3);
}

.btn-text {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.hero-img img {
  max-width: 400px;
  border-radius: 6px;
}

/* Categories section */
.categories {
  padding: 40px 60px;
  text-align: center;
}

.categories h2 {
  color: #1f1f1f;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
}

.category-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  width: 320px;
  height: 120px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-txt {
  font-size: 28px;
  font-weight: 600;
}

.category-card img {
  width: 65px;
  height: auto;
}

/* Gradient backgrounds */
.watch {
  background: linear-gradient(152deg, #ff9c35, #ffd019);
}

.bag {
  background: linear-gradient(180deg, #ff589b, #ff136f);
}

.shoes {
  background: linear-gradient(170deg, #4289ff, #3f07f8);
}

/* Shared Section Styles for Shoes and Backpack */
.section-container {
  padding: 40px 60px;
  margin-bottom: 30px;
}

.section-container .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-container .section-header h2 {
  color: #1f1f1f;
  font-size: 36px;
  font-weight: 600;
}

.section-container .section-header a {
  color: #ff9d00;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-container .section-header a:hover {
  color: #ff136f;
}

.section-container .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.section-container .product-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.section-container .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08);
}

.section-container .product-card img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 15px;
  border-radius: 6px;
}

.section-container .product-card h3 {
  color: #1f1f1f;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-container .product-card p {
  color: #4e4e4e;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  margin-bottom: 15px;
}

.section-container .product-card .price {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-container .buy-now-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: #000;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.section-container .buy-now-btn:hover {
  background: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section-container .buy-now-btn-txt {
  text-decoration: none;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

/* Footer Section */
.newsletter-footer {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.newsletter-container {
  max-width: 1212px;
  background: rgba(255, 242, 241, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 10px;
}

.newsletter-container h2 {
  color: rgba(31, 31, 31, 1);
  font-family: Poppins;
  font-size: 30px;
  font-weight: 600;
  line-height: 45px;
  margin-bottom: 5px;
}

.newsletter-container p {
  color: rgba(112, 112, 112, 1);
  font-family: Poppins;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 683px;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  color: rgba(204, 204, 204, 1);
  font-family: Poppins;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
}

.newsletter-form button {
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 25px;
  cursor: pointer;
  transition: opacity 0.3s;
  background: linear-gradient(
    180deg,
    rgba(255, 88, 155, 1),
    rgba(255, 19, 111, 1)
  );
  font-family: Poppins;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
}

.newsletter-form button:hover {
  opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1024px) {
  header {
    padding: 20px 40px;
  }

  .hero {
    padding: 40px;
    margin: 20px 40px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-img img {
    max-width: 300px;
  }

  .categories {
    padding: 40px 40px;
  }

  .section-container {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .search-bar {
    margin: 0;
    max-width: 100%;
  }

  nav ul {
    gap: 20px;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    margin: 20px;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text .price {
    font-size: 32px;
  }

  .hero-img img {
    max-width: 100%;
  }

  .categories {
    padding: 30px 20px;
  }

  .category-list {
    flex-direction: column;
    align-items: center;
  }

  .category-card {
    width: 100%;
    max-width: 320px;
  }

  .section-container {
    padding: 30px 20px;
  }

  .section-container .product-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-container {
    padding: 30px 20px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input {
    border-radius: 5px 5px 0 0;
    font-size: 18px;
  }

  .newsletter-form button {
    border-radius: 0 0 5px 5px;
    font-size: 18px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-text .price {
    font-size: 24px;
  }

  .hero-btn {
    width: 100%;
    max-width: 168px;
  }

  .categories h2 {
    font-size: 28px;
  }

  .section-container .section-header h2 {
    font-size: 28px;
  }

  .newsletter-container h2 {
    font-size: 24px;
  }

  .newsletter-container p {
    font-size: 14px;
  }

  .newsletter-form input {
    font-size: 16px;
  }

  .newsletter-form button {
    font-size: 16px;
  }
}
