@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+Thai:wght@300;400;500;600&family=Noto+Serif+JP:wght@400;500&display=swap');

:root {
  --wyn-bg: #F5F0E8;
  --wyn-bg-light: #FBF8F3;
  --wyn-surface: #EEE5D8;
  
  --wyn-black: #1D1D1B;
  --wyn-charcoal: #292825;
  --wyn-text: #2D2A26;
  --wyn-muted: #70685F;
  
  --wyn-gold: #B79A68;
  --wyn-gold-light: #D9C6A4;
  --wyn-border: #D8CEC0;
  
  --wyn-white: #FFFFFF;

  /* Social Colors */
  --social-dark: #222220;
  --social-light: #F8F4EE;
  --social-beige: #E9DFD1;
  --social-text-dark: #242321;
  --social-text-light: #F8F5EF;
  
  --social-dark-hover: #343330;
  --social-light-hover: #EEE7DD;
  --social-beige-hover: #DED1BF;
}

body {
  margin: 0;
  background-color: var(--wyn-bg);
  background-image: linear-gradient(to bottom, #F5F0E8 0%, #F1E9DD 60%, #E6D5BE 100%);
  
  color: var(--wyn-text);
  font-family: "Noto Sans Thai", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6, .serif-text {
  font-family: "Cormorant Garamond", serif;
}

.jp-text {
  font-family: "Noto Serif JP", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================== LOGO ================== */
.header-logo {
  height: 320px; /* <--- เปลี่ยนตัวเลขตรงนี้ให้ใหญ่ขึ้นสำหรับจอคอม เช่น 150px หรือ 180px */
  max-width: 70vw;
  object-fit: contain;
}

.footer-logo {
  height: 100px; /* <--- เปลี่ยนตัวเลขโลโก้ด้านล่างของจอคอม เช่น 90px หรือ 100px */
  max-width: 70vw;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

/* ================== TYPOGRAPHY ================== */
.hero-title {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 500;
  margin: 1rem 0;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-title {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.body-th {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--wyn-muted);
}

.small-text {
  font-size: 13px;
  line-height: 1.6;
}

.page-container {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.section {
  padding-block: 44px;
}

/* ================== HERO BANNER ================== */
.hero {
  min-height: 600px;
  padding: 56px 24px 120px 24px; 
  border-radius: 0;
  background-image: url('../assets/images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--wyn-bg);
  position: relative;
}

.hero-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lang-btn {
  background: var(--wyn-surface);
  border: 1px solid var(--wyn-border);
  padding: 8px 12px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================== SOCIAL LIST ================== */
.social-list {
  display: grid;
  gap: 14px;
  margin-top: -92px; 
  position: relative;
  z-index: 10;
}

.social-card {
  min-height: 96px;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--wyn-border);
  box-shadow: 0 5px 18px rgba(39, 34, 28, 0.08);
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(39, 34, 28, 0.13);
}

.social-card--dark { 
  background: var(--social-dark); 
  color: var(--social-text-light); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
}
.social-card--dark:hover { background: var(--social-dark-hover); }
.social-card--dark .body-th { color: rgba(255, 255, 255, 0.7); }
.social-card--dark .social-img { filter: invert(1); }
.social-card--dark .arrow-img { filter: invert(1); opacity: 0.9; }
.social-card--dark .social-handle { 
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  color: var(--wyn-white); 
}

.social-card--light { background: var(--social-light); color: var(--social-text-dark); }
.social-card--light:hover { background: var(--social-light-hover); }

.social-card--beige { background: var(--social-beige); color: var(--social-text-dark); }
.social-card--beige:hover { background: var(--social-beige-hover); }

.social-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.social-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-handle {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.arrow-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}
.social-card:hover .arrow-img { opacity: 1; }

/* ================== DISCOVER ================== */
.discover-card {
  background-image: url('../assets/images/low.png');
  background-size: cover;
  background-position: center;
  min-height: 320px;
  border-radius: 20px;
  display: grid; /* ใช้ Grid คุมให้ข้อความอยู่ขวาเสมอ */
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  overflow: hidden;
  color: var(--wyn-white);
  margin-top: 24px;
}

.discover-content {
  grid-column: 2; /* บังคับให้อยู่คอลัมน์ขวา */
  padding: 44px 36px;
}
.discover-content .body-th { 
  color: rgba(255, 255, 255, 0.8); 
  margin-bottom: 24px; 
}

.btn-primary {
  background: var(--wyn-surface);
  color: var(--wyn-black);
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* ================== BRAND VALUES ================== */
.brand-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  /* ตัวเดิมคือ padding-block: 44px; (ระยะห่างกรอบบน-ล่าง) */
  padding-block: 44px; 
  
  /* --- ดึงขึ้นหรือดันลง --- */
  margin-top: 20px; /* ค่าติดลบ = ดึงให้ขยับขึ้นไปชิดด้านบนมากขึ้น / ค่าบวก = ดันให้ตกลงมา */
}

.brand-value-img {
  width: 68px;
  height: 68px;
  margin-inline: auto;
  margin-bottom: 12px;
  display: block;
  object-fit: contain;
}

/* --- โค้ดส่วนนี้เพื่อขยายฟอนต์จอคอม --- */
.brand-values h4 {
  font-size: 22px; /* ขนาดของภาษาญี่ปุ่น (ปรับตัวเลขได้ตามต้องการ) */
}

.brand-values p {
  font-size: 16px; /* ขนาดของภาษาไทย (ปรับตัวเลขได้ตามต้องการ) */
}

/* ================== FOOTER ================== */
.footer {
  padding: 44px 24px;
  background: var(--wyn-black);
  color: var(--wyn-white);
}

.footer-grid {
  width: min(100%, 1080px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-right { text-align: right; }
.footer-center { text-align: center; }


/* =======================================================
   RESPONSIVE (MOBILE) - รักษาสัดส่วนเป๊ะ 100% 
   (เปลี่ยนหน่วยทุกอย่างเป็น vw เพื่อย่อส่วนตามหน้าจอ)
======================================================== */
@media (max-width: 720px) {
  .page-container { width: 92vw; }

  /* Hero: รักษาสัดส่วนความสูงและ Padding */
  .hero { 
    min-height: 52vw; 
    padding: 5vw 4vw 10vw 4vw; 
    background-position: center; /* วางเซ็นเตอร์เหมือน Desktop */
  }
  .hero-top-nav { margin-bottom: 5vw; }
  .header-logo { height: 20vw; }
  .lang-btn { width: 4vw; height: 4vw; font-size: 1.5vw; padding: 1.5vw; }

  /* ตัวหนังสือใน Hero จะเล็กลงตามสัดส่วนจอ */
  .hero-title { font-size: 7vw; margin: 1vw 0; }
  .jp-text { font-size: 1.8vw; margin-bottom: 2vw !important; }
  .hero > div > div > div[style*="width: 40px"] { width: 4vw !important; margin-bottom: 2vw !important; }
  .hero .body-th { font-size: 2.2vw; max-width: 40vw !important; margin-top: 1.5vw !important; }

  /* Social Links: คงรูปแบบ 1 บรรทัด มีป้ายชื่อ */
  .social-list { 
    margin-top: -15vw; 
    gap: 7px;
    position: relative;
    z-index: 10;
  }
  .social-card { 
    min-height: 8vw; 
    padding: 1.5vw 2.5vw; 
    border-radius: 1.5vw; 
    grid-template-columns: 5vw 1fr auto; 
    gap: 1.5vw; 
  }
  .social-img { width: 5vw; height: 5vw; }
  .social-title { font-size: 2.5vw; margin-bottom: 0.2vw; }
  .social-card .body-th { font-size: 1.5vw; }
  .social-handle { font-size: 1.5vw; padding: 0.5vw 1.2vw; border-radius: 1.5vw; display: block; }
  .arrow-img { width: 3vw; height: 3vw; }

  /* Discover Card: รักษารูปแบบ แบ่งครึ่ง 2 คอลัมน์ ซ้ายว่าง ขวาอักษร */
  .discover-card { 
    min-height: 28vw; 
    margin-top: 2vw; 
    border-radius: 2vw; 
    /* คง grid ไว้ */
    grid-template-columns: 1fr 1.25fr;
  }
  .discover-content { padding: 3vw 4vw; }
  .discover-content .section-title { font-size: 3.5vw; margin-bottom: 1vw; }
  .discover-content .body-th { font-size: 1.5vw; margin-bottom: 2vw; }
  .btn-primary { padding: 1vw 2vw; font-size: 1.5vw; border-radius: 2vw; }

  /* Brand Values: บังคับ 4 ช่องแนวนอนเสมอ */
  .brand-values { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5vw; 
    padding-block: 4vw;
    margin-top: 10vw; /* ลองปรับตัวเลขดูครับ ติดลบคือดึงขึ้น ค่าบวกตือดันลง */
  }
  .brand-value-img { width: 6vw; height: 6vw; margin-bottom: 1vw; }
  /* --- แก้อักษรโดยเพิ่มตัวเลข 2 บรรทัดนี้ให้เยอะขึ้นครับ --- */
  .brand-values h4 { font-size: 2.2vw; margin-bottom: 0.2vw; } /* ภาษาญี่ปุ่น (เดิม 1.8vw) */
  .brand-values p { font-size: 1.8vw; } /* ภาษาไทย (เดิม 1.3vw) */

  /* Footer: บังคับ 3 ช่องแนวนอนเสมอ */
  .footer { padding: 4vw; }
  .footer-grid { 
    grid-template-columns: 1fr auto 1fr; 
    gap: 2vw; 
  }
  .footer-logo { height: 10vw; max-width: none; }
  .footer-grid > div.body-th { font-size: 1.2vw; }
  .footer-center .small-text { font-size: 1vw; margin-top: 1vw; }
}