/* ============================================================
   ResiAP – Resident Amenity Portal  |  Hub / Homepage Styles
   Color palette derived from the ResiAP wordmark:
     Cream  : #F5F0E8
     Charcoal: #2F3B4A
     Gold    : #B8A57C
     Deep Gold: #9A8A64
     White   : #FFFFFF
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.resiap-hub {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #F5F0E8;
  color: #2F3B4A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV BAR ─────────────────────────────────────────────── */

.resiap-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2.5rem;
  background: rgba(47, 59, 74, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 165, 124, 0.3);
}

.resiap-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #F5F0E8;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.resiap-nav-brand img {
  height: 32px;
  width: auto;
}

.resiap-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.resiap-nav-links a {
  color: #F5F0E8;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.resiap-nav-links a:hover {
  color: #B8A57C;
}

/* ── HERO SECTION ────────────────────────────────────────── */

.resiap-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 5rem;
  background: linear-gradient(
    170deg,
    #2F3B4A 0%,
    #3B4A5C 40%,
    #4A5A6C 100%
  );
  color: #F5F0E8;
  position: relative;
  overflow: hidden;
}

.resiap-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(184, 165, 124, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.resiap-hero-logo {
  max-width: 360px;
  width: 80%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
}

.resiap-hero h1 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #B8A57C;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.resiap-hero p {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.75);
  position: relative;
  z-index: 1;
}

/* ── GOLD DIVIDER ────────────────────────────────────────── */

.resiap-divider {
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #B8A57C, transparent);
  margin: 3rem auto;
  border: none;
}

/* ── PROPERTIES SECTION ──────────────────────────────────── */

.resiap-properties {
  flex: 1;
  padding: 2rem 2rem 4rem;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.resiap-properties h2 {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: #2F3B4A;
}

.resiap-properties > p {
  color: #6B7280;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* ── DROPDOWN SELECTOR ───────────────────────────────────── */

.property-selector {
  position: relative;
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

.property-selector select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 1rem 3rem 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  color: #2F3B4A;
  background: #FFFFFF;
  border: 1.5px solid #D1C8B5;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.property-selector select:focus {
  outline: none;
  border-color: #B8A57C;
  box-shadow: 0 0 0 3px rgba(184, 165, 124, 0.2);
}

.property-selector::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #B8A57C;
  pointer-events: none;
}

/* ── PROPERTY CARD ───────────────────────────────────────── */

.property-card {
  background: #FFFFFF;
  border: 1px solid #E5DFD3;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(47, 59, 74, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(47, 59, 74, 0.1);
}

.property-card-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.property-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: #2F3B4A;
}

.property-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 1.5rem;
}

.property-card .btn-enter {
  display: inline-block;
  padding: 0.75rem 2.25rem;
  background: linear-gradient(135deg, #B8A57C 0%, #9A8A64 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.property-card .btn-enter:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── FOOTER ──────────────────────────────────────────────── */

.resiap-footer {
  background: #2F3B4A;
  color: rgba(245, 240, 232, 0.6);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.resiap-footer a {
  color: #B8A57C;
  text-decoration: none;
}

.resiap-footer a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .resiap-nav {
    padding: 0.6rem 1.25rem;
  }

  .resiap-hero {
    padding: 8rem 1.5rem 3.5rem;
  }

  .resiap-hero-logo {
    max-width: 260px;
  }

  .resiap-hero h1 {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .resiap-properties h2 {
    font-size: 1.4rem;
  }

  .property-card {
    padding: 2rem 1.5rem;
  }
}
