/* ================= DIRECTORY ================= */


.directory {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.directory h2 {
  font-family: 'NexaHeavy', sans-serif;
  font-size: 36px;
  margin-bottom: 30px;
  color: #222;
}

/* Category Buttons */
.directory-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}

.directory-buttons button {
  flex: 0 0 180px;       /* semua butang sama lebar */
  height: 60px;          /* tinggi sama */
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-family: 'NexaHeavy', sans-serif;
  font-size: 15px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* Directory Box (Tenant List) */
.directory-box {
  background: #efeed4;
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 1100px;
  margin: 0 auto;                     /* tengah */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;                 /* text dalam box align center */
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.directory-box div {
  font-family: 'NexaExtraLight', sans-serif;
}

/* Default button style */
.directory-buttons button {
  border: none;
  padding: 12px 26px;
  font-family: 'NexaHeavy', sans-serif;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  background: #ddd; /* fallback */
  color: #222;
}

/* Override warna ikut kategori */
.directory-buttons button.supermarket { background: #a8ad4a; color: #222; }
.directory-buttons button.food { background: #c45a33; color: #fff; }
.directory-buttons button.home { background: #6f6a65; color: #fff; }
.directory-buttons button.it { background: #8fa4b9; color: #222; }
.directory-buttons button.fashion { background: #a9b7c7; color: #222; }
.directory-buttons button.entertainment { background: #9ea84f; color: #222; }
.directory-buttons button.service { background: #b85c30; color: #fff; }
.directory-buttons button.kiosk { background: #7d7670; color: #fff; }


@font-face {
  font-family: 'NexaHeavy';
  src: url('Nexa-Heavy.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'NexaExtraLight';
  src: url('Nexa-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}

@font-face {
  font-family: 'NexaBold';
  src: url('NexaBold.otf') format('opentype');
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'NexaExtraLight', sans-serif;
}

html {
  scroll-behavior: smooth;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
}

.social-icons a {
  font-size: 32px;   /* saiz ikon */
  color: #ffffff;    /* putih */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #f4c542; /* highlight kuning bila hover (boleh tukar ikut tema) */
}



/* ================= HEADER ================= */
header {
  position: fixed;          /* kekal di atas walaupun scroll */
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;  /* warna latar belakang */
  z-index: 1000;            /* pastikan di atas elemen lain */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* efek bayang halus */
}

.header-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 15px 30px;       /* sedikit padding agar tak tinggi sangat */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}



.logo {
  height: 40px;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: black;
  font-family: 'NexaHeavy', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1890 / 1500;
  background: url('images/Myraboard.jpg') no-repeat center center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: white;
  padding: 0 20px 60px;
}

.hero h1 {
  font-size: 60px;
  margin: 0;
  font-family: 'NexaHeavy', sans-serif;
}

.hero h2 {
  font-size: 50px;
  margin: 0;
  font-family: 'Brush Script MT', cursive;
}

.hero button {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 18px;
  font-family: 'NexaBold', sans-serif; /* guna NexaBold */
  border: none;
  border-radius: 30px;
  background-color: #c3bc61;
  color: black;
  cursor: pointer;
}


/* ================= DIRECTORY ================= */
.directory-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  max-width: 800px;
  margin: 30px auto;
}

.directory-buttons button {
  background-color: var(--bg, #ddd);
  border: 1px solid #3333;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
}

.directory-buttons button:hover {
  background-color: #00000020;
}

/* ================= GETTING HERE ================= */
.getting-here {
  font-family: 'NexaExtraLight', sans-serif;
  padding: 60px 20px;
  background-color: #f5f0e5;
  text-align: center;
}

.getting-here h2 {
  font-family: 'NexaHeavy', sans-serif;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 32px;
}

.map {
  width: 60%;
  height: 400px;
  margin: 0 auto 40px;
}

.map iframe {
  width: 100%;
  height: 130%;
  border: 0;
  border-radius: 10px;
}

.info-container {
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center; /* center horizontal */
  align-items: center;     /* center vertical kalau ada height */
}


.info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 130px;
  text-align: left;
}

.address, .contact {
  flex: 1;
  min-width: 280px;
  max-width: 150px;
}

.address h3 {
  font-family: 'NexaHeavy', sans-serif;
  color: #8b7f48;
  margin-bottom: 12px;
}

.leasing h3 {
  font-family: 'NexaHeavy', sans-serif;
  color: #c95c2d;
  margin-bottom: 12px;
}

.event h3 {
  font-family: 'NexaHeavy', sans-serif;
  color: #4a90a4;
  margin-bottom: 12px;
}

.contact span {
  font-family: 'NexaExtraLight', sans-serif;
  font-weight: 200;
  color: #333;
}

/* ================= FOOTER ================= */
.footer {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
}

.footer-left {
  background: #1e1e1e;
  color: #fff;
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo {
  font-family: 'NexaHeavy', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}
.footer-logo span {
  font-family: 'Brush Script MT', cursive;
  font-size: 36px;
  color: #fff;
}

.social-icons {
  margin: 20px 0;
}
.social-icons a {
  margin-right: 15px;
}
.social-icons img {
  width: 28px;
  height: 28px;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

.disclaimer {
  margin-top: 15px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
  max-width: 600px;
}

/* ================= FOOTER (Refined) ================= */
.footer-left {
  background: #1e1e1e;
  color: #fff;
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  max-width: 300px;
  margin-bottom: 20px;
}

.social-icons {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(80%) sepia(34%) saturate(425%) hue-rotate(26deg) brightness(95%) contrast(88%);
}

/* ================= FOOTER RIGHT ================= */
.footer-right {
  background: #a8c7d8;
  color: #111;
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #000;        /* border hitam */
  background: #fdfdfd;           /* putih / hampir putih */
  border-radius: 6px;
  font-family: 'NexaExtraLight', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #444;            /* lebih gelap saat focus */
}

/* Placeholder style (ganti label jadi placeholder) */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #555;
  font-family: 'NexaHeavy', sans-serif;
  font-size: 14px;
}

/* Message + Submit sejajar */
.message-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.message-row textarea {
  flex: 1;
  resize: vertical;
  min-height: 120px;
}

.message-row button {
  width: 120px;
  border: none;
  background: #1e1e1e;
  color: #fff;
  font-family: 'NexaHeavy', sans-serif;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.message-row button:hover {
  background: #444;
}

/* Responsif: tombol pindah ke bawah */
@media (max-width: 600px) {
  .message-row {
    flex-direction: column;
  }
  .message-row button {
    width: 100%;
  }
}



.alt-contact {
  font-size: 13px;
  margin-top: 20px;
  color: #222;
}
.email {
  font-family: 'NexaHeavy', sans-serif;
  margin-top: 10px;
  font-size: 16px;
}
.alt-contact-wrapper {
  display: flex;
  justify-content: space-between; /* teks kiri, logo kanan */
  align-items: flex-start;
  margin-top: 20px;
}

.alt-contact-wrapper .text-block {
  flex: 1;
}

.chj-logo {
  width: 100px;
  margin-top: 0;
  align-self: flex-start; /* sejajar atas dengan text-block */
}


/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
  }

  .footer-left,
  .footer-right {
    text-align: center;
    align-items: center;
  }

  .chj-logo {
    align-self: center;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 15px;
  }

  nav.active {
    display: flex;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero {
    padding: 0 20px 80px;
  }

  .map {
    width: 100%;
    height: 260px;
  }

  .info-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .social-icons a svg {
    transition: transform 0.3s, fill 0.3s;
  }
  .social-icons a:hover svg {
    transform: scale(1.1);
    fill: #c3bc61;
  }

  .footer-logo img {
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  p.copyright {
  font-weight: bold;
}





  .footer {
    flex-direction: column;
  }
}
