/* home.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #dcedfa; /* Background light blue */
}

/* Header Styling */
header {
    background: #092534; /* Dark blue */
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 2rem;
    text-align: left; /* Logo berada di kiri */
    padding-left: 20px; /* Memberikan jarak dari kiri */
}
nav ul {
    list-style: none;
    display: flex;
    gap: 5 px; /* Adjusted gap between the menu items */
    margin-right: 10px; /* Memberikan sedikit jarak antara menu dan tepi kanan */
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #12aabf; /* Light turquoise */
    background: #2b6f8b; /* Medium blue on hover */
}

/* Frame for Menu Links */
nav ul li a {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    border-color: #12aabf; /* Light turquoise */
    background-color: rgba(18, 170, 191, 0.1); /* Light turquoise background when hovered */
}


/* Hero Section Styling */
.hero {
    background: url('Images/Hero1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    color: #fff; /* White*/
}

.hero p {
    font-size: 1.2rem;
    color :#fff; /* White*/
    margin: 20px 0;
}

/* Tombol elegan dan premium dengan hitam, navy blue, dan putih */
button {
    background: linear-gradient(45deg, #000000, #2b6f8b); /* Gradien hitam dan navy blue */
    color: #fff; /* Font putih */
    padding: 15px 30px; /* Lebih besar dan lebih elegan */
    border: 2px solid #2b6f8b; /* Border dengan warna navy blue */
    font-size: 1.2rem; /* Ukuran font yang lebih besar */
    cursor: pointer;
    border-radius: 25px; /* Sudut melengkung lebih besar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Memberikan bayangan untuk efek elegan */
    transition: all 0.3s ease; /* Efek transisi untuk interaksi */
}

button:hover {
    background: #2b6f8b; /* Warna solid navy blue saat hover */
    border-color: #000000; /* Ubah border warna menjadi hitam saat hover */
    transform: translateY(-4px); /* Efek angkat tombol sedikit saat hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Bayangan lebih besar saat hover */
}

button:focus {
    outline: none; /* Menghilangkan outline saat fokus */
}
/* Reuse modal styling */
#heroOrderModal.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  background-color: rgba(0,0,0,0.6);
}

#heroOrderModal .modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeInModal 0.3s ease-in-out;
}

#heroOrderModal h3 {
  color: #092534;
  text-align: center;
  margin-bottom: 20px;
}

#heroOrderModal label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
  color: #333;
}

#heroOrderModal input,
#heroOrderModal select {
  width: 100%;
  padding: 10px;
  margin: 5px 0 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#heroOrderModal button {
  background-color: #2b6f8b;
  color: #fff;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

#heroOrderModal button:hover {
  background-color: #092534;
}

#heroOrderModal .close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
}

/* Produk Section */
#produk {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

#produk h2 {
    color: #092534; /* Dark blue */
    font-size: 3rem; /* Membesarkan ukuran font untuk "Produk Kami" */
    margin-bottom: 20px;
}

.produk-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* 🌟 Tambahan efek shadow */
    transition: box-shadow 0.3s ease;
  }
  .produk-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  

  .produk-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    width: 325px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  
  /* Efek saat hover */
  .produk-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }
  
.produk-item h3 {
    color: #092534; /* Dark blue */
    margin-top: 10px;
    font-size: 1.5rem; /* Membesarkan ukuran font untuk nama produk */
}
.produk-item h4 {
    color: #FF7A00;
  font-weight: bold;
  font-size: 1.5rem;
}
.produk-img {
    width: 100%;
    max-width: 250px; /* Gambar tidak akan lebih besar dari 250px */
    height: auto;
    margin-bottom: 15px; /* Memberikan jarak antara gambar dan teks */
    border-radius: 8px; /* Menambahkan sudut melengkung pada gambar */
}


/* Styling the quantity input and buttons specifically for the products */
.produk-item .quantity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adjusted spacing between buttons and input */
    margin-top: 30px; /* Margin for "Jumlah:" */
}

.produk-item .quantity-btn {
    background-color: #2b6f8b;
    color: white;
    border: none;
    padding: 6px 12px; /* Increased padding to make the buttons slightly bigger */
    font-size: 1.1rem; /* Slightly increased font size */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 40px; /* Ensuring buttons have the same width */
    height: 40px; /* Same height for uniformity */
    display: flex;
    align-items: center;
    justify-content: center;
}

.produk-item .quantity-btn:hover {
    background-color: #092534;
}

