/* ========== GLOBAL ==========\ */

body {
  margin: 0;
  font-family: Georgia, serif;
  background-color: white;
  color: #000;
}

/* ========== NAV BAR (TOP) ========== */

header {
  background-color: #2c3e43;
  padding: 5px 0;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}

nav a:hover {
  text-decoration: underline;
}

/* Dropdown */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2c3e43;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  font-weight: normal;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #1f2b2f;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========== LOGO + TITLE AREA (UNDER NAV) ========== */

.logo-container {
  text-align: center;
  margin-top: 30px;
}

.roof-line {
  width: 1200px;       /* 10% larger than 900px */
  max-width: 100%;
  margin-bottom: 10px;
}

.logo-container h1 {
  font-size: 70px;
  margin: 0;
}

.subtext {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 800;
}

.note {
  font-size: 13px;
  margin-top: 5px;
  color: #333;
}

/* ========== HOME PAGE GRID ========== */

.grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
}

.grid-item {
  width: 200px;
  text-align: center;
}

.grid-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.grid-item img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: block;
}

.grid-item-label {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
}

/* ========== ORANGE TEXT SECTION ========== */

.orange-text {
  color: orange;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  padding: 0 20px;
}

/* ========== FOOTER ========== */

footer {
  background-color: #2c3e43;
  color: white;
  text-align: center;
  padding: 5px;
  margin-top: 40px;
  font-size: 14px;
}

/* ========== LISTINGS / CATEGORY PAGE LAYOUT ========== */

.page-wrap {
  max-width: 1100px;
  margin: 25px auto 40px;
  padding: 0 16px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 6px;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 18px;
  font-size: 15px;
}

/* Centered heading block */
.page-heading {
  text-align: center;
  margin-bottom: 20px;
}

.page-heading h2 {
  font-size: 28px;
  margin: 0 0 6px;
}

.page-heading p {
  margin: 3px 0;
}

/* Filter chips row */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  text-decoration: none;
  color: #374151;
}

.chip-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

/* ========== CARD STYLES (shared) ========== */

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  position: relative;
  padding-top: 62%;
  background: #e5e7eb;
}

.card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.pill {
  border-radius: 999px;
  padding: 3px 8px;
  background: #eff6ff;
  color: #1d4ed8;
}

.pill-secondary {
  background: #ecfdf5;
  color: #047857;
}

.price {
  font-weight: 700;
  margin-top: 4px;
  font-size: 15px;
}

.desc {
  font-size: 13px;
  color: #4b5563;
  margin-top: 2px;
}

.meta {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.links {
  margin-top: 6px;
  font-size: 13px;
}

.links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 10px;
}

.links a:hover {
  text-decoration: underline;
}

.empty {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
}

/* ========== 4×5 CARD GRID FOR CATEGORY PAGES (pubs/good eats/scene) ========== */

.card-grid {
  max-width: 1100px;
  margin: 25px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 4-column grid specifically for the rental listings page ========== */

.page-wrap .rental-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .page-wrap .rental-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page-wrap .rental-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}




