/* =========================
   RESET & VARIABLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1f2a44;
  --secondary-color: #ffffff;
  --accent-color: #a97a65;
  --text-color: #111827;
  --background-color: rgba(255, 255, 255, 0.92);
}

body {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text-color);
  background-image: url("./img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: cornflowerblue;
  padding: 18px 22px;
  font-size: 18px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 18px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #fff;
  color: #000;
}

/* JUDUL */
.price-title{
  text-align: center;
  margin: 18px 0 12px;
}

/* 2 tabel berdampingan */
.price-grid{
  width: min(1200px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* kiri kanan */
  gap: 16px;
  align-items: start;
}

/* Table biar muat kolom */
.price-grid .table{
  width: 100%;
  font-size: 16px;
  border-collapse: collapse;
  background-color: #ffffff20;
  color: aliceblue;
}

/* padding & border rapi */
.price-grid .table th,
.price-grid .table td{
  padding: 8px 10px;
  border: 1px solid #ffffff30;
}

/* Header table */
.price-grid .table thead th{
  background: rgba(255,255,255,0.12);
  font-weight: 800;
}

/* Responsive: HP jadi 1 kolom (tabel turun ke bawah) */
@media (max-width: 900px){
  .price-grid{
    grid-template-columns: 1fr;
  }
  .price-grid .table{
    font-size: 15px;
  }
}

.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 18px 12px;
  margin-top: 40px;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px 18px;
    text-align: center;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }

  .page-header h1 {
    font-size: 2.3rem;
  }

  .profile-section {
    padding: 22px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* dari 0.55 -> 0.25 */
  z-index: -2;
}

.content{
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.search-bar {
  display: flex;
  gap: 10px;
  padding: 12px 20px;

  background-color: transparent; 
  border-bottom: 1px solid #ffffff20;

  justify-content: center;
  align-items: center;
}

.search-bar input {
  width: min(520px, 80vw);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ffffff60;
  outline: none;

  background: rgba(255, 255, 255, 0.15); 
  color: #fff;

  backdrop-filter: blur(6px); 
}

.search-bar input::placeholder {
  color: #ffffffb3;
}

.search-bar button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ffffff40;
  background: cornflowerblue;
  color: white;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.search-bar button:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.search-bar button#clearBtn {
  background: transparent;
}

