/* =====================================================
   FANCY ART DESIGN — Redesigned For High-End Luxury Look
   Inspired by Minimal Premium & Timeless Design (Light Tone)
   ===================================================== */

/* ดึงฟอนต์ไฮเอนด์แฟชั่นระดับสากลและภาษาไทยแบบบางพิเศษ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;1,400&family=Inter:wght@200;300;400;500&family=Prompt:wght@200;300;400;500&display=swap');

/* =====================================================
   ROOT VARIABLES (เปลี่ยนโทนมืดเป็นสว่างเคลียร์สไตล์ LV)
   ===================================================== */
:root {
  --bg-primary:    #FFFFFF;       /* พื้นหลังขาวบริสุทธิ์ */
  --bg-secondary:  #F9F8F6;       /* ขาวออฟไวท์เนียนตา */
  --bg-card:       #FFFFFF;       /* การ์ดเน้นความลอยตัวบนพื้นหลัง */
  --gold:          #191919;       /* ตัดเส้นและฟอนต์หลักด้วยสีดำเท่ๆ ถอดมู้ดเน้นรูปภาพ */
  --gold-light:    #333333;       
  --gold-mid:      #767676;       
  --gold-dark:     #E5E5E5;       /* เส้นกริดสีเทาบางเฉียบเบาๆ */
  --cream:         #191919;       /* สีตัวอักษรหลักเปลี่ยนจากครีมเป็นดำลักชัวรี */
  --text-primary:  #191919;       
  --text-secondary:#4A4A4A;       
  --text-muted:    #767676;       
  --rose:          #8C725E;       /* สีน้ำตาลหม่นสไตล์เอิร์ธโทนชั้นสูง */
  --border:        rgba(0, 0, 0, 0.07);  /* เส้นแบ่งบางๆ ชัดเจน สะอาดตา */
  --border-hover:  rgba(0, 0, 0, 0.4);
  --shadow-soft:   0 4px 20px rgba(0,0,0,0.03);
  --shadow-hard:   0 15px 40px rgba(0,0,0,0.05);
  
  /* ตัวเลือกฟอนต์: Heading ใช้ Serif แฟชั่นสากล ผสม Prompt บางพิเศษ */
  --font-heading:  'Playfair Display', 'Prompt', Georgia, serif;
  --font-body:     'Inter', 'Prompt', sans-serif;
  --transition:    0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease;
  --nav-height:    90px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* สกอร์บาร์โทนมินิมอล */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #CCCCCC; }
::-webkit-scrollbar-thumb:hover { background: #999999; }

/* จัดการให้แท็ก img ขยายเต็มพื้นที่กล่องรูปภาพในหน้าแรก */
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* =====================================================
   TYPOGRAPHY (สไตล์อักษรพิมพ์ใหญ่เว้นระยะห่างเรียบหรู)
   ===================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 1.2rem;
  color: var(--cream);
  font-weight: 400;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.85;
  font-weight: 300;
}

.gold-line {
  width: 40px;
  height: 1px;
  background: #191919;
  margin: 1.5rem 0;
}

/* =====================================================
   BUTTONS (ทรงเหลี่ยมคมสี่เหลี่ยมผืนผ้า สไตล์ลักชัวรีแบรนด์)
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: 0; /* ลบความมนออกเพื่อให้ดูแข็งแกร่งและแพง */
}

