/* rentals.css - SwimSmart Themed Rentals Page */

:root {
  --primary-color: #0077b6;
  --accent-color: #00b3b8;
  --text-light: #ffffff;
  --bg-light: #f9faff;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  margin: 0;
  padding: 0;
  display: flex;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  box-shadow: 4px 0 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--accent-color);
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease-in-out;
}

.sidebar a:hover {
  color: var(--accent-color);
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px 0 220px;
  flex: 1;
}

.glow-banner {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 24px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--primary-color);
  margin-bottom: 30px;
}

h1 {
  text-align: center;
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.filter-form {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.filter-form input {
  padding: 10px;
  width: 160px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.filter-form button {
  padding: 10px 20px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-form button:hover {
  background: var(--primary-color);
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 60px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.pool-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.pool-card:hover {
  transform: translateY(-5px);
}

.pool-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.pool-content {
  padding: 20px;
}

.pool-content h3 {
  margin: 0;
  font-size: 22px;
  color: var(--primary-color);
}

.pool-content p {
  font-size: 15px;
  margin: 8px 0;
  color: #333;
}

.price {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 16px;
}