/*Button*/
button {
  background: linear-gradient(135deg, #d4af37, #ffe375);
  color: #725905;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.3);
  text-shadow: -0.0625rem 0.0625rem 0 #fff, 0.0625rem -0.0625rem 0 #d4af37;
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #ffe375, #d4af37);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 0.5rem rgba(0,0,0,0.4);
}

img {
    width: 100%;
    display: block;
}

/*banner animation*/
.banner {
  position: relative;
  overflow: hidden;
  height: 37.5rem; /* 600px */
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideFade 15s infinite;
  animation-timing-function: ease-in-out;
}

.banner-slide:nth-child(1) { animation-delay: 0s; }
.banner-slide:nth-child(2) { animation-delay: 5s; }
.banner-slide:nth-child(3) { animation-delay: 10s; }

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #d4af37;
  text-align: center;
}

@keyframes slideFade {
  0%, 33% { opacity: 1; z-index: 1; }
  34%, 100% { opacity: 0; z-index: 0; }
}

@media (max-width: 1024px) {
  .banner { height: 25rem; } /* 400px */
}

@media (max-width: 768px) {
  .banner { height: 15.625rem; } /* 250px */
  .banner-text h2 { font-size: 1.25rem; } /* 20px */
}

.featured {
  padding: 3.75rem 1.25rem; /* 60px 20px */
  text-align: center;
}

.featured h2 {
  color: #d4af37;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 0.3125rem #000;
}

.watches {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  flex-wrap: nowrap;
}

.watch-card {
  background: rgba(88, 90, 93, 0.5);
  backdrop-filter: blur(0.3125rem);
  border-radius: 0.625rem;
  padding: 1.25rem;
  width: 15.625rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.watch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px 10px #d4af37;
}

.watch-card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;  
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  margin-bottom: 0.9375rem;
}

.watch-card h3 {
  color: #fafafa;
  margin-bottom: 0.625rem;
}

.watch-card p {
  font-weight: bold;
  margin-bottom: 0.3125rem;
}

.watch-card span {
  color: #d4af37;
  margin-bottom: 0.9375rem;
  display: block;
}

/*Tablet*/
@media (max-width: 1024px) {
  .banner { height: 25rem; }

  .banner-txt h2 {
    font-size: 2.2rem;
  }

  .watches {
    gap: 1.25rem;
  }

  .watch-card {
    width: calc(50% - 1.25rem);
  }
}

/*Mobile*/
@media (max-width: 768px) {
  .banner { height: 15.625rem; }

  .banner-txt h2 {
    font-size: 1.6rem;
  }

  .featured {
    padding: 2.5rem 0.625rem;
  }

  .watches {
    flex-direction: column;
    align-items: center;
    gap: 1.5625rem;
  }

  .watch-card {
    width: 90%;
  }

  button {
    width: 100%;
    max-width: 18.75rem;
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}
