:root {
  --green: #0F766E;
  --green-light: #14B8A6;
  --green-dark: #134E4A;
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --white: #ffffff;
  --bg-color: #F9FAFB;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --text-main: #111827;
  --text-sec: #6B7280;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  line-height: 1.25;
}

*:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}
.navbar-container {
  padding: 0 3rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  width: 100%;
}
.navbar-brand {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; cursor: pointer;
}
.navbar-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 800;
  color: #173F35;
  text-transform: uppercase; letter-spacing: 2px;
  line-height: 1.2;
}
.navbar-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  color: #6B7280;
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 0px;
}

.navbar-nav { 
  display: flex; justify-content: center; gap: 3.5rem; list-style: none; 
  margin-left: 5rem;
}
.navbar-nav a {
  color: #374151;
  text-decoration: none; font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 0;
  transition: color 0.2s ease; cursor: pointer;
  position: relative;
}
.navbar-nav a:hover, .navbar-nav a.active { color: #173F35; background: transparent; }
.navbar-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: #173F35;
  transform: scaleX(0); transition: transform 0.2s ease;
}
.navbar-nav a:hover::after, .navbar-nav a.active::after {
  transform: scaleX(1);
}

.navbar-actions { display: flex; gap: 1rem; align-items: center; justify-content: flex-end; }

/* NAVBAR BUTTON */
.btn-navbar {
  background: #173F35; color: #FFFFFF;
  border-radius: 4px; padding: 0.5rem 1.25rem;
  font-weight: 600; border: none; cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: all 0.2s ease;
}
.btn-navbar:hover { background: #112F28; box-shadow: 0 4px 6px rgba(0,0,0,0.08); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: #173F35; color: var(--white); box-shadow: 0 2px 4px rgba(23,63,53,0.1); }
.btn-primary:hover { background: #102A23; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(23,63,53,0.25); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(15,118,110,0.25); }
.btn-outline { background: var(--surface); color: var(--text-main); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--gray-50); color: var(--text-main); }
.btn-ghost { background: transparent; color: var(--text-sec); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--gray-50); color: var(--text-main); }
.btn-card { background: #f0fdf4; color: var(--green-dark); border: none; font-weight: 700; }
.btn-card:hover { background: #dcfce7; transform: translateY(-1px); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; border-radius: 8px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== CARDS ===== */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.08); transform: translateY(-6px); border-color: var(--gray-300); }
.card-img { width: 100%; height: 240px; object-fit: cover; border-bottom: 1px solid var(--border); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.5rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 500;
  background: var(--gray-100); color: var(--gray-700);
  border: 1px solid var(--border);
}

/* ===== CHIP ===== */
.chip {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem; border-radius: 100px;
  font-size: 0.875rem; font-weight: 500;
  background: var(--surface); color: var(--text-sec);
  border: 1px solid var(--border); cursor: pointer;
  transition: var(--transition);
}
.chip.active, .chip:hover { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }

/* ===== STARS ===== */
.stars { color: var(--gold); font-size: 0.875rem; }
.rating { display: flex; align-items: center; gap: 0.375rem; }
.rating-score { font-weight: 600; color: var(--text-main); }
.rating-count { font-size: 0.75rem; color: var(--text-sec); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.375rem; }
.form-input {
  width: 100%; padding: 0.625rem 1rem;
  border: 2px solid var(--gray-200); border-radius: 10px;
  font-size: 0.875rem; font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: var(--white);
  color: var(--gray-800);
}
.form-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ===== SLIDER ===== */
.range-slider { width: 100%; accent-color: var(--green); cursor: pointer; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: fadeIn 0.2s ease;
}
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 800px; width: 100%; max-height: 90vh;
  overflow-y: auto; animation: slideUp 0.3s ease;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--gray-100); cursor: pointer; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 1.5rem; }

/* ===== SECTION ===== */
.section { padding: 4rem 0; background: var(--bg-color); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-title { font-family: 'Inter', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.section-sub { color: var(--text-sec); font-size: 1rem; margin-bottom: 2rem; }

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ===== HERO ===== */
.hero {
  min-height: 80vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg-color);
  padding-top: 70px;
}

/* Slideshow container */
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 0.5s ease-in-out;
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(2) { animation-delay: -4s; }
.hero-slide:nth-child(3) { animation-delay: -8s; }

/* Dark gradient overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.3);
}

/* Subtle green tint gradient on sides */
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: transparent;
}

