/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --jharkhand-green: #1a5f3f;
  --jharkhand-blue: #2563eb;
  --jharkhand-yellow: #eab308;
  --jharkhand-green-light: #22c55e;
  --jharkhand-green-dark: #15803d;
  --jharkhand-blue-light: #3b82f6;
  --jharkhand-blue-dark: #1d4ed8;
  --jharkhand-yellow-light: #fbbf24;
  --jharkhand-yellow-dark: #d97706;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background-color: var(--jharkhand-green);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jharkhand-yellow);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--jharkhand-yellow);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
}

.mobile-menu {
  display: none;
  background-color: var(--jharkhand-green-dark);
  padding-bottom: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-menu-link:hover {
  background-color: var(--jharkhand-green-light);
}

/* Main Content */
.main {
  flex: 1;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(to right, var(--jharkhand-green-dark), var(--jharkhand-blue));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/jharkhand-landscape.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-balance: balance;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-pretty: pretty;
}

.hero-btn {
  background-color: var(--jharkhand-yellow);
  color: var(--gray-900);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: var(--jharkhand-yellow-dark);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--jharkhand-green);
}

.section-title.blue {
  color: var(--jharkhand-blue);
}

/* Destinations Section */
.destinations {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.destination-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-2px);
}

.destination-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.destination-content {
  padding: 1.5rem;
}

.destination-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--jharkhand-blue);
}

.destination-desc {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.destination-link {
  color: var(--jharkhand-green-dark);
  text-decoration: none;
  font-weight: 500;
}

.destination-link:hover {
  text-decoration: underline;
}

.section-cta {
  text-align: center;
}

.cta-btn {
  background-color: var(--jharkhand-green-dark);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--jharkhand-green);
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background-color: #dbeafe;
}

.map-placeholder {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-text {
  font-size: 1.25rem;
  color: var(--gray-600);
}

/* Transport Section */
.transport {
  padding: 4rem 0;
  background-color: var(--gray-100);
}

.transport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.transport-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.transport-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--jharkhand-blue);
}

.transport-desc {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.transport-btn {
  background-color: var(--jharkhand-yellow);
  color: var(--gray-900);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.transport-btn:hover {
  background-color: var(--jharkhand-yellow-dark);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: #dbeafe;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--jharkhand-green-dark);
}

.feature-desc {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.feature-btn {
  background-color: var(--jharkhand-green-dark);
  color: var(--white);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feature-btn:hover {
  background-color: var(--jharkhand-green);
}

/* Footer */
.footer {
  background-color: var(--jharkhand-green);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--jharkhand-yellow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--jharkhand-yellow);
}

.footer-text {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--jharkhand-yellow);
}

.footer-bottom {
  border-top: 1px solid var(--jharkhand-green-dark);
  padding-top: 1rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
}

.footer-credit {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Chatbot */
.chatbot {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
}

.chatbot-toggle {
  background-color: var(--jharkhand-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.chatbot-toggle:hover {
  background-color: var(--jharkhand-blue-dark);
}

.chatbot-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
}

.chatbot-window {
  display: none;
  position: absolute;
  bottom: 5rem;
  right: 0;
  width: 20rem;
  height: 24rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gray-200);
  flex-direction: column;
}

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background-color: var(--jharkhand-green-dark);
  color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-title {
  font-weight: 700;
  font-size: 1rem;
}

.chatbot-language {
  background-color: var(--jharkhand-green-light);
  color: var(--white);
  border: none;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}

.close-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
}

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chatbot-welcome {
  text-align: center;
  color: var(--gray-600);
}

.welcome-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.message {
  display: flex;
}

.message.user {
  justify-content: flex-end;
}

.message.bot {
  justify-content: flex-start;
}

.message-content {
  max-width: 70%;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.message.user .message-content {
  background-color: #dbeafe;
  color: var(--jharkhand-blue-dark);
}

.message.bot .message-content {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

.chatbot-input {
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
  display: flex;
}

.chatbot-text-input {
  flex: 1;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem 0 0 0.5rem;
  padding: 0.5rem;
  outline: none;
}

.chatbot-text-input:focus {
  border-color: var(--jharkhand-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.chatbot-send {
  background-color: var(--jharkhand-blue);
  color: var(--white);
  border: none;
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.chatbot-send:hover {
  background-color: var(--jharkhand-blue-dark);
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 4rem;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transport-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus {
  outline: 2px solid var(--jharkhand-blue);
  outline-offset: 2px;
}
