/* General Styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden; /* Prevents double scrollbars */
}

nav {
  background-color: #0d5c3d; /* Bunnings Green */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  box-sizing: border-box;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

/* Layout Container */
.container {
  display: flex;
  height: calc(100vh - 60px);
}

/* Map Section */
#map {
  flex: 1; /* Takes up remaining space */
  height: 100%;
}

/* Sidebar Section */
#sidebar {
  width: 350px;
  background: #f4f4f4;
  border-left: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding: 15px;
  overflow-y: auto;
}

#sidebar h2 {
  margin-top: 0;
  color: #333;
}

/* Search and Filters */
#search-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.state-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.state-buttons button {
  background: white;
  border: 1px solid #0d5c3d;
  color: #0d5c3d;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 0.8rem;
}

.state-buttons button:hover {
  background: #0d5c3d;
  color: white;
}

/* BBQ List Items */
#bbq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bbq-item {
  background: white;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.bbq-item:hover {
  transform: translateY(-2px);
  border-left: 5px solid #cf2e2e; /* Bunnings Red */
}

.bbq-item h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.bbq-item p {
  margin: 2px 0;
  font-size: 0.9rem;
  color: #666;
}

.org-name {
  font-weight: bold;
  color: #0d5c3d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
    height: 40%;
  }
  #map { 
  height: 100%; 
  width: 100%;
  background: #e0e0e0; /* helps see if the map div is there */
}
}