/* ==============================
   landing.css — ธีมใหม่สำหรับ landing.php
   (ไฟล์นี้แยกเฉพาะ ไม่เกี่ยวกับ style-gold.css เดิม)
   ============================== */

:root {
    --gold: #e8720c;
    --gold-light: #ffa94d;
    --dark-overlay: rgba(10, 8, 2, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: 'Sarabun', sans-serif;
    color: #fff;
}

/* ===== Video Background ===== */
.video-bg-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    background: #000;
}

.video-bg-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* เต็มจอ ชิดขอบบน — ถ้าสัดส่วนไม่พอดี ส่วนล่าง (หรือด้านข้างเท่าๆ กัน) จะถูกตัดแทน */
    object-fit: cover;
    object-position: center top;
}

/* ===== ปุ่มเปิด/ปิดเสียงวิดีโอ ===== */
.sound-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: 'Sarabun', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(232, 114, 12, 0.6);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, color 0.2s ease;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
    background: var(--gold);
    color: #1a1405;
}

.sound-toggle .icon {
    font-size: 1rem;
    line-height: 1;
}

.video-bg-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dark-overlay);
    z-index: -1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ===== Layout ===== */
.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 24px 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent);
}

.header-content h1 {
    font-family: 'Kanit', sans-serif;
    font-size: clamp(0.88rem, 2vw, 1.52rem);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.header-content h1 img {
    width: 56px;
    height: auto;
    margin: 0 auto;
}

.subtitle {
    margin-top: -4px;
    font-size: clamp(0.68rem, 1.28vw, 0.84rem);
    color: var(--gold-light);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

/* ===== Hero ===== */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-inner {
    max-width: 780px;
}

.hero-inner h2 {
    font-family: 'Kanit', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0,0,0,0.75);
    line-height: 1.3;
}

.hero-inner p {
    margin-top: 16px;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #f1e6c4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* ===== Navigation ===== */
.navigation {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(232, 114, 12, 0.4);
    border-bottom: 1px solid rgba(232, 114, 12, 0.4);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px;
}

.nav-container a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 7px 16px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.nav-container a:hover {
    background: var(--gold);
    color: #1a1405;
    text-shadow: none;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
    color: #e6d9ad;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.footer h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.footer p {
    margin-top: 2px;
}

.footer .website {
    margin-top: 6px;
    color: var(--gold-light);
    font-weight: 600;
}
