/* Global Styles */

:root {
  --brand-color: hsl(46, 100%, 50%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  margin: 0;
  padding: 0;
}

body {
  
  margin-top: 80px;
  background-color: #f0c404;
  font-family: 'Montserrat', sans-serif;
}

header {
  all: unset;
  display: block;
  width: 100%;
  
}

h1, h2, h3, h4, p {
  color: #4B271C;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.container {
  
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}



select {
  color: #4B271C;
}

select option {
  color: #4B271C;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #fffaf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 12px;
  color: black;
  font-family: 'Jacques Francois', serif;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -6px 10px 5px rgba(0,0,0,0.5);
}

.navbar.hide {
  transform: translateY(-100%);
}


.navbar, .nav-links a {
  font-family: 'Jacques Francois', serif;
}

.nav-links a.active {
  color: #4B271C;
  font-weight: bold;
  border-bottom: 2px solid #4B271C;
  transform: none;
}
/* Nonaktifkan klik + hover jika sedang aktif */
.nav-link.disabled {
  pointer-events: none;
  cursor: default;
}

/* Hilangkan efek hover kalau disabled */

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  top: -20px;
  left: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

.logo-img {
  height: 65px;
  width: auto;
}

.menu {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.menu, .search {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-close {
  display: none;
}

.menu.open .icon-hamburger {
  display: none;
}

.menu.open .icon-close {
  display: inline;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  padding: 0.5rem 0.75rem;
  transition: color 0.3s, transform 0.3s ease;
  display: inline-block;
}


.nav-links.show {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  background-color: #fffaf0;
  top: 65px;
  width: calc(100% - 60%);
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  z-index: 998;
}

.expandable-search {
  position: relative;
  transition: all 0.5s;
  width: 40px;
  height: 42px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.expandable-search input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  line-height: 30px;
  outline: 0;
  border: 0;
  font-size: 1em;
  border-radius: 20px;
  transition: width 0.5s;
}

.expandable-search .fa {
  box-sizing: border-box;
  padding: 10px;
  width: 42px;
  height: 42px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 20px;
  color: #643527;
  text-align: center;
  font-size: 1.2em;
  transition: all 0.5s;
  cursor: pointer;
}







input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  background-color: #643527;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  
}


.expandable-search button {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  font-size: 8px;
  color: #f8d01f;
  padding: 4px;
  outline: 0;
  border: 1px solid #ca0000;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.expandable-search:valid button {
  display: block;
}

.search input {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}



/* button halaman utama */
.button-1{
  align-items: center;
  background-clip: padding-box;
  box-sizing: border-box;
  width: fit-content;
  border: none;
  font-variant: small-caps;
  background-color: #643527;
  color: #fffaf0;
  border-radius: 15px;
  cursor: pointer;
  margin-top:10px;
  display: inline-flex;
  font-size: 18px;
  font-weight: bold;
  justify-content: center;
  line-height: 1.25;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  transition: all 250ms;
  user-select: none;
  z-index: 4;
  touch-action: manipulation;
  vertical-align: baseline;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.button-1:active {
  background-color: #48271d;
  box-shadow: inset 0 0 10px #27150f;
  transform: translateY(0);
}

.button-1:focus {
  outline: 2px solid rgb(75, 47, 37);
  outline-offset: -5px;
}


.search-resep h2{
  font-size: 20px;
  font-family: 'Montserrat';
  font-weight: 500;
  letter-spacing: normal;
}


/* Main Content */
.main-content {
  background-size: cover;
  background-color: #e0b805;
  padding: 40px 20px 10px 20px;
  background-image: linear-gradient(to bottom, #f0c404, #e0b805);
  flex: 1;
}



/* Cerita Kami */
.cerita-kami {
  padding: 70px 24px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.cerita-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 70%;
  margin: 0 auto;
  text-align: center;
}

.cerita-judul {
  text-align: left;
  
  max-width: 45%;
  height: auto;
}

.cerita-judul h3 {
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 2.1rem);
}


.tahun {
  text-align: right;
  flex: 1;
  margin-right: 50px;
  
}

.tahun,
.cerita-deskripsi-bawah {
  flex: 0 1 180px; /* Biar tidak terlalu lebar */
}

.tahun p {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
}

.tahun h3 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  margin-top: 0rem;
  font-weight: 400;
}

.cerita-deskripsi-bawah {
  flex: 1;
  text-align: left;
}

.cerita-deskripsi-bawah h3 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.deskripsi{
  line-height: 2;
  font-size: clamp(0.7rem, 1.4vw, 1rem);
}

.deskripsi-wrapper {
  background: linear-gradient(145deg, #f7e06b, #f0c404);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  color: #5a3e1a;
  line-height: 1.6;
}


.deskripsi-wrapper .deskripsi {
  color: #5a3e1a; /* warna teks lebih gelap */
  font-size: 15px;
  line-height: 1.6;
}

.elemen-grafis {
  display: flex;
  justify-content: left;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, #f0c404, #f6d12d);
  padding: 8px;
  border-radius: 60px;
  width: 50px;
  position: relative;
  height: 50px;
  transition: all 0.3s ease;
}


.icon-card .icon {
  font-size: 1.5rem;
  cursor: default;
}

.icon-card .label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  margin-top: 6px;
  background: linear-gradient(145deg, #ffe97f, #f0c404);
  color: #5a3e1a;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.icon-card.active .label {
  opacity: 1;
  pointer-events: auto;  
  display: inline-block;
}



.icon-card p {
  font-size: 10px;
  color: #4B271C;
  text-align: center;
}



.cerita-deskripsi-bawah .button-1 {
  width: 235px;
}

.cerita-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px auto;
  max-width: 60%;
  align-items: center;
}

.cerita-gambar {
  flex: 1;
  min-width: 300px;
  height: auto;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
}

.cerita-gambar img {
  height: 100%;
  min-height: 300px;
  width: 100%;
  object-fit: cover;
}

.cerita-deskripsi-bawah {
  flex: 1;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Video Promosi */
.video-promosi {
  text-align: center;
  padding: 60px 20px 10px;
  background: linear-gradient(to bottom, #f4c900, #fffaf0);
}


.video-box {
  position: relative;
  width: 60%;
  margin: 20px auto 150px;
  
  min-width:600px;
  aspect-ratio: 16 / 9;
  
}


.video-box iframe {
  position: absolute;
  inset: 0;
  margin-top: 20px;
  width: 100%;
  height: 100%;
  border: none;
  
  border-radius: 12px;
}


/* Produk Unggulan */

.produk-unggulan {
  padding: 15px 20px 0px;
}

.produk-unggulan h2 {
  text-align: center;
  padding: 30px;
}

.produk-unggulan .content {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 3rem;
  flex-wrap: wrap;
}

.text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  gap: 1.2rem;
}
.text-box li {
  list-style: none;
}
.text-box li:before {
  content: '✓  ';
  
}

.text-box p {
  margin-top: 0px;
}

.bahan {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.bahan span {
  display: inline-block;
  border-radius: 12px;
  font-weight: bold;
  min-width: 68px;
  text-align: center;
  background: linear-gradient(145deg, #f7e06b, #f6d12d);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bahan .icon-card {
  border-radius: 12px;
  min-width: 68px;
  min-height: 80px;
}

.bahan .icon-card img {
  margin-bottom: 8px;
}

.icon-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}



.image-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.image-box h3 {
  font-weight: bold;
}

.produk-gambar{
  background-color: #d3d3d3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  overflow: hidden;
  border-radius: 20px;
}

.produk-gambar img {
  width: 200px;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-box h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);;
}



/* Halaman Produk */
.outer-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: center; /* biar rapi tengah */
  flex-wrap: wrap; /* biar responsif di layar kecil */
  padding: 2rem;
}

.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/*halaman detail produk */
.product-detail {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

/* Gambar */
.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: var(--white);
}

/* Info Produk */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Judul dan Ukuran */
.product-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #4B271C;
}

.product-info h3 {
  font-size: 1.5rem;
  color: #4B271C;
}

.size {
  font-size: 1rem;
  color: #4B271C;
}
.size a {
  color: var(--black);
  text-decoration: underline;
}

/* Deskripsi */
.description {
  font-size: 1rem;
  color: #4B271C;
}

/* Tombol */
.buy-button {
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}


.buttons {
  display: flex;
  gap: 10px;
}

.recipe-button, .share-button {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}


/* Section */
section {
  margin-top: 20px;
}

section h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4B271C;
}

