/* ===== Global Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  color: #333;
}

/* ===== Hero + Category Slider Base ===== */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slider .hero-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

/* Logo */
.logo {
  max-width: 100px;
  margin-bottom: 20px;
}

/* Button Styles */
.btn-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.btn-download {
  background-color: #fff;
  color: #28a745;
  border: 2px solid #28a745;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-download:hover {
  background-color: #28a745;
  color: white;
}

/* ===== About & Contact Sections ===== */
.about, .contact {
  background-color: #fff;
  padding: 30px;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 10px;
  line-height: 1.7;
}

.about h2, .contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

/* ===== Category Slider Overrides ===== */
.category-slider {
  height: 560px;
  margin: 60px auto;
  max-width: 70%;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
  .category-slider {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 50vh;
  }

  .category-slider {
    height: 350px;
    max-width: 100%;
  }

  .btn-download {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .about, .contact {
    padding: 20px 15px;
    font-size: 1rem;
  }

  .about h2, .contact h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 50vh; /* shorter hero on mobile */
  }

  .category-slider {
  height: 300px;
  max-width: 85%;
  margin: 40px auto;
}

  .hero-content h1 {
    font-size: 1.4rem;
    padding: 0 10px;
  }

  .hero-content p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .btn-download {
    font-size: 0.9rem;
    margin: 8px 0;
    padding: 10px 16px;
  }
}
