/* General Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}
/* Features Section */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    text-align: center;
}

.feature {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 300px;
    box-sizing: border-box;
}

/* Block 1: Notice Marquee */
.notice-marquee {
  background: #ffefc2;
  color: #b36b00;
  padding: 10px;
  font-weight: bold;
  font-size: 1rem;
}

/* Block 2: Image Slider */
.slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeCycle 9s infinite;
}

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

.highlight {
  animation-delay: 3s;
  filter: brightness(1.2) saturate(1.2);
  transform: scale(1.02);
}

.fade:nth-child(1) {
  animation-delay: 0s;
}
.fade:nth-child(3) {
  animation-delay: 6s;
}

@keyframes fadeCycle {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* Block 3: Offers Section */
.offers {
  padding: 20px;
  background: #fff;
}

.offers h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #e60023;
}

.offer-card {
  background: #ffe6e6;
  border-left: 5px solid #e60023;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 6px;
}

.offer-card h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.offer-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .slider {
    height: 50vh;
  }

  .offers h2 {
    font-size: 1.3rem;
  }

  .offer-card h3 {
    font-size: 1.1rem;
  }
}
