/* rc-styles.css */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #000000;
  margin: 0;
  padding: 40px;
  text-align: center;
  color: #ffffff;
}

/* Navbar Container styling */
.navbar {
  position: sticky;
  top: 0;
  background: #000000; 
  padding: 12px 0;
  z-index: 100;
  border-bottom: 1px solid #222222;
  width: 100%;
}

.navbar-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Favicon sizing and alignment */
.nav-favicon {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  display: block;
}

/* Clean White link styling */
.nav-link, 
.nav-link:visited, 
.nav-link:active {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #cccccc !important;
  text-decoration: none !important;
}

h1 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.tile {
  background-color: #000000;
  border: none;
  position: relative;
  padding-bottom: 100%;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile:hover {
  transform: scale(1.02);
  z-index: 2;
}

.tile img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.5px;
}

.tile:hover .overlay {
  opacity: 1;
}

/* Show 'Sold' instead of 'Available' when marked */
.tile.sold .overlay {
  font-size: 0;
  color: #ffffff;
}

.tile.sold .overlay::before {
  content: 'Sold';
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: center;
}

.tile.sold:hover .overlay {
  opacity: 1;
}