/*
  Copyright (c) 2019 yakangcoder
  All rights reserved. Unauthorized copying or distribution is prohibited.
*/

/* ========================
   yakangcoder - Base Reset
   ======================== */

/* ========================
   Reset & Base Styles
   ======================== */

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}

/* Hilangkan scroll bar horizontal di seluruh halaman */
html,
body {
  overflow-x: hidden;
}

/* Heading font Inter Bold */
h1,
h2,
h3,
h4,
h5,
h6,
.section-card h3,
#main-title,
.visi-misi h2,
.tagline-title,
.footer-brand span,
.footer-cv-jaya span,
.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Body text Inter Regular */
body,
p,
li,
a,
span,
.visi-misi-content,
.section-card p,
.footer,
.footer p,
.footer li,
.footer-brand p,
.footer-cv-jaya p,
.footer-nav a,
.footer-contact ul li {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}
/* Navbar */

/* Sembunyikan logo navbar saat layar <= 100px */
@media (max-width: 100px) {
  .navbar-left .brand {
    display: none !important;
  }
}
/* ...existing code... */
.navbar {
  background: #99cc33;
  color: #fff;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}
.navbar-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.navbar-left .brand {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
}
.navbar-left .brand img {
  display: block;
  max-height: 64px;
  max-width: 180px;
  width: auto;
  height: auto;
  margin: 0;
  transition: max-height 0.2s, height 0.2s;
}
.navbar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Navbar Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 5px;
  transition: background 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: #7fa528;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 120;
}
.hamburger .bar {
  width: 26px;
  height: 3.5px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Navbar & Logo */
@media (max-width: 1100px) {
  .navbar {
    padding: 0.7rem 1.2rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .nav-links li a {
    font-size: 1rem;
    padding: 0.6rem 0.9rem;
  }
}
@media (max-width: 900px) {
  .navbar {
    padding: 0.6rem 0.7rem;
  }
  .nav-links {
    gap: 0.8rem;
  }
  .nav-links li a {
    font-size: 0.97rem;
    padding: 0.5rem 0.7rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
  .navbar {
    padding: 0.5rem 0.4rem;
  }
}
@media (max-width: 600px) {
  .navbar {
    padding: 0.3rem 0.1rem;
  }
  /* Tetap tampilkan logo, jangan di-hide */
  .navbar-left .brand img {
    max-height: 80px;
    max-width: 150px;
  }
  .hamburger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .hamburger .bar {
    width: 22px;
    height: 3.5px;
    margin: 4px 0;
  }
}
@media (max-width: 352px), (max-width: 320px) {
  .navbar {
    padding: 0.12rem 0.01rem;
    flex-direction: row;
    min-width: 0;
  }
  .navbar-left .brand img {
    max-height: 80px;
    max-width: 150px;
  }
  .hamburger {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .hamburger .bar {
    width: 18px;
    height: 3px;
    margin: 3px 0;
  }
}
/* Mobile Hamburger Overlay Menu */
.mobile-hamburger-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  height: 100vh;
  background: #99cc33;
  color: #fff;
  z-index: 2001;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-hamburger-overlay.open {
  transform: translateX(0);
  display: flex;
}
.mobile-hamburger-close {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  background: transparent;
  border: none;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  line-height: 1;
}
.mobile-hamburger-nav {
  margin-top: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  padding: 0 2.5rem 0 0;
}
.mobile-hamburger-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: bold;
  text-align: right;
  width: 100%;
  transition: color 0.2s;
}
.mobile-hamburger-nav a:hover {
  color: #222;
}

/* Container Responsive */
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 0.7rem;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 0.5rem;
    max-width: 99vw;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0.2rem;
    max-width: 100vw;
  }
}
@media (max-width: 352px), (max-width: 320px) {
  .container {
    padding: 0 0.01rem;
    margin: 0.5rem 0;
    max-width: 100vw;
  }
}

/* Contact Map Responsive */
.contact-map-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 2.2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.contact-map-flex .map-container {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border: 2.5px solid #99cc33;
  border-radius: 18px;
  box-shadow: 0 6px 28px 2px rgba(153, 204, 51, 0.13),
    0 1.5px 4px rgba(0, 0, 0, 0.07);
  padding: 1.2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-map-flex .map-container iframe {
  width: 100%;
  min-height: 230px;
  height: 230px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  border: 0;
  display: block;
  background: #eaf7d2;
}

@media (max-width: 900px) {
  .contact-map-flex {
    max-width: 99vw;
    padding: 0 0.5rem;
  }
  .contact-map-flex .map-container {
    max-width: 99vw;
    padding: 0.7rem;
    border-radius: 12px;
  }
}

@media (max-width: 700px) {
  .contact-map-flex {
    margin: 1.2rem 0 1rem 0;
    padding: 0 0.2rem;
  }
  .contact-map-flex .map-container {
    padding: 0.4rem;
    border-radius: 10px;
  }
  .contact-map-flex .map-container iframe {
    min-height: 160px;
    height: 160px;
    border-radius: 8px;
  }
}

@media (max-width: 352px), (max-width: 320px) {
  .contact-map-flex {
    margin: 0.5rem 0 0.7rem 0;
    padding: 0 0.05rem;
    max-width: 100vw;
  }
  .contact-map-flex .map-container {
    padding: 0.1rem;
    border-radius: 6px;
  }
  .contact-map-flex .map-container iframe {
    min-height: 100px;
    height: 100px;
    border-radius: 5px;
  }
}

/* Contact Content Responsive */
.contact-content-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  padding: 0 1rem;
  gap: 2.5rem;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .contact-content-flex {
    gap: 1.2rem;
    padding: 0 0.7rem;
    max-width: 99vw;
  }
  .contact-info-box {
    max-width: 99vw;
    padding: 1.5rem 1rem 1.2rem 1rem;
    border-radius: 14px;
  }
}
@media (max-width: 767px) {
  .contact-content-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0 0.2rem;
    max-width: 100vw;
  }
  .contact-info-box {
    padding: 1rem 0.5rem;
    border-radius: 10px;
    min-width: 0;
    max-width: 100vw;
  }
}
@media (max-width: 352px), (max-width: 320px) {
  .contact-content-flex {
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 0.05rem;
    max-width: 100vw;
  }
  .contact-info-box {
    padding: 0.7rem 0.1rem 0.7rem 0.1rem;
    border-radius: 8px;
    gap: 0.4rem;
    min-width: 0;
    max-width: 100vw;
  }
}