.btn-primary {
  background: #191919;
  color: #FFFFFF;
  border: 1px solid #191919;
}
.btn-primary:hover {
  background: #FFFFFF;
  color: #191919;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-outline {
  background: transparent;
  color: #191919;
  border: 1px solid #191919;
}
.btn-outline:hover {
  background: #191919;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* =====================================================
   NAVIGATION (พื้นขาว ตัวหนังสือบาง ลอยนิ่งสง่างาม)
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  height: 75px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

.nav-container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-fancy {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: #191919;
  letter-spacing: 0.25em;
}
.logo-art {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: #191919;
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover,
.nav-link.active { color: #191919; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.btn-nav-contact {
  padding: 0.6rem 1.5rem;
  border: 1px solid #191919;
  color: #191919 !important;
  transition: var(--transition);
}
.btn-nav-contact::after { display: none; }
.btn-nav-contact:hover {
  background: #191919;
  color: #FFFFFF !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: #191919;
  transition: var(--transition);
}

/* =====================================================
   HERO (ฉากหลักปล่อยรูปสว่างคลีนตา ไล่เงาบางๆ พออ่านออก)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F4F4F4;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.95;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.4) 60%,
    rgba(255,255,255,0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem;
  padding-top: var(--nav-height);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}
.hero-eyebrow span {
  display: block;
  width: 30px; height: 1px;
  background: var(--rose);
}
.hero-eyebrow p {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--rose);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: #191919;
  line-height: 1.25;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}
.hero-title em {
  font-style: italic;
  color: #6E5A4B;
  font-family: var(--font-heading);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.9;
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeIn 1.2s ease 1.2s forwards;
}
.hero-scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #191919, transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* =====================================================
   SECTION CONTAINERS
   ===================================================== */
.section { padding: 8rem 0; }

.section-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-header { margin-bottom: 5rem; }

#portfolioGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  width: calc(100% + 5rem);
  margin: 0 -2.5rem;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* =====================================================
   HOME — FEATURED WORKS (ตารางแคมเปญรูปภาพ ขอบชนขอบบางคม)
   ===================================================== */
.featured { background: var(--bg-primary); padding: 0; }

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  height: 85vh;
  min-height: 600px;
  background-color: #FFFFFF;
}

.featured-card {
  position: relative;
  overflow: hidden;
}
.featured-card:first-child { grid-row: span 2; }

.card-image {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.featured-card:hover .card-image { transform: scale(1.04); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 60%, transparent 100%);
  transition: var(--transition);
}

.card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
  transition: var(--transition);
}

.card-category {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 300;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.card-link svg { transition: transform var(--transition-fast); }
.card-link:hover svg { transform: translateX(4px); }

/* =====================================================
   HOME — EXPERTISE (คลีนออกแนวมินิมอลลิสต์แมกกาซีน ขาว สะอาด)
   ===================================================== */
.expertise { background: var(--bg-secondary); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  background: transparent;
  border: none;
}

.expertise-item {
  background: transparent;
  padding: 1rem 0;
  transition: var(--transition);
  border-top: 1px solid var(--border);
}
.expertise-item::before { display: none; }
.expertise-item:hover { background: transparent; transform: translateY(-3px); }

.expertise-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 1.2rem;
  margin-top: 1rem;
}

.expertise-icon {
  display: none; /* เอาขีดสั้นสีทองเดิมออกเพื่อความมินิมอล */
}

.expertise-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: #191919;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.expertise-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* =====================================================
   HOME — PHILOSOPHY
   ===================================================== */
.philosophy {
  background: var(--bg-primary);
  position: relative;
}
.philosophy::before {
  content: '\201C';
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 18rem;
  color: rgba(0, 0, 0, 0.02);
  line-height: 1;
}

.philosophy-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: #191919;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.philosophy-attr {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================================================
   HOME — CTA STRIP
   ===================================================== */
.cta-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
}

.cta-strip-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 600px;
  line-height: 1.4;
  font-weight: 300;
}
.cta-strip h2 em {
  font-style: italic;
  color: var(--rose);
}

/* =====================================================
   FOOTER (เรียบหรู กว้างขวาง สะอาดตา)
   ===================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding-top: 6rem;
}

.footer-grid {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: normal;
  color: #191919;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #191919;
  margin-bottom: 1.8rem;
}

.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--rose); }

.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.footer-social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  color: #191919;
  border-color: #191919;
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}
.footer-bottom p {
  font-size: 0.75rem;
}

/* =====================================================
   SCROLL REVEAL (เอฟเฟกต์ Fade ทะยานนุ่มๆ)
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* =====================================================
   KEYFRAMES
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* =====================================================
   PLACEHOLDER GRADIENTS (สีโทนสว่างนวล ครีม เทาอ่อน)
   ===================================================== */