.produk-item .quantity-input {
    width: 60px; /* Adjusted width for better visibility */
    text-align: center; /* Center text inside the input */
    font-size: 1.2rem; /* Slightly larger font size for better visibility */
    padding: 8px;
    border: 1px solid #2b6f8b;
    border-radius: 5px;
    background-color: #f4f4f4;
    font-weight: bold;
    display: flex;
    justify-content: center; /* Ensures text is centered */
    align-items: center;
}

/* Styling for buttons in the Produk section */
.produk-item button {
    background: linear-gradient(45deg, #000000, #2b6f8b);
    color: #fff;
    padding: 12px 25px;
    border: 2px solid #2b6f8b;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.produk-item button:hover {
    background: #2b6f8b;
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* Modal Styles */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeInModal 0.3s ease-in-out;
}

@keyframes fadeInModal {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

.modal-content h3 {
  margin-bottom: 20px;
  color: #092534;
  text-align: center;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-content button {
  background-color: #2b6f8b;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content button:hover {
  background-color: #092534;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
}



/* Tentang Section */
/* Container card-style untuk Tentang Section */
.tentang-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin: 40px auto;
    max-width: 1200px;
    color: #2b6f8b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tentang-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  }
  
  .tentang-container h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #2b6f8b;
  }
  
  .tentang-container .tentang-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
  }
  
  .tentang-container .tentang-img img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }
  
  .tentang-container .tentang-text {
    text-align: justify;
    max-width: 800px;
    margin-top: 20px;
  }
  
  .tentang-container .tentang-text h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #004466;
  }
  
#tentang {
    padding: 50px 20px;
    background-color: #2b6f8b; /* Medium blue */
    color: #fff;
    text-align: center;
}

#tentang h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tentang-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tentang-text {
    max-width: 600px;
    text-align: left;
}

.tentang-text h3 {
    font-size: 1.5rem;
    margin-top: 20px;
}

.tentang-img img {
    width: 300px; /* Menentukan lebar gambar */
    height: 300px; /* Menentukan tinggi gambar agar persegi */
    object-fit: cover;
    border-radius: 10px;
}
.tentang-gambar-container {
    text-align: center;
    margin: 20px 0;
  }
  
  .tentang-gambar {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  

/* ===== IMAGE SLIDER REVISI ===== */
.image-slider {
    position: relative;
    width: 80%;
    height: 350px;
    margin: 30px auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Setiap slide */
.slide-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
    transition: all 0.8s ease-in-out;
    width: 250px;
    height: 325px;
    z-index: 0;
}

/* Slide aktif di tengah */
.slide-item.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
}

/* Slide sebelumnya (pudar di kiri) */
.slide-item.prev {
    transform: translateX(calc(-50% - 180px)) scale(0.85);
    opacity: 0.5;
    z-index: 2;
}

/* Slide berikutnya (pudar di kanan) */
.slide-item.next {
    transform: translateX(calc(-50% + 180px)) scale(0.85);
    opacity: 0.5;
    z-index: 2;
}

/* Gambar di dalam slide */
.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Overlay judul gambar */
.slide-item .overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 5;
}

/* Hanya tampil di gambar aktif */
.slide-item.active .overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Judul tidak tampil di gambar prev / next */
.slide-item.prev .overlay,
.slide-item.next .overlay {
    opacity: 0;
}

.slide-item.active .overlay {
    animation: fadeInTitle 0.6s ease;
}

/* Keyframes untuk judul gambar */
@keyframes fadeInTitle {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

  
  .keunggulan-noxy {
    margin: 50px auto;
    padding: 30px;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #333;
    text-align: left;
}

.keunggulan-noxy h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2b6f8b;
}

.keunggulan-list {
    list-style: none;
    padding-left: 0;
}

.keunggulan-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.keunggulan-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #2b6f8b;
    font-weight: bold;
}


/* Review Slides Styling */
/* Styling for the "Ulasan Pelanggan" title */
.ulasan-container {
    background: #092534;
    padding: 30px 0; /* Add padding at top and bottom */
    margin: 0 auto;
    max-width: 100%;
    height: auto; /* Adjust height based on content */
}

