/* ============================================================
   ARAMAK Real Estate — Project Detail (Infinity)
   ============================================================ */

/* ── PROJECT HERO ── */
.project-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 58, 46, 0.85) 0%,
    rgba(44, 58, 46, 0.5) 40%,
    rgba(44, 58, 46, 0.35) 100%
  );
  z-index: 1;
}

.project-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-ivory);
  padding: var(--space-xl);
  max-width: 800px;
}

.project-hero__title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: var(--fs-h1);
  color: var(--color-ivory);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-tight);
}

.project-hero__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body-lg);
  color: var(--color-sand);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.project-hero__tagline {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--color-ivory);
  margin-top: var(--space-lg);
}


/* ── CATEGORY NAVIGATION ── */
.category-nav {
  position: relative;
  z-index: 5;
  margin-top: -60px;
}

.category-nav__inner {
  width: var(--container-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.category-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  font-family: var(--font-black);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: var(--color-ivory);
  background-color: var(--color-green);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border: none;
  text-align: center;
}

.category-nav__item:nth-child(2) {
  background-color: var(--color-green-light);
}

.category-nav__item:hover,
.category-nav__item--active {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.category-nav__item:not(:last-child) {
  border-inline-end: 1px solid var(--color-border);
}


/* ── PROJECT SECTIONS ── */
.project-section {
  padding: var(--space-3xl) 0;
  scroll-margin-top: calc(var(--header-height) + 60px);
}

.project-section--alt {
  background-color: var(--color-ivory);
}


/* ── RESIDENTIAL SECTION ── */
.residential-grid {
  width: var(--container-main);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.residential-content {
  max-width: 550px;
}

.residential-content__label {
  font-family: var(--font-book);
  font-weight: 400;
  font-size: var(--fs-small);
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.residential-content__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.residential-content__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.residential-content__stat-number {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: var(--fs-h1);
  color: var(--color-green);
  direction: ltr;
}

.residential-content__stat-label {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
}

.residential-content__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.residential-content__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.residential-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.residential-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative frame */
.residential-image::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid var(--color-border);
  pointer-events: none;
  inset-inline-end: 10px;
  inset-block-end: 10px;
}

/* Feature list for residential */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.feature-list__item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: var(--radius-round);
  flex-shrink: 0;
  margin-top: 0.5em;
}


/* ── HOSPITALITY SECTION ── */
.hospitality-grid {
  width: var(--container-main);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hospitality-content {
  max-width: 550px;
}

.hospitality-content__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  margin-bottom: var(--space-xs);
}

.hospitality-content__subtitle {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-h3);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.hospitality-content__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hospitality-content__stat-number {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: var(--fs-h1);
  color: var(--color-green);
  direction: ltr;
}

.hospitality-content__stat-label {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
}

.hospitality-content__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.hospitality-brands {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.hospitality-brands img {
  height: 40px;
  width: auto;
  opacity: 0.8;
}

.hospitality-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.hospitality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── COMMERCIAL SECTION ── */
.commercial-grid {
  width: var(--container-main);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.commercial-content {
  max-width: 550px;
}

.commercial-content__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  margin-bottom: var(--space-xs);
}

.commercial-content__subtitle {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.commercial-content__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.commercial-content__stat-number {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: var(--fs-h1);
  color: var(--color-green);
  direction: ltr;
}

.commercial-content__stat-label {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
}

.commercial-content__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.commercial-content__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.commercial-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.commercial-feature {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  padding: var(--space-xs);
  border-inline-start: 2px solid var(--color-gold);
  padding-inline-start: var(--space-sm);
}

.commercial-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.commercial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── LIFESTYLE SECTION ── */
.lifestyle-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-ivory);
}

.lifestyle-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  width: var(--container-content);
  margin-inline: auto;
}

.lifestyle-header__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.lifestyle-header__subtitle {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body-lg);
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
}

.lifestyle-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.lifestyle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-taglines {
  width: var(--container-content);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.lifestyle-tagline {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-h3);
  color: var(--color-text-light);
}

.lifestyle-tagline--emphasis {
  font-family: var(--font-heavy);
  font-weight: 700;
  color: var(--color-green);
}


/* ── INTEREST FORM ── */
.form-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-ivory-light);
}

.form-section__inner {
  width: var(--container-content);
  margin-inline: auto;
  max-width: 700px;
}

.form-section__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.interest-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-book);
  font-weight: 400;
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--space-md);
}

.form-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-sm);
  font-size: var(--fs-small);
  display: none;
}

.form-message--success {
  color: var(--color-green);
  display: block;
}

.form-message--error {
  color: #c0392b;
  display: block;
}


/* ── MAP SECTION ── */
.map-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background-color: var(--color-ivory-light);
}

.map-container {
  width: var(--container-main);
  margin-inline: auto;
  aspect-ratio: 16/6;
  overflow: hidden;
  background-color: var(--color-sand);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ivory);
  color: var(--color-text-muted);
  font-size: var(--fs-body);
}


/* ── PROJECT SHELL (placeholder for other projects) ── */
.project-shell {
  padding: var(--space-4xl) 0;
  text-align: center;
  background-color: var(--color-ivory-light);
}

.project-shell__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.project-shell__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: var(--fs-body-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin-inline: auto;
}
