/* =========================
   GLOBAL STYLE
========================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: #f8f8f8;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* =========================
   NAVBAR (JANGAN DIUBAH)
========================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.3);
  background: white;
  color: black;
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1000;
}

.navbar.show {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: black;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: #ccc;
}

.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 991px) {
  .navbar {
    width: 90%;
    justify-content: space-between;
  }
  .nav-links {
    gap: 15px;
  }
}

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

/* HP */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-link {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: #f0f0f0;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #e9e9e9;
  border-radius: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.brand-section {
  position: relative;
  z-index: 1;
  background-color: rgba(233, 233, 233, 0.9);
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-frame {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.logo-frame img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: center;
  transform: scale(0.85);
}

.brand-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
}

.brand-section h2 span {
  font-weight: 700;
}

/* =========================
   SECTION KONTEN PUTIH
========================= */
.content {
  background: #fff;
  color: black;
  padding: 50px 20px;
}

.section {
  margin: 40px auto;
  max-width: 900px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.section-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.section-header .main-image {
  width: 250px;
  border-radius: 10px;
}

.section-text {
  flex: 1;
}

.section-text h2 {
  margin: 0;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-text p {
  margin-top: 10px;
  color: #444;
  line-height: 1.5;
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
  padding: 60px 10%;
  background-color: #fff;
}

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex: 1;
  max-width: 450px;
}

.about-gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1.5;
  line-height: 1.8;
  font-size: 16px;
  text-align: justify;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Responsif untuk About Section */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .about-text {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* =========================
   PROFIL SECTION
========================= */
.header {
  text-align: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  width: 80px;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  margin: 30px auto;
  padding: 20px;
  width: 85%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.intro-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.intro-text {
  flex: 2;
  padding: 0 20px;
}

.visi,
.misi {
  background: #fff;
  width: 85%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h3 {
  color: #222;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #444;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 20px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #666;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.footer-logo img {
  height: 200px;
}

.footer-slogan {
  font-size: 25px;
  margin: 0;
}

.footer-btn {
  background: #e74c3c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #c0392b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ddd;
}

.contact-item i {
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #e74c3c;
}

.contact-item p {
  margin: 0;
}

/* Copyright */
.copyright {
  background-color: #111;
  text-align: center;
  padding: 15px 10px;
  border-top: 1px solid #333;
}

.copyright p {
  color: #ccc;
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.5px;
}

.copyright span {
  color: #fff;
  font-weight: 500;
}

/* =========================
   RESPONSIVE FOOTER
========================= */
@media (max-width: 992px) {
  .copyright p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .copyright {
    padding: 12px 5px;
  }

  .copyright p {
    font-size: 12px;
    line-height: 1.5;
  }

  .copyright span {
    display: block;
    margin-top: 4px;
  }
}
