/* Basic About section styles */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-image: url('../images/2025-10-26_15.42.33.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.about-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid rgb(255, 0, 0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #ff0000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-inner p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ปรับปุ่มในหน้า About ให้เหมือนปุ่มหลัก */
.about-links .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.15s;
    box-shadow: 0 6px 18px rgba(255,87,34,0.18);
}

.about-links .btn:hover {
    background-color: #000000;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .about-inner { padding: 1.25rem; }
    .about-avatar { width: 110px; height: 110px; }
    .about-inner h2 { font-size: 1.6rem; }
}
.about-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-content {
    text-align: center;
    width: 100%;
}
.about-content p {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}
.about-title {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.2rem;        /* ✅ ย่อขนาดลง */
    top: 1.5rem;              /* ✅ ลดระยะจากบน */
    padding: 0.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 1.8rem;
    padding: 0.4rem 1rem;
  }
}
