/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* LANDING SECTION */
.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../image/bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  color: #000;
  padding: 40px 20px 60px 20px;
}

.top-right-nav {
  position: absolute;
  top: 30px;
  right: 100px;
  z-index: 10;
}

.top-right-nav a {
  margin-left: 30px;
  font-weight: bold;
  color: #fff !important;
  font-size: 20px;
  transition: color 0.2s;
}

.top-right-nav a:hover {
  color: #007BFF !important;
}

.profile-img {
  width: 400px;
  position: absolute;
  right: 60px;
  top: -45px;
  z-index: 2;
}

.landing-content {
  max-width: 500px;
  z-index: 2;
  margin-left: 7vw;
  margin-top: 80px;
}

.landing-content p {
  font-size: 22px;
  margin-bottom: 10px;
}

.landing-content h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}

.landing-content .btn {
  background-color: #007BFF;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.landing-content .btn:hover {
  background-color: #0056b3;
}

/* ABOUT SECTION */
.about {
  position: relative;
  background: url('../image/bgAM.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  color: #000;
  padding: 100px 20px 60px 20px;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  min-height: 600px;
}

.about-text {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
  text-align: left;
  margin-top: 80px;
}

.about-text h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: bold;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* GALLERY SECTION */
.gallery {
  background-color: #fff;
  text-align: center;
}

.gallery h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 900px;
}

.gallery-images img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 5px;
  background-color: #fff;
}

/* FOOTER */
.footer {
  margin-top: 50px;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
}

.footer .social {
  margin-top: 10px;
}

.footer .social i {
  margin: 0 8px;
  color: #000;
}

.footer .social span {
  margin-left: 10px;
  font-weight: bold;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .profile-img {
    right: 20px;
    width: 200px;
    top: 120px;
  }

  .top-right-nav {
    right: 20px;
  }

  .landing-content {
    margin-left: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .landing {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    background-position: center top;
  }

  .landing-content {
    margin-left: 0;
    margin-top: 40px;
    text-align: center;
  }

  .profile-img {
    position: static;
    display: block;
    margin: 20px auto;
    width: 160px;
  }

  .top-right-nav {
    text-align: center;
    position: static;
    margin-top: 20px;
    right: 0;
    top: 0;
  }

  .about-text {
    margin-top: 40px;
    padding: 0 20px;
    max-width: 90%;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 14px;
  }

  .gallery h2 {
    font-size: 22px;
  }

  .gallery-images {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .landing-content h1 {
    font-size: 28px;
  }

  .landing-content p {
    font-size: 18px;
  }

  .landing-content .btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .footer {
    font-size: 12px;
  }

  .footer .social span {
    display: block;
    margin-top: 5px;
  }
}

/* Responsive - Kecil Banget (HP kecil) */
@media (max-width: 480px) {
  .profile-img {
    display: none;
  }

  .top-right-nav a {
    font-size: 16px;
    margin-left: 15px;
  }
}
