/* === Warehouse Page Styles === */

/* Hero Section */
.hero.warehouse {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("../images/home/BG_whr.jpg") center/cover no-repeat;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}


.hero.warehouse .warehousecontent {
  position: relative;
  z-index: 2;
}

.hero.warehouse h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.hero.warehouse p {
  font-size: 16px;
  color: #ccc;
}

/* Rentals Section */
.rentals-section {
  padding: 60px 20px;
  background: #f9f9f9; /* light background for contrast */
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 32px;
  color: #e65c00;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Grid */
.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  text-align: center;
  color: #e65c00;
  padding: 0 10px;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
  padding: 0 15px;
  color: #444;
  text-align: center;
  flex: 1;
}

.card .category {
  display: inline-block;
  margin: 15px auto 20px;
  padding: 8px 16px;
  border: 2px solid #e65c00;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #e65c00;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card .category:hover {
  background: #e65c00;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .hero.warehouse h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero.warehouse {
    height: 25vh;
  }
  .card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero.warehouse h1 {
    font-size: 22px;
  }
  .card img {
    height: 160px;
  }
}
