/* ==============================================================================
   NINHBINHJEETOURS.COM - MASTER STYLESHEET
   Aesthetic: Cinematic Emerald & Golden Lotus Karst Adventure
   ============================================================================== */

:root {
  --bg-dark: #080a0f;
  --bg-card: #0d121c;
  --bg-surface: #141b27;
  --bg-surface-hover: #1b2333;
  --bg-glass: rgba(13, 18, 28, 0.85);

  --emerald-primary: #00e699;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --emerald-gradient: linear-gradient(135deg, #00e699 0%, #059669 100%);
  --gold-primary: #fbbf24;
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

  --text-white: #ffffff;
  --text-heading: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-emerald: rgba(0, 230, 153, 0.35);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 10px 30px rgba(0, 230, 153, 0.25);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Gradients & Utility */
.gradient-text-emerald {
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 153, 0.12);
  border: 1px solid rgba(0, 230, 153, 0.35);
  color: var(--emerald-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

/* Top Notice Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #059669 0%, #00e699 50%, #059669 100%);
  color: #080a0f;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 15px;
  text-align: center;
  letter-spacing: 0.3px;
}
.top-notice-bar a { color: #080a0f; text-decoration: underline; }

/* Navigation Bar */
.header-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--emerald-gradient);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-emerald);
}

.brand-info strong {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  display: block;
}
.brand-info strong span { color: var(--emerald-primary); }
.brand-info small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  letter-spacing: 0.5px;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-menu a {
  font-size: 14.5px;
  font-weight: 700;
  color: #cbd5e1;
  padding: 6px 0;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--emerald-primary);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--emerald-gradient);
  border-radius: var(--radius-full);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}
.btn-pill-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

.btn-pill-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-gradient);
  color: #080a0f !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-emerald);
  transition: all 0.3s ease;
}
.btn-pill-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 230, 153, 0.45);
}

/* Hero Banner Card */
.hero-sec {
  padding: 30px 0 50px;
}

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 230, 153, 0.25);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 230, 153, 0.12);
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg-media {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.2);
  transform: scale(1.02);
  transition: transform 6s ease;
}
.hero-banner-card:hover .hero-bg-media {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.72) 45%, rgba(8, 10, 15, 0.88) 100%),
              radial-gradient(circle at 80% 20%, rgba(0, 230, 153, 0.18), transparent 50%);
}

.hero-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 55px 45px;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 153, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 230, 153, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 230, 153, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 153, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(0, 230, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 153, 0); }
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald-gradient);
  color: #080a0f !important;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 230, 153, 0.35);
  transition: all 0.3s ease;
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 230, 153, 0.5);
}

.hero-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}
.hero-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.hero-proof-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }

.hero-proof-text strong {
  color: #fff;
  font-size: 14.5px;
  display: block;
}
.hero-proof-text span {
  font-size: 12.5px;
  color: var(--text-body);
}

/* Hero Glass Booking Box */
.hero-booking-glass {
  background: rgba(13, 18, 28, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 230, 153, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.glass-box-header {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.glass-box-header h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.glass-box-header p {
  font-size: 13.5px;
  color: var(--emerald-light);
}

.booking-form-item {
  margin-bottom: 16px;
}
.booking-form-item label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.booking-select, .booking-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease;
}
.booking-select:focus, .booking-input:focus {
  border-color: var(--emerald-primary);
}
.booking-select option {
  background: var(--bg-dark);
  color: #fff;
}

.btn-book-submit {
  width: 100%;
  background: var(--emerald-gradient);
  color: #080a0f;
  font-size: 15.5px;
  font-weight: 900;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-emerald);
  transition: all 0.3s ease;
  margin-top: 8px;
}
.btn-book-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 230, 153, 0.5);
}

/* Feature Badges Section */
.features-bar {
  padding: 20px 0 50px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--border-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 230, 153, 0.12);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-info h4 {
  font-size: 15px;
  margin-bottom: 3px;
  color: #fff;
}
.feature-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Tours Section */
.sec-tours {
  padding: 50px 0 80px;
}
.sec-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.sec-header-center h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  margin-bottom: 14px;
}
.sec-header-center p {
  font-size: 16px;
  color: var(--text-body);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Tour Card Styling (28px radius) */
.tour-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.tour-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 230, 153, 0.15);
}

.tour-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tour-card:hover .tour-card-media img {
  transform: scale(1.08);
}

.floating-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.tag-bestseller { background: var(--emerald-gradient); color: #080a0f; }
.tag-popular { background: var(--gold-gradient); color: #080a0f; }
.tag-classic { background: rgba(0, 0, 0, 0.75); color: #fff; border: 1px solid var(--border-light); }

.floating-duration {
  position: absolute;
  bottom: 12px; right: 14px;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.tour-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.tour-rating-stars {
  color: var(--gold-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tour-reviews-count {
  color: var(--text-muted);
}

.tour-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #fff;
}
.tour-title a:hover {
  color: var(--emerald-primary);
}

.tour-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-highlights-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tour-highlights-list li {
  font-size: 12.5px;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tour-highlights-list li span.dot {
  color: var(--emerald-primary);
  font-weight: 800;
}

.tour-pricing-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: auto;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-col .lbl {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}
.price-col .del-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}
.price-col .price-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--emerald-primary);
  font-family: var(--font-heading);
}
.price-col .unit {
  font-size: 11.5px;
  color: var(--text-muted);
}
.deposit-badge {
  font-size: 11px;
  color: #34d399;
  font-weight: 800;
  background: rgba(52, 211, 153, 0.12);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.tour-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-action-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25d366;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 11px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.btn-action-wa:hover {
  background: #22bf5b;
}

.btn-action-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-action-details:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-primary);
  color: var(--emerald-primary) !important;
}

/* Modal Popup */
.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tour-modal.active {
  display: flex;
}
.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}
.modal-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.modal-close-btn:hover {
  background: #ff4757;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 14px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13.5px;
  color: var(--text-body);
}
.footer-links a:hover {
  color: var(--emerald-primary);
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom a {
  color: var(--emerald-light);
}

@media (max-width: 1024px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content-grid { grid-template-columns: 1fr; padding: 35px 20px; }
  .tours-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
