/* About Page Specific Styles */
.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.about-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s ease forwards;
}

.about-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  gap: 20px;
  position: relative;
  top: -30px;
}

.divider-line {
  height: 2px;
  background-color: var(--primary-color);
  flex-grow: 1;
  max-width: 200px;
  opacity: 0.7;
}

.about-title {
  font-size: 4.5rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-color);
  text-transform: lowercase;
  margin: 0;
  white-space: nowrap;
}

.about-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

.about-image-container {
  flex: 1;
  max-width: 400px;
}

.about-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.about-text-container {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-description {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-description:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-description p {
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.resume-link {
  text-decoration: none;
  display: inline-block;
}

.resume-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 15px 25px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resume-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.2);
}

.resume-text {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.resume-arrow {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.resume-button:hover .resume-arrow {
  transform: translateY(5px);
}

/* Dark Mode Adjustments */
body.dark-mode .blur-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

body.dark-mode .about-description,
body.dark-mode .resume-button,
body.dark-mode .about-image {
  background-color: rgba(0, 0, 0, 0.2);
}

body.dark-mode .about-description:hover,
body.dark-mode .resume-button:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .about-title {
    font-size: 4rem;
    top: -20px;
  }

  .about-content {
    gap: 40px;
  }

  .about-image-container {
    max-width: 350px;
  }
}

@media (max-width: 992px) {
  .about-title {
    font-size: 3.5rem;
    -webkit-text-stroke: 1.5px var(--primary-color);
  }

  .about-content {
    gap: 30px;
  }

  .about-image-container {
    max-width: 300px;
  }

  .about-description p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-title {
    font-size: 3rem;
    top: -15px;
  }

  .divider-line {
    max-width: 100px;
  }

  .about-image-container {
    max-width: 280px;
    margin-bottom: 20px;
  }

  .about-text-container {
    width: 100%;
    gap: 30px;
  }

  .about-header {
    margin-bottom: 40px;
  }

  .about-description {
    padding: 20px;
  }

  .resume-button {
    padding: 12px 20px;
  }

  .resume-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 2.5rem;
    -webkit-text-stroke: 1px var(--primary-color);
    top: -10px;
  }

  .divider-line {
    max-width: 60px;
  }

  .about-image-container {
    max-width: 220px;
  }

  .about-description p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .about-description {
    padding: 15px;
  }

  .resume-button {
    width: 100%;
    justify-content: center;
  }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
  .section {
    height: -webkit-fill-available;
  }
}

/* Animation for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for profile image */
@keyframes profileImageAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.about-image {
  animation: profileImageAppear 0.8s ease forwards 0.3s;
  opacity: 0;
}
