/* Reset dan global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #254441;
  line-height: 1.6;
  position: relative;
  z-index: 0; /* penting supaya overlay bisa ada di bawah konten */
}

body::before {
  content: "";
  position: fixed; /* biar tetap saat scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../asset_web_gkm/image_utama.png") repeat center center;
  background-size: cover;
  opacity: 0.1; /* atur transparansi di sini */
  z-index: -1; /* di bawah konten */
}

/* NAVIGATION BAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  /*background-color: #f8f9f7;*/
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
  width: 280px;
}

/* Nav links untuk index.html */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #1f3d36;
  font-weight: 500;
}

.nav-links .active {
  font-weight: bold;
}

/* Nav untuk about.html */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

nav a.active {
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  background: url("../asset_web_gkm/image_utama2.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.hero-text {
  position: absolute;
  top: 680px;
  left: 60px;
  color: #1f3d36;
  font-size: 2rem;
  max-width: 1500px;
  /*text-shadow: 2px 2px 5px rgb(255, 255, 255);*/
  text-shadow: 2px 2px 5px rgb(255, 255, 255), /* bayangan utama */ -1px -1px 2px rgba(255, 255, 255, 0.8); /* highlight atas */
}

/* SECTION (INDEX) */
.section {
  position: relative;
  padding: 60px;
  background-color: #f2f2f2;
  overflow: hidden;
  padding-top: 200px;
  padding-bottom: 200px;
}

.section::before {
  content: "";
  background: url("../asset_web_gkm/image_transparent1.png") no-repeat center center;
  background-size: cover;
  background-position: center 4px;
  opacity: 0.08;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 40px;
}

/* CARD */
.card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.card.reverse {
  flex-direction: row-reverse;
}

.card img {
  width: 394px;
  height: 539px;
  border-radius: 10px;
}

.text {
  max-width: 600px;
}

.text h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ABOUT SECTION */
.about-section {
  position: relative;
  padding: 40px 60px;

  min-height: 100vh;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

.about-text h2 {
  color: #254441;
  margin-bottom: 20px;
  font-size: 24px;
  padding-top: 50px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #254441;
}

/* FOOTER */
.footer {
  background-color: #1d3e36;
  color: white;
  padding: 20px 60px;
  position: relative;
  text-align: center;
}

.footer-center {
  line-height: 1.5;
  font-weight: 600;
  font-size: 11px;
}

.footer-credit {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 12px;
  opacity: 0.6;
}

.credit {
  font-size: 12px;
  opacity: 0.6;
  font-weight: 400;
}

/* === PROJECTS PAGE === */
.projects-scope {
  padding: 80px 60px 40px;
  background: url("../asset_web_gkm/bgproject1.jpg") repeat;
  background-size: cover;
}

.projects-scope h2 {
  font-size: 24px;
  color: #254441;
  margin-bottom: 30px;
}

.slider {
  position: relative;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.slider-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.slider-caption {
  text-align: center;
  margin-top: 12px;
  font-weight: 500;
  color: #254441;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex: 1;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
}

.dot.active {
  background-color: #254441;
}

.slider-next {
  background-color: #254441;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 50%;
  cursor: pointer;
}

/* PROJECTS LIST */
.projects-list {
  padding: 40px 60px 100px;
  background: url("../asset_web_gkm/bgproject2.jpg") repeat;
  background-size: cover;
}

.projects-list h2 {
  font-size: 24px;
  color: #254441;
  margin-bottom: 30px;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project-card {
  flex: 1 1 250px;
  max-width: 520px;
  text-align: center;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.project-card p {
  margin-top: 12px;
  font-weight: 500;
  color: #254441;
}

/* === SLIDER STYLES === */
.slider-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.caption {
  text-align: left;
  margin-top: 10px;
  font-weight: 500;
  color: #254441;
  padding-left: 10px;
}

/* Navigasi tombol kiri dan kanan */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(37, 68, 65, 0.8);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(37, 68, 65, 1);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #254441;
}

.project-detail-section {
  padding: 60px;
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bgplaning.jpg") repeat;
  background-size: cover;
}

.project-detail-section2 {
  padding: 60px;
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bgcivil.jpg") repeat;
  background-size: cover;
}

.project-detail-section3 {
  padding: 60px;
  background-color: #f9f9f9;
  background: url("../asset_web_gkm/bginterior.jpg") repeat;
  background-size: cover;
}

.project-detail-section h2 {
  font-size: 24px;
  color: #254441;
  margin-bottom: 40px;
}

.project-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
  align-items: flex-start;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  flex: 1 1 60%;
}

.project-gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.project-info {
  flex: 1 1 35%;
  font-size: 15px;
  line-height: 1.6;
  color: #254441;
}

.project-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.back-link {
  margin-top: 40px;
}

.back-link a {
  text-decoration: none;
  color: #254441;
  font-weight: 500;
}

/* === 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-section h2 {
  padding-bottom: 20px;
}

.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: 0 0 50%; /* fix lebar form */
  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-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 150px;
}

.contact-quote p {
  font-style: italic;
  line-height: 1.5;
}

.contact-info p {
  margin: 5px 0;
}

/* HAMBURGER DEFAULT HILANG DI DESKTOP */
.menu-toggle {
  display: none;
}
