a.one {
  color: white;
  text-decoration: none;
}

.menu-text {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  animation-name: fade;
  animation-iteration-count: infinite;
  animation-duration: 9s;
  object-fit: cover;
  z-index: 0;
}

@keyframes fade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  33% { opacity: 1; }
  53% { opacity: 0; }
  100% { opacity: 0; }
}

#f1 { animation-delay: 0s; }
#f2 { animation-delay: -3s; }
#f3 { animation-delay: -6s; }

.text-menu {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px;
  border-radius: 3px;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 16px;
}

.box {
  display: flex;
  justify-content: center;   /* center all items in total width */
  flex-wrap: wrap;           /* allow wrapping on small screens */
  gap: 30px;                 /* control spacing between items */
  width: auto;
  margin: 0 auto;
}

.one {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}

/* For screens 600px or narrower */
@media (max-width: 600px) {
  .one {
    gap: 6px;
    padding: 8px;
  }
}

.menu-logo {
  height: 20px;
  width: auto;
  display: block;
}

.content {
  margin-top: 80px; /* Adjust as needed */
  text-align: center;
  color: black;
  padding: 20px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f2f2f2;
}

.gallery-title {
  text-align: center;
  margin-bottom: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.property-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  max-width: 440px;
}

.property-card:hover {
  transform: scale(1.02);
}

.property-card img {
  width: 100%;
  max-width: 400px;
  height: 200px;
  object-fit: cover;
}

.property-card h3 {
  margin: 15px;
  font-size: 1.2em;
  max-width: 440px;
}

.property-card p {
  margin: 0 15px 15px;
  font-size: 0.95em;
  color: #444;
  max-width: 400px;
}
