/* Basic Reset & Body Styles */
body {
  margin: 0;
  font-family: "Roboto", sans-serif; /* Changed font to Roboto for a more formal look */
  line-height: 1.6;
  color: #333;
  background-color: #f0f2f5; /* Light gray background */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  background-color: #0056b3; /* Primary brand color: Dark Blue */
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow for depth */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo h1 {
  margin: 0;
  font-size: 2.2rem; /* Increased logo font size */
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 30px; /* Adjusted spacing */
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500; /* Slightly lighter nav links */
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 5px 0;
}

nav ul li a:hover {
  color: #e0f2f7; /* Lighter blue accent */
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  color: #fff;
  text-align: center;
  padding: 120px 20px; /* Increased padding */
  height: 75vh; /* Increased hero height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

.background-slideshow {
  /* Styles for the background slideshow container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background-slideshow img {
  /* Styles for individual slideshow images */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.background-slideshow img.active {
  /* Active image in slideshow */
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h2 {
  font-size: 4.2rem; /* Larger hero heading */
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.hero p {
  font-size: 1.6rem; /* Larger hero paragraph */
  margin-bottom: 50px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

.btn {
  background-color: #28a745; /* Accent color: Green */
  color: #fff;
  padding: 18px 35px; /* Larger button padding */
  text-decoration: none;
  border-radius: 5px; /* Sharper corners for a formal look */
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.2rem; /* Larger button text */
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #218838; /* Darker green accent */
  transform: translateY(-3px);
}

/* Main content styling */
main {
  flex-grow: 1;
}

section {
  padding: 80px 20px; /* Increased section padding */
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08); /* More pronounced shadow */
  border-radius: 8px;
  margin-bottom: 40px; /* Spacing between sections */
}

section:first-of-type {
  margin-top: 40px;
}

h2 {
  font-size: 3rem; /* Larger section headings */
  color: #0056b3; /* Dark blue for headings */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 700;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: #28a745; /* Accent color */
  border-radius: 3px;
}

/* Styles for Tourism Places Section */
.tourism-places {
  text-align: center;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted min-width */
  gap: 35px; /* Increased gap */
  margin-top: 50px;
}

.place-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12); /* Enhanced shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.place-card:hover {
  transform: translateY(-7px); /* More pronounced hover effect */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.place-card img {
  width: 100%;
  height: 220px; /* Adjusted image height */
  object-fit: cover;
  display: block;
}

.place-card h3 {
  font-size: 1.6rem; /* Larger card heading */
  color: #0056b3;
  margin: 20px 20px 12px;
  font-weight: 600;
}

.place-card p {
  font-size: 1rem;
  color: #555;
  padding: 0 20px 20px;
}

/* Styles for Road Map Section */
.road-map {
  text-align: center;
}

.map-container {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Increased gap */
}

.responsive-map {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.map-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min-width */
  gap: 25px;
  width: 100%;
  max-width: 1000px;
}

.map-point {
  background-color: #f9f9f9;
  border-left: 6px solid #0056b3; /* Dark blue border */
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.map-point h4 {
  font-size: 1.4rem;
  color: #0056b3;
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 600;
}

.map-point p {
  font-size: 0.95rem;
  color: #555;
}

/* Styles for Hotel Booking Section */
.hotel-booking {
  text-align: center;
}

.hotel-search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.hotel-search-form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
}

.hotel-search-form label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  font-size: 1.05rem;
}

.hotel-search-form input[type="text"],
.hotel-search-form input[type="date"],
.hotel-search-form input[type="number"] {
  padding: 12px 18px;
  border: 1px solid #ccc; /* Lighter border */
  border-radius: 5px;
  font-size: 1.05rem;
  width: 100%;
  box-sizing: border-box;
}

.hotel-search-form .btn {
  align-self: flex-end;
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

.hotel-listings {
  margin-top: 70px;
}

.hotel-listings h3 {
  font-size: 2.2rem;
  color: #0056b3;
  margin-bottom: 35px;
  font-weight: 600;
}

.hotel-card {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 30px;
  text-align: left;
}

.hotel-card img {
  width: 320px; /* Slightly larger image */
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.hotel-card .hotel-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.hotel-card h4 {
  font-size: 1.9rem;
  color: #0056b3;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 600;
}

.hotel-card p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 12px;
}

.hotel-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #28a745; /* Green for price */
  margin-bottom: 18px;
  display: block;
}

.btn-small {
  background-color: #007bff; /* Blue for small buttons */
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  align-self: flex-start;
}

.btn-small:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Styles for Shopping Section */
.shopping-section {
  text-align: center;
}

.shopping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.product-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-size: 1.5rem;
  color: #0056b3;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 20px;
  margin-bottom: 12px;
}

.product-card .product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #28a745;
  padding: 0 20px;
  display: block;
  margin-bottom: 18px;
}

