
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    width: 100%;
  }
  
/* === Navbar === */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    height: 110px;
    width: 100%;
    background-color: #2b2424;
    color: white;
    align-items: center; /* Alignment konsisten */
    box-sizing: border-box;
    margin: 0px auto;
}

/* === LOGO AND BRAND WRAPPER === */
.logo-brand-wrapper {
    display: flex;
    align-items: center; /* ini bikin teks brand agak turun sejajar bawah logo */
    gap: 5px;
      }
  .logo img {
    height: auto;
  width: 100%;
  max-width: 200px;
  }
  .brand {
    font-size: 20px;
  font-weight: bold;
  color: white;
  margin: 0;
  padding-bottom: 0px; /* atur jarak vertikal teks-nya */
  padding-left: 0px;
  }
  
  /* === NAV LINKS === */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
  }
  .nav-links li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: 0.3s;
  }
  .nav-links li a:hover::after {
    width: 100%;
  }
  

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background-color: #faf8f5;
  color: #333;
}


/* Album Grid */
.album {
  column-count: 3;
  column-gap: 15px;
  padding: 20px;
}
.album-item {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 12px;
  break-inside: avoid; /* biar masonry rapi */
}
.album-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}
.album-item:hover img {
  transform: scale(1.05);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 1.1rem;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.album-item:hover .overlay {
  opacity: 1;
}

/* Text Card */
.album-item.text-card {
  background: #a67b5b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  font-style: italic;
  font-size: 1.2rem;
  border-radius: 12px;
}
.album-item.text-card:hover {
  transform: none;
}

/* Responsive */
@media(max-width: 1024px){
  .album {
    column-count: 2;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media(max-width: 600px){
  .album {
    column-count: 1;
  }
  .hero {
    padding: 50px 15px 30px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
}



/* === FOOTER === */
   .footer {
     position: relative;
     background-image: url("foot.png");
     background-size: cover;
     background-position: center top; /* Fix: Mulai dari top, biar bagian atas gambar nggak kepotong */
     background-repeat: no-repeat;
     background-attachment: scroll; /* Non-fixed default, biar smooth di semua device (hilangkan parallax jika bikin crop) */
     padding: 1.5rem 1.25rem; /* Kurangi dari 2.5rem ke 1.5rem top/bottom – space lebih compact */
     color: white;
     margin-top: 0; /* Eksplisit: No margin atas, biar nggak overlap/crop dengan section sebelumnya */
     width: 100%;
   }

   .footer-overlay {
     position: absolute;
     top: 0;
     left: 0;
     height: 100%;
     width: 100%;
     background: rgba(129, 99, 81, 0.5); /* Tetap ringan */
     z-index: 1;
   }

   .footer-content {
     position: relative;
     z-index: 2;
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 1rem; /* Kurangi dari 1.5rem ke 1rem – lebih tight tanpa berantakan */
     max-width: 1200px;
     margin: 0 auto;
   }

   .footer-column {
     min-width: 200px;
     padding: 0.5rem 0; /* Kurangi padding internal vertikal */
   }

   .footer-column h4,
   .footer-subtitle {
     margin-bottom: 0.75rem; /* Kurangi dari 0.9375rem ke 0.75rem (12px) – space lebih efisien */
     font-size: 1.125rem;
     font-weight: bold;
     border-bottom: 2px solid rgba(255, 255, 255, 0.3);
     display: inline-block;
     padding-bottom: 0.3125rem;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   .footer-social p {
     margin: 0.25rem 0 0; /* Kurangi dari 0.3125rem ke 0.25rem (4px) */
     font-size: 0.9375rem;
     color: #ffffff;
     font-weight: 500;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     line-height: 1.4;
   }

   .footer-nav ul {
     list-style: none;
     padding: 0;
   }

   .footer-nav ul li a {
     color: white;
     text-decoration: none;
     line-height: 1.5; /* Kurangi sedikit dari 1.6 biar compact */
     display: block;
     font-size: 0.9375rem;
     font-weight: 500;
     padding: 0.2rem 0; /* Spacing antar link lebih kecil */
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     transition: color 0.3s ease;
   }

   .footer-nav ul li a:hover,
   .footer-nav ul li a:focus {
     color: #ddd;
     text-decoration: none;
   }

   .footer-location p {
     margin: 0.25rem 0; /* Kurangi spacing */
     font-size: 0.875rem;
     line-height: 1.4; /* Compact */
     word-break: break-word;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     color: #ffffff;
   }

   .footer-location h4 a {
     color: white;
     text-decoration: none;
     font-weight: bold;
   }

   .footer-location h4 a:hover,
   .footer-location h4 a:focus {
     color: #ddd;
     text-decoration: underline;
   }

   .footer-social {
     text-align: left;
     display: flex;
     flex-direction: column;
   }

   .social-icons {
     display: flex;
     gap: 0.75rem;
     flex-wrap: wrap;
     margin-top: 0.5rem;
     align-items: center;
   }

   .social-icons a {
     display: inline-block;
     transition: transform 0.3s ease;
     min-height: 44px;
     min-width: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
   }

   .social-icons img {
     width: 24px;
     height: 24px;
     border-radius: 4px;
   }

   .social-icons a:hover,
   .social-icons a:focus {
     transform: scale(1.1);
   }

   /* Copyright – Kurangi space atas */
   .footer-bottom {
     text-align: center;
     margin-top: 1rem; /* Kurangi dari 1.5rem ke 1rem */
     font-size: 0.875rem;
     color: #f7f7f7;
     position: relative;
     z-index: 2;
     padding-top: 0.75rem; /* Kurangi dari 1rem */
     border-top: 1px solid rgba(255, 255, 255, 0.2);
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   /* === MEDIA QUERIES UNTUK FOOTER (Lebih Compact di Mobile) === */
   @media (max-width: 768px) {
     .footer {
       padding: 1rem 1rem; /* Lebih kecil: 1rem top/bottom */
       margin-top: 0;
     }

     .footer-content {
       grid-template-columns: 1fr;
       gap: 0.75rem; /* Kurangi gap lebih lanjut */
       text-align: center;
       padding: 0;
     }

     .footer-social {
       text-align: center;
       order: 3;
     }

     .social-icons {
       justify-content: center;
       gap: 0.5rem;
     }

     .social-icons a {
       min-height: 40px;
       min-width: 40px;
     }

     .social-icons img {
       width: 22px;
       height: 22px;
     }

     /* Fonts tetap, tapi spacing lebih tight */
     .footer-column h4,
     .footer-subtitle {
       font-size: 1rem;
       margin-bottom: 0.5rem; /* Lebih kecil di mobile */
     }

     .footer-nav ul li a,
     .footer-social p,
     .footer-location p {
       font-size: 0.875rem;
       padding: 0.15rem 0; /* Link spacing minimal */
     }

     .footer-bottom {
       margin-top: 0.75rem; /* Bahkan lebih kecil */
       padding-top: 0.5rem;
     }
   }

   @media (max-width: 480px) {
     .footer {
       padding: 0.75rem 0.75rem; /* Very compact untuk small phone */
     }

     .footer-content {
       gap: 0.5rem;
     }

     .social-icons {
       gap: 0.375rem;
     }

     .footer-location p {
       font-size: 0.8125rem;
       line-height: 1.3; /* Super compact */
     }
   }
   




   /* HAMBURGER ELEMENTS - Global: Hidden di desktop, visible di mobile via media query */
.nav-toggle {
  display: none; /* Checkbox hidden selalu, fungsional via :checked */
}

.hamburger {
  display: none; /* Hidden di desktop - jangan tambah properties lain di sini biar clean */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* MEDIA QUERY MOBILE: Hamburger Visible + Dropdown Menu (Override Semua) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem; /* Kompak: 12px top/bottom, 16px left/right */
    height: auto; /* Auto fit konten (logo + space untuk hamburger) */
    justify-content: flex-start; /* Mulai dari kiri, biar wrapper centered tanpa expand */
    align-items: center;
    position: relative; /* Parent untuk absolute positioning hamburger */
  }

  .logo-brand-wrapper {
    justify-content: center; /* Center logo + brand */
    flex: none; /* Nggak ambil sisa space */
    max-width: 70%; /* Batasi lebar, biar ruang kanan untuk hamburger */
    margin-right: 1.5rem; /* Jarak 24px aman dari hamburger */
  }

  .logo img {
    max-width: 140px; /* Scale down di mobile */
  }

  .brand {
    font-size: 1rem; /* 16px - lebih kompak */
    white-space: nowrap; /* Text nggak wrap/pecah */
  }

  /* Show & Position Hamburger di Mobile */
  .hamburger {
    display: flex !important; /* Paksa visible */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Di atas navbar */
    position: absolute; /* Keluar dari flow normal */
    right: 1rem; /* 16px dari kanan edge */
    top: 50%;
    transform: translateY(-50%); /* Center vertikal */
    background: none;
    border: none; /* No extra styling */
  }

  .hamburger span {
    background-color: white !important; /* Pastiin garis putih kontras */
  }

  /* Animasi Hamburger Jadi X Saat Dibuka */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Ubah Nav Links Jadi Dropdown Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(43, 36, 36, 0.95); /* Match navbar bg */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Gap besar untuk touch */
    margin: 0;
    padding: 0;
    transform: translateY(-100%); /* Hidden di atas */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
  }

  /* Munculkan Menu Saat Checkbox Checked */
  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li a {
    font-size: 1.25rem; /* 20px besar untuk mobile */
    padding: 1rem;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a::after {
    display: none; /* No underline di mobile */
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}
