/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  background: #f3f5f6;      
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 9999;          
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 52px;            
  width: auto;
  display: block;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 32px;                 
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu li a {
  text-decoration: none;
  color: #2d2d2d;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease,
  transform 0.25s ease;
  display: inline-block; /* WAJIB agar transform bekerja */
}

.menu li a:hover {
  color: #ff0000;
  transform: scale(1.12) translateY(-2px);
}

.menu li a.active {
  color: #4f74c8;       
  font-weight: 600;
}

/* ===== HERO LAYANAN ===== */
.contact-hero {
  position: relative;
  width: 100%;
  height: 475px;
  background: url('../img/contact/contact1.jpg') no-repeat;
  background-size: cover;
  background-position: 50% 45%; /* X Y */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 70, 0.65); /* overlay biru gelap */
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero-content h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  margin: 0;
}


.activity-sub {
  display: block;
  text-align: center;
  font-size: 26px;
  color: #d4af55;
  font-weight: 600;
  margin-bottom: 8px;
}

.activity-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1f2a44;
  margin-bottom: 40px;
}

/* ===== KONTAK KAMI ===== */
.contact-section {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
}

/* INFO KIRI */
.contact-info {
  color: #1f2a44;
}

.contact-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.contact-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

/* BUTTON */
.contact-btn {
  display: inline-block;
  margin-top: 25px;
  background: #4f74c8;
  color: #ffffff;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #c13f3f;
}

/* MAP KANAN */
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 6px;
}

/* ===== FOOTER ===== */
.footer-section {
  background: #1f2a44;
  color: #ffffff;
  padding: 80px 0 0;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 🔥 3 kolom */
  gap: 60px;
  align-items: flex-start;
}

/* LEFT */
.footer-left h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-left p {
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
  max-width: 500px;
}

.footer-left h3:hover,
.footer-left p:hover {
  color: #ff0000;
}

/* CENTER */
.footer-center {
  text-align: center;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-menu li a:hover {
  color: #ff0000;
}

/* RIGHT */
.footer-right {
  text-align: right;
}

.footer-right h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.footer-right ul li {
  font-size: 15px;
  margin-bottom: 5px;
}

.footer-right h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-right p {
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff;
  text-align: right;
  margin-left: auto;
}

.footer-right h3:hover,
.footer-right ul li:hover,
.footer-right h4:hover,
.footer-right p:hover {
  color: #ff0000;
}

/* PAKSA ALAMAT FOOTER DI TENGAH 
.footer-right p,
.footer-right .footer-address,
.footer-address {
  text-align: center !important;
  margin: 0 auto;
  max-width: 700px;
} */


/* BOTTOM */
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 14px;
  color: #ffffff;
}

/* =========================================FULL MOBILE RESPONSIVE (HOME STYLE)
========================================= */

/* ===== DEFAULT (DESKTOP RESET) ===== */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
}

/* ===== GLOBAL MOBILE ===== */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  .container {
    width: 92%;
  }

  section {
    padding: 70px 0;
  }

  h1, h2, h3 {
    line-height: 1.3;
  }

  /* ===== HEADER & NAV ===== */

  #menu-toggle {
    display: none;
  }

  .header {
    padding: 12px 0;
  }

  .logo img {
    height: 42px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 26px;
    height: 3px;
    background: #1f2a44;
    border-radius: 2px;
    transition: 0.4s;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    z-index: 999;
  }

  .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu li {
    border-bottom: 1px solid #eee;
  }

  .menu li a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
  }

  #menu-toggle:checked ~ .nav {
    max-height: 420px;
  }

  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* ===== HERO ===== */

  .projects-hero,
  .contact-hero {
    height: 320px;
  }

  .projects-hero-content h1,
  .contact-hero-content h1 {
    font-size: 34px;
  }

  /* ===== PROJECT ===== */

  .project-section {
    padding-top: 70px;
  }

  .project-title h2 {
    font-size: 30px;
  }

  .project-grid {
    grid-template-columns: 1fr !important;
  }

  .project-item {
    height: 260px;
  }

  /* ===== CONTACT ===== */

  .contact-section {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h3 {
    font-size: 22px;
  }

  .contact-map iframe {
    height: 300px;
  }

  /* ===== GROUP LOGO ===== */

  .group-section {
    padding: 70px 0;
  }

  .group-section h2 {
    font-size: 30px;
  }

  .logo-item img {
    max-width: 130px;
  }

  /* ===== FOOTER ===== */

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-left h3,
  .footer-right h3 {
    font-size: 20px;
  }

  .footer-left p,
  .footer-right p {
    text-align: center;
    margin: 0 auto;
  }

  .footer-right {
    text-align: center;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}