body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
}

html {
  scroll-behavior: smooth;
}

#hero,
#about,
#layanan,
#proyek {
  scroll-margin-top: 100px;
}

#kontak {
  scroll-margin-top: 140px;
}

/* === TRANSPARENT NAVBAR === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  padding-left: 80px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar-transparent {
  background-color: transparent;
  box-shadow: none;
}

.navbar-solid {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
  color: #f44336;
  font-weight: 600;
  padding: 8px 12px;
  font-size: 18px;
  position: relative;
  transition: color 0.3s
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 4px;
  background: #f44336;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

@font-face {
  font-family: 'Fonthero';
  src: url('../font/Dogbangy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fonthero2';
  src: url('../font/Playgum.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fonthero3';
  src: url('../font/BaksoSapi.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fonthero4';
  src: url('../font/rebel-kids.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fonthero5';
  src: url(../font/AlfaSlabOne-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Tombol toggle hanya tampil di layar kecil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  background-image: url('../assets/bghero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 75% center;
  /* ✅ Geser ke kanan */
  height: 100vh;
}

.wave-hero-bottom {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.custom-title-hero {
  font-family: 'Fonthero5', sans-serif;
}

.hero-content {
  max-width: 550px;
  width: 100%;
  text-align: left;
  padding-top: 40px;
}

.hero h1 {
  font-size: 55px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  display: inline-block;
}

.merah {
  color: #e53935;
  -webkit-text-stroke: 0.5px white;
  /* garis luar teks */
}

.biru {
  color: #1e88e5;
  -webkit-text-stroke: 0.5px white;
  /* garis luar teks */
}

.hijau {
  color: #43a047;
  -webkit-text-stroke: 0.5px white;
  /* garis luar teks */
}

.orange {
  color: #fb8c00;
  -webkit-text-stroke: 0.5px white;
  /* garis luar teks */
}

.putih {
  color: white;
  /* garis luar teks */
}

.hero p {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
}

.hero .buttons a {
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px 10px 0 0;
  display: inline-block;
}

.btn-black {
  background-color: #111;
  color: #fff;
}

.btn-blue {
  background-color: #fff;
  color: #2196f3;
  border: 2px solid #2196f3;
}

.btn-red {
  background-color: #fff;
  color: red;
  border: 2px solid red;
}

/**animasi tombol nav**/
@keyframes bounceSmoothFast {

  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(-4px);
  }

  70% {
    transform: translateY(-2px);
  }
}

.btn-header {
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  animation: bounceSmoothFast 1.2s cubic-bezier(0.47, 0.1, 0.53, 0.9) infinite;
}