.ph-hero        { background: linear-gradient(135deg, #F5F4F0 0%, #EAE7E1 100%); }
.ph-about       { background: linear-gradient(135deg, #EAE7E1 0%, #DFDBD3 100%); }
.ph-living-1    { background: linear-gradient(135deg, #F0EDE6 0%, #E1DBD2 100%); }
.ph-bedroom-1   { background: linear-gradient(135deg, #ECE9E2 0%, #DDD8CD 100%); }
.ph-hospitality-1{ background: linear-gradient(135deg, #F2EFE9 0%, #E5DFD4 100%); }

/* =====================================================
   RESPONSIVE — TABLET & MOBILE (คงไว้ตามเดิม ไม่ให้เพี้ยน)
   ===================================================== */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    height: 70vh;
  }
  .featured-card:first-child { grid-row: span 2; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; color: #191919; }
  .btn-nav-contact { padding: 0.8rem 2.5rem; }
  .nav-toggle { display: flex; }
  
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 6rem 0; }
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .featured-card { aspect-ratio: 4/3; }
  .featured-card:first-child { grid-row: span 1; aspect-ratio: 4/3; }
  .expertise-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* =====================================================
   FIX: COMPLETE MOBILE NAVIGATION & RESPONSIVE (LIGHT THEME)
   ===================================================== */

/* 1. บังคับเนวิเกชันบาร์หลักให้เป็นสีสว่างหรูหรา และกำหนดความสูงที่ชัดเจน */
.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  position: fixed !important;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height, 70px);
  z-index: 1000 !important;
}

/* 2. ดึงรูปภาพ JPG ในหน้าแรกให้ขยายเต็มกล่อง ไม่หดตัว */
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3. จัดการปุ่มสามขีด (Hamburger Menu) ให้แสดงผลชัดเจนบนจอเล็ก และเป็นสีดำ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important; /* บังคับให้ปุ่มสามขีดแสดงผลเมื่อจอแคบ */
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010 !important; /* อยู่เหนือแผงเมนู */
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: #191919 !important; /* ขีดสีดำคมชัดสไตล์ลักชูรี */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* เอฟเฟกต์หมุนเป็นกากบาท (X) เมื่อกดเปิดเมนู */
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* 4. แก้ไขแผงเมนูกางออก (Dropdown Overlay) ให้เป็นสีขาวคลีนเต็มจอ */
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 0 !important; /* เริ่มตั้งแต่ขอบบนสุดเพื่อความเนียนตา */
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important; /* เต็มจอแนวตั้ง */
    background: #FFFFFF !important; /* พื้นหลังขาวล้วนแบบแบรนด์เนม */
    flex-direction: column !important;
    justify-content: center !important; /* จัดเมนูให้อยู่กึ่งกลางหน้าจอ */
    align-items: center !important;
    gap: 2.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateX(100%) !important; /* ซ่อนไว้ฝั่งขวาซ้อนหลังจอ */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 1005 !important;
  }

  /* เมื่อเมนูถูกเปิด (มีคลาส .open) ให้สไลด์เข้ามาจากขวา */
  .nav-links.open {
    transform: translateX(0) !important;
  }

  /* ปรับแต่งตัวอักษรลิงก์เมนูบนมือถือ */
  .nav-link {
    font-size: 1.2rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #191919 !important; /* ตัวหนังสือสีดำคมชัด */
    background: transparent !important;
    border: none !important;
    padding: 0.5rem 0 !important;
    display: block;
    width: auto;
    text-align: center;
  }

  /* ปรับแต่งปุ่มนัดหมายในหน้าเมนูลนมือถือ */
  .btn-nav-contact {
    border: 1px solid #191919 !important;
    background: #191919 !important;
    color: #FFFFFF !important; /* ปุ่มดำตัวหนังสือขาวเด่นชัด */
    padding: 0.8rem 2.5rem !important;
    margin-top: 1rem !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.1em !important;
  }

  /* 5. จัดระเบียบหน้าอื่นๆ (About & Contact) ให้เรียงตัวสวยงามไม่ซ้อนทับกันบนมือถือ */
  .about-grid-mobile, 
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .stats-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
}

/* =====================================================
   FIX: HERO SCROLL OVERLAP ON MOBILE
   ===================================================== */

@media (max-width: 768px) {
  /* ซ่อนสัญลักษณ์เลื่อนสำรวจบนมือถือเพื่อป้องกันการทับกับเนื้อหาหลัก */
  .hero-scroll {
    display: none !important;
  }
  
  /* เพิ่มพื้นที่เผื่อด้านล่างของเนื้อหาหลักเล็กน้อยเพื่อให้ปุ่มกดง่าย ไม่ติดขอบจอ */
  .hero-content {
    padding-bottom: 2rem;
  }
}