body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

.listings-container {
  margin: auto;
  padding: 0px;
}

h1 {
  font-size: 3rem;
  padding: 7rem;
  text-shadow: 4px 0px 4px black;
  margin: auto;
  color: white;
  display: block;
  background-color: #0a192fc9;
  text-align: center;
  background-image: url("../images/background.jpg");
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  /* inset: 0; */
  content: "";
  pointer-events: none;
  background-size: 100%;
}

.listing-section {
  padding: 2rem;
  margin-bottom: 50px;
}

.listing-section h2 {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 15px;
  border-left: 5px solid #E14D25;
  padding-left: 10px;
}

.group-title {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 10px;
  color: white;
  font-size: 1rem;
}

.video-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 6px;
  border-radius: 50%;
  font-size: 14px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  overflow-y: auto;
}

.modal-content {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 60px auto;
  background: white;
  overflow: hidden;
}

.modal-media {
  position: relative;
  background: black;
}

.modal-media img,
.modal-media video {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  transform: translateY(-50%);
}

.modal-prev { left: 10px; }
.modal-next { right: 10px; }

.modal-info {
  padding: 20px;
}

.modal-info h3 {
  margin: 0 0 10px;
  color: #E14D25;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #E14D25;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #c23e1f;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  h1 {
  font-size: 3rem;
  padding: 2rem;
  background-repeat: no-repeat;
  background-size: 100%;
}
}