/* Background color only on the section, not the padding */
.accessories-section {
  display: flex;
  justify-content: center;
  padding: 50px 40px;
  /* Padding for the section */
}

/* Wrapping the content inside a box to apply padding */
.content-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  /* Control the max width of the content */
  padding: 20px;
  /* Padding for inner content */
  background-color: #d1b8a2;
  /* White background for inner content */
  border-radius: 10px;
  /* Optional rounded corners */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.text-content {
  flex: 1;
  max-width: 50%;
  color: #000;
}

.text-content h1 {
  font-size: 3.5rem;
  line-height: 1.4;
  font-weight: 100;
}

.text-content h1 span {
  font-weight: bold;
}

.text-content p {
  font-size: 1.5rem;
  font-weight: 100;
}

.text-content button {
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.5rem;
  color: #fff;
  background-color: #000;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.text-content button:hover {
  background-color: transparent;
  color: #000;
  border: 2px solid #000;
  /* Add border for contrast when hovered */
}

.image-content {
  flex: 1;
  max-width: 50%;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* For smaller screens, stack the layout */
@media (max-width: 768px) {
  .accessories-section {
    padding: 20px;
  }

  .content-wrapper {
    flex-direction: column;
    padding: 15px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
  }

  .image-content {
    max-width: 100%;
    margin-top: 20px;
  }

  .text-content h1 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 1rem;
    font-weight: 100;
  }

  .text-content button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
