/* ==========================================================================
   📌 ABOUT.CSS - VERSION PREMIUM ISOLATED (แยกคลาสถาวร ไม่ทับหน้าแรก)
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.hero-content { 
    max-width: 900px; 
    animation: heroUp 1.2s ease; 
}
@keyframes heroUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: #d0d0d0; line-height: 1.9; font-size: 1.1rem; }

/* --- 2. ABOUT MAIN STRUCTURE --- */
.about-page-wrapper { 
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* คุมโครงสร้าง Grid แบ่งฝั่งซ้าย-ขวาอย่างเด็ดขาด */
.about-page-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 60px; 
    align-items: start; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- 3. PREMIUM IMAGE SLIDER --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 620px;   /* ล็อกความกว้างกึ่งกลางไม่ให้ยืดขยาย */
    height: 420px;      /* ล็อกความสูงพอดีสายตา */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #111;
    margin: 0 auto;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* บังคับรูปไม่ให้เบี้ยวหรือยืด */
    display: block;
    transition: opacity 0.6s ease-in-out;
}

/* ปุ่มเลื่อนสไลด์ */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    /* 🌟 ปรับเป็นสีใสแบบกระจกฝ้า (Glassmorphism) */
    background: rgba(255, 255, 255, 0.05); /* พื้นหลังขาวใสมากๆ แค่ 5% */
    backdrop-filter: blur(8px);            /* ทำให้รูปข้างหลังปุ่มเบลอ จะดูออกทันทีว่าเป็นปุ่ม */
    -webkit-backdrop-filter: blur(8px);    /* รองรับ Safari */
    
    color: rgba(255, 255, 255, 0.8);      /* สีไอคอนขาวนวลๆ ไม่ฉูดฉาด */
    border: 1px solid rgba(255, 255, 255, 0.25); /* เส้นขอบขาว 25% ช่วยเน้นรูปทรงปุ่ม */
    
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    backdrop-filter: none; /* ปิดเอฟเฟกต์เบลอตอน hover เพื่อให้สีทองชัดเจน */
}


.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* จุดนำทางสไลด์ (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 10px;
}

/* --- 4. ABOUT TEXT CONTENT --- */
.about-page-text h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.4; color: #fff; }
.about-page-text h2 span { color: var(--gold); }
.about-page-text p { color: #b0b0b0; line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }

.about-page-features { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin-top: 35px; 
}

.feature-box {
    background: #161616;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.4s ease;
}
.feature-box:hover {
    transform: translateY(-6px); 
    border-color: rgba(212, 175, 55, 0.4); 
}
.feature-box h4 { color: #f1c40f; margin-bottom: 10px; font-size: 1.1rem; }
.feature-box p { color: #cfcfcf; line-height: 1.8; font-size: 0.95rem; }
