
.banner {
    position: relative;
    height: 80vh;
    background: url('../image/lelang.webp')
                center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
  }
  
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(145, 145, 145, 0.55); 
    z-index: 1;
  }
  
  .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
  }
  
  .banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .banner-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.95;
  }
  
  @media (max-width: 768px) {
    .banner-kredit {
      height: 70vh;
    }
  
    .banner-title {
      font-size: 2rem;
    }
  
    .banner-text {
      font-size: 1rem;
    }
  }
 
.lelang-section {
    background: #f9fafb;
    padding-top: 10px;
    text-align: center;
    font-family: "Poppins";
    color: #333;
  }
  
  .section-title {
    color: #003D79;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .section-subtitle {
    color: #666;
    margin-bottom: 50px;
  }
  
  .lelang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
  }
.lelang-preview {
    background: #f9fafb;
    padding: 20px 10px;
    text-align: center;
    font-family: "Poppins";
  }
  
  .lelang-header h2 {
    color: #003D79;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .lelang-header p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .lelang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 40px;
  }
  
  .lelang-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: #fff;
  }
  
  .lelang-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 75, 45, 0.2);
  }
  
  .lelang-img {
    position: relative;
  }
  
  .lelang-img img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 14px;
  }
  
  .lelang-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 39, 75, 0.70);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    padding: 20px;
    border-radius: 14px;
  }
  
  .lelang-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .lelang-overlay p {
    font-size: 0.95rem;
    margin: 3px 0;
    color: #f1f1f1;
  }
  
  .btn-detail {
    display: inline-block;
    background: #f9c500;
    color: #003D79;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s ease;
  }
  
  .btn-detail:hover {
    background: #ffe066;
  }
  
  .lelang-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
  }
  
  .lelang-card:hover .lelang-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  
  .lelang-footer {
    margin-top: 20px;
  }
  
  .btn-lelang {
    display: inline-block;
    background: #f9c500;
    color: #004b2d;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn-lelang:hover {
    background: #ffe066;
    transform: translateY(-2px);
  }
  .close-btn{
    display: none;
  }

  .btn-banner {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f9c500;
    color: #004b2d;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  
  .btn-banner:hover {
    background-color: #ffe066;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  @media (max-width: 768px) {
    .lelang-section{
      padding: 5px 20px 0px 20px;
    }
    .lelang-img img {
      height: auto;
    }
    .btn-banner {
      padding: 10px 24px;
      font-size: 0.95rem;
    }
    .lelang-header h2 {
      font-size: 1.5rem;
    }
  
    .lelang-overlay h3 {
      font-size: 1rem;
    }
  
    .lelang-overlay p {
      font-size: 0.85rem;
    }

    .lelang-card {
      position: relative;
      background: #fff;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 75, 45, 0.1);
      transition: 0.3s;
      cursor: pointer;
      margin-left: 15px;
      margin-right: 15px;
    }
    
    .lelang-card:hover .card-overlay {
      opacity: 1;
      pointer-events: all;
    }
    
    .lelang-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 39, 75, 0.8);
      opacity: 0;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.4s ease;
      text-align: center;
    }
    
    .close-btn {
      position: absolute;
      top: 12px;
      right: 15px;
      color: white;
      font-size: 1.4rem;
      cursor: pointer;
      display: none;
    }
    
    .lelang-card.active .close-btn {
      display: block;
    }
    
    .overlay-buttons {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .btn-overlay {
      background: #f9c500;
      color: #000;
      padding: 10px 18px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-overlay:hover {
      background: #ffe066;
    }
    
    .lelang-card.active .lelang-overlay {
      opacity: 1;
      pointer-events: all;
    }
  }
  .pagination {
    margin: 30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination button {
    background: #0066cc;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    min-width: 40px;
    transition: .2s;
}

.pagination button.active {
    background: #003f80;
}

.pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* WRAPPER SECTION */
.section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

/* GRID UTAMA (FLEX RESPONSIVE) */
.detail-grid {
    display: flex;
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

/* KIRI (DETAIL) */
.detail-box {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.detail-item {
    margin-bottom: 12px;
}

.detail-item p {
    margin: 3px 0 0;
    color: #444;
}

/* KANAN (MAP) */
.map-box {
    flex: 1.3;
    min-width: 320px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
    .detail-grid {
        flex-direction: column;
    }

    .map-box {
        display: block;
        height: 450px;
    }
    .section {
      padding: 20px 12px;
  }

  .detail-box {
      padding: 20px;
  }

  .map-box {
      display: block;
      height: 400px;
  }
}
