/* ═══════════════════════════════════════════════════
   BUY NEW — Shared Stylesheet
   Covers: reset, variables, nav, footer, common buttons
   Used by: index.html, developments.html, and all pages
═══════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

/* ── Variables ── */
:root {
  --accent: #c4b98a;
  --teal: #4a6b6f;
  --dark: #0a0a0a;
  --text: #111;
  --muted: #999;
  --secondary: #555;
  --border: #e8e8e8;
  --bg: #f5f5f3;
  --radius: 14px;
}

/* ── Base ── */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════
   NAV — DESKTOP
════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: none;
  padding: 0 40px;
}

.nav-top {
  display: flex; justify-content: center; align-items: center;
  background: #fff;
  margin: 0 -40px;
  padding: 14px 40px 10px;
  border-bottom: 1px solid #e8e8e8;
}

.nav-logo img { height: 128px; width: auto; }

.nav-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  background: var(--teal);
  margin: 0 -40px;
  padding: 8px 40px;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: #fff;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-help {
  color: #fff; font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
  cursor: pointer; transition: color 0.15s;
}
.nav-help:hover { color: var(--accent); }

.btn-nav {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 8px;
  border: 1.5px solid var(--accent);
  background: var(--accent); color: #000;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-nav:hover { background: #000; color: #fff; border-color: #000; }

/* Logged-in nav buttons — desktop */
.bn-user-btn {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 8px;
  background: var(--accent); color: #000;
  border: none; cursor: pointer; white-space: nowrap;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.bn-user-btn:hover { background: #000; color: #fff; }

/* Logged-in nav buttons — mobile */
.bn-user-btn-mobile {
  display: block; width: calc(100% - 40px);
  margin: 12px 20px 4px;
  padding: 11px 16px; border-radius: 8px;
  border: 1.5px solid var(--accent); color: var(--accent);
  background: transparent; font-size: 12px; font-weight: 700;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}
.bn-user-btn-mobile + .bn-user-btn-mobile { margin-top: 4px; }
.bn-user-btn-mobile:hover { background: var(--accent); color: #000; }

/* ════════════════════════════════
   NAV — MOBILE
════════════════════════════════ */
.nav-mobile {
  display: none;
  align-items: center; justify-content: space-between;
  background: #fff;
  margin: 0 -20px;
  padding: 12px 20px;
}
.nav-mobile-logo img { height: 128px; width: auto; }

.hamburger {
  width: 40px; height: 40px;
  background: var(--teal); border: none; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
}
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.2s;
}

.mobile-dropdown {
  display: none; flex-direction: column;
  background: #111; border-top: 1px solid #1e1e1e; padding: 12px 0;
}
.mobile-dropdown.open { display: flex; }

.mobile-dropdown a,
.mobile-dropdown button {
  display: block; color: #fff;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 20px;
  border: none; background: none; text-align: left; cursor: pointer;
  width: 100%; border-bottom: 1px solid #1a1a1a;
  transition: color 0.15s, background 0.15s;
}
.mobile-dropdown a:hover,
.mobile-dropdown button:hover { color: var(--accent); background: #141414; }

.mobile-dropdown .btn-nav-mobile {
  margin: 12px 20px 4px; width: calc(100% - 40px);
  padding: 11px 16px; border-radius: 8px;
  border: 1.5px solid var(--accent); color: var(--accent);
  background: none; font-size: 12px; font-weight: 700;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}
.mobile-dropdown .btn-nav-mobile:hover { background: var(--accent); color: #000; }
.mobile-dropdown .btn-nav-mobile + .btn-nav-mobile { margin-top: 4px; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer { background: var(--dark); padding: 60px 80px 0; }

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e1e1e;
}

.footer-col h4 {
  font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13px; color: #777; transition: color 0.15s; }
.footer-col ul a:hover { color: #ccc; }

.footer-signup h4 {
  font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 6px;
}
.footer-signup p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 16px; }

.signup-row { display: flex; gap: 8px; }
.signup-input {
  flex: 1; background: #111; border: 1px solid #2a2a2a;
  border-radius: 8px; padding: 10px 14px;
  font-size: 16px; color: #fff; font-family: inherit; outline: none;
}
.signup-input::placeholder { color: #444; }

.btn-signup {
  padding: 10px 18px; background: var(--accent); color: #000;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-signup:hover { background: #fff; color: #000; }

.footer-signup small { font-size: 11px; color: #444; margin-top: 8px; display: block; }

.footer-bottom {
  padding: 18px 80px;
  display: flex; justify-content: center;
  background: var(--teal); width: 100%;
}
.footer-bottom p { font-size: 12px; color: #d0e0e2; text-transform: uppercase; letter-spacing: 0.06em; }

/* ════════════════════════════════
   RESPONSIVE — SHARED
════════════════════════════════ */
@media (max-width: 1024px) {
  .footer { padding: 48px 40px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 16px 40px; }
}

@media (max-width: 768px) {
  /* Hide desktop nav rows, show mobile bar */
  .nav-top, .nav-bottom { display: none; }
  .nav-mobile { display: flex; }
  .nav { padding: 0 20px; }

  /* Footer */
  .footer { padding: 40px 20px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { padding: 14px 20px; }
  .footer-bottom p { font-size: 9px; letter-spacing: 0.04em; }
  .signup-row { flex-direction: column; }
  .btn-signup { width: 100%; }
}
