* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.main-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.hero-section {
  position: relative;
  width: 100%;
  background-image: url('./assets/images/Rectangle\ 15.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px;
  min-height: 500px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.container {
  max-width: 1202px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-content {
  width: 100%;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: none;
  gap: 32px;
  align-items: center;
}

.nav-item {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.nav-item:hover {
  text-decoration: underline;
}

.header-line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-text {
  margin-top: 64px;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  width: 100%;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.hero-link:hover {
  opacity: 0.8;
}

.catalog-section {
  width: 100%;
}

.catalog-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  color: #000000;
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-bag-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.8;
}

.shopping-bag-icon:hover {
  opacity: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.product-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #000000;
}

.product-name a {
  color: inherit;
  text-decoration: none;
}

.product-name a:hover {
  text-decoration: underline;
}

.product-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: #888888;
}

.product-price {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #050505;
  margin-top: 8px;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 24px;
    min-height: 600px;
  }

  .logo {
    width: 180px;
  }

  .hero-title {
    font-size: 48px;
    width: 80%;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .catalog-title {
    font-size: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-image-container {
    height: 220px;
  }

  .product-name {
    font-size: 22px;
  }

  .product-price {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
 

  .product-image-container {
    height: 250px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 32px;
    min-height: 700px;
  }

  .logo {
    width: 198px;
  }

  .nav-menu {
    display: flex;
  }

  .hero-title {
    font-size: 64px;
    width: 66%;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .catalog-title {
    font-size: 48px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .product-name {
    font-size: 24px;
  }

  .product-price {
    font-size: 24px;
  }
}

@media (min-width: 1280px) {
  
}

.footer {
  width: 100%;
  padding: 64px 16px;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
  text-align: center;
}

@media (min-width: 1024px) {
  .footer {
    padding: 80px 0;
  }
}
