* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffd7d9; /* Warna pink latar belakang */
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-logo .logo-img {
    height: 50px;
  }
  
  .navbar-menu {
    display: flex;
    list-style: none;
  }
  
  .navbar-menu li {
    margin-left: 20px;
  }
  
  .navbar-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease; /* Tambahkan efek transisi halus pada warna */
  }
  
  .navbar-menu li a:hover {
    color: #643636; /* Ubah warna saat di-hover */
    text-decoration: none; /* Hilangkan underline saat di-hover */
  }
  
  .navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .navbar-toggle span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
  }
  
  @media (max-width: 768px) {
    .navbar-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background-color: #ffd7d9;
      padding: 20px 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
  
    .navbar-menu.active {
      display: flex;
    }
  
    .navbar-menu li {
      text-align: center;
      margin: 10px 0;
    }
  
    .navbar-toggle {
      display: flex;
    }
  }

/* Style untuk ad-slideshow */
.ad-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 1000px; /* Tinggi default untuk layar besar */
    margin: auto;
    padding-top: 20px;
    overflow: hidden;
}

/* Slide dan gambar */
.slides {
    display: none;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Fade in animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Tombol Next dan Back */
.slide-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slide-controls button {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.slide-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsif untuk berbagai ukuran layar */

/* Untuk tablet atau layar sedang */
@media (max-width: 1024px) {
    .ad-slideshow {
        height: 600px; /* Kurangi tinggi untuk layar sedang */
        width: 90%; /* Sesuaikan lebar menjadi 90% untuk layar sedang */
    }
}

/* Untuk layar kecil (ponsel) */
@media (max-width: 768px) {
    .ad-slideshow {
        height: 400px; /* Kurangi tinggi untuk layar kecil */
        width: 100%; /* Sesuaikan lebar agar memenuhi layar */
    }

    .slide-controls {
        bottom: 10px; /* Sesuaikan posisi tombol untuk layar kecil */
        right: 10px;
    }

    .slide-controls button {
        padding: 8px;
        font-size: 16px;
    }
}

/* Untuk layar sangat kecil (ponsel kecil) */
@media (max-width: 480px) {
    .ad-slideshow {
        height: 300px; /* Kurangi lagi tinggi untuk layar sangat kecil */
        width: 100%; /* Pastikan lebar penuh untuk layar sangat kecil */
    }

    .slide-controls button {
        padding: 6px;
        font-size: 14px;
    }
}

/* About Us Section */
.about-us-section {
    padding: 50px 400px;
    background-color: #d7929a; /* Warna latar belakang pink */
    color: #fff;
    text-align: center;
}

.about-us-section h2 {
    font-size: 36px;
    color: #fff;
    text-align: right; /* Rata kanan */
    margin-bottom: 10px;
    position: relative;
}

.about-us-section h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    background-color: #fff;
    margin: 10px 0 0 auto; /* Posisikan garis di bawah dan rata kanan */
}

/* About Content Layout */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-logo {
    max-width: 100%;
     width: 300px;
     border-radius: 10px;
}

.about-text {
    flex: 1;
    text-align: right;
    color: #fff;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 15px;
}

/* Responsif untuk berbagai ukuran layar */

/* Untuk tablet atau layar sedang */
@media (max-width: 1024px) {
    .about-us-section {
        padding: 40px 15px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-logo {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .about-text {
        text-align: justify;
    }

    .about-us-section h2 {
        text-align: center; /* Pusatkan judul pada layar kecil */
    }

    .about-us-section h2::after {
        margin: 5px auto 0 auto; /* Pusatkan garis pada layar kecil */
    }
}

/* Untuk layar kecil (ponsel) */
@media (max-width: 768px) {
    .about-us-section {
        padding: 30px 10px;
    }

    .about-us-section h2 {
        font-size: 28px;
    }

    .about-content {
        max-width: 90%;
    }

    .about-logo {
        max-width: 120px;
    }

    .about-text p {
        font-size: 14px;
    }
}

/* Untuk layar sangat kecil (ponsel kecil) */
@media (max-width: 480px) {
    .about-us-section {
        padding: 20px 10px;
    }

    .about-us-section h2 {
        font-size: 24px;
    }

    .about-logo {
        max-width: 100px;
    }

    .about-text p {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* Product Section */
.products-section {
    padding: 50px 20px;
    background-color: #ffd7d9; /* Warna latar belakang pink */
    color: #333;
    text-align: center;
}

.products-section h2 {
    font-size: 36px;
    color: #633635;
    margin-bottom: 20px;
    position: relative;
}

.products-section h2::after {
    content: "";
    display: block;
    width: 300px;
    height: 4px;
    background-color: #633635;
    margin: 10px auto;
}

/* Grid layout for product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product card styling */
.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.product-card p {
    font-size: 16px;
    color: #333;
    margin: 15px 0;
    padding: 0 10px;
}

/* Hover effect */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .products-section h2 {
        font-size: 28px;
    }

    .product-card img {
        max-height: 200px;
    }

    .product-card p {
        font-size: 14px;
    }
}


/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    background-color: #ffd7d9; /* Warna latar belakang pink */
    color: #333;
    text-align: center;
}

.gallery-section h2 {
    font-size: 36px;
    color: #633635;
    margin-bottom: 20px;
    position: relative;
}

.gallery-section h2::after {
    content: "";
    display: block;
    width: 300px;
    height: 4px;
    background-color: #633635;
    margin: 10px auto;
}

/* Grid layout for gallery items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Atur 4 gambar dalam satu baris */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery item styling */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto; /* Membuat gambar lebih besar */
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover effect for gallery items */
.gallery-item:hover img {
    transform: scale(1.1); /* Perbesar gambar saat di-hover */
}

/* Responsif untuk layar tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* Tampilkan 3 gambar per baris pada tablet */
    }
    .gallery-section h2 {
        font-size: 28px;
    }
}

/* Untuk layar kecil */
@media (max-width: 480px) {
    .gallery-item img {
        height: auto; /* Pastikan tinggi tetap proporsional pada layar kecil */
    }
}

/* Responsif untuk layar ponsel */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Tampilkan 2 gambar per baris pada ponsel */
    }
    .gallery-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Tampilkan 1 gambar per baris pada layar yang lebih kecil */
    }
    .gallery-section h2 {
        font-size: 20px;
    }
}

