/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
}

.navbar h1 {
    font-size: 1.5rem;
}

.navbar-links {
    display: flex;
    gap: 15px;
}

.navbar-links a {
    text-decoration: none;
    color: #fff;
    padding: 10px 40px;
    border-radius: 5px;
}

.login-btn {
    background-color: #4caf50;
}

.cta-btn {
    background-color: #ff5722;
}

.login-btn, .cta-btn {
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #45a049;
}

.cta-btn:hover {
    background-color: #e64a19;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
}

.container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.price-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.price-box h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  color: #27ae60;
  margin-bottom: 10px;
  font-weight: bold;
}

.description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.order-button {
  background-color: #27ae60;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slideshow-container {
    
}

.order-button:hover {
  background-color: #1e8449;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
      flex-direction: column;
      align-items: center;
  }

  .price-box {
      width: 80%; /* Atur lebar menjadi 80% layar pada perangkat yang lebih kecil */
      margin-bottom: 20px;
  }
}
  
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}

footer a {
    color: #ff5722;
    text-decoration: none;
}

* { box-sizing: border-box; }
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.slides { display: none; }
img { vertical-align: middle; width: 100%; }

/* Caption */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

/* Previous and next buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* Dots */
.dot-container {
    text-align: center;
    padding: 16px;
    background: #222;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover { background-color: #717171; }

* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; margin: 0; padding: 0; }

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.slides { 
    display: none; 
}

img { 
    width: 100%; 
    height: auto;
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* Dot indicators */
.dot-container {
    text-align: center;
    padding: 16px;
    background: #222;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover { background-color: #717171; }

/* Responsive styling */
@media only screen and (max-width: 768px) {
    .prev, .next {
        font-size: 12px;
        padding: 10px;
    }
    .text {
        font-size: 12px;
        padding: 6px;
    }
}

@media only screen and (max-width: 480px) {
    .prev, .next {
        font-size: 10px;
        padding: 8px;
    }
    .text {
        font-size: 10px;
        padding: 4px;
    }
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Gaya umum untuk halaman */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    color: #333;
}

header {
    background: #4CAF50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

/* Gaya konten utama */
.container {
    max-width: 1200px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    padding: 15px;
    background: #f4f4f4;
    margin: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar h1 {
        font-size: 20px;
    }

    .navbar-links a {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Display menu toggle button */
    .menu-toggle {
        display: inline-block;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
    }

    .menu-toggle.active + .navbar-links {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar h1 {
        font-size: 18px;
    }

    .text {
        font-size: 16px;
        padding: 5px 10px;
    }

    .prev, .next {
        font-size: 16px;
        padding: 12px;
    }
}

/* Mengatur ukuran gambar dalam slideshow */
.slides img {
    s       /* Foto akan menyesuaikan lebar container */
    max-width: max-content;  /* Batas maksimum lebar gambar */
    max-height: 300px; /* Batas maksimum tinggi gambar */
    height: auto;      /* Tinggi gambar menyesuaikan rasio asli */
    object-fit: cover; /* Gambar akan dipotong jika perlu agar tetap rapi */
    margin: auto;
}

slides {
    display: grid;
    place-items: center; /* Menempatkan elemen ke tengah (horizontal dan vertikal) */
    height: 100%;        /* Pastikan kontainer memiliki tinggi */
}