/* --- Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: #f9f9f9;         /* supaya tidak transparan */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 999;  
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

/* Navbar dasar */
.nav-links li a {
  color: #000; /* warna hitam normal */
  text-decoration: none;
  display: flex;
  font-weight: 500;
  transition: color 0.2s ease;
  }

/* Hover effect */
.nav-links li a:hover {
  color: #555; /* warna abu-abu lebih redup */
  display: flex;
  }

.nav-buttons {
  display: flex;
  gap: 10px;
}

.btn-outline {
  border: 2px solid #c8102e;
  color: #c8102e;
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  transform: scale(1.05);
  background: #c8102e;
  color: white;
}

.btn-primary {
  border: 2px solid #c8102e;
  background: #c8102e;
  color: white;
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #fff;
  color: #c8102e;
}

/* --- RESPONSIVE --- */
/* NEW: Tambahkan hamburger menu styling */
.hamburger {
  display: none; /* sembunyikan di desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: 0.3s;
}

/* --- UPDATE: Tambahan helper class --- */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

/* NEW: Styling untuk nav di mobile */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 65px; /* di bawah header */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease-in-out;
  }
  
  .nav-links .mobile-only a {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }

  nav ul.show { /* ketika menu aktif */
    transform: translateY(0);
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .hamburger {
    display: flex; /* tampilkan hamburger */
  }
  
   /* --- UPDATE: sembunyikan tombol desktop, tampilkan mobile --- */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  /* --- UPDATE: style tombol di hamburger menu --- */
  .nav-links .btn-outline,
  .nav-links .btn-primary {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
  }
  
  .nav-links .mobile-only .btn-outline {
    color: #c8102e;
  }
  
  .nav-links .mobile-only .btn-outline:hover {
	color: white;
	display: flex;
	align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  .nav-links .mobile-only .btn-primary {
    color: #fff;
	border: 2px solid #c8102e;
  }
  
  .nav-links .mobile-only .btn-primary:hover {
	background: #fff; 
	color: #c8102e;
	display: flex;
	align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

body {
  padding-top: 80px; /* sama dengan tinggi header */
}

/* ======= HEADER ======= */
.contactus-header {
  text-align: center;
  background: linear-gradient(135deg, #c8102e, #d73349);
  color: white;
  padding: 3rem 1rem;
  border-radius: 0 0 30px 30px;
}

.contactus-header h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* === CONTACT INFO SECTION === */
.contact-info-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  width: 100%;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
  background: #f9d4d8;
  color: #c8102e;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}

.contact-card h3 {
  color: #c8102e;
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333;
}

.contact-card li {
  margin: 10px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.contact-card li i {
  color: #c8102e;
  font-size: 18px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 30px 20px;
  }
  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .contact-card h3 {
    font-size: 18px;
  }
  .contact-card li {
    font-size: 15px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 40px;
    height: 40px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* Footer Section */
.footer {
  background: #f9f9f9;
  color: #111;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 30px auto;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 150px;
}

.footer-column h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #969393;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 20px auto 0 auto;
  font-size: 13px;
}

.social-icons a {
  color: #969393;
  font-size: 18px;
  margin-left: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #000;
}

/* Responsif */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: left;
  }

   .footer-columns {
    flex-direction: column; /* ⬅️ bikin vertical di HP */
    align-items: left;
    gap: 25px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}