.bouquet-slider-container {
    padding: 20px;
    background-color: #ffd7d9;
    border-radius: 8px;
    text-align: center;
  }
  
  .bouquet-title {
    font-size: 28px;
    font-weight: bold;
    color: #633635;
    margin-bottom: 15px;
  }
  
  .bouquet-text-slider {
    display: flex;
    gap: 50px;
    overflow: hidden;
    white-space: nowrap;
    animation: scroll-text 20s linear infinite;
  }

  @keyframes scroll-text {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
  
  .bouquet-text-slider::-webkit-scrollbar {
    display: none; /* Menghilangkan scrollbar untuk Chrome, Safari, dan Opera */
  }
  
  .bouquet-text-item {
    font-size: 24px; /* Membuat teks lebih besar */
    font-weight: bold;
    color: #633635;
    flex-shrink: 0;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .bouquet-text-item:hover {
    transform: scale(1.1); /* Efek perbesar saat di-hover */
  }
  

/* Testimonial Section */
#testimonials h2 {
    font-size: 32px;
    color: #633635; /* Customize the color */
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px; /* Space between the heading and carousel */
    position: relative;
}

#testimonials h2::after {
    content: "";
    display: block;
    width: 20%;
    height: 4px;
    background-color: #633635; /* Underline color */
    margin: 10px auto 0; /* Position it below the title */
}


.carousel-container {
    overflow: hidden;
    width: calc(330px * 3); /* Lebar container setara dengan 3 gambar */
    margin: 0 auto;
}

/* Carousel with images */
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Each image in the carousel */
.carousel img {
    width: 300px; /* Ukuran tetap untuk setiap gambar */
    max-width: 150%; /* Menghindari gambar melampaui batas lebar */
    margin: 10px 15px; /* Sesuaikan margin untuk menghindari tampilan meluap */
    border-radius: 15px;
}

/* Responsif untuk layar tablet */
@media (max-width: 768px) {
    .carousel-container {
        width: calc(200px * 2); /* Tampilkan 2 gambar pada layar tablet */
    }
    .carousel img {
        width: 200px; /* Ukuran gambar di tablet */
    }
}

/* Responsif untuk layar ponsel */
@media (max-width: 480px) {
    .carousel-container {
        width: 100%; /* Lebar container penuh pada ponsel */
    }
    .carousel img {
        width: 100%; /* Ukuran gambar penuhi lebar container di ponsel */
        max-width: none; /* Pastikan gambar tidak dibatasi */
        margin: 0; /* Hilangkan margin di ponsel agar gambar pusat */
    }
}

/* Contact Us Section */
.contact-section {
    padding: 60px 0;
    background-color: #d7929a; /* Warna latar belakang sesuai permintaan */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-title {
    font-size: 28px;
    color: #ffffff; /* Warna teks putih */
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: #ffffff; /* Warna teks putih */
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff; /* Warna teks putih */
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 20px;
    color: #ffffff; /* Warna ikon putih */
    margin-right: 10px;
}

.contact-info a {
    color: #ffffff; /* Warna teks tautan putih */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-map-section {
    flex: 2;
    min-width: 400px;
    overflow: hidden; /* Untuk mencegah konten iframe meluap */
    height: 450px; /* Sesuaikan tinggi container agar iframe tidak terpotong */
}

.contact-map-section iframe {
    width: 100%;
    height: 200%; /* Mengatur tinggi iframe menjadi 200% */
    border-radius: 8px;
    border: 0;
}


/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
}


/* Footer Section */
.footer-section {
    background-color: #222; /* Warna abu-abu tua, hampir hitam */
    color: #ffffff; /* Warna teks putih */
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.footer-item h4 {
    font-size: 18px;
    color: #d7929a; /* Warna teks judul */
    margin-bottom: 10px;
}

.footer-item p {
    font-size: 16px;
    color: #ffffff;
}

.instagram-link {
    color: #d7929a; /* Warna teks Instagram */
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.instagram-link i {
    font-size: 20px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}
