body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('/images/ha-giang-loop.jpg') no-repeat center center fixed;
  background-size: cover;
  padding-top: 160px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);  /* Added dark overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

.header-container {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.search-container {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.search-box {
  width: 50%;
  max-width: 500px;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
}

.tab-bar {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.tab {
  padding: 0.8rem 2rem;
  border: none;
  background-color: #f8f9fa;
  font-size: 1.1rem;
  border-radius: 4px;
  margin: 0 0.5rem;
  color: #495057;
  cursor: pointer;
}

.tab:hover { background-color: #e9ecef; }
.tab.active { 
  background-color: #007bff; 
  color: white;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  justify-content: center;
}

.card {
  width: 300px;
  height: 380px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 300px;
  height: 225px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  height: 140px;
  overflow: hidden;
}

.card-content h3 { 
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.card-content p { 
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 15px;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #333;
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .navigation {
    display: none;
    width: 100%;
    background: white;
  }

  .navigation.active {
    display: block;
  }

  .tab-bar {
    flex-direction: column;
    padding: 0;
  }

  .tab {
    width: 100%;
    margin: 0;
    padding: 15px;
    border-radius: 0;
    border-bottom: 1px solid #eee;
  }
}

@media (min-width: 769px) {
  .navigation {
    display: block !important;
  }
}
