/* ===== ABOUT PAGE - about.css ===== */
/* Header/footer styles are now in styles.css */

/* ===== Content ===== */
.content {
  padding: 60px 20px;
  min-height: calc(100vh - 80px - 80px); /* viewport height minus header and footer */
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-inline {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Animation for image - slides up from bottom */
.about-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 5px solid #0a0600;
  object-fit: cover;
  object-position: center 43%;
  flex-shrink: 0;
  
  /* Animation */
  animation: slideUpFade 2.2s ease-out;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for text - slides down from top */
.about-text {
  flex: 1;
  max-width: 680px; /* Reduced from 780px to prevent orphaned words */
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px 32px;
  
  /* Animation */
  animation: slideDownFade 2.2s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-title {
  font-size: 2.5rem;
  margin: 0 0 24px;
  color: #0a0600;
  letter-spacing: 2px;
  font-weight: 600;
}

.about-text p {
  margin: 0;
  line-height: 1.6;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  text-align: justify;
  text-align-last: left;
}

.about-text p + p {
  margin-top: 14px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .about-inline {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .about-img {
    width: 300px;
    height: 300px;
  }

  .about-text {
    max-width: 100%;
    padding: 20px 12px 24px;
  }
}