/* Reset default */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: white
}
 

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

header .logo img {
  height: 50px;
  width: 180px; 
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.navbar {
  list-style: none;
  display: flex;
  gap: 30px;
  z-index: 1000;
}

.navbar li a {
  text-decoration: none;
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  transition: 0.3s;
}

/* Hover effect */
.navbar li a:hover {
  background: rgba(0, 30, 255, 0.1); 
}

/* Aktif (menu yang dipilih) */
.navbar li a.active {
  background: #073e88;
  color: white;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

header nav ul li a.active,
header nav ul li a:hover {
  color: #5f9ae8; /* warna biru ungu seperti di desain */
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #073e88;
  z-index: 110;
}

/* RESPONSIVE (tampilan HP / tablet) */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  /* Navbar default disembunyikan */
  .navbar {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 200px;
    transition: all 0.3s ease;
  }

  /* Navbar muncul saat aktif */
  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .navbar ul li {
    margin: 8px 0;
  }

  .navbar ul li a {
    color: #073e88;
  }
}

/* GALERI IMAGE ONLY */
.hero {
  position: relative;
  height: 250px;
  background: url("galeri lamda3.png") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: black;
  padding-top: 90px;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 50px;     /* Jarak dari sisi kiri */
  padding-bottom: 40px;   /* Jarak dari bawah agar tidak menempel */
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 40px;
  font-weight: 700;
  font-family: 'Times New Roman', Times, serif
}

/* ==== RESPONSIVE DESIGN ==== */

/* Laptop / Tablet */
@media (max-width: 1024px) {
  .hero {
    min-height: 50vh;
    background-position: center center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* HP sedang (lebar < 768px) */
@media (max-width: 768px) {
  .hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* HP kecil (lebar < 480px) */
@media (max-width: 480px) {
  .hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    padding: 0 10px;
  }
}

/* GALERI */
.galeri-section h2 {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 30px;
  color: #073e88;
  font-family: 'Times New Roman', Times, serif;
}

.galeri-section p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto;
  margin-bottom: 80px;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
  text-align: center;
  justify-content: center;
  align-content: center;
}

/* Responsif */
/* Laptop & Tablet (ukuran sedang) */
@media (max-width: 992px) {
  .galeri-section {
    padding: 30px;
  }
  .galeri-section h2 {
    font-size: 2.3rem;
  }

  .galeri-section p {
    font-size: 1rem;
    text-align: justify;
    align-content: center;

  }
}

/* Untuk layar sangat kecil (HP 320–425px) */
@media (max-width: 480px) {
  .galeri-section {
    padding: 50px; /* makin sempit, tapi tetap ada jarak */
  }

  p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 3px;
  }
}

/* === GALERI SECTION === */
.galeri-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.galeri-container h2 {
  font-size: 32px;
  color: black;
  margin-bottom: 40px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

.galeri-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  margin-bottom: 80px;
}

/* === GRID GALERI === */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: stretch;
  max-width: 1000px; /* biar tidak terlalu lebar di monitor besar */
  margin: 0 auto; /* biar grid tetap di tengah */
}

.galeri-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.galeri-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === RESPONSIVE === */
/* Laptop / layar sedang */
@media (max-width: 1200px) {
  .galeri-section {
    padding: 50px 40px;
  }
  .galeri-container h2 {
    font-size: 32px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .galeri-section h2 {
    font-size: 24px;
  }
  .galeri-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .galeri-section {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .galeri-grid {
    grid-template-columns: 1fr; /* 1 kolom di layar kecil */
    gap: 15px;
  }
  .galeri-section {
    padding: 30px 15px;
  }
  .galeri-section h2 {
    font-size: 22px;
  }
}

/* FOOTER SECTION */
.footer {
  position: relative;
  background: url('building.jpg') no-repeat center/cover;
  color: #fff;
  padding: 150px 0 80px;
  overflow: hidden;
  padding-top: 15px;
}

.footer-logo {
  position: absolute;
  top: 30px;
  left: 40px;
}

.footer-logo img {
  width: 200px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 150px;
  margin-bottom: 10;
}

/* MAP SECTION */
.footer-map {
  flex: 1 1 500px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0;
}

/* CONTACT CARD */
.footer-contact {
  flex: 1 1 400px;
  background-color: #ffffff;
  color: #002766;
  border-radius: 20px;
  padding: 30px 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}

.footer-title {
  background-color: #002b6b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.contact-info p {
  font-size: 15px;
  margin: 5px 0;
  text-align: left;
}

.office {
  margin-top: 15px;
}

.office h4 {
  font-size: 16px;
  font-weight: 600;
  color: #002b6b;
  text-align: left;
}

.office p {
  font-size: 14px;
  color: black;
  line-height: 1.5;
  text-align: left;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    margin-left: 30px;
  }

  .footer-map, .footer-contact {
    width: 100%;
  }
  }

/* Responsive */
@media (max-width: 800px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-images {
    margin-bottom: 30px;
  }
}