* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: #f7f7f4;
  color: #2f4f3e;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #2f4f3e;
  color: #fff;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-header nav a {
  color: #fff;
  text-decoration: none;
}

/* USER MENU */
.user-menu {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-menu img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.user-menu .dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.user-menu:hover .dropdown {
  display: block;
}

.user-menu .dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #2f4f3e;
}

.user-menu .dropdown a:hover {
  background: #f1f1ee;
}

/* HERO */
.hero {
  padding: 60px 30px;
  text-align: center;
  background: #fff;
}

.hero h1 {
  font-size: 2em;
}

.hero-actions {
  margin-top: 20px;
}

/* SECTIONS */
.section {
  padding: 50px 30px;
  max-width: 900px;
  margin: auto;
}

.section.alt {
  background: #ecebe6;
}

.map-placeholder {
  height: 250px;
  background: #d6d2c4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* BUTTONS */
.btn {
  padding: 12px 20px;
  border-radius: 6px;
  background: #4e6478;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
}

.btn.primary {
  background: #c9a44c;
  color: #000;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #2f4f3e;
  color: #fff;
}
.install-prompt {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 9999;
}

.install-prompt h3 {
  margin-bottom: 8px;
}

.install-prompt p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.install-prompt .actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.hidden {
  display: none;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner .btn {
  margin-left: 16px;
}
.hidden {
  display: none !important;
}
.community-map {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.community-map img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.map-note {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 1rem;
}
/* =========================
   COMMUNITY MAP CLICK ZOOM
   ========================= */

.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-container img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.zoom-container.zoomed {
  cursor: zoom-out;
}

.zoom-container.zoomed img {
  transform: scale(2);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .zoom-container.zoomed img {
    transform: scale(1.6);
  }
}

/* =========================
   AVAILABLE LOTS
   ========================= */

.lots-intro,
.lots-note {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #555;
  text-align: center;
}

.lots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.lot-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
}

.lot-card h3 {
  margin-bottom: 0.75rem;
}

.lot-status {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Status colors */
.lot-status.ready {
  background: #e6f4ea;
  color: #1f6f3f;
}

.lot-status.work {
  background: #fff4e5;
  color: #8a5a00;
}

.lot-status.empty {
  background: #eef2ff;
  color: #2c3eaa;
}
/* =========================
   MODAL OVERLAY (WAITLIST)
   ========================= */

.modal {
  position: fixed;
  inset: 0; /* top:0 right:0 bottom:0 left:0 */
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Hide by default */
.modal.hidden {
  display: none;
}

/* Modal box */
.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: modalFade 0.25s ease-out;
}

/* Inputs inside modal */
.modal-box input,
.modal-box textarea {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.index-layout {
  display:flex;
  gap:20px;
  align-items:flex-start;
}

.index-main {
  flex:1;
}

.index-sidebar {
  width:360px;
  position:sticky;
  top:20px;
}

@media (max-width: 900px) {
  .index-layout {
    flex-direction:column;
  }

  .index-sidebar {
    width:100%;
    position:static;
  }
}
