:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #0bceaf;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #ffffff;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Roboto", sans-serif;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
}

/* Navbar Styling */
nav a {
  text-decoration: none;
}
/* General Navbar Styling */
.navbar {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  background-color: var(--light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  color: var(--dark);
}

.navbar-brand h1 {
  color: var(--dark);
  margin: 0 1rem;
  font-size: 2rem;
  font-weight: bold;
  padding: 10px 20px;
}

.navbar-brand h1 span {
  color: var(--primary);
}

.navbar-toggler {
  margin-left: 12rem;
  right: 0%;
  float: right;
  display: block;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-toggler i {
  color: var(--dark);
}

.navbar-nav {
  list-style: none;
  padding: 20px 20px;
  margin: 0 7rem;
  display: flex;
  flex-direction: row;
}

.navbar-nav .nav-item {
  margin: 0 1rem;
}

.navbar-nav .nav-link {
  color: var(--dark);
  text-decoration: none;
  font-size: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.btn-outline-primary {
  position: absolute;
  justify-content: center;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}
/* Container untuk tombol agar tetap berada di sebelah kiri */
.btn-web,
.btn-adm {
  display: block; /* Tombol berbaris ke bawah */
  position: fixed; /* Tombol tetap di posisi saat scroll */
  left: 20px; /* Jarak dari kiri layar */
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0);
  color: var(--primary);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 1rem; /* Jarak antar tombol */
  z-index: 1000; /* Pastikan tombol berada di atas konten lainnya */
}

/* Menambahkan efek hover */
.btn-web:hover,
.btn-adm:hover {
  background-color: var(--teal);
  color: var(--light);
}

/* Menyusun tombol dengan jarak 5rem dari atas */
.btn-web {
  top: 9rem; /* Tombol pertama 5rem dari atas */
}

.btn-adm {
  top: 6rem; /* Tombol kedua 1rem lebih rendah dari tombol pertama */
}

/* Responsif untuk layar lebih besar dari 992px (misalnya desktop) */
@media (max-width: 992px) {
  .btn-web,
  .btn-adm {
    left: 15px; /* Mengurangi jarak kiri untuk tampilan layar lebih kecil */
    font-size: 14px; /* Ukuran font sedikit lebih kecil */
  }

  .btn-web {
    top: 8rem; /* Tombol pertama 8rem dari atas */
  }

  .btn-adm {
    top: 6rem; /* Tombol kedua lebih dekat ke tombol pertama */
  }
}

/* Responsif untuk layar lebih kecil dari 768px (tablet) */
@media (max-width: 768px) {
  .btn-web,
  .btn-adm {
    left: 10px; /* Mengurangi jarak kiri lebih jauh untuk layar lebih kecil */
    font-size: 12px; /* Ukuran font lebih kecil */
  }

  .btn-web {
    top: 8rem; /* Tombol pertama lebih dekat ke atas */
  }

  .btn-adm {
    top: 6rem; /* Tombol kedua lebih dekat dengan tombol pertama */
  }
}

/* Responsif untuk layar lebih kecil dari 520px (smartphone kecil) */
@media (max-width: 520px) {
  .btn-web,
  .btn-adm {
    left: 5px; /* Menempatkan tombol di tepi kiri layar */
    font-size: 12px; /* Ukuran font lebih kecil */
    padding: 8px 16px; /* Menyesuaikan padding agar lebih pas */
  }

  .btn-web {
    top: 8rem; /* Tombol pertama semakin mendekat ke atas */
  }

  .btn-adm {
    top: 6rem; /* Tombol kedua semakin mendekat dengan tombol pertama */
  }
}

/* Responsif untuk layar lebih kecil dari 480px (smartphone sangat kecil) */
@media (max-width: 480px) {
  .btn-web,
  .btn-adm {
    left: 0; /* Menempatkan tombol di tepi kiri layar */
    font-size: 10px; /* Ukuran font semakin kecil */
    padding: 6px 12px; /* Menyesuaikan padding */
  }

  .btn-web {
    top: 8rem; /* Tombol pertama lebih dekat ke atas */
  }

  .btn-adm {
    top: 6rem; /* Tombol kedua lebih dekat dengan tombol pertama */
  }
}

/* Main Content */
/* Hero Section */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 50px 10%;
  gap: 20px;
}

/* Left Content Styling */
.hero-section {
  background-color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 50px 10%;
  gap: 20px;
}

.hero-content {
  flex: 1 1 40%;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--light);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 50px;
}

.hero-buttons a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 30px;
  margin-right: 10px;
}

.btn-primary {
  background-color: var(--light);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--teal);
  color: var(--light);
}

/* Image Section Styling */
.hero-images {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 3rem -1rem 1rem 3rem;
}

.row {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Align bottom for the 'staircase' effect */
  gap: 20px; /* Jarak antar gambar */
}

img {
  object-fit: cover;
  border-radius: 15px;
}

