/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(37, 28, 28, 0.6);
  color: #fff;
  z-index: 1000;
}

.navbar .logo {
  font-weight: 600;
  font-size: 1.2rem;
}

.navbar span {
  color: #d89221;
}

.nav-links a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 10rem 10rem;
  color: #fff;
  background: url('img/galery/pasukan.jpg') no-repeat center center/cover;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0,0,0,0.5);
}

.hero h1, 
.hero p, 
.hero .btn {
  position: relative;
}

.hero h1 span {
  color: #f29d13;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background: #f39c12;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* Sections */
.about, 
.works, 
.skills, 
.contact {
  padding: 3rem 2rem;
  text-align: center;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery .card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery .card p {
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.gallery .card:hover {
  transform: scale(1.05);
}

/* Skills */
.skills ul {
  list-style: none;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}

.contact input, 
.contact textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #925353;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #fff;
}

footer .socials a {
  margin: 0 5px;
  color: #fff;
}
