:root {
  --green: #2f5d50;
  --green-dark: #1f4037;
  --gold: #c59d5f;
  --cream: #f8f6f2;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --border: #e5e0d8;
  --shadow: 0 18px 40px rgba(31, 64, 55, 0.12);
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* =========================================================
   Header and Navigation
   ========================================================= */

.site-header {
  background: rgba(248, 246, 242, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo:hover,
.site-logo:hover {
  color: var(--green);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  opacity: 0.82;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--green);
}

.nav-tenant {
  font-weight: 800;
  color: var(--green-dark);
}

/* =========================================================
   Homepage Hero
   ========================================================= */

.hero {
  padding: 86px 0 64px;
  background:
    linear-gradient(135deg, rgba(47, 93, 80, 0.95), rgba(31, 64, 55, 0.92)),
    url("../images/hero-home.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 44px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.hero-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: var(--green-dark);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* =========================================================
   Highlights
   ========================================================= */

.highlights {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
  padding: 26px 22px;
  border-right: 1px solid var(--border);
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-item span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.highlight-item strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}

/* =========================================================
   General Sections
   ========================================================= */

.section {
  padding: 76px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.18;
  color: var(--green-dark);
}

.section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.text-link {
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.18;
  color: var(--green-dark);
  margin-bottom: 28px;
}

/* =========================================================
   Tenant Preview Block on Main Website
   ========================================================= */

.tenant-preview {
  padding-top: 0;
}

.tenant-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow);
}

.tenant-box p {
  max-width: 720px;
}

.tenant-box-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================================================
   Units Page
   ========================================================= */

.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.unit-card-header {
  margin-bottom: 18px;
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 157, 95, 0.18);
  color: var(--green-dark);
  border: 1px solid rgba(197, 157, 95, 0.45);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.unit-card h3 {
  color: var(--green-dark);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.unit-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.unit-features {
  list-style: none;
  margin-bottom: 22px;
}

.unit-features li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.unit-features li:last-child {
  border-bottom: none;
}

.unit-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* =========================================================
   Amenities Page
   ========================================================= */

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.amenity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.amenity-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(197, 157, 95, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.amenity-card h3 {
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.amenity-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* =========================================================
   Gallery Page
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.placeholder-image {
  background:
    linear-gradient(135deg, rgba(47, 93, 80, 0.9), rgba(31, 64, 55, 0.86)),
    linear-gradient(45deg, #d9d1c3, #f8f6f2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gallery-caption {
  padding: 24px;
}

.gallery-caption h3 {
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.gallery-caption p {
  color: var(--muted);
  margin-bottom: 0;
}

/*
Later, when you add real photos, use these classes:

.gallery-exterior {
  background-image: url("../images/gallery/exterior.jpg");
}

.gallery-1bhk {
  background-image: url("../images/gallery/1bhk.jpg");
}

.gallery-2bhk {
  background-image: url("../images/gallery/2bhk.jpg");
}
*/

/* =========================================================
   Contact Page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(197, 157, 95, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.contact-card h3 {
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.small-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: var(--cream);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(197, 157, 95, 0.45);
  border-color: var(--gold);
}

.form-row textarea {
  resize: vertical;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   Tenant Portal Styles
   ========================================================= */

.tenant-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.tenant-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

.tenant-back-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.tenant-hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.tenant-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tenant-logo-link:hover {
  opacity: 0.9;
}

.tenant-hero-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
  flex-shrink: 0;
}

.tenant-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  color: var(--green-dark);
}

.tenant-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

.tenant-section-title {
  margin: 34px 0 14px;
}

.tenant-section-title h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: var(--green-dark);
}

.tenant-section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tenant-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.tenant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(31, 64, 55, 0.06);
}

.tenant-card h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  color: var(--green-dark);
}

.tenant-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.tenant-button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  margin-right: 8px;
  margin-top: 6px;
}

.tenant-button:hover {
  opacity: 0.92;
}

.unit-portal-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 26px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 18px 40px rgba(31, 64, 55, 0.18);
}

.unit-portal-header {
  margin-bottom: 20px;
}

.unit-portal-kicker,
.unit-portal-header .kicker {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
}

.unit-portal-header h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.unit-portal-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  max-width: 780px;
}

.unit-portal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.unit-portal-tile {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(31, 64, 55, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.unit-portal-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(31, 64, 55, 0.24);
}

.unit-portal-label {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.unit-portal-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.tenant-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tenant-notice {
  margin-top: 26px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: 18px;
  padding: 18px 20px;
  line-height: 1.7;
}

.tenant-footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   Responsive Styles
   ========================================================= */

@media (max-width: 980px) {
  .unit-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tenant-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .amenity-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .site-logo img {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .hero {
    padding: 64px 0 46px;
  }

  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-item {
    border-bottom: 1px solid var(--border);
  }

  .tenant-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .tenant-box-actions {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .unit-grid {
    grid-template-columns: 1fr;
  }

  .unit-card {
    padding: 26px;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .tenant-page {
    padding: 20px 12px 44px;
  }

  .tenant-hero {
    align-items: flex-start;
    padding: 22px;
  }

  .tenant-hero-logo {
    width: 68px;
    height: 68px;
  }

  .tenant-quick-grid,
  .tenant-resource-grid {
    grid-template-columns: 1fr;
  }

  .unit-portal-section {
    padding: 22px;
  }

  .unit-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .amenity-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .amenity-card,
  .contact-card,
  .contact-box {
    padding: 26px;
    border-radius: 18px;
  }

  .gallery-caption {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-card,
  .tenant-box {
    padding: 26px;
    border-radius: 18px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    border-right: none;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .tenant-hero {
    flex-direction: column;
  }

  .unit-portal-grid {
    grid-template-columns: 1fr;
  }
}