/* Slideshow dots */
.hero-dots { display: none; }

/* Slide label badge */
.hero-slide-label { display: none; }

.hero-content {
  position: relative; z-index: 2; width: 100%; text-align: left;
  color: var(--white); max-width: 900px; margin: 0; padding: 0 4rem;
  transform: translateY(-2rem);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-title span { color: var(--white); }
.hero-sub {
  font-size: 1.125rem; opacity: 0.95; margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Ken Burns zoom animation */
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}

/* ===== SEARCH BAR ===== */
.search-bar {
  background: var(--white); border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 800px; margin: 0; margin-bottom: 1rem;
}
.search-bar input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; font-family: 'Inter', sans-serif;
  color: var(--gray-800); background: transparent;
}
.search-bar input::placeholder { color: var(--gray-400); }

/* ===== TABS ===== */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.625rem 1.25rem; border-radius: 100px;
  border: 2px solid var(--gray-200); background: var(--white);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); color: var(--gray-600);
  display: flex; align-items: center; gap: 0.4rem;
}
.tab-btn:hover { border-color: #173F35; color: #173F35; }
.tab-btn.active { background: #173F35; color: var(--white); border-color: #173F35; }

/* ===== HORIZONTAL FILTER BAR ===== */
.filter-wrapper {
  position: sticky; top: 70px; background: var(--bg-color); z-index: 40;
  border-bottom: 1px solid var(--gray-200); width: 100%;
}
.filter-bar {
  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
  padding: 1rem 0; margin-bottom: 0;
}
.filter-bar.container { max-width: 1280px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.filter-item { position: relative; }

.filter-pill {
  padding: 0.5rem 1rem; border-radius: 100px;
  border: 1px solid var(--gray-300); background: var(--white);
  font-size: 0.875rem; font-weight: 500; color: var(--text-main);
  cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap;
}
.filter-pill:hover { border-color: var(--text-main); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.06); }
.filter-pill.active { border-color: var(--text-main); border-width: 2px; padding: calc(0.5rem - 1px) calc(1rem - 1px); background: var(--gray-50); box-shadow: none; transform: translateY(0); }
.filter-pill.has-value { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

.filter-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: 16px;
  padding: 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200); z-index: 50;
  min-width: 320px; animation: slideUp 0.2s ease;
}
.filter-dropdown.right { left: auto; right: 0; }

.filter-dropdown-title { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 1.25rem; }
.filter-dropdown-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }

/* ===== MAP ===== */
.map-container { height: 400px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
#map { height: 100%; }

/* ===== STEPS ===== */
.steps { display: flex; gap: 0; margin-bottom: 2.5rem; }
.step {
  flex: 1; text-align: center; position: relative;
  padding: 1rem 0.5rem;
}
.step::after {
  content: ''; position: absolute; top: 24px; left: 50%; right: -50%;
  height: 2px; background: var(--gray-200); z-index: 0;
}
.step:last-child::after { display: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gray-200); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; margin: 0 auto 0.5rem;
  position: relative; z-index: 1; transition: var(--transition);
}
.step.active .step-num { background: var(--green); color: var(--white); }
.step.done .step-num { background: var(--gold); color: var(--gray-900); }
.step-label { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }
.step.active .step-label { color: var(--green); font-weight: 600; }

/* ===== TIMELINE ===== */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; position: relative; }
.timeline-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; position: relative; z-index: 1;
}
.timeline-content { flex: 1; background: var(--white); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }

