/* Reset & Core Styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Inter', sans-serif; 
}

:root {
  --primary-color: #d4af37; /* Elegant subtle gold */
  --primary-hover: #b8962e;
  --text-main: #1a1a1a;
  --text-light: #ffffff;
  --bg-dark: #0f1014;
}

[data-theme="dark"] {
  --text-main: #f8fafc;
  --bg-dark: #020617;
  --primary-color: #fbbf24;
}

html {
  scroll-behavior: smooth;
}

body { 
  margin: 0;
  padding: 0;
  color: var(--text-main); 
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

/* Header & Navigation */
header { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 30px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo { 
  font-size: 26px; 
  font-weight: 800; 
  color: #ffffff; 
  letter-spacing: 2px;
}

.logo-accent {
  font-weight: 300;
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 40px;
}

nav a { 
  text-decoration: none; 
  color: #ffffff; 
  font-size: 14px; 
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--text-light);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1.5; /* Slightly above video but below content */
  pointer-events: none;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 50px;
  text-shadow: 2px 4px 20px rgba(0,0,0,0.4);
}

.hero-content h1 span {
  font-weight: 300;
  font-style: italic;
  font-family: serif;
}

/* Search Container & Suggestions */
.search-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  margin-bottom: 40px;
}

.floating-search {
  display: flex !important;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 8px 8px 8px 30px;
  width: 100% !important;
  margin-bottom: 0px !important;
  transition: all 0.4s ease;
}

.floating-search:focus-within {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.floating-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 16px;
  outline: none;
  font-weight: 400;
}

.floating-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.floating-search .search-btn {
  background: var(--text-light);
  color: var(--bg-dark);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-search .search-btn:hover {
  transform: scale(1.05);
  background: var(--primary-color);
  color: var(--text-light);
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .suggestions-dropdown { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .suggestion-item { color: #f8fafc; border-bottom-color: #334155; }
[data-theme="dark"] .suggestion-item:hover { background: #334155; }

[data-theme="dark"] .chatbot-widget { background: #1e293b; color: #f8fafc; }
[data-theme="dark"] .chat-messages { background: #0f172a; }
[data-theme="dark"] .message.bot { background: #1e293b; color: #f8fafc; border-color: #334155; }
[data-theme="dark"] .quick-replies { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .qr-btn { color: #f8fafc; border-color: #334155; }
[data-theme="dark"] .chat-input-controls { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .chat-input input { background: #334155; color: #f8fafc; }
[data-theme="dark"] .model-select { background-color: #334155; border-color: #475569; color: #cbd5e1; }

.suggestions-dropdown.hidden { display: none; }

.suggestion-item {
  padding: 15px 25px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f8f8f8; color: var(--primary-color); padding-left: 30px; }

.suggestion-item::before {
  content: '📍';
  font-size: 12px;
}

/* Primary CTA */
.primary-cta {
  background: transparent;
  color: var(--text-light);
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.primary-cta:hover {
  background: var(--text-light);
  color: var(--text-main);
}

/* Story Flow Section */
.story-flow {
  background-color: var(--bg-dark);
  padding: 120px 20px;
  color: var(--text-light);
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-step {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.step-icon {
  margin-bottom: 25px;
  color: var(--primary-color);
  opacity: 0.9;
}

.story-step h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.story-step p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.story-divider {
  width: 1px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Destination Sections */
.destination {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

.dest-bali {
  background-image: url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1920&q=80');
}

.dest-manali {
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80');
}

.dest-goa {
  background-image: url('https://images.unsplash.com/photo-1512343879784-a960bf40e7f2?auto=format&fit=crop&w=1920&q=80');
}

.dest-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  z-index: 1;
}

.dest-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.destination:hover .dest-content {
  transform: translateY(0);
}

.dest-content h2 {
  font-size: 6rem;
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 15px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dest-content .tagline {
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 300;
}

.clear-cta {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.clear-cta:hover {
  background: var(--text-light);
  color: var(--text-main);
}

/* Chatbot Styles - Elegant Retouch */
.chatbot-widget {
  position: fixed;
  bottom: 100px;
  right: 40px;
  width: 380px;
  height: 560px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

.chatbot-widget.hidden {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
}

.chat-toggle {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.05);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.chat-header {
  padding: 20px 25px;
  background: var(--bg-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h4 { font-weight: 500; font-size: 16px; letter-spacing: 1px; }

.close-chat-btn {
  background: transparent;
  color: white;
  border: none;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.close-chat-btn:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fafafa;
}

.message {
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.message.bot { 
  background: #ffffff; 
  color: var(--text-main); 
  align-self: flex-start;
  border-bottom-left-radius: 4px; 
  border: 1px solid #eeeeee; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.message.user { 
  background: var(--bg-dark); 
  color: white; 
  align-self: flex-end; 
  border-bottom-right-radius: 4px; 
}

.quick-replies {
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}
.quick-replies::-webkit-scrollbar { display: none; }

.qr-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #ddd;
  color: var(--text-main);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.qr-btn:hover { background: var(--bg-dark); color: white; border-color: var(--bg-dark); }

.chat-input-controls {
  padding: 15px 25px;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-select {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fdfdfd;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  transition: all 0.2s;
}

.model-select:hover { border-color: #cbd5e1; background-color: #fff; }

.chat-input {
  padding: 0 !important;
  border-top: none !important;
  display: flex;
  gap: 12px;
}

.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-main);
  background: #f8f8f8;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 300;
}

.send-btn {
  background: var(--bg-dark);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.send-btn:hover {
  background: var(--primary-color);
}

/* Footer */
footer { 
  text-align: center; 
  padding: 60px 20px; 
  background: var(--bg-dark);
  color: rgba(255,255,255,0.4); 
  border-top: 1px solid rgba(255,255,255,0.05); 
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
}

footer .logo {
  font-size: 20px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 3.5rem; }
  .story-container { flex-direction: column; gap: 40px; }
  .story-divider { width: 80px; height: 1px; }
  .contact-section > div { grid-template-columns: 1fr !important; gap: 30px; }
  .chatbot-widget { width: 340px; height: 500px; bottom: 80px; right: 20px; }
}

@media (max-width: 600px) {
  nav { display: none; } /* Hide desktop nav on very small screens */
  .header-container { padding: 0 20px; }
  .logo { font-size: 22px; }
  .hero-content h1 { font-size: 2.5rem; }
  .dest-content h2 { font-size: 4rem; }
  .chatbot-widget { width: calc(100% - 40px); right: 20px; height: 60vh; bottom: 90px; }
  .chat-toggle { bottom: 20px; right: 20px; }
  .contact-info h2 { font-size: 2rem !important; }
}