/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background: #f9f9f9; color: #333; }

/* Navbar */
.navbar { background: #fff; padding: 15px; border-bottom: 1px solid #ddd; }
.navbar ul { list-style: none; display: flex; justify-content: flex-start; }
.navbar a { text-decoration: none; margin: 0 10px; color: #0077b6; }

/* Section */
.title-box { margin: 40px 0; }
.title-a { font-size: 28px; margin-bottom: 10px; }
.subtitle-a { color: #666; }

/* Cards */
.row { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.card {
  background: #fff;
  width: 30%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}
.card img { width: 100%; display: block; }
.card-content {
  padding: 15px;
  background: #fff;
  transition: all 0.3s;
}
.card:hover { transform: translateY(-10px); }
.card:hover .card-content { background: #f0f0f0; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center; align-items: center;
  z-index: 1000;
}
.modal-content {
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
.modal img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 6px;
}
.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