.product-card .btn-small {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* Styles for Eco & Culture Section */
.eco-culture-section {
  text-align: center;
}

.eco-culture-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
}

.eco-culture-content .text-content {
  flex: 1;
  min-width: 350px;
  text-align: left;
}

.eco-culture-content .text-content h3 {
  font-size: 2.2rem;
  color: #0056b3;
  margin-bottom: 18px;
  font-weight: 600;
}

.eco-culture-content .text-content p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 25px;
}

.eco-culture-content .image-content {
  flex: 1;
  min-width: 350px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.eco-culture-content .image-content img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px; /* Slightly wider chatbot */
  height: 500px; /* Slightly taller chatbot */
  background-color: #fff;
  border-radius: 10px; /* Sharper corners */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transition: all 0.3s ease;
}

.chatbot-container.minimized {
  height: 60px; /* Adjusted minimized height */
  width: 220px; /* Adjusted minimized width */
}

.chatbot-header {
  background-color: #0056b3; /* Dark blue header */
  color: #fff;
  padding: 18px; /* Increased padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.3rem; /* Larger header text */
}

#language-select {
  background-color: #007bff; /* Blue for dropdown */
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-right: 10px;
  cursor: pointer;
  appearance: none; /* Remove default dropdown arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%20197.9L159.3%2069.2c-4.7-4.7-12.3-4.7-17%200L5.4%20197.9c-4.7%204.7-4.7%2012.3%200%2017l13.7%2013.7c4.7%204.7%2012.3%204.7%2017%200l118.8-118.7L256.3%20228.6c4.7%204.7%2012.3%204.7%2017%200l13.7-13.7c4.7-4.7%204.7-12.3%200-17z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px auto;
}

#language-select:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.chatbot-header .btn-small {
  background-color: #28a745; /* Green for minimize button */
  color: #fff;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.chatbot-body {
  flex-grow: 1;
  padding: 20px; /* Increased padding */
  overflow-y: auto;
  background-color: #e9ecef; /* Light gray background for chat */
  display: flex;
  flex-direction: column;
  gap: 12px; /* Increased gap between messages */
}

.chatbot-container.minimized .chatbot-body,
.chatbot-container.minimized .chatbot-footer {
  display: none;
}

.message {
  max-width: 85%; /* Wider messages */
  padding: 12px 18px;
  border-radius: 18px; /* More rounded messages */
  line-height: 1.5;
  font-size: 1rem;
}

.bot-message {
  background-color: #d1ecf1; /* Light blue for bot messages */
  align-self: flex-start;
  color: #333;
}

.user-message {
  background-color: #007bff; /* Blue for user messages */
  align-self: flex-end;
  color: #fff;
}

.chatbot-footer {
  display: flex;
  padding: 15px 20px; /* Increased padding */
  border-top: 1px solid #dee2e6; /* Lighter border */
  background-color: #f8f9fa; /* Lightest gray background */
}

.chatbot-footer input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid #ced4da; /* Lighter border */
  border-radius: 5px;
  margin-right: 12px;
  font-size: 1rem;
}

.chatbot-footer .btn-small {
  padding: 12px 20px;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: #343a40;
  color: #fff;
  text-align: center;
  padding: 2rem 0; /* Increased padding */
  width: 100%;
  margin-top: auto;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
  }

  nav ul li {
    margin: 0 12px;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .map-points {
    grid-template-columns: 1fr;
  }

  .hotel-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-search-form .form-group {
    min-width: unset;
    width: 100%;
  }

  .hotel-search-form .btn {
    width: 100%;
    margin-top: 15px;
  }

  .hotel-card {
    flex-direction: column;
  }

  .hotel-card img {
    width: 100%;
    height: 280px;
  }

  .hotel-card .hotel-info {
    padding: 20px;
  }

  .hotel-card h4 {
    font-size: 1.7rem;
  }

  .hotel-card .price {
    font-size: 1.3rem;
  }

  .shopping-grid {
    grid-template-columns: 1fr;
  }

  .product-card .btn-small {
    width: calc(100% - 40px);
  }

  .eco-culture-content {
    flex-direction: column;
  }

  .chatbot-container {
    width: 95%;
    right: 2.5%;
    left: 2.5%;
    bottom: 15px;
  }
}
