/* Background overlay for About page */
.bg {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 100svh;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      to bottom,
      rgba(199, 193, 193, 0) 0%, 
      rgba(13, 13, 13, 0.2) 30%,
      rgba(54, 52, 52, 0.4) 70%, 
      rgba(13, 13, 13, 1) 95%
    ),
    url('imgs/bgOption3.gif') center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.bg > * {
  position: relative;
  z-index: 1;
}

/* About Section */
.about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 140px 3% 80px; /* reduce left/right padding from 5% -> 3% */
  flex-wrap: wrap;
}

.about-content {
  max-width: 850px; /* slightly wider to fit more words per line */
  flex: 1 1 500px;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem); /* slightly larger, scales with viewport */
  font-weight: 700;
  margin-bottom: 4px; /* less space below so it doesn’t stretch layout */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-title span {
  color: #555;
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #dbd6d6;
}

.about-text p,
.about-content p {
  margin-bottom: 1.2em;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

/* Image box */
.about-image-box {
  flex: 1 1 450px; /* increase base size */
  max-width: 650px; /* larger max-width for big screens */
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: filter 0.8s ease, transform 1.2s ease;
}

.about-image-box:hover .desaturate {
  filter: grayscale(40%) brightness(0.9);
  transform: scale(1.05);
}

/* Medium screens */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 100px 3% 100px; /* less padding on medium screens */
    gap: 40px;
    text-align: center;
  }

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

  .about-image-box {
    width: 85%;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .about-section {
    padding: 60px 3% 80px;
    gap: 30px;
  }

  .about-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-image-box {
    width: 90%;
    margin-top: 20px;
  }

  .about-text {
    font-size: 0.95rem;
  }
}