/* =========================================================
   132 West 14th Street — "Le Gallerie"
   Recreated static stylesheet (plain CSS, no framework)
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-dark: #3d3e3d;
  --color-dark-bg: #262626;
  --color-accent: #6087a3;
  --color-accent-soft: rgba(96, 135, 163, 0.85);
  --color-white: #ffffff;
  --font-body: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --max-width: 1200px;
  --gap: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, .h1, .h3, .h4, .h5 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5em;
}

.eyebrow {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.divider {
  width: 90px;
  height: 0;
  border: none;
  border-top: 2px solid var(--color-dark);
  margin: 0.75rem 0 1.25rem;
}

.divider--accent {
  border-top-color: var(--color-accent);
}

.divider--light {
  border-top-color: var(--color-white);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
}

.nav-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: url("images/union-square-bg.jpg") center/cover no-repeat;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.7;
}

.hero-left img {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Building carousel ---------- */

.building-section {
  padding: 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: var(--color-dark-bg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
}

.carousel-slide img {
  width: 100%;
  height: 60vh;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.55;
}

.carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.carousel-caption h3 {
  max-width: 700px;
  text-align: center;
  color: var(--color-white);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.carousel-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-white);
}

/* ---------- Neighborhood ---------- */

.neighborhood {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.neighborhood-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  max-width: 640px;
}

.neighborhood-text p {
  margin: 0 0 1rem;
}

.subway-strip img {
  max-width: 320px;
  margin-top: 1rem;
}

.neighborhood-map {
  background: url("images/neighborhood-map.png") center top/cover no-repeat;
  min-height: 320px;
}

/* ---------- Availability ---------- */

.availability {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.availability-stats {
  position: relative;
  background: url("images/union-square-bg.jpg") center/cover no-repeat;
  color: var(--color-white);
  padding: 4rem;
}

.availability-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.85;
}

.availability-stats > * {
  position: relative;
  z-index: 1;
}

.availability-stats h2,
.availability-stats .lead {
  color: var(--color-white);
}

.stat-block {
  margin-top: 1.75rem;
}

.stat-block h4 {
  margin-bottom: 0.25rem;
}

.stat-block p {
  margin: 0;
  font-size: 1.05rem;
}

.floor-plans {
  background: #f5f4f2;
  padding: 4rem;
}

.floor-plans .lead {
  margin-bottom: 1.5rem;
}

.plan-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.plan-gallery a,
.rear-facade-gallery a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.plan-gallery img,
.rear-facade-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.plan-gallery a:hover img,
.rear-facade-gallery a:hover img {
  transform: scale(1.04);
}

.rear-facade-gallery {
  max-width: 320px;
}

/* ---------- Contact ---------- */

.contact {
  padding: 5rem 2rem;
  text-align: center;
}

.contact .section-inner {
  max-width: 900px;
}

.contact-person {
  margin-bottom: 2rem;
}

.contact-person h4 {
  margin-bottom: 0.5rem;
}

.contact-person p {
  margin: 0;
}

.contact-company {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.contact-company img {
  max-width: 120px;
  margin: 0 auto;
}

.contact-company .company-links {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-company .company-links a {
  display: block;
  font-size: 0.9rem;
}

.contact-company p {
  font-size: 0.9rem;
  color: #555;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-inner img {
  max-width: 110px;
}

.footer-inner h4 {
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
  flex: 1 1 180px;
  padding: 0.7rem 0.9rem;
  border: none;
  background: var(--color-white);
  color: #000;
}

.signup-form input[type="submit"] {
  flex: 0 0 auto;
  padding: 0.7rem 1.5rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.signup-form input[type="submit"]:hover {
  background: #1a1a1a;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.85;
  z-index: 50;
}

.back-to-top:hover {
  opacity: 1;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero,
  .neighborhood,
  .availability {
    grid-template-columns: 1fr;
  }

  .hero-right img {
    height: 60vh;
  }

  .neighborhood-map {
    min-height: 260px;
  }

  .neighborhood-text,
  .availability-stats,
  .floor-plans {
    padding: 2.5rem 1.5rem;
  }

  .contact-company,
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-company {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.6rem 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .plan-gallery {
    grid-template-columns: 1fr;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input[type="submit"] {
    width: 100%;
  }
}
