/* ================================ */
/* A PROPOS GRID OVERLAY             */
/* ================================ */
.about-grid-section {
  background-color: var(--color-beige-lighter);
  padding: var(--space-md) 0;
  position: relative;
  overflow: hidden;
}

.about-grid-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-grid-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-desc {
  font-size: var(--fs-md);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-black);
}

.about-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .about-cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
  }
}

/* ── Modern Compact Card ── */
.about-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--color-brown-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Soft cinematic shadow */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
  transform: translateY(-8px);
}

.about-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.about-card:hover .about-card-img {
  transform: scale(1.08);
  filter: brightness(0.65);
}

.about-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.2) 50%, transparent 100%);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.about-card-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  transform: translateY(15px);
  opacity: 0.8;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.about-card-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-white);
  margin: 0;
  font-style: italic;
  font-weight: 400;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.about-card:hover .about-card-label,
.about-card:hover .about-card-title {
  transform: translateY(0);
  opacity: 1;
}

/* Timeline Timeline Clean Override (For about.html) */
.timeline-item .timeline-img {
  width: 40vw;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  /* Images lie directly on background */
}

@media (max-width: 768px) {
  .timeline-item .timeline-img {
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-lg);
  }
}
