/* About Page Styles */

/* Updated hero image styling with improved resolution */
.about-hero-image {
  background-image: url('images/LANE0841.jpg') !important;
  background-position: center center !important;
  filter: brightness(0.9) contrast(1.05) saturate(1.05);
  background-size: cover;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast; /* Safari/Chrome */
  image-rendering: crisp-edges; /* Firefox */
  -ms-interpolation-mode: nearest-neighbor; /* IE */
}

/* Adjust hero section dimensions and content */
.about-hero:before,
.about-hero:after,
.about-hero .hero-accent-glow {
  display: none !important;
}
.about-hero .hero-content {
  padding: 0;
  max-width: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Improve text visibility */
  margin-top: 3cm; /* Add 3 cm of space from the top */
  position: relative;
  top: 3cm; /* Alternative way to move down by 3 cm */
}
.about-hero {
  min-height: 70vh; /* Increase hero height */
}

/* About section layout */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 80px;
}

.about-image {
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-style: italic;
}

.about-bio h2 {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.about-bio h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

.about-bio p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Book section */
.book-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 50px;
  margin: 80px 0;
  border-radius: 10px;
}

.book-info h2 {
  color: #d4af37;
  margin-bottom: 30px;
}

.book-info p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.book-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform 0.5s ease;
}

.book-image:hover {
  transform: perspective(1000px) rotateY(-5deg) scale(1.03);
}

.book-image img {
  width: 100%;
  display: block;
}

/* CV section */
.cv-section {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 10px;
  margin-bottom: 80px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 8px 32px -10px rgba(0, 0, 0, 0.6);
}

.cv-section:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 15% 20%,
      rgba(212, 175, 55, 0.12),
      transparent 60%
    ),
    radial-gradient(circle at 85% 80%, rgba(255, 215, 0, 0.08), transparent 55%);
  pointer-events: none;
}

.cv-section h2 {
  font-size: 2.2rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.cv-section h2:after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5d76e);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
}

.cv-grid:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.6),
    rgba(212, 175, 55, 0.05)
  );
  transform: translateX(-50%);
  border-radius: 2px;
}

.cv-block {
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 25px 22px 28px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.cv-block:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0) 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cv-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.55);
}

.cv-block:hover:before {
  opacity: 1;
}

.cv-block h3 {
  font-size: 1.05rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.cv-block h3 i {
  color: #d4af37;
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

.cv-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-block ul li {
  padding: 6px 10px 6px 16px;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cv-block ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.cv-block p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.awards-list li,
.achievements-list li,
.experience-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  border-radius: 10px;
}

.awards-list li:hover,
.achievements-list li:hover,
.experience-list li:hover {
  background: rgba(212, 175, 55, 0.08);
}

.experience-list li strong {
  color: #f5d76e;
  font-weight: 600;
}

/* Contact info refinement */
.contact-info {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px 20px 28px;
  border-radius: 14px;
  margin-top: 55px;
  box-shadow: 0 6px 28px -10px rgba(0, 0, 0, 0.6);
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #d4af37;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.contact-info p {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-grid,
  .book-section,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .book-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .cv-grid:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 20px;
  }

  .book-section,
  .cv-section {
    padding: 30px 20px;
  }

  .cv-block {
    padding: 20px 18px 22px;
  }

  .cv-block h3 {
    font-size: 1rem;
  }

  .cv-section h2 {
    font-size: 1.8rem;
  }

  .about-hero .hero-content {
    padding: 120px 18px 80px;
  }
  .about-hero {
    min-height: 70vh;
  }
}

/* Subtle entrance animation */
@keyframes cvFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-block {
  animation: cvFadeUp 0.8s ease forwards;
  opacity: 0;
}

.cv-block:nth-child(1) {
  animation-delay: 0.05s;
}

.cv-block:nth-child(2) {
  animation-delay: 0.15s;
}

.cv-block:nth-child(3) {
  animation-delay: 0.25s;
}

.cv-column + .cv-column .cv-block:nth-child(1) {
  animation-delay: 0.35s;
}

.cv-column + .cv-column .cv-block:nth-child(2) {
  animation-delay: 0.45s;
}

.cv-column + .cv-column .cv-block:nth-child(3) {
  animation-delay: 0.55s;
}
