* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff8f0;
  color: #333;
}

/* NAVBAR */
header {
  background: #8b1e1e;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: 0.3s;
}

header.scrolled {
  background: rgba(139, 30, 30, 0.95);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 24px;
  animation: logoFade 1s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #ffd166;
}

.nav-menu a.active-link {
  color: #ffd166;
  border-bottom: 2px solid #ffd166;
  padding-bottom: 5px;
}

.hamburger {
  display: none;
  background: none;
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-label {
  display: inline-block;
  background: #ffe1c7;
  color: #8b1e1e;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  animation: slideLeft 1s ease;
}

.hero-text h2 {
  font-size: 46px;
  color: #8b1e1e;
  margin-bottom: 20px;
  animation: slideLeft 1.1s ease;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  animation: slideLeft 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: slideLeft 1.3s ease;
}

.btn {
  display: inline-block;
  background: #d62828;
  color: white;
  padding: 13px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #8b1e1e;
  transform: scale(1.05);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #8b1e1e;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #8b1e1e;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #8b1e1e;
  color: white;
  transform: scale(1.05);
}

.hero-image img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: floatImage 3s ease-in-out infinite;
}

/* PROFIL USAHA */
.profil-usaha {
  padding: 70px 20px;
  background: #fff8f0;
}

.profil-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.profil-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.profil-content .label,
.about .label {
  display: inline-block;
  background: #ffe1c7;
  color: #8b1e1e;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.profil-content h2 {
  font-size: 38px;
  color: #8b1e1e;
  margin-bottom: 18px;
}

.profil-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.profil-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.info-box {
  background: white;
  padding: 18px 10px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 5px 14px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.info-box h3 {
  color: #d62828;
  font-size: 26px;
  margin-bottom: 5px;
}

.info-box p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* MENU */
.menu-section {
  padding: 70px 20px;
  background: white;
  text-align: center;
}

.menu-section h2,
.about h2,
.contact h2 {
  font-size: 36px;
  color: #8b1e1e;
  margin-bottom: 10px;
}

.subtitle {
  margin-bottom: 35px;
  color: #666;
}

.menu-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.menu-card {
  position: relative;
  background: #fff8f0;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #d62828;
  color: white;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

.menu-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-card h3 {
  margin: 18px 0 10px;
  color: #8b1e1e;
}

.menu-card p {
  padding: 0 18px;
  color: #555;
  line-height: 1.5;
}

.menu-card span {
  display: block;
  margin: 15px 0;
  font-size: 20px;
  font-weight: bold;
  color: #d62828;
}

.menu-card button {
  border: none;
  background: #d62828;
  color: white;
  padding: 11px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.menu-card button:hover {
  background: #8b1e1e;
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(214, 40, 40, 0.4);
}

/* TENTANG */
.about {
  padding: 70px 20px;
  background: #fff8f0;
}

.about > div {
  max-width: 950px;
  margin: auto;
  text-align: center;
}

.about p {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 15px;
}

.keunggulan {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.keunggulan div {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.keunggulan h3 {
  color: #8b1e1e;
  margin-bottom: 10px;
}

.keunggulan p {
  margin: 0;
  font-size: 15px;
}

/* TESTIMONI */
.testimoni {
  padding: 70px 20px;
  background: #fff8f0;
  text-align: center;
}

.testimoni h2 {
  font-size: 36px;
  color: #8b1e1e;
  margin-bottom: 10px;
}

.testimoni-container {
  max-width: 1100px;
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimoni-card {
  background: white;
  padding: 28px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #d62828;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.user-info h3 {
  color: #8b1e1e;
  margin-bottom: 4px;
}

.user-info span {
  color: #777;
  font-size: 14px;
}

.testimoni-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

.stars {
  color: #f4b400;
  font-size: 20px;
  letter-spacing: 2px;
}

/* KONTAK */
.contact {
  padding: 70px 20px;
  background: white;
  text-align: center;
}

.contact-box {
  max-width: 600px;
  margin: 25px auto 0;
  background: #fff8f0;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.contact-box p {
  margin-bottom: 15px;
}

/* SOSIAL MEDIA */
.social-media {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #ead2c0;
}

.social-media h3 {
  color: #8b1e1e;
  margin-bottom: 18px;
  font-size: 22px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-link.tiktok {
  background: #111;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* FOOTER */
footer {
  background: #8b1e1e;
  color: white;
  text-align: center;
  padding: 18px;
}

/* ANIMASI SCROLL */
.hidden {
  opacity: 0;
  transform: translateY(45px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* CARD HOVER */
.menu-card:hover,
.testimoni-card:hover,
.info-box:hover,
.contact-box:hover,
.keunggulan div:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* TOMBOL SCROLL KE ATAS */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  background: #d62828;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.scroll-top:hover {
  background: #8b1e1e;
  transform: translateY(-5px);
}

.scroll-top.show-scroll {
  display: block;
}

/* EFEK KLIK */
.btn:active,
.btn-outline:active,
.menu-card button:active,
.scroll-top:active,
.social-link:active {
  transform: scale(0.95);
}

/* ANIMASI KEYFRAMES */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE TABLET */
@media (max-width: 900px) {
  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .hero-text h2 {
    font-size: 40px;
  }
}

/* RESPONSIVE HP */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    background: #8b1e1e;
    flex-direction: column;
    width: 230px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 20px;
  }

  .hero-text h2 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profil-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profil-image img {
    height: 280px;
  }

  .profil-content h2 {
    font-size: 30px;
  }

  /* BAGIAN INI SUDAH DIBUAT TETAP SEJAJAR 3 KOLOM DI HP */
  .profil-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .info-box {
    padding: 14px 6px;
    border-radius: 14px;
  }

  .info-box h3 {
    font-size: 22px;
  }

  .info-box p {
    font-size: 12px;
    line-height: 1.3;
  }

  .menu-container {
    grid-template-columns: 1fr;
  }

  .menu-card img {
    height: 200px;
  }

  .keunggulan {
    grid-template-columns: 1fr;
  }

  .testimoni-container {
    grid-template-columns: 1fr;
  }

  .testimoni-card {
    text-align: left;
  }

  .social-icons {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 190px;
    justify-content: center;
  }

  .menu-section h2,
  .about h2,
  .contact h2,
  .testimoni h2 {
    font-size: 30px;
  }
}

/* RESPONSIVE HP KECIL */
@media (max-width: 420px) {
  .navbar {
    padding: 15px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .profil-usaha,
  .menu-section,
  .about,
  .testimoni,
  .contact {
    padding: 55px 15px;
  }

  .profil-info {
    gap: 6px;
  }

  .info-box {
    padding: 12px 4px;
  }

  .info-box h3 {
    font-size: 20px;
  }

  .info-box p {
    font-size: 11px;
  }

  .contact-box {
    padding: 25px 18px;
  }
}