/* ===== POMODORO ===== */
.pomodoro-ring {
  width: 180px; height: 180px; border-radius: 50%;
  border: 8px solid var(--gray-200); position: relative;
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.pomodoro-ring svg { position: absolute; inset: -8px; transform: rotate(-90deg); }
.pomodoro-time { font-size: 2.5rem; font-weight: 800; color: var(--green-dark); }

/* ===== MASONRY ===== */
.masonry { columns: 3 300px; gap: 1rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.masonry-item img { width: 100%; display: block; }
.masonry-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem;
  opacity: 0; transition: var(--transition);
}
.masonry-item:hover .masonry-overlay { opacity: 1; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes confetti-fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.fade-in { animation: fadeIn 0.4s ease; }
.slide-up { animation: slideUp 0.4s ease; }
.slide-in { animation: slideIn 0.3s ease; }

/* ===== CONFETTI ===== */
.confetti-piece {
  position: fixed; width: 10px; height: 10px; top: -20px;
  animation: confetti-fall 3s ease-in forwards;
  border-radius: 2px; z-index: 9999;
}

/* ===== PROGRESS BAR ===== */
.progress-bar { background: var(--gray-200); border-radius: 100px; height: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width 0.5s ease; }

/* ===== PACKAGE BUILDER ===== */
.package-summary {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.package-summary-header { background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--gray-100); }
.package-breakdown { padding: 1.25rem; }
.breakdown-row { display: flex; justify-content: space-between; align-items: center; padding: 0.625rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; }
.breakdown-total { font-weight: 800; font-size: 1.1rem; color: var(--green-dark); border-top: 2px solid var(--green); margin-top: 0.5rem; padding-top: 0.75rem; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1rem;
}
.pkg-carousel {
  display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pkg-carousel::-webkit-scrollbar { display: none; }
.pkg-card {
  background: #FAFCFB; border: none; border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.pkg-card:hover { box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12); transform: translateY(-4px); }
.pkg-card.selected { box-shadow: 0 0 0 2px var(--green), 0 8px 20px rgba(15, 118, 110, 0.15); background: linear-gradient(180deg, #FAFCFB 0%, #f0fdf4 100%); }
.pkg-card-img { position: relative; height: 160px; }
.pkg-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 800; color: var(--green-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s;
}
.pkg-card:hover .pkg-badge { background: rgba(255, 255, 255, 0.95); }
.btn-fav {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px);
  border: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); cursor: pointer; transition: all 0.2s;
}
.btn-fav:hover, .btn-fav.active { background: #fff; color: #ef4444; }
.btn-fav.active svg { fill: #ef4444; }
.pkg-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.pkg-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 2px; color: var(--gray-900); }
.pkg-card-loc { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.pkg-card-price { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; margin-top: auto; margin-bottom: 1rem; }
.pkg-card-price span { font-weight: 500; font-size: 0.75rem; color: var(--gray-500); }

/* ===== REVIEW STARS ===== */
.star-input { display: flex; gap: 0.25rem; flex-direction: row-reverse; justify-content: flex-end; }
.star-input span { font-size: 1.75rem; cursor: pointer; transition: transform 0.15s, color 0.15s; color: var(--gray-300); }
.star-input span.active { color: var(--gold); }
/* Hover magic: turn all gray when container is hovered, then color hovered and its right-siblings (visually left) */
.star-input:hover span { color: var(--gray-300); transform: scale(1); }
.star-input span:hover, .star-input span:hover ~ span { transform: scale(1.2); color: var(--gold); }

/* ===== REVIEW CARD ===== */
.review-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 1rem; flex-shrink: 0; }

/* ===== PAGE LAYOUT ===== */
.page { min-height: 100vh; padding-top: 70px; }
.sidebar-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: stretch; }
@media (max-width: 768px) { .sidebar-layout { grid-template-columns: 1fr; } }

/* ===== PRODUCTIVITY ===== */
.mood-option {
  flex: 1; padding: 1rem; border-radius: var(--radius); border: 2px solid var(--gray-200);
  text-align: center; cursor: pointer; transition: var(--transition);
}
.mood-option:hover { border-color: var(--green); }
.mood-option.selected { border-color: var(--green); background: rgba(26,74,58,0.05); }
.mood-emoji { font-size: 2rem; display: block; margin-bottom: 0.25rem; }
.mood-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-600); }

.time-block {
  display: flex; gap: 1rem; margin-bottom: 0.5rem; align-items: flex-start;
}
.time-label { width: 50px; text-align: right; font-size: 0.75rem; font-weight: 600; color: var(--gray-400); padding-top: 0.5rem; flex-shrink: 0; }
.time-slot {
  flex: 1; padding: 0.625rem 1rem; border-radius: 8px;
  font-size: 0.8rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); border: none;
}
.slot-kerja { background: #dbeafe; color: #1e40af; }
.slot-istirahat { background: #fef3c7; color: #92400e; }
.slot-wisata { background: #d1fae5; color: #065f46; }
.slot-makan { background: #ede9fe; color: #5b21b6; }

/* ===== FACILITY ICONS ===== */
.facility-icon { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--gray-500); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; gap: 5px;
  background: transparent; border: none;
  border-radius: 10px; cursor: pointer; padding: 4px;
  transition: background 0.2s ease;
}
.hamburger:active { background: rgba(0,0,0,0.05); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger.open { background: rgba(245,166,35,0.15); border-color: rgba(245,166,35,0.3); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

/* ===== BACKDROP ===== */
.drawer-backdrop {
  position: fixed;
  top: 64px; /* start below navbar */
  left: 0; right: 0; bottom: 0;
  z-index: 998;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ===== MOBILE SIDE DRAWER ===== */
.mobile-drawer {
  position: fixed;
  top: 64px; /* start directly below the fixed navbar */
  left: 0; bottom: 0;
  width: min(82vw, 290px);
  background: var(--green-dark);
  border-right: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 6px 0 32px rgba(0,0,0,0.4);
}
.mobile-drawer.open { transform: translateX(0); }

/* Drawer header / brand area — compact since navbar already shows brand */
.drawer-header {
  padding: 1rem 1.25rem 0.875rem; /* compact, no extra top offset needed */
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  display: flex; align-items: center; gap: 0.75rem;
}
.drawer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: #FFFFFF; letter-spacing: 0.5px;
  display: block;
}
.drawer-brand-sub {
  font-size: 0.6rem; color: rgba(255,255,255,0.4);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 1px;
}

/* Drawer nav links */
.drawer-nav {
  flex: 1; padding: 1rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.drawer-link {
  display: flex; align-items: center; gap: 0.875rem;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.975rem; font-weight: 600;
  padding: 0.875rem 1rem; border-radius: 12px;
  transition: all 0.2s ease; cursor: pointer;
  position: relative; border: none; background: none; width: 100%; text-align: left;
}
.drawer-link .dl-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; background: rgba(255,255,255,0.07);
  flex-shrink: 0; transition: all 0.2s ease;
}
.drawer-link:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.95);
}
.drawer-link.active {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
}
.drawer-link.active .dl-icon {
  background: rgba(245,166,35,0.2);
}
/* Active left bar indicator */
.drawer-link.active::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--gold);
}

/* Divider inside drawer */
.drawer-divider {
  height: 1px; background: rgba(255,255,255,0.07);
  margin: 0.5rem 1rem;
}

/* Drawer footer / CTA */
.drawer-footer {
  padding: 1rem 0.75rem 1.5rem;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.drawer-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--gold); color: var(--gray-900);
  border-radius: 12px; padding: 0.875rem 1.5rem;
  font-weight: 700; font-size: 0.975rem;
  border: none; cursor: pointer; width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.drawer-cta:active { transform: scale(0.97); background: var(--gold-light); }

/* ===== BOTTOM NAVIGATION BAR ===== */
.bottom-nav {
  display: none; /* shown only on mobile via media query */
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(15,45,35,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  /* safe area for iPhone home indicator */
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 0.375rem 0.25rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer; border: none; background: none;
  transition: all 0.2s ease;
  min-height: 52px;
  position: relative;
}
.bottom-nav-item .bn-icon {
  font-size: 1.25rem; line-height: 1;
  transition: transform 0.2s ease;
}
.bottom-nav-item .bn-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.bottom-nav-item.active {
  color: var(--gold);
}
.bottom-nav-item.active .bn-icon {
  transform: translateY(-2px);
}
/* Active pill indicator on top */
.bottom-nav-item.active::before {
  content: '';
  position: absolute; top: 0; left: 25%; right: 25%;
  height: 2px; border-radius: 0 0 3px 3px;
  background: var(--gold);
}
/* Special booking button in bottom nav */
.bottom-nav-item.bn-booking {
  color: var(--gold);
}
.bottom-nav-item.bn-booking .bn-icon-wrap {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gold); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1px;
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
  transition: transform 0.2s ease;
}
.bottom-nav-item.bn-booking:active .bn-icon-wrap { transform: scale(0.92); }

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .navbar-nav { display: none; }
  .navbar-brand { font-size: 1.25rem; }
  .hamburger { display: flex; }
  .navbar-actions .btn { display: none; }
  /* Hide bottom nav completely */
  .page, body { padding-bottom: 0; }
  .bottom-nav { display: none !important; }
}

/* Smooth animation keyframes for drawer */
@keyframes fadeBackdrop {
  from { opacity: 0; } to { opacity: 1; }
}

/* ===== MISC ===== */
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.font-serif { font-family: 'Playfair Display', serif; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.fw-700 { font-weight: 700; } .fw-600 { font-weight: 600; }
.fs-sm { font-size: 0.875rem; } .fs-xs { font-size: 0.75rem; }
.text-muted { color: var(--gray-400); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }

/* ========================================
   MOBILE RESPONSIVE — COMPREHENSIVE
   ======================================== */

/* --- Hero --- */
@media (max-width: 640px) {
  .hero {
    min-height: 100svh; /* safer on mobile browsers */
    align-items: flex-end;
    padding-bottom: 5rem;
  }
  .hero-content {
    padding: 0 1rem;
    text-align: center;
  }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }

  .hero-slide-label {
    bottom: 3.5rem; right: 1rem; font-size: 0.65rem;
  }
  .hero-dots { bottom: 1rem; }
}

/* --- Search bar stacks on mobile --- */
@media (max-width: 600px) {
  .search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 1rem;
    gap: 0.5rem;
    align-items: stretch;
  }
  .search-bar input {
    font-size: 0.95rem;
    text-align: left;
  }
  .search-bar .btn { width: 100%; justify-content: center; border-radius: 10px; }
}

