body { font-family: Arial, sans-serif; margin: 2rem; }
h1, h2 { color: #333; }
ul { list-style: none; padding: 0; }
li { margin: 0.5rem 0; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { padding: 0.5rem; text-align: left; }

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

/* Base */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafc;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #2c3e50;
  padding: 1rem 2rem;
  display: flex;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #1abc9c;
}

/* Headings */
h1, h2 {
  margin: 1.5rem 2rem 1rem;
  color: #2c3e50;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.4rem;
  color: #34495e;
}

/* Lists */
ul {
  list-style: none;
  margin: 1rem 2rem;
  padding: 0;
}

li {
  margin: 0.6rem 0;
}

li a {
  text-decoration: none;
  color: #2980b9;
  font-weight: 500;
  transition: color 0.2s;
}

li a:hover {
  color: #1abc9c;
}

/* Tables */
table {
  width: 95%;
  margin: 1.5rem auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: #2980b9;
  color: #fff;
}

th, td {
  padding: 0.9rem 1rem;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f4f8fb;
}

tbody tr:hover {
  background: #eaf5f9;
}

/* Chart container */
#chart {
  margin: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Hotel Directory Grid */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.hotel-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.hotel-card h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

.hotel-card .city {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.details-btn {
  align-self: flex-start;
  background: #2980b9;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.details-btn:hover {
  background: #1abc9c;
}

#hotel-info {
  margin-left: 30px;
}