/* =====================
   RESET DAN GLOBAL STYLING
========================= */
body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #dcf2dc;
  animation: fadeInHero 1.5s ease forwards;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Responsif untuk tablet (max-width 992px) */
@media (max-width: 992px) {
  body {
    font-size: 16px;
    padding: 0 10px;
  }
}

/* Responsif untuk HP (max-width 600px) */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    padding: 0 5px;
  }
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);                /* Sedikit lebih lembut */
  -webkit-backdrop-filter: blur(8px);        /* Untuk Safari */
  background-color: rgba(255, 255, 255, 0.07);/* Transparan lembut */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);     /* Shadow lebih halus */
  transition: transform 0.3s ease-in-out, background-color 0.3s ease;
  
}

.navbar-hidden {
  top: -100px; /* Geser keluar layar */
  transition: transform 0.3s ease-in-out;
}

.navbar-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

.navbar-left .logo {
  height: 80px;
}

.navbar-center {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

.navbar-center a,
.navbar-right a {
  text-decoration: none;
  color: white;
  font-weight: 700; 
}

.contact-btn {
  background-color: #8FE560;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
}
.navbar.transparent {
  background-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* === Toggle Button (Hamburger) === */
.navbar-toggle {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
  display: none; /* default disembunyikan */
  z-index: 1100;
}

/* === Fullscreen Overlay Menu === */
.navbar-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(220, 242, 220, 0.95); /* warna hijau muda semi transparan */
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
}

.navbar-fullscreen.show {
  transform: translateY(0%);
}

.navbar-fullscreen a {
  text-decoration: none;
  font-size: 22px;
  color: #333;
  margin: 15px 0;
  font-weight: 600;
}

.navbar-fullscreen .contact-btn {
  background-color: #73c075;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 18px;
}

/* === Responsive: Tablet & HP === */
@media (max-width: 992px) {
  .navbar-container {
    padding: 10px 20px;
  }

  .navbar-left .logo {
    height: 60px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-center,
  .navbar-right {
    display: none !important;
  }
}

/* Desktop: nonaktifkan overlay */
@media (min-width: 993px) {
  .navbar-fullscreen {
    display: none;
  }
}


/* =====================
   HERO SECTION
========================= */
.hero {
  background: url('images/bg1.png') bottom center / cover no-repeat;
  width: 100%;
  height: 160vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 170px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInHero 1.5s ease forwards;
}

.hero h1 {
  font-size: 4em;
  margin-bottom: 20px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero a {
  margin-top: 30px;
  display: inline-block;
  padding: 10px 20px;
  background: #8FE560;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero a.visible {
  opacity: 1;
}


@keyframes fadeInHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Tablet (max-width: 992px) === */
@media (max-width: 992px) {
  .hero {
    height: 120vh;               /* lebih pendek */
    padding-top: 140px;          /* sesuaikan jarak atas */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .hero h1 {
    font-size: 3em;              /* kecilkan sedikit */
    margin-bottom: 16px;
  }

  .hero a {
    padding: 8px 18px;
    font-size: 0.95em;
  }
}

/* === HP (max-width: 600px) === */
@media (max-width: 600px) {
  .hero {
    height: auto;                /* biar high otomatis sesuai konten */
    min-height: 100vh;           /* minimal satu layar penuh */
    padding-top: 120px;          /* sesuaikan jarak atas */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .hero h1 {
    font-size: 2em;              /* lebih kecil lagi */
    margin-bottom: 12px;
    line-height: 1.2;
    padding: 0 10px;             /* beri sedikit padding samping */
  }

  .hero a {
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 0.9em;
  }
}

/* Responsif khusus untuk hero text & tombol */
@media (max-width: 992px) {
  .hero h1.scroll-fade {
    font-size: 2.4em;
    padding: 0 20px;
    line-height: 1.3;
  }

  .hero a.scroll-fade {
    font-size: 0.95em;
    padding: 9px 18px;
  }
}

@media (max-width: 768px) {
  .hero h1.scroll-fade {
    font-size: 2em;
    padding: 0 16px;
  }

  .hero a.scroll-fade {
    font-size: 0.9em;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero h1.scroll-fade {
    font-size: 1.6em;
    padding: 0 12px;
    line-height: 1.4;
  }

  .hero a.scroll-fade {
    font-size: 0.85em;
    padding: 7px 14px;
  }
}

/* =====================
   HERO LOGOS
========================= */
.hero-logos {
  position: absolute;
  bottom: -10px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 2rem 1rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
 
}

.hero-logo-label {
  color: white;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}
.hero-logo-images {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-logo-images img {

  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}


.hero-logos img:hover {
  transform: scale(1.1);
}
/* Ukuran berbeda-beda */
.logo-small {
  height: 70px;
}
.logo-medium {
  height: 70px;
}
.logo-large {
  height: 80px;
}
.logo-xlarge {
  height: 70px;
}
/* === Tablet (max-width: 992px) === */
@media (max-width: 992px) {
  .hero-logo-label {
    font-size: 14px;
  }

  .logo-small,
  .logo-medium,
  .logo-large,
  .logo-xlarge {
    height: 40px;
  }
}


/* === HP (max-width: 600px) === */
@media (max-width: 600px) {
  .hero-logo-label {
    font-size: 13px;
    line-height: 1.3;
    max-width: 90%;
  }

  .logo-small,
  .logo-medium,
  .logo-large,
  .logo-xlarge {
    height: 10px;
  }

  .hero-logo-images {
    gap: 1rem;
  }
}

/* =====================
   ABOUT SECTION
========================= */
.about-section {
  display: flex;
  min-height: 100vh; /* Tambahan agar tinggi sesuai layar */
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  background-color: #dcf2dc;
  padding: 80px 100px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  gap: 40px;
  flex-wrap: wrap; 
}

.about-text {
  flex: 1;
  font-size: 36px;
  color: #4d3d33;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =============== TABLET (max-width: 992px) =============== */
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    padding: 60px 60px;
    text-align: center;
  }

  .about-text {
    font-size: 28px;
    line-height: 1.5;
  }
}

/* =============== HP (max-width: 600px) =============== */
@media (max-width: 600px) {
  .about-section {
    padding: 40px 20px;
  }

  .about-text {
    font-size: 20px;
    line-height: 1.4;
  }
}


/* =====================
   STATUS CARDS
========================= */
.status-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.status-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px 40px;
  text-align: center;
  font-size: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #a0968e;
  color: #4d3d33;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;

  flex: 1 1 300px;
  max-width: 400px;
}

.status-card:nth-child(1) { animation-delay: 0.6s; }
.status-card:nth-child(2) { animation-delay: 0.9s; }

.status-card h2 {
  font-size: 32px;
  margin: 0;
  font-weight: bold;
}

.status-card p {
  margin: 0;
  font-size: 18px;
  color: #4d3d33;
}

.status-card-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  margin: 20px 0;
}

.status-card-link:hover .status-card {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.40);
  transition: all 0.3s ease;
}


/* =============== TABLET (max-width: 992px) =============== */
@media (max-width: 992px) {
  .status-card {
    font-size: 28px;
    padding: 20px 30px;
  }

  .status-card h2 {
    font-size: 26px;
  }

  .status-card p {
    font-size: 16px;
  }
}

/* =============== HP (max-width: 600px) =============== */
@media (max-width: 600px) {
  .status-boxes {
    flex-direction: column;
    align-items: center;
  }

  .status-card {
    width: 90%;
    font-size: 22px;
    padding: 16px 24px;
  }

  .status-card h2 {
    font-size: 20px;
  }

  .status-card p {
    font-size: 14px;
  }
}
/* =====================
   FOOTER SECTION
========================= */
.footer-section {
  background: #938a7c;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  color: #fff;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.15);
}

.contact-box {
  background: #E6F4E6;
  color: #000;
  border-radius: 20px;
  padding: 40px;
  flex: 1;
  margin: 10px;
  max-width: 850px;
  animation: fadeInHero 1.5s ease forwards;
}

.contact-box h2 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
  color:#3D372F;
  margin-bottom: 20px;
}

.contact-box p {
  font-size: 18px;
  color: #3D372F;
  margin-bottom: 120px;
}

.btn-contact {
  background-color: #3D372F;
  color: #fff;
  padding: 6px 18px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
}

.instagram-preview {
  flex: 1;
  margin: 10px;
  max-width: 300px;
  height: 500px;
  border-radius: 30px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  gap: 4px;
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.90s ease;
}

.instagram-grid img:hover {
  transform: scale(1.05);
}

.instagram-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  background-color: #8FE560;
  color: white;
  border: 1px solid white;
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  font-size: 0.7em;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.instagram-button:hover {
  background-color: #76cc4e;
  transform: scale(1.03);
}

.bottom-footer {
  background: #dcf2dc;
  padding: 40px 60px 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: 0.9em;
  color: #333;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.15);
}

.footer-col {
  flex: 1 1 150px;
  margin: 10px 20px;
  min-width: 150px;
}

.footer-col.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col.logo img {
  height: 180px;
  margin-bottom: 3px;
}

.footer-col.logo div {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
}

.copyright {
  text-align: center;
  background-color: #dcf2dc;
  font-size: 0.8em;
  margin-top: 10px;
  padding: 10px 10px;
  border-top: 1px solid #3D372F;
  color: #3D372F;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInCopyright 1.5s ease 1s forwards;
}

@keyframes fadeInCopyright {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-links li {
  margin-bottom: 8px;
}

.social-links a {
  text-decoration: none;
  color: #3D372F;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a:hover {
  color: #000;
}

/* === Tablet (max-width: 992px) === */
@media (max-width: 992px) {
  .footer-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 20px;
  }

  .contact-box {
    padding: 30px 20px;
    max-width: 100%;
  }

  .contact-box h2 {
    font-size: 36px;
  }

  .contact-box p {
    font-size: 16px;
    margin-bottom: 80px;
  }

  .instagram-preview {
    max-width: 90%;
    height: 400px;
  }

  .bottom-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .footer-col.logo img {
    height: 140px;
  }

  .footer-col.logo div {
    font-size: 16px;
  }

  .footer-col {
    margin: 10px 0;
    
  }
}

/* === HP (max-width: 600px) === */
@media (max-width: 600px) {
  .contact-box h2 {
    text-align: center;
    font-size: 28px;
  }

  .contact-box p {
    font-size: 14px;
    margin-bottom: 60px;
  }

  .btn-contact {
    font-size: 14px;
    padding: 5px 14px;
  }

  .instagram-preview {
    height: 300px;
  }

  .instagram-button {
    font-size: 0.6em;
    padding: 5px 12px;
  }

  .footer-col.logo img {
    height: 120px;
  }

  .footer-col.logo div {
    font-size: 14px;
  }

  .copyright {
    font-size: 0.75em;
    padding: 8px;
  }
}

@media (max-width: 992px) {
  .footer-col {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .social-links {
    display: inline-block;
    padding: 0;
  }

  .social-links li {
    margin-bottom: 10px;
  }

  .social-links a {
    justify-content: center;
  }
}

/* =====================
   ANIMASI SECTION MASUK
========================= */
.scroll-fade,
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.visible,
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =====================
   DROPDOWN
========================= */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 180px;
  z-index: 1001;
  padding: 10px 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

/* Tampilkan menu saat hover */
.dropdown:hover .dropdown-menu {
  display: block;
}



#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #d0f3bf;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none; /* default tersembunyi */
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #bbf1c3;
}

