/* RESET & GLOBAL MODERN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fffaf5;
  color: #2d2418;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 90px 0;
  border-bottom: 1px solid rgba(198, 123, 75, 0.1);
}

/* ANIMATION KEYFRAMES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 123, 75, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(198, 123, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 123, 75, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMATION CLASSES */
.animate-fadeUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeLeft {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeRight {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease forwards;
}

.animate-bounce {
  animation: bounceIn 0.8s ease forwards;
}

.animate-slideUp {
  animation: slideInFromBottom 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* SECTION TITLE ANIMATION */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #3b2a1f;
  letter-spacing: -0.3px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title span {
  color: #c67b4b;
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #c67b4b;
  transition: width 0.6s ease 0.3s;
}

.section-title.visible span::after {
  width: 100%;
}

/* NAVIGASI MODERN */
nav {
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(198, 123, 75, 0.15);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 248, 240, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #c67b4b, #8b5a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #4a3727;
  font-weight: 500;
  transition: 0.3s;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c67b4b;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #c67b4b;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #c67b4b;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #fef3e4 0%, #fae9d8 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '☕';
  position: absolute;
  font-size: 300px;
  opacity: 0.03;
  bottom: -50px;
  right: -50px;
  animation: rotateSlow 30s linear infinite;
}

.hero::after {
  content: '✨';
  position: absolute;
  font-size: 150px;
  opacity: 0.04;
  top: 20px;
  left: -30px;
  animation: floatAnimation 8s ease-in-out infinite;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
  opacity: 0;
  animation: fadeInLeft 0.8s ease forwards;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: #2c1a0e;
}

.hero-text h1 span {
  color: #c67b4b;
  display: inline-block;
  animation: pulseGlow 2s infinite;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 24px 0 36px;
  color: #5e4532;
  line-height: 1.5;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 16px 38px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-wa::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-wa:hover::before {
  width: 300px;
  height: 300px;
}

.btn-wa:hover {
  background: #20b359;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

.btn-wa:active {
  transform: translateY(0);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.2s forwards;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 40px;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  animation: floatAnimation 5s ease-in-out infinite;
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 50px -20px rgba(0, 0, 0, 0.3);
}

/* MENU GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.menu-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px);
}

.menu-card.visible {
  animation: fadeInUp 0.7s ease forwards;
}

.menu-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.menu-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.menu-card:hover img {
  transform: scale(1.08);
}

.menu-info {
  padding: 24px;
  position: relative;
}

.menu-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b2a1f;
  transition: color 0.3s ease;
}

.menu-card:hover .menu-info h3 {
  color: #c67b4b;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c67b4b;
  margin: 8px 0 10px;
  transition: transform 0.3s ease;
}

.menu-card:hover .price {
  transform: scale(1.05);
}

.desc {
  color: #7a634f;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* TENTANG KAMI */
.about-content {
  background: linear-gradient(135deg, #fff5ec, #fffbf5);
  border-radius: 48px;
  padding: 48px 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: '☕';
  position: absolute;
  font-size: 100px;
  opacity: 0.05;
  bottom: -20px;
  right: -20px;
  animation: rotateSlow 20s linear infinite;
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4a3727;
}

/* GALERI */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 32px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: scale(0.9);
}

.gallery-item.visible {
  animation: scaleIn 0.6s ease forwards;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* LOKASI */
.location-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.address-hours {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: white;
  padding: 28px;
  border-radius: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.info-card.visible {
  animation: fadeInLeft 0.6s ease forwards;
}

.info-card:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 20px 35px rgba(198, 123, 75, 0.1);
}

.info-card i {
  font-size: 2.2rem;
  color: #c67b4b;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.info-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #3b2a1f;
}

.map-container {
  flex: 1.2;
  opacity: 0;
  transform: translateX(30px);
}

.map-container.visible {
  animation: fadeInRight 0.6s ease forwards;
}

.map-container iframe {
  border-radius: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.map-container iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* FORM & SOSIAL MEDIA */
.kontak-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.social-links {
  flex: 1;
  background: white;
  border-radius: 36px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.social-links.visible {
  animation: fadeInLeft 0.7s ease forwards;
}

.social-links h3 {
  font-size: 1.7rem;
  margin-bottom: 24px;
  color: #3b2a1f;
  font-family: 'Playfair Display', serif;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.social-icons a {
  text-decoration: none;
  color: #4a3727;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.social-icons a i {
  font-size: 1.6rem;
  width: 36px;
  color: #c67b4b;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #c67b4b;
  transform: translateX(12px);
}

.social-icons a:hover i {
  transform: scale(1.15) rotate(5deg);
}

.direct-contact p {
  margin: 14px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.direct-contact p:hover {
  transform: translateX(8px);
  color: #c67b4b;
}

.form-container {
  flex: 1;
  background: white;
  border-radius: 36px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.form-container.visible {
  animation: fadeInRight 0.7s ease forwards;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid #f0e2d4;
  border-radius: 60px;
  font-size: 1rem;
  background: #fefaf5;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-group textarea {
  border-radius: 28px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c67b4b;
  box-shadow: 0 0 0 5px rgba(198, 123, 75, 0.1);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #c67b4b;
}

.btn-submit {
  background: #c67b4b;
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: #a55e34;
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(165, 94, 52, 0.3);
}

.btn-submit:active {
  transform: scale(0.98);
}

.feedback {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* FOOTER */
footer {
  background-color: #2c2418;
  color: #e6cfb5;
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c67b4b, transparent);
  animation: shimmer 3s infinite;
}

footer .container p {
  margin: 8px 0;
  transition: transform 0.3s ease;
}

footer .container p:hover {
  transform: translateY(-2px);
}

footer .credit {
  font-size: 0.85rem;
  opacity: 0.8;
}

footer i {
  color: #c67b4b;
  transition: transform 0.3s ease;
}

footer i:hover {
  transform: scale(1.2);
}

/* RESPONSIVE MOBILE */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 28px;
    transition: 0.4s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 24px 24px 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-grid {
    flex-direction: column-reverse;
    text-align: center;
  }

  .btn-wa {
    justify-content: center;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .kontak-flex {
    flex-direction: column;
  }

  .location-wrapper {
    flex-direction: column;
  }

  .map-container iframe {
    height: 250px;
  }

  .social-icons a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .menu-card img {
    height: 200px;
  }

  .gallery-item img {
    height: 180px;
  }

  .about-content {
    padding: 32px 20px;
  }

  .about-content p {
    font-size: 1rem;
  }
}

/* SCROLL REVEAL - semua element akan muncul saat di-scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}