/* ========================
   About Page Styles
   ======================== */

/* Hero */
.about-hero {
  position: relative;
  background: url('/images/Apartment-Interior-2.jpg') center/cover no-repeat;
  height: 60vh;
  min-height: 800px;
  display: flex;
  align-items: end;     /* vertical center */
  padding-bottom: 150px;
  justify-content: center; /* horizontal center */
  text-align: center;
  color: #fff;
}
.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.about-hero .hero-content {
  position: relative;
  max-width: 600px;
  padding: 0 1rem;
}
.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.about-hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.about-hero .btn-primary {
  padding: 0.75rem 2rem;
}
























/* ========================
   Meet Our Team Section
   ======================== */

.team-section {
  background: #000;
  color: #fff;
  padding: 5rem 1rem;
}

.team-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.team-section .lead {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #ccc;
}

/* ===== Grid Layout ===== */
/* Desktop: 3 columns */
.team-grid {
  display: grid;
  /* Desktop: 3 equal columns */
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 3rem 4rem;
}

/* Tablet / small desktop: 2 columns */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

/* Small phones: 1 column */
@media (max-width: 750px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== Card Styling ===== */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;      /* center image & text */
  width: auto;
  padding: 1.5rem 5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.3s;
}
.team-card:hover {
  background: #333;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.team-card .info h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.2rem;
  text-align: center;
}

.team-card .info p {
  margin: 0;
  color: #ccc;
  font-size: 1rem;
  text-align: center;
}

.team-card .arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #fff;
}


























/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 999;
}
.modal.hidden {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.modal-content {
  position: relative;
  background: #FFFFFF;
  color: black;
  border-radius: 0.5rem;
  max-width: 400px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  z-index: 1;
}
.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: transparent;
  border: none;
  color: black;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-img {
  display: block;         /* make it block-level */
  margin: 0 auto 1rem;    /* center horizontally, 1rem bottom gap */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.modal-name {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.modal-role {
  color: #8d8d8d;
  margin-bottom: 1rem;
}
.modal-bio {
  font-size: 0.95rem;
  line-height: 1.6;
}
