/* === RESET & GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9f9f9;
  color: #254441;

  padding-top: 80px; /* untuk beri ruang di bawah navbar fixed */
  line-height: 1.6;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f8f9f7;
  padding: 16px 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero {
  padding-top: 100px; /* Ini kuncinya agar gambar tidak ketutup */
  background-size: cover;
  background-position: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #254441;
  z-index: 1001;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background-color: #f8f9f7;
  padding: 12px 20px;
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-links.show {
  display: flex;
}

.nav-links a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #1f3d36;
  font-weight: 500;
}

/* === HERO SECTION === */

.hero-text {
  position: static;
  font-size: 1.2rem;
  padding: 20px;
  display: none;
}

/* === SECTION UTAMA === */
.section {
  padding: 40px 20px;
  background-color: #f2f2f2;
}

.card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.card.reverse {
  flex-direction: row-reverse;
}

.card img {
  width: 120px;
  height: auto;
  border-radius: 12px;
}

.text {
  flex: 1;
}

.text h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.text p {
  font-size: 13px;
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  width: 100%;
  padding: 20px;
  font-size: 14px;
  text-align: center;
  background-color: #1d3e36;
  color: white;
  margin-top: 60px;
}

.footer-center {
  line-height: 1.5;
  font-weight: 600;
  font-size: 8px;
}

.footer-credit {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.6;
}
/* === ABOUT SECTION (KHUSUS gkm_about.html) === */
.about-section {
  padding: 20px 20px;
  background: url("../asset_web_gkm/bgaboutmob1.jpg") repeat;
  background-size: cover;
  position: relative;
  min-height: 100vh;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.92);
  z-index: 0;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.about-text {
  padding: 0 20px;
}

.about-text h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #254441;
}

.about-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #254441;
  margin-bottom: 12px;
}

/* === RESPONSIVE NAVIGATION OVERRIDE UNTUK ABOUT === */
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 0;
}

.navbar nav ul li a {
  text-decoration: none;
  color: #1f3d36;
  font-weight: 500;
  font-size: 14px;
}

.navbar nav ul li a.active {
  font-weight: 700;
}

/* halaman scope*/
.projects-scope {
  padding: 30px 10px 20px;
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bgprocetmob.png") repeat;
  background-size: cover;
}
.slider {
  position: relative;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.slider-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.projects-list {
  padding: 2rem 1rem;
  background: url("../asset_web_gkm/bgprocetmob.png") repeat;
  background-size: cover;
}

.projects-list h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #254441;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.project-card {
  flex: 1 1 280px; /* Lebar minimum 280px, fleksibel */
  max-width: 210px;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card p {
  padding: 0.75rem;
  font-weight: 500;
  color: #254441;
}

/* Optional hover effect */
.project-card:hover {
  transform: translateY(-5px);
}

.slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

/*halaman project */
.project-detail-section {
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bgplanningmob.jpg") repeat;
  background-size: cover;
}
.project-detail-section2 {
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bgcivilmob.jpg") repeat;
  background-size: cover;
}

.project-detail-section3 {
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bginteriormob.jpg") repeat;
  background-size: cover;
}

.project-entry {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
  align-items: flex-start;
  justify-content: space-between;
}

.project-gallery {
  flex: 1 1 50%;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.project-info {
  flex: 1 1 45%;
  font-size: 15px;
  line-height: 1.6;
  color: #254441;
}

/* === CONTACT PAGE === */
.contact-section {
  padding: 60px;
  background-color: #f9f9f9;
  min-height: 100vh;
  position: relative;
  background: url("../asset_web_gkm/image-bg-page-3.png") no-repeat center center;
  background-size: cover;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label {
  font-weight: 600;
  color: #254441;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background-color: #fff;
}

.contact-form textarea {
  resize: none;
  height: 140px;
}

.contact-form .btn-primary {
  background-color: #254441;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #1a332e;
}

.contact-form .btn-cancel {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #254441;
  text-decoration: none;
}

.contact-quote {
  align-items: center;
  color: #254441;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