/* Optional: Media query for smaller screens */
@media (max-width: 768px) {
    .ulasan-container {
        padding: 20px 0; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .ulasan-container {
        padding: 15px 0; /* Further adjust padding for very small screens */
    }
}


.ulasan-container h2 {
    font-size: 2.2rem; /* Membuat ukuran font lebih besar */
    color: white; /* Mengubah warna teks menjadi putih */
    text-align: center; /* Memposisikan teks di tengah */
    font-weight: bold; /* Membuat teks lebih tebal */
    letter-spacing: 2px; /* Memberikan jarak antar huruf agar lebih rapi */
    margin-bottom: 10px; /* Menambahkan jarak bawah agar tidak terlalu dekat dengan konten */
    padding: 20px 0; /* Memberikan padding untuk memperindah latar belakang */
    border-radius: 10px; /* Memberikan sudut melengkung pada latar belakang */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Memberikan bayangan agar teks lebih menonjol */
}
.review-slides {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns layout */
    gap: 20px;
    max-width: 75%; /* Ensures it remains responsive */
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 20px; /* Add space at the bottom */
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f1f1f1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    height: auto; /* Allows height to adjust based on content */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .review-slides {
        grid-template-columns: repeat(1, 1fr); /* 1 column layout for smaller screens */
        max-width: 90%; /* Adjusts to a larger width on small screens */
    }
}

/* Optional: If you want it to adjust at even smaller screen sizes */
@media (max-width: 480px) {
    .review-slides {
        grid-template-columns: repeat(1, 1fr); /* 1 column layout for very small screens */
        max-width: 95%; /* Further increase the width on very small screens */
    }
}


/* Styling untuk masing-masing ulasan item */
.ulasan-item {
    display: none; /* Ulasan disembunyikan terlebih dahulu */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

/* Styling untuk bintang */
.ulasan-stars {
    color: #FFD700; /* Bintang berwarna emas */
    font-size: 1.5rem;
    margin-top: 8px;
}

/* Styling nama penulis ulasan */
.author-name {
    font-weight: bold;
    color: #092534;
    font-size: 1.1rem;
}

.ulasan-author {
    margin-top: 15px;
}

/* Konten ulasan */
.ulasan-content {
    display: flex;
    flex-direction: column;
}

/* Styling untuk teks ulasan */
.ulasan-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

/* Aktivasi ulasan */
.ulasan-item.active {
    display: block;
    animation: fadeInReview 5s ease-in-out; /* Efek fadeIn untuk ulasan */
    opacity: 1;
}

/* Animasi fade-out untuk ulasan yang hilang */
@keyframes fadeOutReview {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Animasi fadeIn untuk ulasan yang muncul */
@keyframes fadeInReview {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efek fadeIn untuk container */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}




/* Kontak Section */
#kontak {
    padding: 50px 20px;
    background-color: #fff;
    color: #333;
    text-align: center;
}
#kontak h2 {
    font-size: 3rem; /* Ukuran font yang lebih besar untuk "Kontak Kami" */
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

form label {
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    max-width: 500px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    background: #092534;
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background: #2b6f8b;
}

#role-info {
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    color: #555;
}

#role-info p {
    margin: 5px 0;
}

.form-step {
    display: none; /* Hide all steps initially */
}
/* Tombol Previous khusus form kontak */
.prev-step {
    background-color: #666; /* Lebih gelap dari #ccc */
    color: #fff;
    padding: 10px 20px;
    margin-right: 10px;
    margin-top: 30px; /* DIBESARKAN agar tidak mepet atas */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.prev-step:hover {
    background-color: #444; /* Hover lebih gelap */
    color: #fff;
}

/* Untuk tombol Next juga bisa diberi margin-top agar seragam */
#step2 button,
#step3 button,
#step4 button {
    margin-top: 30px;
}


/* Footer Styling */
footer {
    background-color: #092534; /* Dark blue */
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer .social-media-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

footer .social-media-links .social-icon {
    color: #fff;
    font-size: 0.95rem; /* Ukuran teks lebih kecil */
    text-decoration: none;
    margin: 5px 10px;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer .social-media-links .social-icon:hover {
    background-color: #12aabf;
    color: #092534;
    border-color: #12aabf;
    transform: scale(1.05);
}

footer .social-media-links .social-icon i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

footer .social-media-links .social-icon:hover i {
    transform: rotate(6deg);
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Adjust bottom position */
    right: 20px; /* Adjust right position */
    background-color: #25D366; /* WhatsApp Green */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.whatsapp-float img {
    width: 48px;
    height: 48px;
    display: block;
}

/* Optional: Change the button's hover color */
.whatsapp-float:hover {
    background-color: #128C7E; /* Darker green */
}
