/* ===== Local Fonts ===== */
@font-face{
    font-family: 'Marcellus';
    src: url('Fonts/Marcellus-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Prompt (หลายน้ำหนัก) */
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Prompt';
    src: url('Fonts/Prompt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== Helper classes ===== */
.font-marcellus { font-family: 'Marcellus', serif; }
.font-prompt { font-family: 'Prompt', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== Header Styles (same as home) ===== */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    padding: 12px 60px;
    gap: 20px;
}

.header-top a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 10px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 60px 15px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-left {
    display: flex;
    gap: 35px;
}

.nav-left a {
    color: white;
    text-decoration: none;
    font-size: 17px; 
    font-weight: 300 !important;
}

 

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.nav-right {
    display: flex;
    gap: 35px;
}

.nav-right a {
    color: white;
    text-decoration: none;
    font-size: 17px; 
    font-weight: 300 !important; 
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #2a2a2a;
    backdrop-filter: blur(10px);
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* ===== Hero About Section with Diamond Shape ===== */
.hero-about { 
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
    background-size: cover;      /* ขยาย/ครอปให้พอดีพื้นที่ */
    background-position: center; /* โฟกัสกลางภาพ */
    background-repeat: no-repeat;/* ไม่ให้ repeat */
  }
  

 

.diamond-content {   
    top: 35%; 
    width: 100%;
    padding: 0; 
}

.diamond-content h1 {
    font-size: 58px;
    font-weight: 400;
    color: #FFF;
    margin-bottom: 35px;
    line-height: 1.1;  
    text-align: center;
}

.diamond-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #FFF; 
    margin: 0;
    width: 100%; 
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* ===== Info Sections (What is TVA & What we do) ===== */
.info-section {
    background: #FFF;
    padding: 50px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.info-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.info-right h3 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.info-right p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px; 
}

/* ===== CEO Section ===== */
.ceo-section {
    background: url('images/bamboo-bg.jpg') center/cover no-repeat;
    background-color: #4a5d3a;
    padding: 100px 0;
    position: relative;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.ceo-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ceo-image {
    width: 400px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ceo-content {
    max-width: 1000px;
    color: white;
}

.ceo-content h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.4;
    color: white;
}

.ceo-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.ceo-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
}

/* ===== Core Section (แก่นแห่งการ) ===== */
.core-section {
    background: #ffffff;
    padding: 80px 0;
}

.core-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.core-left p, .core-right p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.company-images {
    margin-top: 50px;
}

.image-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.image-row img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== Footer Styles (same as home) ===== */
footer{
    background:#fff !important;
    padding:70px 20px 28px;
    border-top:1px solid #eaeaea;
    position:relative;
}

.footer-grid{
    display:grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap:60px;
    align-items:start;
}

.footer-col:first-child{
    position:relative;
    padding-top:24px;
}
.footer-col:first-child::before{ 
    position:absolute;
    top:0; left:0;
    font-size:14px;
    color:#111;
}

.footer-col p{
    margin:0;
    font-size:13px;
    line-height:1.8;
    color:#111;
}

.footer-col h4{
    margin:0 0 8px 0;
    font-size:11px;
    font-weight:600;
    letter-spacing:.8px;
    color:#777;
    text-transform:uppercase;
}

.footer-col:nth-child(2) h4{
    margin:0 0 6px 0;
    font-size:12px;
    font-weight:500;
    color:#111;
    letter-spacing:0;
    text-transform:none;
    position:relative;
    padding-left:14px;
}
.footer-col:nth-child(2) h4::before{ 
    position:absolute; left:0; top:0;
    color:#111;
}

.footer-col a{
    display:inline-block;
    font-size:20px;
    font-weight:800;
    color:#111;
    text-decoration:underline;
    text-underline-offset:2px;
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:26px;
    padding-top:22px;
    border-top:1px solid #eee;
}
.footer-bottom p{
    margin:0;
    font-size:14px;
    color:#111;
}
.footer-nav{
    display:flex;
    gap:34px;
}
.footer-nav a{
    font-size:14px;
    color:#111;
    text-decoration:none;
}
.footer-nav a:hover{ text-decoration:underline; }

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .info-grid {
        grid-template-columns: 250px 1fr;
        gap: 60px;
    }
    
    .ceo-grid {
        grid-template-columns: 400px 1fr;
        gap: 60px;
    }
    
    .diamond-shape {
        width: 90%;
        height: 50%;
    }
    
    .diamond-content { 
        padding: 30px;
    }
    
    .diamond-content h1 {
        font-size: 52px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-col a { 
        font-size: 18px; 
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .info-left h2 {
        margin-bottom: 30px;
    }
    
    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ceo-image {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .image-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .diamond-content h1 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
        background: #2a2a2a;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-top {
        padding: 10px 20px;
        background: #2a2a2a;
    }

    .header-top a {
        color: rgba(255, 255, 255, 0.9);
    }

    .header-main {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: none;
        background: #2a2a2a;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .logo-container {
        position: static;
        transform: none;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu span {
        background: white;
    }

    .mobile-nav {
        background: #2a2a2a;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav a {
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-about {
        height: 80vh;
    }
    
    .diamond-shape {
        width: 95%;
        height: 60%;
    }
    
    .diamond-content { 
        padding: 20px;
    }
    
    .diamond-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .diamond-content p {
        font-size: 16px;
    }
    
    .info-section {
        padding: 60px 0;
    }
    
    .info-left h2 {
        font-size: 28px;
    }
    
    .info-right h3 {
        font-size: 20px;
    }
    
    .ceo-section {
        padding: 60px 0;
    }
    
    .ceo-content h2 {
        font-size: 22px;
    }
    
    .ceo-text-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .core-section {
        padding: 60px 0;
    }
    
    .core-section h2 {
        font-size: 28px;
    }
    
    .core-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .image-row img {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-nav { 
        gap: 18px; 
        flex-wrap: wrap; 
    }
    
    .hero-about {
        height: 70vh;
    }
    
    .diamond-shape {
        width: 90%;
        height: 70%;
    }
    
    .diamond-content h1 {
        font-size: 46px;
    }
    
    .diamond-content p {
        font-size: 16px;
    }
    
    .image-row {
        grid-template-columns: 1fr;
    }
    
    .image-row img {
        height: 150px;
    }
    
    .info-right p, .core-text p, .ceo-content p {
        font-size: 13px;
    }
}

  /* Remove all hr-like separators in footer */
  footer,
  .footer-bottom {
    border-top: none !important;
  }
  
  /* keep spacing without the line */
  .footer-bottom {
    padding-top: 0;
    margin-top: 26px;
  }
  
  /* just in case any <hr> is used */
  footer hr {
    display: none !important;
    height: 0 !important;
    border: 0 !important;
  }
  
  /* no decorative pseudo lines from old styles */
  footer::before,
  footer::after {
    display: none !important;
    content: none !important;
    background: none !important;
  }

  /* ===========================
   Show / Hide for PC & Mobile
   =========================== */

/* --- ค่าเริ่มต้นสำหรับ PC --- */
.mobile_off {
    display: block !important;   /* แสดงบน PC */
  }
  .mobile_on {
    display: none !important;    /* ซ่อนบน PC */
  }
  
  /* --- เมื่อหน้าจอเล็ก (Mobile / Tablet) --- */
  @media screen and (max-width: 768px) {
    .mobile_off {
      display: none !important;  /* ซ่อนบนมือถือ */
    }
    .mobile_on {
      display: block !important; /* แสดงบนมือถือ */
    }
  }
  
  a:focus, a:active {
    outline: none !important;
    }