/* Contact Info Box Responsive */
.contact-info-box {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 480px;
  margin: 0 auto;
  border: 2.5px solid #99cc33; /* Pertegas warna border */
  background: linear-gradient(120deg, #a4f16c 60%, rgb(169, 255, 10) 100%);
  box-shadow: 0 8px 32px rgba(153, 204, 51, 0.18), 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 2.2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  border: 1.5px solid #85cc02;
  position: relative;
  overflow: visible;
  text-align: left;
  max-height: none;
  box-sizing: border-box;
}
.contact-info-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    #99cc33 0%,
    #eaf7d2 80%,
    transparent 100%
  );
  opacity: 0.12;
  z-index: 0;
}
.contact-info-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #eaf7d2, 0 1px 0 #fff;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Pertegas border pada setiap item info */
.contact-info-box div {
  font-size: 1.09rem;
  color: #333;
  background: #f8fff3;
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 0;
  border: 1.5px solid #99cc33;
  box-shadow: 0 2px 12px rgba(153, 204, 51, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  word-break: break-word;
  position: relative;
  z-index: 1;
  border: 1px solid #eaf7d2;
  transition: box-shadow 0.2s, border 0.2s;
}
.contact-info-box div:not(:last-child) {
  margin-bottom: 0.7rem;
}
.contact-info-box strong {
  color: #99cc33;
  min-width: 120px;
  display: inline-block;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.contact-info-box a {
  color: #7fa528;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  word-break: break-all;
}
.contact-info-box a:hover {
  color: #99cc33;
  text-decoration: underline;
}
.contact-info-box svg {
  flex-shrink: 0;
  margin-right: 0.2rem;
  filter: drop-shadow(0 1px 2px rgba(153, 204, 51, 0.08));
}
@media (max-width: 767px) {
  .contact-info-box {
    gap: 0.7rem;
    max-height: none !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    max-width: 100vw;
    border-radius: 12px;
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
  .contact-info-box div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.95rem;
    padding: 0.7rem 0.5rem;
    gap: 0.3rem;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-info-box strong,
  .contact-info-box p,
  .contact-info-box a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
  .contact-info-box span,
  .contact-info-box svg,
  .contact-info-box i {
    margin-bottom: 0.2em;
    margin-right: 0;
  }
}
@media (max-width: 352px), (max-width: 320px) {
  .contact-info-box {
    padding: 0.7rem 0.1rem 0.7rem 0.1rem;
    border-radius: 8px;
    gap: 0.4rem;
    min-width: 0;
    max-width: 100vw;
  }
  .contact-info-box div {
    font-size: 0.85rem;
    padding: 0.4rem 0.2rem;
    gap: 0.15rem;
  }
  .contact-info-box strong {
    min-width: 70px;
    font-size: 0.9rem;
  }
}

/* Fixed Contact Buttons Responsive */
.fixed-buttons {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}
.fixed-buttons a {
  display: flex;
  align-items: center;
  background: #99cc33;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
  gap: 0.6em;
}
.fixed-buttons a:hover {
  background: #7fa528;
}
.fixed-buttons svg {
  margin-right: 0;
}
@media (max-width: 600px) {
  .fixed-buttons {
    right: 1rem;
    bottom: 1rem;
    gap: 0.7rem;
  }
  .fixed-buttons a {
    padding: 0.5rem;
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .fixed-buttons {
    right: 0.5rem;
    bottom: 0.5rem;
    gap: 0.5rem;
  }
  .fixed-buttons a {
    padding: 0.4rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 352px), (max-width: 320px) {
  .fixed-buttons {
    right: 0.2rem;
    bottom: 0.2rem;
    gap: 0.2rem;
  }
  .fixed-buttons a {
    padding: 0.2rem;
    font-size: 0.7rem;
  }
}

/* --- FOOTER STYLES --- */
.footer {
  background-color: #4b6617;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
}
.footer-top {
  padding: 40px 20px;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer .container > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-brand img {
  width: 150px;
  margin-bottom: 10px;
}
.footer-brand p {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-cv-jaya {
  padding-top: 24px;
  margin-bottom: 0;
  min-width: 220px;
}
.footer-cv-jaya span {
  font-weight: bold;
  color: #fff;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
  display: block;
}
.footer-cv-jaya p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-weight: bold;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-contact i {
  margin-right: 8px;
  color: #cde95a;
}
.footer-contact ul li {
  margin-bottom: 10px;
}
.footer-social {
  margin-bottom: 24px;
}
.footer-social .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social a {
  background-color: #99cc33;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}
.footer-social a:hover {
  background-color: #88b42d;
}
.footer-bottom {
  text-align: center;
  padding: 15px;
  background-color: #3a5114;
  font-size: 13px;
}
