/* ===== ABOUT PAGE - SAME STYLE AS INDEX ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #C9A456;
  --gold-light: #E0C88A;
  --gold-dark: #8B6B3D;
  --gold-glow: rgba(201, 164, 86, 0.4);
  --olive: #6B6E3D;
  --olive-dark: #4A4D2A;
  --black: #0b0b0b;
  --cream: #FFFBF5;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --font-display: 'Playfair Display', serif;
  --font-thai: 'Prompt', sans-serif;
  --gradient-gold: linear-gradient(135deg, #C9A456 0%, #8B6B3D 100%);
}

body {
  background: var(--cream);
  font-family: var(--font-thai);
}

/* ===== HERO SECTION - SAME AS INDEX ===== */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 164, 86, 0.08) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 164, 86, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Edition Tag - Same as Index */
.edition-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.edition-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.edition-badge {
  font-family: var(--font-thai);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

/* Hero Title - Use Prompt for Thai */
.hero-title {
  font-family: var(--font-thai);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* English title uses Playfair */
html[lang="en"] .hero-title {
  font-family: var(--font-display);
}

.title-highlight {
  display: block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-thai);
}

html[lang="en"] .title-highlight {
  font-family: var(--font-display);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== STORYTELLING BLOCKS ===== */
.about-storytelling {
  position: relative;
}

.story-block {
  padding: 80px 0;
  background: var(--cream);
}

.story-block.story-alt {
  background: var(--white);
}

.story-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: start;
}

.story-row.reverse {
  grid-template-columns: 1fr 200px;
}

.story-row.reverse .story-icon-box {
  order: 2;
}

.story-row.reverse .story-content {
  order: 1;
  text-align: right;
}

/* Icon Box */
.story-icon-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.icon-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 164, 86, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px var(--gold-glow);
}

.icon-circle i {
  font-size: 2.5rem;
  color: var(--white);
}

/* Story Content */
.story-content {
  padding: 20px 0;
}

.story-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 164, 86, 0.12);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Use Prompt for all headings (works for both TH and EN) */
.story-content h2 {
  font-family: var(--font-thai);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.4;
}

.story-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Vision Section */
.story-vision {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--black) 100%);
  text-align: center;
  padding: 100px 0;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 40px var(--gold-glow);
}

.vision-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.story-vision .story-tag {
  background: rgba(201, 164, 86, 0.15);
  color: var(--gold-light);
}

.story-vision h2 {
  color: var(--white);
}

.story-vision p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* ===== CTA SECTION ===== */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A456' fill-opacity='0.08'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.about-cta h3 {
  font-family: var(--font-thai);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.about-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--gradient-gold);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 30px var(--gold-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 164, 86, 0.5);
  color: var(--white);
}

/* ===== RESPONSIVE STYLE ===== */

/* Tablet & Smaller Laptops (Max 992px) */
@media (max-width: 992px) {
  .about-hero {
    min-height: auto;
    padding: 160px 0 60px;
    /* เพิ่ม padding-top เพื่อหลบ Navbar */
  }

  .hero-title {
    font-size: 3rem;
  }

  .edition-tag {
    margin-top: 3rem;
  }

  .story-block,
  .about-cta,
  .story-vision {
    padding: 60px 0;
  }

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    /* เปลี่ยนเป็น Single Column */
    gap: 40px;
    text-align: center;
  }

  /* Reset Order สำหรับ Mobile ให้ Icon อยู่บน Content เสมอ */
  .story-row.reverse .story-icon-box {
    order: 1;
    /* Icon ขึ้นก่อน */
  }

  .story-row.reverse .story-content {
    order: 2;
    /* Content ตามมา */
    text-align: center;
  }

  /* จัด Icon Box ให้อยู่ตรงกลางและดูดีขึ้น */
  .story-icon-box {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 0;
  }

  .icon-number {
    font-size: 3.5rem;
    margin-bottom: 0;
    opacity: 0.3;
    /* เพิ่มความชัดนิดนึง */
  }

  .vision-content {
    padding: 0 20px;
  }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }

  .edition-tag {
    gap: 10px;
    margin-top: 3rem;
    /* เพิ่มระยะห่างด้านบน */
  }

  .edition-line {
    width: 30px;
    /* เส้นสั้นลง */
  }

  .edition-badge {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  /* ปรับ Icon Box ในมือถือให้กระชับ */
  .story-icon-box {
    flex-direction: column;
    /* เรียงแนวตั้งให้สวยงาม */
    gap: 10px;
  }

  .icon-number {
    font-size: 2.5rem;
    position: absolute;
    /* ซ้อนหลัง Icon */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 0;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }

  .icon-circle i {
    font-size: 2rem;
  }

  .story-content h2 {
    font-size: 1.8rem;
  }

  .story-vision h2,
  .about-cta h3 {
    font-size: 1.8rem;
  }

  .vision-icon {
    width: 80px;
    height: 80px;
  }

  .vision-icon i {
    font-size: 2rem;
  }

  .btn-cta {
    width: 100%;
    /* ปุ่มเต็มความกว้างในมือถือ */
    justify-content: center;
  }
}

/* Small Mobile (Max 576px) */
@media (max-width: 576px) {
  .about-hero {
    padding: 180px 0 50px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .story-block {
    padding: 50px 0;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .about-hero {
    padding: 90px 0 50px;
  }

  .edition-tag {
    gap: 12px;
    margin-bottom: 24px;
  }

  .edition-line {
    width: 30px;
  }

  .edition-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .title-highlight {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .story-block {
    padding: 50px 0;
  }

  .story-tag {
    font-size: 0.7rem;
  }

  .story-content h2 {
    font-size: 1.4rem;
  }

  .story-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .icon-number {
    font-size: 2.5rem;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .icon-circle i {
    font-size: 1.8rem;
  }

  .story-vision {
    padding: 70px 0;
  }

  .vision-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
  }

  .vision-icon i {
    font-size: 2rem;
  }

  .about-cta {
    padding: 60px 0;
  }

  .about-cta h3 {
    font-size: 1.4rem;
  }

  .btn-cta {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}