/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #8BC34A; /* Green from logo circle */
  --secondary-color: #4CAF50; /* Darker Green for depth */
  --accent-color: #F06292; /* Pink from "Nubi" text */
  --text-dark: #37474F;
  --text-light: #546E7A;
  --bg-light: #F8F9FA;
  --white: #fff;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: #d84373;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
}

/*--------------------------------------------------------------
# Floating Buttons
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--secondary-color);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  right: 15px; /* Pindah ke kanan */
  bottom: 65px; /* Posisikan di atas tombol scroll-top (15px + 40px + 10px margin) */
  z-index: 996;
  background: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Recipe Modal (AI Popup)
--------------------------------------------------------------*/
#recipeModal .modal-content {
  border-radius: 15px;
  border: none;
  overflow: hidden;
}
#recipeModal .modal-header.recipe-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-bottom: none;
  padding: 1.5rem;
}
#recipeModal .modal-header .modal-title {
  font-weight: 700;
}
#recipeModal .modal-body {
  padding: 1.5rem 2rem;
}
#recipeModal .recipe-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}
#recipeModal .recipe-subtitle {
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
#recipeModal ul.ingredient-list, #recipeModal ol.steps-list {
  padding-left: 20px;
}
#recipeModal ul.ingredient-list li {
  list-style-type: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}
#recipeModal ul.ingredient-list li::before {
  content: '\f00c'; /* Font Awesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}
#recipeModal ol.steps-list li {
  margin-bottom: 10px;
  padding-left: 10px;
}
#recipeModal ol.steps-list li::marker {
  font-weight: 700;
  color: var(--secondary-color);
}
#recipeModal .tips-box {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
}
#recipeModal .modal-footer {
    border-top: 1px solid #dee2e6;
}
#recipeModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--secondary-color);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-light);
}


/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
  transition: all 0.5s;
}
.navbar .brand-text {
  font-weight: 700;
  color: var(--secondary-color);
  margin-left: 8px;
  font-size: 1.2rem;
}
.navbar .nav-link {
  font-weight: 600;
  color: var(--text-light);
  margin: 0 10px;
  transition: 0.3s;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 90vh;
  background-color: var(--white);
  margin-top: 90px;
}
#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--text-dark);
}
#hero h2 {
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 20px;
}
#hero .btn-cta {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--white);
  background: var(--accent-color);
  box-shadow: 0 4px 15px rgba(240, 98, 146, 0.4);
}
#hero .btn-cta:hover {
  background: #d84373;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240, 98, 146, 0.5);
}
#hero .hero-img {
  text-align: center;
}
#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
@keyframes up-down {
  0% { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  #hero { height: auto; text-align: center; padding: 120px 0; }
  #hero .hero-img { text-align: center; }
  #hero .hero-img img { width: 70%; }
}

/*--------------------------------------------------------------
# Tentang Kami
--------------------------------------------------------------*/
.tentang-kami .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--secondary-color);
}
.tentang-kami .content ul {
  list-style: none;
  padding: 0;
}
.tentang-kami .content ul li {
  padding-left: 28px;
  position: relative;
  padding-bottom: 10px;
}
.tentang-kami .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Bahan Alami
--------------------------------------------------------------*/
.bahan-alami .icon-box {
  text-align: center;
  border: 1px solid #e6e6e6;
  padding: 40px 20px;
  transition: all ease-in-out 0.3s;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.bahan-alami .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.bahan-alami .icon-box .icon i {
  color: var(--white);
  font-size: 28px;
}
.bahan-alami .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}
.bahan-alami .icon-box p {
  line-height: 1.6;
  font-size: 14px;
}
.bahan-alami .icon-box:hover {
  border-color: var(--white);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}
.bahan-alami .icon-box:hover .icon {
    background: var(--accent-color);
}


/*--------------------------------------------------------------
# Produk
--------------------------------------------------------------*/
.produk .product-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}
.produk .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.produk .card-body {
  text-align: center;
}
.produk .card-title {
  font-weight: 700;
  color: var(--secondary-color);
}
.produk .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}
.produk .weight {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

/*--------------------------------------------------------------
# Ide Camilan (Gemini Section)
--------------------------------------------------------------*/
.ide-camilan .form-control {
    border-color: var(--primary-color);
}
.ide-camilan .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
    border-color: var(--primary-color);
}
.ide-camilan .btn-gemini {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.ide-camilan .btn-gemini:hover {
    background-color: #388E3C;
}


/*--------------------------------------------------------------
# Testimoni
--------------------------------------------------------------*/
.testimoni .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}
.testimoni .testimonial-chat-img {
  max-width: 400px; /* Atur lebar maksimum gambar chat */
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.testimoni .testimonial-name {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 5px 0;
  color: var(--text-dark);
}
.testimoni .carousel-control-prev-icon,
.testimoni .carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 15px;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(139, 195, 74, 0.9), rgba(76, 175, 80, 0.9)), url(https://images.unsplash.com/photo-1558961363-fa8fdf82db35?q=80&w=1964) fixed center center;
  background-size: cover;
  padding: 120px 0;
  color: var(--white);
}
.cta h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}
.cta p {
  color: var(--white);
}
.cta .cta-btn {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid var(--white);
  color: var(--white);
  margin: 10px;
}
.cta .cta-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Footer Redesign
--------------------------------------------------------------*/
.footer {
  background: var(--text-dark);
  padding: 0 0 30px 0;
  color: var(--white);
  font-size: 14px;
  position: relative;
}

.footer .container {
    position: relative; /* Ensure container is above the wave */
}

.footer .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .logo img {
  max-height: 40px;
  margin-right: 10px;
}

.footer .logo span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
}

.footer .footer-info p {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--white);
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: var(--white);
}

.footer .footer-links {
  margin-bottom: 10px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--primary-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
}
.footer .footer-contact p i {
  margin-right: 8px;
  color: var(--primary-color);
}
.footer .footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}
.footer .footer-contact a:hover {
    color: var(--primary-color);
}

.footer .copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer .credits {
  padding-top: 4px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}