/* ===== BASE ===== */
html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
* {
  box-sizing: border-box;
  max-width: 100%;
}

.page { display: none; }
.page.active { display: block; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(31,122,99,.25); }
  50%       { box-shadow: 0 0 40px rgba(31,122,99,.45); }
}

.anim-up    { opacity: 0; transform: translateY(40px);  transition: all .7s cubic-bezier(.22,1,.36,1); }
.anim-left  { opacity: 0; transform: translateX(-40px); transition: all .7s cubic-bezier(.22,1,.36,1); }
.anim-right { opacity: 0; transform: translateX(40px);  transition: all .7s cubic-bezier(.22,1,.36,1); }
.anim-scale { opacity: 0; transform: scale(.9);         transition: all .7s cubic-bezier(.22,1,.36,1); }
.anim-visible { opacity: 1 !important; transform: translate(0) scale(1) !important; }

/* ===== HERO ===== */
.hero-bg {
  background: linear-gradient(135deg, #1F7A63 0%, #196652 40%, #155544 70%, #1F7A63 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(46,204,113,.2), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(93,173,226,.15), transparent 50%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

/* ===== CARDS ===== */
.exp-card {
  transition: all .4s cubic-bezier(.22,1,.36,1);
  background: #fff;
  border: 1px solid rgba(44,62,80,.08);
}
.exp-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(44,62,80,.12); }
.exp-card:hover .exp-img { transform: scale(1.08); }
.exp-img { transition: transform .6s cubic-bezier(.22,1,.36,1); }

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  transition: all .4s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(31,122,99,.25), 0 0 0 3px rgba(31,122,99,.3);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.12); }
.gallery-placeholder {
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  width: 100%;
  height: 100%;
}

/* Overlay saat hover */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31,122,99,.25);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: 16px;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(44,62,80,.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

/* ===== TICKET ===== */
.ticket-card {
  transition: all .4s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(44,62,80,.1);
}
.ticket-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(44,62,80,.12); }
.ticket-best::before {
  content: 'Best Seller';
  position: absolute;
  top: 16px;
  right: -30px;
  background: linear-gradient(135deg, #1F7A63, #17654f);
  color: #fff;
  padding: 4px 40px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
  z-index: 2;
}

/* ===== NAVBAR ===== */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1F7A63, #5DADE2);
  transition: width .3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F4F6F6; }
::-webkit-scrollbar-thumb { background: linear-gradient(#1F7A63, #5DADE2); border-radius: 3px; }

/* ===== TOAST ===== */
.toast {
  animation: fadeUp .4s ease-out;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 16px 24px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.toast-success { background: linear-gradient(135deg, #1F7A63, #17654f); }
.toast-error   { background: linear-gradient(135deg, #e74c3c, #c0392b); }

/* ===== STAR RATING ===== */
.star        { color: #d5d8dc; transition: color .2s; }
.star.filled { color: #f1c40f; }

/* ===== MOBILE MENU ===== */
.mobile-menu { transform: translateX(100%); transition: transform .3s ease; }
.mobile-menu.open { transform: translateX(0); }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%       { transform: translateY(-8px); opacity: 1; }
}

/* ===== FAQ ===== */
.faq-item { transition: all .3s ease; }
.faq-answer { transition: all .3s ease; }
.faq-icon.open { transform: rotate(180deg); }