/* About Page Styles */

/* Main Container */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  background-color: #cac5bc;
}

/* Left Column - Text Content */
.about-text {
  padding: 100px 80px 80px 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.about-title {
  font-family: "Cinzel", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 60px;
  color: #1a1a1a;
  line-height: 1.3;
}

.about-content {
  max-width: 600px;
}

.about-content p {
  font-family: "Crimson Text", serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: justify;
  font-weight: 400;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Right Column - Image */
.about-image {
  position: relative;
  overflow: hidden;
  background-color: #2a2a2a;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .about-text {
    padding: 80px 60px 60px 80px;
  }

  .about-title {
    font-size: 28px;
    margin-bottom: 50px;
  }

  .about-content p {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-text {
    padding: 60px 40px;
    order: 2;
  }

  .about-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .about-image {
    order: 1;
    min-height: 400px;
  }
}

@media screen and (max-width: 480px) {
  .about-text {
    padding: 40px 24px;
  }

  .about-title {
    font-size: 20px;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }

  .about-content p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .about-image {
    min-height: 300px;
  }
}

/* Animation for scroll */
.about-text {
  animation: fadeInLeft 0.8s ease-out;
}

.about-image {
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scrollbar Styling for Text Area */
.about-text::-webkit-scrollbar {
  width: 6px;
}

.about-text::-webkit-scrollbar-track {
  background: #d5d0c7;
}

.about-text::-webkit-scrollbar-thumb {
  background: #8a8580;
  border-radius: 3px;
}

.about-text::-webkit-scrollbar-thumb:hover {
  background: #6a6560;
}