/* --- Category tabs wrap nicely --- */
@media (max-width: 480px) {
  .tabs { justify-content: center; }
  .tab-btn { font-size: 0.78rem; padding: 0.5rem 0.875rem; }
}

/* --- Masonry: 1 column on mobile, 2 on tablet --- */
@media (max-width: 700px) {
  .masonry { columns: 1; }
}
@media (min-width: 701px) and (max-width: 1024px) {
  .masonry { columns: 2; }
}

/* --- Inspiration Mode: always show overlay on touch --- */
@media (hover: none) {
  .masonry-overlay { opacity: 1; }
}

/* --- Sidebar filter: full width on mobile, collapsible hint --- */
@media (max-width: 768px) {
  .filter-sidebar {
    position: static;
    max-height: none;
    border-radius: var(--radius);
  }
}

/* --- Package summary: not sticky on mobile --- */
@media (max-width: 768px) {
  .package-summary { position: static; }
}

/* --- Modal: full-screen on mobile --- */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    width: 100%;
    max-width: 100%;
  }
  .modal-body {
    padding: 1rem;
  }
  /* modal image gallery: 1 column */
  .modal-body > div[style*="grid-template-columns:repeat(3"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* --- Footer: responsive grid --- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Steps: smaller on mobile --- */
@media (max-width: 480px) {
  .step-label { display: none; }  /* hide text, keep numbers */
  .step-num { width: 32px; height: 32px; font-size: 0.75rem; }
  .steps { gap: 0; }
}

/* --- Section title smaller on mobile --- */
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
}