.composition ul {
  list-style: disc;
  margin-left: 20px;
}

.benefits p, .usage p, .certifications p {
  color: #4B271C;
}

.video-placeholder {
  background-color: #fffaf0;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4B271C;
  border-radius: 8px;
  font-weight: 600;
}

.view-reviews {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s;
}


/* Responsive: Layar besar */
@media (min-width: 768px) {
  .product-detail {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .product-image {
    flex: 1;
    max-width: 40%;
  }
  
  .product-info {
    flex: 2;
    padding-left: 40px;
  }
}

/* CARD COMPONENT */

.card {
  position: relative;
  display: grid;
  place-items: center;
  width: 60vw;
  max-width: 20rem;
  z-index: 0;
  height: 28.125rem;
  margin-bottom:20px;
  overflow: hidden;
  border-radius: 1.125rem;
  background-size: 100% auto, 100% 100%; /* gambar auto height, gradasi full kotak */
  background-position: center -30px, center; /* gambar naik, gradasi tetap di tengah */
  background-repeat: no-repeat;
}

.card > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}


.card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 55%;
  padding: 12% 1.25rem 1.875rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
  180deg,
  hsla(0, 0%, 0%, 0) 0%,
  hsla(0, 0%, 0%, 0.4)10%,
  hsl(0, 0%, 0%) 90%
  );
}


.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: fit-content;
  font-weight: 700;
  margin-top: -8px;
  color: #e0b805;
  transform: translateY(5px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}


.card__description {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: -5px;
  color: var(--white);
  max-width: 100%;
}

.card__button {
  font-size: 1.125rem;
  background-color: var(--brand-color);
  margin-top:0px;
  color: var(--black);
}

.card__button:active {
  background-color: hsl(46, 100%, 45%);
  box-shadow: inset 0 0 10px #27150f;
  transform: translateY(0);
}
.form-pelanggan {
  padding: 50px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.form-pelanggan h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #4d342e;
}

.form-pelanggan p {
  font-size: 15px;
  color: #271d19;
  margin-bottom: 30px;
}

.pelanggan-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pelanggan-form input,
.pelanggan-form textarea,
.pelanggan-form select {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  background-color: #fffaf0;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.pelanggan-form select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg fill="%236e584f" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.pelanggan-form input:focus,
.pelanggan-form textarea:focus,
.pelanggan-form select:focus {
  border-color: #a17c5b;
  outline: none;
}

.pelanggan-form button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: #5b3124;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-variant: small-caps;
}



.input-horizontal {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

textarea {
  flex: 1;
  resize: none;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.upload-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
}

.custom-upload-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border: 2px dashed #aaa;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.custom-upload-btn.active {
  border-style: none;
}

.emoji-icon {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

.upload-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.2;
}

#previewGambar {
  object-fit: contain;
}



@media (any-hover: hover) and (any-pointer: fine) {
  .card__content {
    transform: translateY(65%);
    transition: transform 400ms ease-out;
    transition-delay: 40ms;
    
  }
  
  .card__background {
    transition: transform 400ms ease-in;
  }
  
  .card__content--container > :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 400ms ease-out, opacity 400ms ease-out;
  }
  
  
  
  
  
  
  
}








/* Footer */
.footer {
  background-color: #f0c404;
  padding: 2rem 1.5rem;
  color: #5b3124;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  word-wrap: break-word;
  width: 30%;
}

.footer-left h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-left .form-button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.alamat-footer {
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
  max-width: 320px;
  min-width: 200px;
}

.footer-right {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center; /* ini penting! */
  text-align: center;
}

.footer-logo {
  width: 50px;
  height: auto;
  margin-bottom: 4px;
}
.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width:150px;
}

.footer-nav-vertikal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-vertikal a {
  text-decoration: none;
  color: #5b3124;
  font-weight: 500;
  font-size: 0.90rem;
  transition: all 0.2s;
}





.buttonTanpaFrame {
  font-size: 18px;
  font-family: inherit;
  right: 0px;
  font-weight: 400;
  color: #6b392a;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}



/* ==== SOCIAL MEDIA STYLING*/
.socialCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  gap: 12px;
}

.socialIcons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.socialContainer {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
  border-radius: 50%;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.kontak-footer {
  font-size: 0.9rem;
  margin: 0;
}

/* Hover effects */

.socialSvg path {
  fill: white;
}


/*halaman tentang kami*/
.atas {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}


/* --- TENTANG KAMI --- */

.tentangkami p {
  font-size: 18px;
  
}

.judul {
  font-family: 'Jacques Francois', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 8px;
  text-align: center;
  margin: 20px;
}


.container-fokusbox {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 30px;
}

.fokus-boxes {
  display: flex;
  justify-content: space-between;
  gap:10px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
  flex-wrap: wrap;
  text-align: center;
}

.fokus-boxes .box {
  flex: 1 1 280px;
  max-width: 280px;
  padding: 1.5rem;
  line-height: 1.5;
}

.fokus-boxes .box img {
  width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.fokus-boxes .box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #5c3124;
  margin-bottom: 0.5rem;
}

.fokus-boxes .box p {
  font-size: 1rem;
  color: #5c3124;
  margin-bottom: 1rem;
}


.gambar-produk {
  position: relative;
  width: 60%;
  min-width: 600px;
  margin: 20px auto 150px;
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 90px;
}

.gambar-produk img {
  
  margin-top: 25px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: none;
}



/* --- SEJARAH --- */
.tentangkami .sejarah h3, .tentangkami .gmaps h3 {
  text-align: center;
  font-family: 'Jacques Francois', serif;
  letter-spacing: 5px;
  margin-bottom: 40px;
}

.sejarah {
  max-width: 80%;
  align-items: center;
  margin: auto;
  text-align: center;
}

.sejarah p {
  font-size: 18px;
  text-align: left;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 35px;
  left: 0;
  border-radius: 10px;
  right: 0;
  height: 3px;
  background-color: #f7e06b;
  z-index: 0;
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  transition: all 0.3s ease;
  min-width: 200px;
  justify-content: center;
  position: relative;
}


.circle, .visi-misi-nilai .icon {
  background: linear-gradient(145deg, #ffeb8a, #ffd028);
  border: 4px solid #f6d12d;
  color: #5c3124;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  box-shadow: inset -2px -2px 5px rgba(255, 255, 255, 0.5),
  2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 2;
}



.sejarah .content {
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  max-width: 220px;
  height: 180px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #f7e06b, #f6d12d);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #5c3124;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}


.sejarah .content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  pointer-events: none;
}


@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  
  .timeline-item {
    width: 100%;
    min-height: 150px;
  }
  
  .timeline-line {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    height: 90%;
    width: 0.5px;
  }
  .content {
    height: 120px;
    align-items: center;
    padding: 0px 20px 0px 20px;
  }
  
  .sejarah .content {
    height: 130px;
  }
  
  .card__title{
    font-size:20px;
  }
  .card__description {
    margin-top: 9px;
    margin-bottom: 0px;
  }
  
  .footer-spacer{
    margin-top: 40px;
  }
  
  .gmaps {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    padding: 10px;
  }
  
  
  
  .gmaps-iframe {
    height: 250px;
  }
  .tetapterhubung {
    width: 90%;
    max-width: 350px;
    min-width: unset;
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
  }
    
  .contact-icons p {
    font-size: 12px;
  }
    
  
  
  .fokus-boxes .box {
    max-width: 280px;
  }
  
  .search input {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
  }
  
  
  .gmaps iframe {
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
    display: block;
  }
  .icon-box {
    width: 90%;
    max-width: 350px;
    text-align: center;
  }
  
}
/* --- VISI MISI NILAI --- */
.visi-misi-nilai {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 60px;
}


.visi-misi-nilai .box {
  max-width: 260px;
  min-height: 260px;
  text-align: center;
  padding: 0 20px;
}
.divider {
  width: 0.5px;
  background-color: #f7e06b;
  margin: 0;
  align-self: stretch;
}
.visi-misi-nilai h3 {
  font-family: 'Jacques Francois', serif;
  letter-spacing: 5px;
  font-size: 18px;
  margin-bottom: 10px;
}

.visi-misi-nilai .icon {
  width: 60px;
  height: 60px;
  background-color: #f6d12d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
  align-items: center;
  margin: 20px auto;
}

.visi-misi-nilai p, .sejarah p, .content {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  
  line-height: 1.4;
}


/* --- DIAKUI & TERUJI --- */
.teruji {
  text-align: center;
  padding-top: 40px;
  overflow: visible;
  
}

.teruji h3, .sejarah h3, .gmaps h3, .tetapterhubung h3 {
  font-family: 'Jacques Francois', serif;
  letter-spacing: 5px;
  margin-bottom: 40px;
  font-size: 18px;
  padding-top: 40px;
}

.gmaps p{
  font-size: 15px;
  text-align: center;
}

.teruji .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.teruji .card {
  background: linear-gradient(145deg, #f6c20d, #ffe97f);
  border-radius: 20px;
  padding: 20px;
  max-width: 180px;
  text-align: center;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  
  transition: all 0.3s ease;
}


.teruji .card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.teruji .card .icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0.5rem;
}
.teruji .card p {
  font-size: 16px;
  color: #36210a;
  margin: 0;
  
}

.teruji .card .icon {
  position: relative;
}


.teruji .card {
  position: relative;
}


.wrapper-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wrapper-card .label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  width: 200px;
  margin-top: -13px;
  background: linear-gradient(145deg, #ffe97f, #ffd640);
  color: #5a3e1a;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: normal;
  text-align: center;
  word-wrap: break-word;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}






/* hubungi kami */
.hubungikami img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}


.overlay-text h2{
  color: white;
  font-weight: 600;
  text-shadow: 2px 2px 8px #000000;
  font-size: 24px;
}
.gmaps, .tetapterhubung {
  width: 63%;
  min-width: 450px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  display: block;
}

.tetapterhubung {
  margin-top: 60px;
}

.gmaps h3, .tetapterhubung h3 {
  text-align: center;
  margin-bottom: 20px;
}
.gmaps iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
}


.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  
}


.contact-icons p {
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #f7d53d, #ffc82f);
  padding: 20px;
  padding-bottom: 35px;
  border-radius: 15px;
  width: 200px;
  margin: 5px;
  transition: transform 0.2s;
  color: black;
}

.icon-box img {
  width: 80px;
  margin: 40px;
  margin-top: 20px;
  margin-bottom:20px;
  height: auto;
}

.contact-icons h4{
  font-weight: 800px;
  font-size: 20px;
}




/*RESEP */
.bahan-resep {
  font-size: 18px;
  font-weight: 550;
  margin-bottom: 15px;
}

.dropdown {
  background: white;
  border-radius: 15px;
  padding: 0.7rem 1.2rem;
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  
}
.dropdown select {
  border: none;
  background: none;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  padding: 0 1rem;
  padding-right: 1.5rem;
  cursor: pointer;
  outline: none;
}
.carousel-outer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 750px;
  overflow: hidden;
}
.carousel-wrapper {
  position: relative;
  max-width: 600px;
  padding: 12px;
  margin: 0 auto;
  overflow: hidden;
}
.carousel {
  display: flex;
  gap: 16px;
  padding-top: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
  width: max-content;
}


.carousel .card {
  width: 180px;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  
  transition: transform 0.5s ease;
  flex-direction: column;
  justify-content: flex-end; /* teks di bawah */
}
.carousel .card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

.card-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
}
.carousel .card strong {
  color: white;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0rem 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 4px;
}
.carousel .card.middle {
  transform: scale(1.2);
  z-index: 10;
}

.time-label {
  font-size: 12px;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
  display: block;
  text-align: center;
  z-index: 2;
}

.arrow {
  
  font-size: 24px;
  background-color: #f6d42b;
  padding: 8px 16px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.resep{
  margin-top: 0px;
}

/* Hover effect */




.grid-recipes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 1rem auto;
  margin-top: 10px;
  padding: 0 1rem;
}

.grid-recipes .box {
  background: linear-gradient(145deg, #6b3323, #5d3126);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  min-height: 120px;
  cursor: pointer;
  color: white;
}




.grid-recipes .box .info {
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  text-align: left;
}

.grid-recipes .box .info small {
  font-weight: normal;
  margin: 0.2rem 0 0.6rem;
  display: block;
}

.grid-recipes .box .button {
  background-color: #ffcc00;
  color: black;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
  min-width: 180px;
  font-variant: small-caps;
  width: 100%;
  max-width: 180px;
}




.grid-recipes .thumb {
  width: 120px;
  height: 100px;
  background-color: #6b392a;
  border-radius: 10px;
  margin: 1rem;
}

.grid-recipes .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}


.grid-recipes .box.empty {
  visibility: hidden;
}



.grid-recipes small {
  text-align: left;
}


.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  gap: 0.5rem;
}
.pagination span,
.pagination a {
  background: white;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: #4B271C;
  user-select: none;
}
.pagination .active {
  background: #703c2d;
  color: white;
}

.pagination .disabled {
  background: #eee;       
  color: #aaa;           
  pointer-events: none;   
  opacity: 0.7;          
  cursor: default;
}



/* --- RESPONSIVE --- */
@media (min-width: 768px) {
  .visi-misi-nilai {
    flex-direction: row;
    padding-top:60px;
    justify-content: center;
  }
  
  .event {
    flex-direction: row;
    align-items: flex-start;
  }
  .menu {
    display: none;
  }
  
  .nav-links {
    display: flex;
  }
  
  .logo {
    order: -1;
  }
  
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cerita-gambar {
    min-width: 0px;
  }
  
  .cerita-gambar img {
    min-height: 0px;
    height: 300px;
  }
  
  
  .grid-recipes {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 40px;
    margin-right: 40px;
  }
  
  .grid-recipes .box{
    max-width: 720px;
  }
  
  .grid-recipes .box .button {
    min-width: unset;
    width: 120px;
    max-width: unset;
    border-radius: 30px;
    
  }
  
  .grid-recipes .thumb {
    width: 150px;
    height: 90px;
    margin: 0.5rem;
    
  }
  
  .grid-recipes .box {
    flex-direction: row;
    gap: 8px;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  
  .grid-recipes .box .info {
    font-size: 14px;
    max-width: 160px;
    padding-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  
  .cerita-header,
  .cerita-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cerita-content{
    max-width: 80%;
  }
  
  .cerita-header {
    max-width: 90%;
  }
  
  
  
  
  .cerita-judul {
    margin-top: 20px;
    margin-left: 0px;
    margin-right: 0px;
    max-width: 100%;
    text-align: center;
  }
  
  .cerita-deskripsi-bawah button {
    display: block;
    margin: 0 auto;
  }
  
  .tahun, .cerita-deskripsi-bawah {
    flex: 1 1 100%;
    max-width: 600px;
    
    
    text-align: center;
    margin-right: 0px;
  }
  
  .elemen-grafis {
    justify-content: center;
    padding: 16px;
    gap: 12px;
    margin: auto;
  }
  
  .deskripsi {
    font-size: 14px;
  }
  
  
  
  
  .image-box {
    margin-left: 300px;
    margin-right: 300px;
  }
  .video-box {
    min-width:400px;
  }
  
  /*Halaman produk*/
  .card-container {
    flex-direction: column;
    align-items: center; 
  }
  
  
  .icon-box {
    width: 180px;
  }
  
  .icon-box img {
    width: 90px;
    height: 90px;
  }
  
  /*hlm resep*/
  .grid-recipes {
    
    max-width: 100%;       
  }
  .grid-recipes .box {
    flex-direction: column;
    text-align: center;
    width: 200px;     
    margin: 0 auto;
    align-items: center;
  }
  
  .grid-recipes .thumb {
    width: 150px;
  }
  
  .grid-recipes .box .info {
    align-items: center;
    text-align: center;
    justify-content: space-between;
    padding-bottom: 10px;
  }
  
  .grid-recipes .box .button {
    margin: 0.5rem;
    min-width: unset;
    width: 120px;
    max-width: unset;
    border-radius: 30px;
    
  }
  .grid-recipes .box .info small {
    font-size: 13px;
    text-align: center;
    margin: 0px 10px 0px 10px;margin-top: auto;
  }
  
  .footer {
    min-width: 0;
  }
  
  .footer-left h2{
    
    font-size: 18px;
  }
  
  .footer-left p{
    font-size: 14px;
  }
  
  .buttonTanpaFrame {
    
    font-size: 16px;
  }
  
  .footer-right{
    margin-top: 0;
  }
  
  .footer-left {
    padding: 0;
  }
  
  .footer-center{
    margin-top: 35px;
  }
  
  .socialContainer{
    
    width: 40px;
    height: 40px;
  }
  
  .socialSvg {
    width: 18px;
  }
  
  .logo {
    border-radius: 50;
    padding: 0;
    max-width: 65px;
  }
  .logo-img {
    
    max-width: 65px;
    height: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  
  .container-fokusbox {
    max-width: 500px;
    align-items: center;
  }
  
  .fokus-boxes {
    padding: 0;
    margin: auto;
    max-width: 60%;
    gap: 10px;
    background: transparent;
    
  }
  
  .fokus-boxes .box {
    margin: 10px;
    background: radial-gradient(circle at 30% 30%, #ffe570, #f6d12d);
    line-height: 1.5;
    border-radius: 12px;
  }
  
}

@media (max-width: 767px) {
  .footer-spacer{
    height: 550px;
  }
  .carousel-wrapper{
    max-width: 210px;
    
  }
  .carousel {
    gap: 16px;
  }
  .carousel .card.middle {
    transform: scale(0);
    z-index: 0;
  }
  .container {
    padding: 0 16px;
  }
  
  
  
  .cerita-gambar {
    min-width: 0px
  }
  
  .cerita-gambar img {
    min-height: 0px;
    height: 240px;
  }
  
  
  .menu {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .logo {
    flex-grow: 1;
    text-align: center;
  }
  .event {
    flex-direction: row;
    gap: 20px;
  }
  
  .visi-misi-nilai .box {
    border: none;
    max-width: 70%;
    min-height: 0px;
  }
  .visi-misi-nilai {
    display: flex;
    margin-top: 100px;
    flex-direction: column;
    align-items: center;
  }
  
  
  .gambar-produk {
    width: 90%;
    min-width: 0;
  }
  .input-horizontal {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
  }
  
  .overlay-text h2 {
    width: 300px;
    font-size: 16px;
  }

  .card:hover .card__title{
    transform: translateY(10px) !important;
  }
  
  
  .input-horizontal textarea,
  .input-horizontal .upload-wrapper {
    width: 100%;
    align-items: stretch;
    box-sizing: border-box;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #fffaf0;
    border-radius: 6px;
    min-width: 0;
  }
  
  
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-left {
    align-items: center;
    width: 300px;
  }
  
  .label {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    opacity: 0;
    pointer-events: none;
  }
  
  .wrapper-card.active .label {
    opacity: 1;
    pointer-events: auto;
  }
  .icon-card {
    position: relative;
    cursor: pointer;
  }
  
  .icon-card .label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    font-size: 11px;
    max-width: 160px;
    background: linear-gradient(145deg, #ffe97f, #ffd640);
    color: #5a3e1a;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    white-space: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
  }
  
  .icon-card.active .label, .icon-card {
    opacity: 1;
    pointer-events: auto;
    
    margin-bottom: 8px;
  }
  
}

@media (max-width: 480px) {
  .gambar-produk,
  .gmaps {
    min-width: unset;
    width: 90%;
  }
  
  .input-horizontal {
    flex-direction: column;
  }
  
  .input-horizontal textarea,
  .input-horizontal .upload-wrapper {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
  }
  .footer {
    padding: 20px 16px; /* sempitkan */
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
  }
 
  .socialCard {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }
  
  .socialContainer {
    flex: 0 1 40px;
  }
  
  .socialSvg {
    width: 20px;
  }
  
  .video-box {
    min-width:300px;
  }
  
  .bahan span {
    min-width: 50px;
  }
  .icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  
  .deskripsi {
    font-size: 12px;
    margin: auto;
  }
  .bahan .icon-card {
    min-width: 35px;
    min-height: 35px;
  }
  .bahan .icon-card img{
    width: 35px;
    height: 35px;
  }
  
  .outer-wrapper .card{
    max-width: 25rem;
    width: 70vw;
  }

  .grid-recipes {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
  }

  .box {
    max-width: 100%;
    padding: 0.5rem;
  }
   .fokus-boxes {
    max-width: 75%;
    border-radius: 25px;    
  }

  .thumb img {
    width: 100%;
    height: auto;
    max-height: 140px;
    
    object-fit: cover;
  }

    .grid-recipes .thumb {
    width: 125px;
  }

  .info {
    font-size: 0.9rem;
    text-align: center;
  }
.tetapterhubung {
  width: 95%;
  min-width: unset;
  margin: 0 auto;
  padding: 0;
}
  .contact-icons {
    gap: 5px;
}


  .icon-box {
    width: 150px;
    height: 240px;
  }
  
  .icon-box img {
    width: 80px;
    height: 90px;
  }
  

  
}
/* Efek hover hanya aktif jika device support hover (desktop, mouse) */
@media (hover: hover) and (pointer: fine) {
  
}

/* Untuk semua perangkat touch: nonaktifkan efek hover */
@media (hover: none) and (pointer: coarse) {
}






@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}




/* ===============================
HOVER EFFECTS: DESKTOP ONLY
=============================== */
@media (hover: hover) and (pointer: fine) {
  .nav-link.disabled:hover {
    color: #4B271C;
    transform: none;
    background: none;
  }
  .menu:hover {
    transform: scale(1.1);
  }
  .nav-links a:hover {
    color: #854836;
    transform: scale(1.1);
  }
  .expandable-search:focus-within,
  .expandable-search:hover {
    width: 250px;
  }
  .expandable-search:hover input,
  .expandable-search:focus-within input {
    width: 100%;
    padding: 0 50px 0 18px;
    background-color: #fff2cf;
  }
  .expandable-search:hover .fa,
  .expandable-search:focus-within .fa {
    background: #643527;
    color: #fffaf0;
  }
  .button-1:hover,
  .button-1:focus {
    background-color: #6c3c2d;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    
    transform: translateY(-1px);
  }

  .icon-card:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #ffe97f, #f6c20d);
    transition: transform 400ms ease-out;
  }
  .icon-card:hover .label, .icon-card:hover {
    opacity: 1;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }

  .bahan span:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #ffe97f, #f6c20d);
    transition: transform 400ms ease-out;
  }
  .buy-button:hover {
    background-color: #333;
  }
  .recipe-button:hover, .share-button:hover {
    background-color: var(--black);
    color: var(--white);
  }
  .view-reviews:hover {
    background-color: var(--black);
    color: var(--white);
  }
  .card__title::after {
    content: "";
    position: absolute;
    height: 0.3125rem;
    width: calc(100% + 1.25rem);
    bottom: calc((1.25rem - 0.5rem) * -1);
    left: -1.25rem;
  }
  .card__button:hover,
  .card__button:focus {
    background-color: hsl(46, 100%, 60%);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    
    transform: translateY(-1px);
  }
  .pelanggan-form button:hover {
    background-color: #74402e;
  }
  .card:hover .card__title,
  .card:focus-within .card__title {
    transform: translateY(-5px);
  }
  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 400ms ease-in, transform 400ms ease-out;
    transition-delay: 100ms;
    transform-origin: right;
    
  }
  .card:hover,
  .card:focus-within {
    transform: scale(1.05);
    transition: transform 400ms ease-in;
  }
  .card:hover .card__content,
  .card:focus-within .card__content {
    transform: translateY(0);
    transition: transform 400ms ease-in;
  }
  .card:focus-within .card__content {
    transition-duration: 0ms;
  }
  .card:hover .card__background,
  .card:focus-within .card__background {
    transform: scale(1.7) translateY(-90px);
    background-color: rgba(0, 0, 0, 0.5); /* Background menjadi gelap */
  }
  .card:hover .card__content--container > :not(.card__title),
  .card:hover .card__button,
  .card:focus-within .card__content--container > :not(.card__title),
  .card:focus-within .card__button {
    opacity: 1;
    transition: opacity 400ms ease-in;
    transition-delay: 200ms;
  }
  .card:hover .card__title::after,
  .card:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 400ms ease-in, transform 500ms ease-in;
    transition-delay: 200ms;
  }
  .footer-nav-vertikal a:hover {
    text-decoration: underline;
  }
  .buttonTanpaFrame:hover {
    text-decoration: none;
    font-weight: 600;
  }
  .buttonTanpaFrame::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    
    text-decoration: none;
    bottom: -2px;
    left: 0;
    background-color: #854836; /* warna underline */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  .buttonTanpaFrame:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
.containerOne:hover { background-color: #d62976; }
.containerTwo:hover { background-color: #0da542; } /* Tokopedia */
.containerThree:hover { background-color: #fb971d; } /* Shopee */
.containerFour:hover { background-color: #19e319; } /* WhatsApp */
.containerFive:hover { background-color: #0072c6; } /* Email */

.socialSvg {
  width: 22px;
}
.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}
.timeline-item:hover{
  transform: translateY(-5px);
  transform: scale(1.05);
}
.circle:hover,
.visi-misi-nilai .icon:hover {
  background: radial-gradient(circle at 30% 30%, #5c3124, #3a1f17);
  border-color: #5c3124;
  color: white;
  box-shadow: 0 0 12px rgba(92, 49, 36, 0.5);
  cursor: pointer;
}
.sejarah .content:hover {
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transform: translateY(-6px) scale(1.03);
}
.expandable-search:focus-within,
.expandable-search:hover {
  width: 200px;
  margin-right: 20px;
}
.teruji .card:hover{
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
}
.wrapper-card:hover .label {
  opacity: 1;
}
.hubungikami:hover img {
  filter: brightness(65%);
  transition: opacity 0.3s ease;
}
.hubungikami:hover .overlay-text {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.icon-box:hover {
  transform: scale(1.05);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
}
.dropdown:hover,
.dropdown:focus-within {
  transform: scale(1.03);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  
}
.carousel .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  transition: transform 0.5s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  z-index: 1;
}
.card.middle:hover{
  transform: scale(1.25);
}
.arrow:hover {
  background-color: #ffe45c;
}
.grid-recipes .box .button:hover {
  background: linear-gradient(145deg, #f5dc5e, #eac41c);
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  
}
.icon-card:hover {
  transform: scale(1.05); /* atau efek lainnya */
}
.card__background:hover {
  transform: scale(1.6) translateY(-100px);
  background-color: rgba(0, 0, 0, 0.5);
}

}

/* ===============================
NON-HOVER DEVICES: HP / TABLET
=============================== */
@media (hover: none) and (pointer: coarse) {
.nav-link.disabled:hover {
  color: #4B271C;
  transform: none;
  background: none;
}
.menu:hover {
  transform: scale(1.1);
}
.nav-links a:hover {
  color: #854836;
  transform: scale(1.1);
}
.expandable-search:focus-within,
.expandable-search:hover {
  width: 250px;
}
.expandable-search:hover input,
.expandable-search:focus-within input {
  width: 100%;
  padding: 0 50px 0 18px;
  background-color: #fff2cf;
}
.expandable-search:hover .fa,
.expandable-search:focus-within .fa {
  background: #643527;
  color: #fffaf0;
}
.button-1:hover,
.button-1:focus {
  background-color: #6c3c2d;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  
  transform: translateY(-1px);
}

.icon-card:hover {
  transform: scale(1.05);
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
  transition: transform 400ms ease-out;
}


.icon-card.active {
  margin-bottom: 20px;
}

.icon-card:hover .label, .icon-card:hover {
  opacity: 1;
  transition: all 0.3s ease;
}

.bahan span:hover {
  transform: scale(1.05);
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
  transition: transform 400ms ease-out;
}
.buy-button:hover {
  background-color: #333;
}
.recipe-button:hover, .share-button:hover {
  background-color: var(--black);
  color: var(--white);
}
.view-reviews:hover {
  background-color: var(--black);
  color: var(--white);
}

.pelanggan-form button:hover {
  background-color: #74402e;
}
.card {
  transition: transform 400ms ease-in;
}
.card .card__content,
.card .card__background,
.card .card__title::after {
  transition: all 400ms ease-in;
}

.card.active {
  transform: scale(1.05);
  transition: transform 400ms ease-in;
}

.card.active .card__content {
  transform: translateY(0);
  transition: transform 200ms ease-in;
}

.card__title {
  transform: translateY(10px) !important;
}

@media (max-width: 767px) {
  .card__title {
    transform: translateY(-5px) 
  }
}

.card.active .card__background {
  transform: scale(1.6) translateY(-100px);
  background-color: rgba(0, 0, 0, 0.5);
}

.card.active .card__title::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left;
  transition: opacity 100ms ease-in, transform 150ms ease-in;
  transition-delay: 50ms;
}

.footer-nav-vertikal a:hover {
  text-decoration: underline;
}
.buttonTanpaFrame:hover {
  text-decoration: none;
  font-weight: 600;
}
.buttonTanpaFrame::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  
  text-decoration: none;
  bottom: -2px;
  left: 0;
  background-color: #854836; /* warna underline */
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.buttonTanpaFrame:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.containerOne:hover { background-color: #d62976; }
.containerTwo:hover { background-color: #0da542; } /* Tokopedia */
.containerThree:hover { background-color: #fb971d; } /* Shopee */
.containerFour:hover { background-color: #19e319; } /* WhatsApp */
.containerFive:hover { background-color: #0072c6; } /* Email */

.socialSvg {
width: 22px;
}
.socialContainer:hover .socialSvg {
animation: slide-in-top 0.3s both;
}
.timeline-item:hover{
transform: translateY(-5px);
transform: scale(1.05);
}
.circle:hover,
.visi-misi-nilai .icon:hover {
background: radial-gradient(circle at 30% 30%, #5c3124, #3a1f17);
border-color: #5c3124;
color: white;
box-shadow: 0 0 12px rgba(92, 49, 36, 0.5);
cursor: pointer;
}
.sejarah .content:hover {
background: linear-gradient(145deg, #ffe97f, #f6c20d);
box-shadow: 0 6px 18px rgba(0,0,0,0.25);
transform: translateY(-6px) scale(1.03);
}
.expandable-search:focus-within,
.expandable-search:hover {
width: 200px;
margin-right: 20px;
}
.teruji .card:hover{
transition: all 0.3s ease;
background: linear-gradient(145deg, #ffe97f, #f6c20d);
}
.wrapper-card.active .label {
  display: block;
}
.hubungikami img {
  filter: brightness(65%);
  transition: filter 0.3s ease;
}

.hubungikami .overlay-text {
  opacity: 1;
  width: 300px;
  transition: opacity 0.3s ease;
}

.hubungikami:hover img {
  filter: brightness(100%);
}

.hubungikami:hover .overlay-text {
  opacity: 0;
}
.icon-box:active {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #ffe97f, #f6c20d);
}

.dropdown:hover,
.dropdown:focus-within {
transform: scale(1.03);
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

}
.carousel .card::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 60%;
transition: transform 0.5s ease;
background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
z-index: 1;
}
.card.middle:hover{
transform: scale(1.25);
}
.arrow:hover {
background-color: #ffe45c;
}
.grid-recipes .box .button:hover {
background: linear-gradient(145deg, #f5dc5e, #eac41c);
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;

}
.icon-card:hover {
transform: scale(1.05); /* atau efek lainnya */
}

}