/* Resetting some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: cursive;
    background-image: url(images/BACKGROUND\ BLUE.jpg);
    color: #333;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    color: rgb(23, 23, 23);
    height: 80px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
}

.kiri {
    flex: 1;
    margin-right: 20px;
    margin-top: -300px;
}

.kiri h2 {
    font-size: 3rem;
}

.kiri p {
    font-size: 1.5rem;
}

.kanan {
    flex: 1;
    margin-left: 20px;
    margin-right: -100px;
}

.hero img {
    max-width: 100%;
}

.header .logo img {
    max-width: 150px;
    height: auto;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-item {
    color: rgb(21, 19, 19);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #ffffff;
}


/* Detail Container */
.detail-container {
    display: flex;
    margin: 30px auto;
    max-width: 1200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.image-detail {
    flex: 1;
    max-width: 500px;
    margin-right: 20px;
}

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

.info-detail {
    flex: 2;
}

.info-detail h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.description {
    font-size: 16px;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 15px;
}

.quantity {
    font-size: 16px;
    margin-bottom: 20px;
}

.quantity-input {
    width: 60px;
    padding: 5px;
    margin-left: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.order-btn {
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #45a049;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}


/* Styling untuk tampilan review gallery */
.review-gallery {
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grid responsif */
    gap: 20px;
    justify-items: center; /* Menyusun gambar di tengah */
}

.review-item {
    position: relative;
    cursor: pointer;
}

.review-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-item {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.review-item.selected .review-image {
    border: 4px solid #2563eb;
}

.flavor-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.product-details {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
}

.price-options {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
}

.total-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2563eb;
    text-align: right;
    margin: 1rem 0;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.option.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.order-btn:hover {
    background: #128C7E;
}

.wa-img {
    height: 24px;
}

.selected-flavor {
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 1rem;
}

.wa-img {
    width: 20px; /* Sesuaikan ukuran ikon */
    height: 20px;
    object-fit: contain; /* Agar gambar tidak terdistorsi */
}

.button-container {
    display: flex; /* Mengatur kedua tombol menjadi sejajar */
    justify-content: center; /* Mengatur posisi di tengah */
    align-items: center; /* Menyelaraskan tombol secara vertikal */
    gap: 5px; /* Memberikan jarak antar tombol */
    margin-top: 15px; /* Tambahkan margin untuk spasi di atas/bawah */
}

.review-item:hover {
    transform: translateY(-10px); /* Efek naik saat hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar saat hover */
}

.review-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover; /* Memastikan gambar tetap proporsional */
    margin-bottom: 15px;
}

.review-caption {
    font-size: 14px;
    color: #555;
    padding: 0 10px;
    font-style: italic;
}