/* --- Booking / Productivity layout tweaks --- */
@media (max-width: 640px) {
  .time-label { width: 36px; font-size: 0.65rem; }
  .time-slot  { font-size: 0.72rem; padding: 0.5rem 0.75rem; }
}

/* --- General: bigger tap targets --- */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .tab-btn { min-height: 40px; }
  .chip { min-height: 36px; padding: 0.35rem 0.875rem; }
  input[type="range"] { height: 28px; }
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
  display: flex;
  height: calc(100vh - 70px);
  background: #F4F7F6;
  margin-top: 70px;
  overflow: hidden;
}
.dashboard-sidebar {
  width: 260px;
  background: #FFFFFF;
  border-right: 1px solid rgba(0,0,0,0.05);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0,0,0,0.02);
  z-index: 10;
  overflow-y: auto;
}
.dashboard-content {
  flex: 1;
  padding: 3rem 4rem;
  overflow-y: auto;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  color: var(--gray-500);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-item:hover {
  background: #F9FAFB;
  color: var(--gray-800);
  transform: translateX(4px);
}
.sidebar-item.active {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(23, 63, 53, 0.2);
}
.dashboard-header {
  margin-bottom: 2.5rem;
}
.dashboard-header h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.dashboard-header p {
  color: var(--gray-500);
  font-size: 1.1rem;
}
.dashboard-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* =========================================
   ZEN MODE (Productivity)
   ========================================= */
body.zen-mode {
  background-color: #043927 !important;
  transition: background-color 0.5s ease;
}

body.zen-mode .navbar,
body.zen-mode footer,
body.zen-mode #bottom-nav {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
  transition: all 0.5s ease;
}

