/* Reset dan umum */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #1b1b1b;
  color: #f5f5dc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #774b1e;
  padding: 20px 25px;
  box-shadow: 0 2px 5px rgba(255, 0, 0, 0.1);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f5f5dc;
}

.logo-img {
  width: 50px;
  height: 47px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #f5f5dc;
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

nav ul li a:hover,
nav ul li a.active {
  color: #a47149;
}

.hero {
  position: relative;
  padding: 80px 0;
  background: url('../img/latar.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero .container.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.text {
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  color: #f5f5dc;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 32px;
  color: #a47149;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #e6d8b1;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #a47149;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #8d5f33;
}

.image img {
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.section-profile {
  padding: 60px 0;
  background-color: #2a2a2a;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 10px;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 40px;
}

.service-box {
  background-color: #a47149;
  padding: 20px;
  border-radius: 10px;
  color: #f5f5dc;
  border: 1px solid #ffffff;
  transition: transform 0.3s ease;
  text-align: left;
}

.service-box:hover {
  transform: translateY(-5px);
  background-color: #7bafeb;
}

.service-box h3 {
  color: #d2b48c;
  margin-bottom: 10px;
}

.service-box ul {
  padding-left: 20px;
  margin-top: 10px;
  list-style: disc;
}

.service-box ul li {
  margin-bottom: 6px;
  color: #f5f5dc;
  font-size: 15px;
}

.section-gallery {
  padding: 60px 0;
  background-color: #2a2a2a;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #f5f5dc;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(3px);
}
.section-projects {
  padding: 60px 0;
  background-color: #2a2a2a;
  text-align: center;
}

.section-projects .highlight {
  color: #a47149;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #a47149;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 15px;
  color: #f5f5dc;
}

.project-info h3 {
  margin-bottom: 10px;
  color: #d2b48c;
}

.project-info p {
  font-size: 15px;
  line-height: 1.5;
}

footer {
  background-color: #1b1b1b;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #a47149;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
}

.footer-icons a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}


.footer-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom p {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-content {
    flex-wrap: nowrap;
    gap: 30px;
  }

  .text {
    flex: 1 1 60%;
    max-width: 60%;
  }

  .image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
  }

  .image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
  }

  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  nav ul li a {
    font-size: 18px;
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0;
  }

  .text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: auto;
  }

  /* Projects */
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: auto;
  }

  /* Footer */
  .footer-icons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .text, .image {
    flex: 1 1 100%;
    text-align: center;
  }

  .image {
    margin-top: 20px;
  }
}
