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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  padding: 40px 20px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

h3 {
  text-align: center;
  font-size: 1.2em;
  color: #555;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Social Media Buttons Section */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between buttons */
  margin-bottom: 40px;
}

.social-icon {
  width: 50px;  /* Adjust size of icons */
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1); /* Slightly enlarge icon on hover */
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; /* Increase gap between cards */
  margin-top: 30px;
}

.item-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Add more shadow */
}

.item-card img {
  width: 100%;
  height: 250px; /* Adjust this value to make the image fit well */
  object-fit: contain; /* Ensures the full image is visible without cropping */
  transition: transform 0.3s ease;
  background-color: #f4f4f4; /* Optional: Adds a background for better visibility */
}


.item-card:hover img {
  transform: scale(1.05); /* Slight zoom effect on image */
}

.item-info {
  padding: 20px;
}

.item-info h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #1e272e;
  margin-bottom: 10px;
}

.item-info p {
  font-size: 1em;
  line-height: 1.5;
  color: #636e72;
  margin-bottom: 10px;
}

.price {
  font-size: 1.2em;
  font-weight: bold;
  color: #27ae60;
  margin-top: 10px;
}


h3 {
  text-align: center;
  /* font-size: 1.8em; /* Larger font size  */
  color: #2c3e50; /* Darker text color for readability */
  font-weight: 600; /* Bold text for emphasis */
  margin-bottom: 20px; /* Space below the heading */
  letter-spacing: 1px; /* Adds some space between letters for a modern look */
  position: relative; /* To allow for the underline effect */
}

h3::after {
  content: ''; /* Adds a pseudo-element after the heading */
  display: block;
  width: 60px; /* Underline width */
  height: 4px; /* Underline thickness */
  background-color: #27ae60; /* Green underline color */
  margin: 10px auto 0; /* Centers the underline and adds space from the text */
  border-radius: 2px; /* Rounded corners for the underline */
}


h4 {
  text-align: center;
  /* font-size: 1.8em; /* Larger font size  */
  color: #2c3e50; /* Darker text color for readability */
  font-weight: 600; /* Bold text for emphasis */
  margin-bottom: 20px; /* Space below the heading */
  letter-spacing: 1px; /* Adds some space between letters for a modern look */
  position: relative; /* To allow for the underline effect */
}

h4::after {
  content: ''; /* Adds a pseudo-element after the heading */
  display: block;
  width: 60px; /* Underline width */
  height: 4px; /* Underline thickness */
  background-color: #27ae60; /* Green underline color */
  margin: 10px auto 0; /* Centers the underline and adds space from the text */
  border-radius: 2px; /* Rounded corners for the underline */
}


h3, h4 {
  font-size: 1em; /* Reduce subtitle size */
}

.item-info h2 {
  font-size: 1.2em; /* Reduce item title size */
}

.item-info p {
  font-size: 0.9em; /* Reduce item description size */
}

.price {
  font-size: 1em; /* Reduce price text size */
}

.social-icon {
  width: 40px;  
  height: 40px; /* Adjust social media icons */
}

@media (max-width: 768px) {
  body {
    padding: 20px 10px; /* Reduce padding for smaller screens */
  }

  .container {
    padding: 15px;
  }

  h1 {
    font-size: 1.5em;
  }

  h3, h4 {
    font-size: 0.9em;
  }

  .item-info h2 {
    font-size: 1.1em;
  }

  .item-info p {
    font-size: 0.85em;
  }

  .price {
    font-size: 0.9em;
  }
}