body.zen-mode .page {
  transform: none; /* Removed ugly translation */
}

/* Make the hero background span the entire page */
body.zen-mode .prod-hero-bg {
  position: fixed !important;
  height: 100vh !important;
}
body.zen-mode .prod-hero-overlay {
  position: fixed !important;
  height: 100vh !important;
  background: rgba(4, 57, 39, 0.90) !important;
  backdrop-filter: blur(12px) !important;
}

/* Glassmorphism for all cards */
body.zen-mode .card, body.zen-mode .modal-overlay .card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

/* Ensure text inside cards turns white for legibility */
body.zen-mode .card *, body.zen-mode .card h2, body.zen-mode .card h3 {
  color: #ffffff !important;
}

/* Keep the icons bright emerald */
body.zen-mode .card svg {
  color: #10b981 !important;
}

/* Fix specific texts that were gray */
body.zen-mode .card [style*="color:var(--gray-400)"],
body.zen-mode .card [style*="color:var(--gray-500)"] {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.zen-mode .card [style*="color:var(--gray-900)"] {
  color: #ffffff !important;
}

/* Fix inputs and selects inside cards */
body.zen-mode .card select, body.zen-mode .card input {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
body.zen-mode .card select option {
  background: #043927 !important;
  color: #fff !important;
}

/* =========================================
   DOPAMINE CHECKBOX
   ========================================= */
.dopamine-checkbox {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin-right: 12px;
}
.dopamine-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.dopamine-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.dopamine-checkbox input:checked ~ .checkmark {
  background-color: #10b981;
  border-color: #10b981;
  animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dopamine-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dopamine-checkbox input:checked ~ .checkmark:after {
  display: block;
  animation: check-draw 0.3s ease-in-out forwards;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes check-draw {
  0% { opacity: 0; transform: rotate(45deg) scale(0); }
  100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

/* =========================================
   HEADER ANIMATIONS
   ========================================= */
@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes spinSun {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* Search Bar */
  .hero-content .search-bar { flex-direction: column; padding: 0.5rem; border-radius: 12px; }
  .hero-content .search-bar input { width: 100%; border-right: none; margin-bottom: 0.5rem; text-align: center; }
  .hero-content .search-bar .btn { width: 100%; }
  
  /* Scrollable Tabs */
  .hero-content .tabs { 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    justify-content: flex-start; 
    padding-bottom: 0.5rem; 
    max-width: 100vw;
  }
  .hero-content .tabs::-webkit-scrollbar { display: none; }
  
  /* Package Builder AI Grid */
  .ai-magic-grid { grid-template-columns: 1fr 1fr !important; gap: 0.5rem; }
  
  /* Package Summary Sticky Bottom */
  .package-summary-sticky { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15); 
    border-radius: 20px 20px 0 0; 
    margin-top: 0 !important;
  }
  /* Hide Tagline on Mobile */
  .navbar-brand-tagline { display: none; }
}