.about-section {
  background: linear-gradient(to bottom,
      #f73130 10%,
      #f74a41 15%,
      #f9716c 30%,
      #ff9494 45%,
      #ffc1c1 60%,
      #ffd5d5 75%,
      #f7e7e7 90%,
      #ffffff 100%);

  padding: 100px 20px 60px;
  position: relative;
  text-align: center;
}


.wave-top {
  position: relative;
  top: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.wave-img {
  display: block;
  width: 100%;
  height: auto;
}

.wave-bg {
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  /* atur tinggi sesuai ukuran wave */
  z-index: 0;
}

.red-wave-bottom {
  position: absolute;
  bottom: -80px;
  /* bisa sesuaikan lebih kecil untuk turun lebih jauh */
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.about-section>*:not(.wave-bg) {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 60px;
  color: white;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: white;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-card {
  background: #fff;
  border: 8px solid #ffeb3b;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 780px;
  margin: auto;
  position: relative;
}

.about-card .logo {
  max-width: 200px;
  margin: 10px auto;
}

.subtitle {
  color: #e53935;
  font-weight: bold;
  margin: 20px 0 10px;
  font-size: 30px;
}

.about-content p {
  font-size: 20px;
  color: #444;
  line-height: 1.6;
}

.about-content .highlight {
  color: #e53935;
  font-weight: bold;
}

.star {
  width: 70px;
  position: absolute;
}

.star.top {
  top: -35px;
  left: -35px;
}

.star.bottom {
  bottom: -30px;
  right: -35px;
}

/* garus garis */
.garis-diagonal-css {
  background: repeating-linear-gradient(45deg,
      #e53935,
      /* merah */
      #e53935 10px,
      #ffffff 10px,
      #ffffff 20px);
  height: 80px;
  /* bisa diatur */
}

.layanan {
  background-color: white;
}

.section-title-layanan {
  font-size: 60px;
  color: red;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.section-title-layanan::after {
  content: '';
  width: 80px;
  height: 6px;
  background: red;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.layanan-card {
  position: relative;
  border: 5px solid;
  /* ✅ LEBIH TEBAL di sini */
  border-radius: 16px;
  padding: 24px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.2s ease;
  overflow: hidden;
  font-size: 0.95rem;
}

.layanan-card:hover {
  transform: translateY(-6px);
}

/* Garis tebal atas kartu */
.top-border {
  height: 10px;
  /* ✅ TEBAL di sini */
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Header Icon dan Check */
.layanan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.layanan-icon {
  font-size: 2.2rem;
}

.check-icon {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-img {
  width: 32px;
  height: 32px;
}

/* Warna Orange Kustom */
.border-orange {
  border: 4px solid #f57c00;
  /* Orange terang */
}

.text-orange {
  color: #f57c00;
}

.bg-orange {
  background-color: #f57c00;
}

/*==========================================================================================================================**/
/* proyek */

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1300px;
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-card {
  flex: 0 0 33.3333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-card .card-img {
  transition: transform 0.4s ease;
}

.carousel-card .card:hover .card-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 50%;
  }
}

@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 100%;
  }
}


/*==========================================================================================================================**/
/* FOOTER */
.site-footer {
  background-color: #e53935;
  color: #fff;
  padding: 40px 20px 20px;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-family: 'Fredoka', cursive;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-column ul li a:hover {
  opacity: 0.7;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 10px 16px;
  background-color: #ffeb3b;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.newsletter-form button:hover {
  background-color: #fdd835;
}

hr {
  margin: 30px auto 15px;
  border-color: rgba(255, 255, 255, 0.2);
  max-width: 1200px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 0;
  font-size: 0.9rem;
}

.social-links a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-links a:hover {
  opacity: 0.7;
}

/* Tombol Scroll ke Atas */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #e53935;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.scroll-top:hover {
  background-color: #c62828;
}

.section-bg-proyek {
  background-color: #ecf5fc;

}

.card-overlay-proyek {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  width: 100%;
}

.card-img-proyek {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
}

.filter-buttons .filter-btn {
  padding: 10px 20px;
  border: 2px solid #366FF4;
  background-color: #fff;
  color: #366FF4;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.filter-buttons .filter-btn:hover {
  background-color: #366FF4;
  color: #fff;
}

.filter-buttons .filter-btn.active {
  background-color: #366FF4;
  color: #fff;
  box-shadow: 0 4px 12px rgba(54, 111, 244, 0.3);
}

.hubungi {
  background-color: #fdf9df;
  font-family: 'Poppins', sans-serif;
}

.hubungi .contact-section {
  background-color: #fff;
  border-radius: 25px;
  border: 6px solid #f28e30;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.hubungi .form-control {
  border: 3px solid #4caf50;
  border-radius: 12px;
}

.hubungi .form-label {
  font-weight: 600;
}

.hubungi .section-title {
  font-size: 42px;
  font-weight: bold;
  color: #f44336;
}

.hubungi .section-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #f44336;
}

.hubungi .info-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  margin-right: 15px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  margin-right: 15px;
}

.telepon-icon {
  background-color: #e53935;
  /* merah */
}

.email-icon {
  background-color: #4caf50;
  /* hijau */
}

.alamat-icon {
  background-color: #366FF4;
  /* biru */
}

.hubungi .operasional-box {
  background-color: #fef9e7;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1rem;
}

/* === HERO RESPONSIVE === */
.hero {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url('../assets/bghero2.jpg') no-repeat center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 80px;
}

.hero-content {
  max-width: 600px;
  text-align: left;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* === HEADER RESPONSIVE === */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .logo-header {
    max-height: 50px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 26px;
    background: none;
    border: none;
    color: #e53935;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }

  .hero {
    flex-direction: column;
    padding: 60px 20px 40px;
    min-height: auto;
    text-align: left;
  }

  .hero-content {
    padding: 0 10px;
    width: 100%;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hubungi .contact-section {
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .hubungi .info-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  .hubungi .operasional-box {
    font-size: 0.95rem;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-right: 0;
  }

  .hubungi .d-flex.flex-wrap {
    align-items: flex-start !important;
  }
}

@media (max-width: 576px) {
  .carousel-card .card {
    height: 280px !important;
    /* ✅ pendekkan kartu di HP */
  }

  .carousel-card .card-img {
    object-fit: cover;
    height: 100%;
  }

  .carousel-card .card h5 {
    font-size: 1rem;
  }

  .carousel-card .card p {
    font-size: 10px;
  }
}

.instagram-bg {
      background: linear-gradient(180deg, #e9ecef 0%, #ffffff 50%, #f8f9fa 100%);
    }

    .phone-frame {
      width: 900px;
      /* perbesar ukuran HP */
      max-width: 1000px;
      position: relative;
    }

    .phone-screen {
      position: absolute;
      top: 10%;
      /* sesuaikan agar pas dengan layar mockup */
      left: 31%;
      width: 31%;
      height: 64.2%;
      border-radius: 25px;
      overflow: hidden;
    }

    .phone-screen iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      border: 2px solid #000;
      /* warna abu muda */
      border-radius: 25px;
      /* biar rounded */
      /* hilangkan inline spacing */
      pointer-events: none; /* Matikan klik, hover, scroll */
    }

    .row-border {
      border: 6px solid #dc2743;
      border-radius: 20px;
      padding: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }