:root{
  --primary: #f4c430;
  --dark: #2b2b2b;
  --cream: #e8e1d8;
  --light: #f5f5f5;
  --brown: #3a2a1f;
}

html{
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body{
  margin:0;
  background:var(--cream);
  font-family: Arial, sans-serif;
  color:var(--brown);
}

/* NAVBAR */
.navbar{
  background:var(--dark);
  padding:15px 0;
}

.navbar .nav-link{
  color:var(--light) !important;
  margin-left:20px;
  font-weight:500;
  transition:.3s;
}

.navbar .nav-link:hover{
  color:var(--primary) !important;
}

.brand-script{
  font-family:'Great Vibes', cursive;
  font-size:28px;
  color:var(--primary);
}

/* SECTION FULLSCREEN */
.section{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:100px;
}

/* HERO */
.hero{
  background:url('/assets/img/hero.jpeg') center/cover no-repeat;
  position:relative;
  color:white;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.hero-content{
  position:relative;
  z-index:2;
}

.hero h1{
  font-family:'Luckiest Guy', cursive;
}

.hero h2 span{
  font-family:'Great Vibes', cursive;
  font-size:70px;
  color:var(--primary);
}

.btn-main{
  background:var(--primary);
  color:var(--dark);
  border:none;
  padding:10px 30px;
  margin: 20px;
  border-radius:30px;
  font-weight:bold;
  transition:.3s;
}

.btn-main:hover{
  background:var(--brown);
  color:white;
}

/* TITLE */
.section-title{
  font-family:'Luckiest Guy', cursive;
  margin-bottom:40px;
}

/* ============================= */
/* PRODUCT CARD */
/* ============================= */

.card{
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border: none;
  border-radius: 22px;
  padding: 10px;
  overflow: hidden;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.08),
    0 3px 10px rgba(0,0,0,0.05);

  transition: all .35s ease;
}

/* Hover effect */
.card:hover{
  transform: translateY(-8px) scale(1.02);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.15),
    0 6px 18px rgba(0,0,0,0.08);
}


/* ============================= */
/* IMAGE */
/* ============================= */

.card-img-top{
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 15px;

  /* floating shadow untuk PNG */
  filter:
    drop-shadow(0 10px 12px rgba(0,0,0,0.25))
    drop-shadow(0 4px 6px rgba(0,0,0,0.15));

  transition: transform .35s ease;
}

/* image hover */
.card:hover .card-img-top{
  transform: scale(1.08) rotate(-1deg);
}


/* ============================= */
/* BODY */
/* ============================= */

.card-body{
  background: var(--light);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

/* Title */
.card-body h5{
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 6px;
}

/* Description */
.card-body p{
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}


/* ============================= */
/* PRICE */
/* ============================= */

.price{
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}


/* ============================= */
/* BADGE OPTIONAL */
/* ============================= */

.product-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--dark);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


/* ============================= */
/* BUTTON */
/* ============================= */

.card .btn{
  border-radius: 10px;
  font-weight: 600;
  padding: 8px 16px;
  transition: all .25s ease;
}

.card .btn:hover{
  transform: translateY(-2px);
}


/* ============================= */
/* MOBILE OPTIMIZATION */
/* ============================= */

@media (max-width:768px){

  .card-img-top{
    height:150px;
  }

  .card-body{
    padding:15px;
  }

  .price{
    font-size:16px;
  }

}

@media (max-width:480px){

  .card{
    border-radius:18px;
  }

  .card-img-top{
    height:130px;
  }

}
/* GALLERY */
.gallery{
  background:var(--cream);
}

.gallery img{
  transition:.3s;
}

.gallery img:hover{
  transform:scale(1.05);
}

/* ABOUT */
.about{
  background:var(--dark);
  color:white;
}

/* ============================= */
/* MENU PREVIEW SECTION */
/* ============================= */
.menu-preview {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-preview .section-title {
    margin-bottom: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.menu-button {
    margin-top: 20px;
    margin-bottom: 20px;
}

.menu-button .btn-primary {
    padding: 12px 30px;
    font-size: 16px;
}

/* ============================= */
/* ABOUT CONTACT SECTION */
/* ============================= */
.about-contact {
    min-height: 100vh;
    background: var(--dark);
    color: var(--light);
    display: flex;
    align-items: center;
    padding: 80px 60px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* LEFT SIDE */
.about-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-title span {
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    color: var(--primary);
}

.about-desc {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #ddd;
}

.contact-list p {
    margin-bottom: 15px;
    font-size: 15px;
}

/* SOCIAL */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
}

/* ============================= */
/* MAP SECTION */
/* ============================= */

.about-map{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 20px;
}


/* MAP CARD */

.map-card{
  width:100%;
  max-width:900px;
  background:white;

  border-radius:20px;
  overflow:hidden;

  box-shadow:
  0 10px 25px rgba(0,0,0,0.08),
  0 4px 12px rgba(0,0,0,0.05);

  transition:.3s;
}


/* hover effect */

.map-card:hover{
  transform:translateY(-4px);
  box-shadow:
  0 18px 40px rgba(0,0,0,0.15),
  0 6px 18px rgba(0,0,0,0.08);
}


/* HEADER */

.map-header{
  background:var(--primary);
  color:var(--dark);
  padding:14px 20px;
  font-weight:600;
  font-size:16px;
  letter-spacing:.5px;
}


/* IFRAME */

.map-card iframe{
  width:100%;
  height:420px;
  border:0;
  display:block;
}


/* BUTTON */

.map-btn{
  display:block;
  text-align:center;
  padding:12px;
  background:var(--light);
  color:var(--brown);
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.map-btn:hover{
  background:var(--primary);
  color:var(--dark);
}



@media(max-width:900px) {
  .about-wrapper {
    grid-template-columns: 35% 65%;
   }
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media(max-width:768px){ 
  .about-wrapper {
    grid-template-columns: 1fr;
   }
   .about-map{
    width:100%;
    height:480px;
    margin-top:30px;
  }

  .about-contact{
    padding:60px 30px;
  }
  .map-card iframe{
    height:300px;
  }

}

@media(max-width:480px){
  .about-wrapper {
    grid-template-columns: 1fr;
   }
   .about-map{
    width:100%;
    height:320px;
    margin-top:30px;
  }

  .about-contact{
    padding:60px 30px;
  }
  .map-card iframe{
    height:240px;
  }

}

/* Galery */
/* ============================= */
/* MASONRY MOSAIC GALLERY */
/* ============================= */
.gallery-mosaic {
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-container {
    width: 100%;
    max-width: 1300px;
    text-align: center;
}

.mosaic-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

/* ITEM BASE */
.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.mosaic-item:hover img {
    transform: scale(1.08);
}

/* SIZE VARIATIONS */
.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait {
    grid-row: span 2;
}

.landscape {
    grid-column: span 2;
}

.square {
    grid-row: span 1;
}

@media (max-width:768px){

  .mosaic-grid{
    grid-template-columns: 1fr; /* hanya 1 kolom */
    grid-auto-rows: 500px;
    gap: 16px;
  }

  .mosaic-item.large,
  .mosaic-item.landscape,
  .mosaic-item.square,
  .mosaic-item.portrait{
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

}

/* BADGE */
.mosaic-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

/* INSTAGRAM EMBED FIX */

.mosaic-item.insta{
display:flex;
align-items:center;
justify-content:center;
padding:0;
background:#fff;
}

.mosaic-item.insta blockquote{
margin:0 !important;
width:100% !important;
max-width:100% !important;
height:100% !important;
border-radius:20px;
overflow:hidden;
}

/* agar iframe IG mengikuti ukuran grid */
.mosaic-item.insta iframe{
width:100% !important;
height:100% !important;
}

/* TIKTOK EMBED FIX */

.mosaic-item.tiktok{
display:flex;
align-items:normal;
justify-content:center;
padding:0;
background:#fff;
}

.mosaic-item.tiktok blockquote{
margin:0 !important;
width:100% !important;
max-width:100% !important;
height:100% !important;
border-radius:20px;
overflow:hidden;
}

.mosaic-item.tiktok iframe{
width:100% !important;
height:100% !important;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .large,
    .landscape {
        grid-column: span 2;
    }
}

/* Menu */
/* MENU SECTION */
.menu-section {
  padding: 60px 20px;
}

/* ============================= */
/* CATEGORY TABS */
/* ============================= */

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
  padding: 0 10px;
}

/* TAB BUTTON */

.tab {
  padding: 10px 24px;
  border: none;
  background: var(--light);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--dark);
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* ACTIVE + HOVER */

.tab.active,
.tab:hover {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CLICK EFFECT */

.tab:active {
  transform: scale(0.96);
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 768px){

  .tabs{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }

  .tabs::-webkit-scrollbar{
    display: none;
  }

}

/* ============================= */
/* SMALL MOBILE */
/* ============================= */

@media (max-width: 480px){

  .tab{
    padding: 8px 18px;
    font-size: 13px;
  }

}

/* ============================= */
/* PRODUCT GRID */
/* ============================= */

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

/* ============================= */
/* PRODUCT CARD */
/* ============================= */

.product-card{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  padding:20px;

  background: linear-gradient(
      145deg,
      #ffffff,
      #fafafa
  );

  border:1px solid rgba(0,0,0,0.04);

  box-shadow:
      0 6px 18px rgba(0,0,0,0.06),
      inset 0 1px 0 rgba(255,255,255,0.6);

  transition: all .3s ease;

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}


/* ACCENT BLOB BACKGROUND */

.product-card::before{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  background:radial-gradient(
      circle,
      rgba(244,196,48,0.35),
      transparent 70%
  );

  top:-60px;
  right:-60px;

  z-index:0;
}


/* HOVER EFFECT */

.product-card:hover{
  transform:translateY(-8px);

  box-shadow:
      0 16px 35px rgba(0,0,0,0.12),
      0 6px 12px rgba(0,0,0,0.08);
}


/* ============================= */
/* PRODUCT IMAGE */
/* ============================= */

.product-card img{
  width:180px;
  height:180px;
  object-fit:contain;

  position:relative;
  z-index:2;

  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.25));

  transition: transform .35s ease;
}


.product-card:hover img{
  transform:scale(1.08) rotate(-2deg);
}


/* ============================= */
/* PRODUCT BODY */
/* ============================= */

.product-body{
  position:relative;
  z-index:2;
  margin-top:10px;
}

.product-body h4{
  color:var(--brown);
  font-size:18px;
  margin-bottom:6px;
}

.product-body p{
  font-size:14px;
  color:#666;
}


/* ============================= */
/* PRICE */
/* ============================= */

.price{
  margin:10px 0;
  font-weight:700;
  color:var(--primary);
  font-size:16px;
}


/* ============================= */
/* BUTTON */
/* ============================= */

.add-btn{
  width:100%;
  padding:10px;

  border:none;
  border-radius:10px;

  background:var(--primary);
  color:var(--dark);

  font-weight:600;

  transition:.25s;
}

.add-btn:hover{
  background:var(--brown);
  color:white;
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 1024px) {

  .catalog {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .product-card img {
    height: 180px;
  }

}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

  .catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .product-card img {
    height: 160px;
  }

  .product-body {
    padding: 15px;
  }

  .product-body h4 {
    font-size: 16px;
  }

}

/* ============================= */
/* SMALL MOBILE */
/* ============================= */

@media (max-width: 480px) {

  .catalog {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 200px;
  }

}

.product-card {
  cursor: pointer;
}

.product-card:active {
  transform: scale(0.98);
}

/* FLOATING CART */
.cart-floating {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--dark);
  color: white;
  border: none;
  padding: 15px 18px;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 999;
}

#cartCount {
  background: var(--primary);
  color: var(--dark);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
}

/* MODAL */
.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.cart-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 25px;
  animation: fadeIn 0.3s ease;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.cart-footer {
  margin-top: 20px;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--primary);
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.qty-control {
  justify-content: center;
  display:flex;
  align-items:center;
  gap:8px;
  margin:10px 0;
}

.qty-control button {
  width:30px;
  height:30px;
  border:none;
  background:#f4c430;
  cursor:pointer;
  border-radius:6px;
}

.qty-control input {
  width:50px;
  text-align:center;
  color: var(--dark);
  text-decoration: none;
}

textarea {
  width:100%;
  margin:8px 0;
  padding:6px;
  resize:none;
  border-radius:6px;
  border:1px solid #ddd;
}

.cart-item {
  position: relative;
  margin-bottom:15px;
  padding-bottom:10px;
  border-bottom:1px solid #eee;
}

.cart-qty {
  display:flex;
  align-items:center;
  gap:10px;
  margin:5px 0;
}

.cart-qty button {
  width:25px;
  height:25px;
  border:none;
  background:#f4c430;
  cursor:pointer;
  border-radius:4px;
}

.remove-btn {
  background:#d9534f;
  color:white;
  border:none;
  padding:4px 8px;
  border-radius:5px;
  margin-top:5px;
  cursor:pointer;
}

.note {
  font-size:13px;
  color:#666;
  margin:4px 0;
}

/* FOOTER FIXED */
.main-footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2b2b2b;
  color: #f5f5f5;
  text-align: center;
  padding: 10px 15px;
  font-size: 13px;
  letter-spacing: 0.5px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.main-footer strong {
  color: #f4c430;
  font-weight: 600;
}


/* ============================= */
/* CART MODAL */
/* ============================= */

.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  padding:20px;
  z-index:9999;
}

.cart-content {
  background: white;
  width: 100%;
  max-width: 500px;
  height: 80vh; /* tinggi tetap */
  border-radius: 20px;
  display: flex;
  flex-direction: column; /* penting */
  animation: fadeIn 0.3s ease;
  overflow: hidden;
}

/* ============================= */
/* HEADER */
/* ============================= */

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:20px 25px;
  border-bottom:1px solid #eee;
  flex-shrink:0;
}

.close-btn {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* ============================= */
/* SCROLL AREA */
/* ============================= */

.cart-items {
  flex:1; /* isi ruang tengah */
  overflow-y:auto; /* hanya ini yang scroll */
  padding:20px 25px;
}

/* scrollbar lebih halus */
.cart-items::-webkit-scrollbar{
  width:6px;
}

.cart-items::-webkit-scrollbar-thumb{
  background:#ddd;
  border-radius:10px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.cart-footer {
  padding:20px 25px;
  border-top:1px solid #eee;
  flex-shrink:0;
  background:white;
}

.btn-primary {
  width:100%;
  padding:12px;
  border:none;
  background:var(--primary);
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
}

/* ============================= */
/* ITEM */
/* ============================= */

.cart-item {
  margin-bottom:15px;
  padding-bottom:10px;
  border-bottom:1px solid #eee;
}

.cart-qty {
  display:flex;
  align-items:center;
  gap:10px;
  margin:5px 0;
}

.cart-qty button {
  width:25px;
  height:25px;
  border:none;
  background:#f4c430;
  cursor:pointer;
  border-radius:4px;
}

.remove-btn {
  background:#d9534f;
  color:white;
  border:none;
  padding:4px 8px;
  border-radius:5px;
  margin-top:5px;
  cursor:pointer;
}

.note {
  font-size:13px;
  color:#666;
  margin:4px 0;
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes fadeIn {
  from {transform: scale(0.9); opacity:0;}
  to {transform: scale(1); opacity:1;}
}

/* FLOATING ORDER BUTTON */

.floating-order{
  position:fixed;
  bottom:90px; 
  right:25px;

  background:linear-gradient(135deg,var(--primary),#ffd95a);
  color:var(--dark);

  padding:14px 22px;

  border-radius:50px;
  font-weight:600;
  font-size:15px;

  text-decoration:none;

  box-shadow:
  0 10px 25px rgba(0,0,0,0.25);

  z-index:9999;

  transition:.25s;
}

/* hover */

.floating-order:hover{
  transform:translateY(-3px);
  box-shadow:
  0 16px 35px rgba(0,0,0,0.35);
}

/* MOBILE */

@media(max-width:600px){

  .floating-order{
    bottom:85px;
    right:18px;
    padding:12px 18px;
    font-size:14px;
  }

}

/* ============================= */
/* GOOGLE REVIEW SECTION */
/* ============================= */

.google-reviews-section{
  padding:100px 20px;
  background:var(--cream);
  display:flex;
  justify-content:center;
}

.reviews-container{
  width:100%;
  max-width:1200px;
  text-align:center;
}

/* CARD */

.reviews-card{
  margin-top:40px;
  background:white;
  border-radius:20px;
  overflow:hidden;
  box-shadow:
  0 10px 25px rgba(0,0,0,0.08),
  0 4px 12px rgba(0,0,0,0.05);
}

/* HEADER */

.reviews-header{
  background:var(--primary);
  color:var(--dark);
  padding:16px;
  font-weight:600;
  letter-spacing:.5px;
}

/* WIDGET AREA */

.reviews-widget{
  padding:30px;
  display:flex;
  justify-content:center;
}

/* BATASI LEBAR WIDGET */

.reviews-inner{
  width:100%;
  max-width:900px;
}

/* PAKSA WIDGET RESPONSIVE */

.reviews-inner iframe,
.reviews-inner div{
  width:100% !important;
}

/* PERBAIKI FONT DAN SPACING */

.reviews-inner *{
  font-family: inherit !important;
}

/* MOBILE */

@media(max-width:768px){

  .reviews-widget{
    padding:15px;
  }

}

@media(max-width:480px){

  .reviews-inner{
    max-width:100%;
  }

}