/* Tổng thể */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  line-height: 1.6;
}

/* Thanh điều hướng */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar h1 {
  color: #00ffff;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #00ffff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #ffffffcc;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

/* Banner */
.banner {
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.05);
}

.banner h2 {
  font-size: 2rem;
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff;
}

.banner span {
  color: #ffbb00;
  text-shadow: 0 0 10px #ffbb00;
}

/* Card section */
.card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin: 40px auto;
  padding: 30px;
  width: 85%;
  max-width: 900px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.3);
}

/* Tiêu đề từng phần */
.card h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Màu tiêu đề riêng cho từng phần */
#about h2 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}
#skills h2 {
  color: #ffbb00;
  text-shadow: 0 0 10px #ffbb00;
}
#projects h2 {
  color: #ff66cc;
  text-shadow: 0 0 10px #ff66cc;
}
#gallery h2 {
  color: #66ff99;
  text-shadow: 0 0 10px #66ff99;
}
#contact h2 {
  color: #ff6666;
  text-shadow: 0 0 10px #ff6666;
}

/* Ảnh cá nhân */
.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* About section */
.about-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-content ul {
  list-style: none;
  padding: 0;
}

.about-content li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Liên hệ */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

form input::placeholder,
form textarea::placeholder {
  color: #ffffffaa;
}

button {
  background: #00ffff;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #00cccc;
  transform: scale(1.05);
}