/* Image Size Adjustments */
.img-1 {
  max-width: 100%;
  width: 150px; /* Ukuran seperti HP */
  height: 250px;
  margin-left: 80px;
  margin-bottom: -30px; /* Tangga ke atas */
}

.img-2 {
  max-width: 100%;
  width: 200px;
  height: 300px;
  margin-top: 30px; /* Tangga ke atas */
}

.img-3 {
  width: 180px;
  height: 350px;
  margin-top: -120px; /* Tangga paling atas */
  margin-right: 20px;
}

/* Gambar 4 dan 5 (Tangga dengan jarak kiri-kanan) */
.img-4 {
  max-width: 100%;
  width: 200px;
  height: auto;
  margin-left: 10px; /* Jarak kiri */
  margin-top: 20px; /* Tangga ke bawah */
}

.img-5 {
  max-width: 100%;
  width: 200px;
  height: auto;
  margin-right: 20px; /* Jarak kanan */
  margin-bottom: 20px; /* Tangga ke atas */
}

/* RESPONSIVE DESIGN */

/* Tablet View */
@media (max-width: 768px) {
  .hero-section {
    margin-top: 3rem;
    flex-direction: column-reverse; /* Balik urutan: gambar dulu, tulisan kemudian */
    align-items: center;
    padding: 30px 5%;
  }

  .hero-content {
    text-align: center;
    flex: 1 1 100%;
    margin-top: 20px; /* Tambahkan jarak antara gambar dan tulisan */
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-images {
    flex: 1 1 100%;
    margin: 1rem 0;
  }

  .row {
    flex-direction: row;
    gap: 10px;
  }

  .img-1,
  .img-2,
  .img-3,
  .img-4,
  .img-5 {
    width: 100px; /* Ukuran lebih kecil untuk layar tablet */
    height: 150px;
    margin: 0;
  }
}

/* Mobile View */
@media (max-width: 480px) {
  .hero-section {
    display: flex;
    flex-direction: column-reverse; /* Gambar dulu, teks kemudian */
    align-items: center;
    padding: 20px 5%;
    margin-top: 20%; /* Menambahkan jarak untuk navigasi fixed */
    position: relative;
  }

  .hero-images {
    flex: 1 1 100%;
    margin: 0;
    margin-top: 50px; /* Menambahkan jarak lebih untuk gambar berada di bawah navigasi */
  }

  .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Jarak antar gambar */
  }

  .img-1,
  .img-2,
  .img-3,
  .img-4,
  .img-5 {
    width: 90%; /* Gambar responsif */
    height: auto;
    margin: 0; /* Reset margin */
  }
}
/* General container styles */
/* Kontainer Utama */
.container-main {
  max-width: 900px;
  margin: 1rem auto;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Judul Section */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

/* Layout Baris */
.row-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Content Section */
.content-section {
  flex: 1 1 48%;
  padding-right: 20px;
  margin-top: 30px;
}

.content-section h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.content-section h2 {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 20px;
  color: #333;
}

.content-section p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-details {
  text-align: left;
}

/* Button Styling */
.btn-order {
  margin-top: 40px;
  text-decoration: none;
  background-color: var(--light); /* White background */
  color: var(--primary); /* Teal text color */
  border: 1px solid var(--primary); /* Teal border */
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.btn-order:hover {
  background-color: var(--primary); /* Teal background on hover */
  color: white; /* White text on hover */
  border-color: var(--primary); /* Maintain the teal border on hover */
}

/* Image Section */
.image-section {
  flex: 1 1 48%;
  padding-left: 20px;
}

.image-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Layout Produk */
.row-products {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.col-12 {
  flex: 1 1 100%;
}

.col-6 {
  flex: 1 1 48%;
  padding: 0;
}

/* RESPONSIVE DESIGN */

/* Layar Lebar Sedang (992px) */
@media (max-width: 992px) {
  .container-main {
    max-width: 750px;
  }

  .row-main {
    gap: 15px;
  }

  .content-section h1 {
    font-size: 1.8rem;
  }

  .content-section h2 {
    font-size: 1rem;
  }

  .content-section p {
    font-size: 0.9rem;
  }
}

/* Layar Tablet (768px) */
@media (max-width: 768px) {
  .container-main {
    max-width: 700px;
    padding: 15px;
  }

  .row-main {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .content-section {
    max-width: 100%;
    padding: 0;
  }

  .content-section h1 {
    font-size: 1.6rem;
  }

  .content-section h2 {
    font-size: 1rem;
  }

  .content-section p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .image-section {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .image-section img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }
}

/* Layar Kecil (520px) */
@media (max-width: 520px) {
  .container-main {
    max-width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .content-section {
    max-width: 100%;
  }

  .content-section h1 {
    font-size: 1.4rem;
  }

  .content-section h2 {
    font-size: 1rem;
  }

  .content-section p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .image-section img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
  }

  .row-products {
    gap: 10px;
  }

  .col-6 {
    flex: 1 1 48%;
  }

  .col-12 {
    flex: 1 1 100%;
  }
}

/* Layar Kecil (480px) */
@media (max-width: 480px) {
  .container-main {
    max-width: 85%;
    padding: 10px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .row-main {
    flex-direction: column-reverse;
    gap: 15px;
  }

  .content-section {
    max-width: 100%;
    padding: 0 10px;
  }

  .content-section h1 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .content-section h2 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .content-section p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .image-section img {
    width: 90%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }

  .row-products {
    gap: 8px;
  }

  .col-6 {
    flex: 1 1 48%;
  }

  .col-12 {
    flex: 1 1 100%;
  }
}

/* Footer Umum */
footer {
  padding: 30px;
  background-color: var(--primary);
  font-size: 14px; /* Ukuran teks lebih kecil */
  line-height: 1.4; /* Kerenggangan antar baris lebih rapat */
}

/* Social Media Icons */
.socials {
  display: flex;
  justify-content: center; /* Ikon sosial sejajar horizontal di tengah */
  gap: 10px; /* Jarak antar ikon lebih kecil */
  margin-bottom: 15px; /* Jarak bawah lebih kecil */
}

.socials a {
  text-decoration: none;
}

.btn-social {
  width: 40px; /* Ukuran ikon lebih kecil */
  height: 40px;
  border-radius: 50%; /* Bentuk bulat */
  background-color: #fff; /* Latar belakang ikon */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000; /* Warna ikon */
  font-size: 16px; /* Ukuran font ikon lebih kecil */
  transition: all 0.3s ease;
}

.btn-social:hover {
  background-color: #f0f0f0; /* Latar belakang hover */
  color: #333; /* Warna ikon saat hover */
}

/* Footer Menu */
.Footer-menu {
  display: flex;
  justify-content: center; /* Menu berada di tengah */
  gap: 10px; /* Jarak antar item menu lebih kecil */
  margin-bottom: 15px; /* Jarak bawah lebih kecil */
}

.Footer-menu a {
  color: #fff; /* Warna teks menu */
  text-decoration: none;
  font-size: 14px; /* Ukuran teks lebih kecil */
  transition: color 0.3s ease;
}

.Footer-menu a:hover {
  color: #fff; /* Warna tetap putih saat hover */
  text-decoration: underline;
}

/* Garis Pemisah | */
.px-3 {
  padding-left: 8px;
  padding-right: 8px;
  color: #fff; /* Warna putih */
}

/* Footer Copyright */
.footer-copy {
  color: #fff; /* Teks putih */
  font-size: 12px; /* Ukuran teks copyright lebih kecil */
  text-align: center; /* Teks copyright di tengah */
  margin-top: 15px; /* Jarak atas lebih kecil */
}

.footer-copy a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* Sidebar for Mobile */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 45%; /* Pusatkan secara vertikal */
    left: 50%; /* Pusatkan secara horizontal */
    transform: translate(-50%, -50%); /* Agar kotak mengambang di tengah */
    width: 80%; /* Lebar kotak */
    background: var(--light); /* Background warna terang */
    padding: 2rem 1.5rem; /* Spasi dalam */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Bayangan untuk efek mengambang */
    z-index: 20;
    border-radius: 0.5rem; /* Sedikit membulatkan sudut */
    overflow-y: auto; /* Jika menu terlalu panjang, bisa di-scroll */
    max-height: 90%; /* Batasi tinggi maksimal agar tidak keluar layar */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0; /* Awalnya transparan */
    pointer-events: none; /* Tidak bisa diklik saat tersembunyi */
  }

  .navbar-collapse.show {
    opacity: 1; /* Tampilkan ketika menu aktif */
    pointer-events: auto; /* Izinkan interaksi */
  }

  .navbar-toggler {
    display: block;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: 2px solid #ccc; /* Tambahkan garis border pada toggle */
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem; /* Sedikit membulat */
  }

  .navbar-brand {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.2rem; /* Jarak bawah untuk logo */
    text-align: left;
    color: var(--primary); /* Warna logo */
  }

  .navbar-nav {
    display: flex;
    flex-direction: column; /* Susunan vertikal */
    align-items: flex-start;
    padding: 0;
    margin: 0;
    gap: 1.5rem; /* Jarak antar menu lebih renggang */
  }

  .nav-link {
    display: block;
    font-size: 1rem;
    text-align: left;
    width: 100%; /* Lebar penuh menu */
    color: #000; /* Warna menu */
  }

  .nav-link:hover {
    color: var(--primary); /* Warna saat dihover */
  }

  .btn-outline-primary {
    display: none; /* Tombol Hire Me disembunyikan di mobile */
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none; /* Toggler disembunyikan pada layar besar */
  }

  .navbar-collapse {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .navbar-nav {
    flex-direction: row; /* Menu tetap horizontal di layar besar */
  }

  .nav-link {
    margin: 0 1rem; /* Jarak horizontal antar menu */
    padding: 0.5rem 0;
  }

  .btn-outline-primary {
    display: inline-block; /* Tombol Hire Me muncul di layar besar */
    width: auto;
  }
}
