/* ====================================
💡 GLOBAL STYLES (ใช้ได้ทุกหน้า)
==================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
}

img {
  border-radius: 8px; /* ✨ ถ้าไม่ต้องการกรอบทุกภาพ สามารถลบตรงนี้ได้ */
}

.desc {
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  font-size: 15px;
}

.text-success {
  color: #20c997 !important;
}

.btn-success {
  background-color: #20c997;
  border: none;
}

.btn-success:hover {
  background-color: #17b89c;
}

/* ====================================
🎯 SECTION 1: Hero (Cecilia Project)
Background: IMG_4098.jpg
==================================== */
.section-hero {
  background: url('images/IMG_4098.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  margin-bottom: 2rem;
  border-radius: 0;
}

/* ✅ ลบ padding ถ้ามีการใช้ .no-padding */
.section-hero.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.section-hero h1,
.section-hero p {
  text-shadow: none; /* ❌ ลบเงาให้อ่านง่าย */
}

.section-hero .desc {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .section-hero .desc {
    max-width: 100%;
    margin: 0;
  }
}



/* 🎯 SECTION 2: Cecilia Profile */
.section-cecilia {
  background: url('images/IMG_4095.jpg') no-repeat center center;
  background-size: cover;
  color: #222;
  position: relative;
  overflow: hidden;
}

/* ลบ padding ทั้งหมดของ section */
.section-cecilia.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Top-right info (ทุกขนาดจอ) */
.info-box {
  font-size: 0.9rem;
  color: #000;
  line-height: 1.4;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  text-align: right;
}

/* ข้อความใน Desktop */
.section-cecilia .desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ✅ รูป Desktop: ชิดขอบล่าง */
.align-bottom-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 100%;
  object-fit: contain;
}

/* ✅ Mobile Layout */
.mobile-overlay-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.align-bottom-img-mobile {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* ✅ กล่องข้อความ Mobile Overlay */
.overlay-text-box {
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 12px;
  z-index: 2;
  text-align: left;
  max-height: 60%;
  overflow-y: auto;
}

/* ซ่อน scrollbar กล่องข้อความ */
.overlay-text-box::-webkit-scrollbar {
  width: 0px;
}


/* 🎯 SECTION 3: Secretary Analysis */
.section-analysis {
  background: url('images/IMG_4099.jpg') no-repeat center center;
  background-size: cover;
  color: #222;
  position: relative;
  overflow: hidden;
}

.section-analysis.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.analysis-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ✅ รูป Desktop: ชิดขอบล่าง */
.align-bottom-analysis-img {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  max-height: 100%;
  object-fit: contain;
}

/* ✅ Mobile Layout */
.analysis-mobile-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.align-bottom-analysis-mobile {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* ✅ กล่องข้อความ Mobile Overlay */
.analysis-overlay-box {
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 12px;
  z-index: 2;
  text-align: left;
  max-height: 60%;
  overflow-y: auto;
}

/* ซ่อน scrollbar */
.analysis-overlay-box::-webkit-scrollbar {
  width: 0px;
}

/* 🎯 SECTION 4: AI Chat Message */
.section-chat {
  background: url('images/IMG_4100.jpg') no-repeat center center;
  background-size: cover;
  color: #222;
  position: relative;
  overflow: hidden;
}

.section-chat.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.chat-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ✅ รูป Desktop: ชิดขอบล่าง ซ้าย */
.align-bottom-chat-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 100%;
  object-fit: contain;
}

/* ✅ Mobile Layout */
.chat-mobile-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.align-bottom-chat-mobile {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* ✅ กล่องข้อความ Mobile Overlay */
.chat-overlay-box {
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 12px;
  z-index: 2;
  text-align: left;
  max-height: 60%;
  overflow-y: auto;
}

.chat-overlay-box::-webkit-scrollbar {
  width: 0px;
}
/* 🎯 SECTION 5: LINE Sticker (Stacked Layout - No Box, No Border) */
.section-line {
  background: url('images/IMG_4116.jpg') no-repeat center center;
  background-size: cover;
  color: #222;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.section-line.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.line-stack-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  text-align: center;
  padding: 2rem 1rem 0 1rem;
}

/* ✅ กล่องข้อความ: ไม่มีกรอบ ไม่มีพื้นหลัง */
.line-text-box {
  padding: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  background: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ✅ ข้อความรายละเอียด */
.line-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ✅ กล่องภาพ: คงไว้ */
.line-image-box {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

/* ✅ รูปภาพ: ไม่มีกรอบ ไม่มีเงา */
.line-image-final {
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 🎯 Footer Styling */
.footer-nekowitch {
  background: url('images/IMG_4099.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ✅ ขนาดโลโก้ใหญ่ขึ้นอีกนิด */
.footer-logo {
  max-width: 300px; /* ปรับจาก 260px → 300px */
  width: 100%;
  height: auto;
}




.btn-music {
  background-color: #f3f4f6;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  font-size: 15px;
  min-width: 180px;
  height: 44px;
  display: flex; /* ✅ ไม่ต้องใช้ d-flex ใน HTML */
  align-items: center;
  justify-content: flex-start; /* ✅ ขยับซ้ายแทน center */
  gap: 0.6rem;
  text-align: left;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  padding-left: 1rem; /* ✅ icon ชิดซ้ายแบบมืออาชีพ */
}

.btn-music img {
  height: 18px;
  width: 18px;
  flex-shrink: 0; /* ✅ ป้องกัน icon ยืด/หด */
}

.btn-music:hover {
  background-color: #e5e7eb;
  color: #111827;
  border-color: #cbd5e1;
}
