* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 60px;
}
/* hero banner */
.hero-banner {
  width: 100%;
  background: linear-gradient(135deg, #582e6c, #b49eff);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slider {
  height: 350px;
  margin: auto;
  margin-top: 20px;
  position: relative;
  width: 90%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(400px * 10);
  animation: scroll 8s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-400px * 5));
  }
}
.slide {
  height: 300px;
  width: 400px;
  display: flex;
  align-items: center;
  padding: 5px;
  perspective: 100px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 1s;
}

img:hover {
  transform: translateZ(20px);
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 10%;
  z-index: 2;
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/*Navbar styles*/
.form-control:focus {
  box-shadow: none;
}

.input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-radius: 30px;
}

.navbar-nav .nav-link {
  font-weight: 500;
}
/* Featured Artiests */
.card {
  height: 100%;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}
.card-text {
  height: 50px;
}
/* Button style */
.btn {
  margin-top: 70px;
  background-color: purple;
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  background-color: #4b2c8c;
  color: white;
  transform: translateY(-2px);
}
/* Badge styling */
.badge {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}
/* Artworks for sales */
.card-img-artwork {
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
/* Modal */
.modal-dialog {
  max-width: 400px;
}

.modal-content {
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0.5rem;
  justify-content: center;
}

.modal-title {
  font-weight: 700;
  color: #5a4fcf;
  font-size: 1.2rem;
}

.modal-body {
  padding: 1rem 1rem 0.5rem 1rem;
}

.modal-body .form-label {
  font-weight: 500;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.modal-body .form-control {
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  box-shadow: none;
  transition: 0.2s;
}

.modal-body .form-control:focus {
  border-color: #5a4fcf;
  box-shadow: 0 0 0 1px rgba(90, 79, 207, 0.15);
}

.modal-body button {
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  background-color: #5a4fcf;
  font-size: 0.9rem;
  border: none;
  transition: 0.3s;
}

.modal-body button:hover {
  background-color: #463ac0;
}

.modal-footer {
  border-top: none;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem 1rem;
}

.modal-footer p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.modal-footer a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
}

.modal-footer .btn {
  width: 100%;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: #111; /* Dark background for contrast */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer p {
  margin: 0 0 0.5rem;
}

footer a {
  color: #eeeded;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #f39c12; /* Accent color on hover */
}

footer .border-light {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

footer .fab {
  font-size: 1.2rem;
  transition: transform 0.3s, color 0.3s;
}

footer .fab:hover {
  transform: scale(1.2);
  color: #f39c12;
}

footer .text-center p {
  color: #d6d3d3;
  font-size: 14px;
}
