/* ===== GLOBAL RESET & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600&family=Cinzel:wght@500;600&family=Playfair+Display:ital@1&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f1e5ac;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 100%);
    --dark-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.02);
    --border-gold: rgba(212, 175, 55, 0.2);
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Kanit', sans-serif; -webkit-font-smoothing: antialiased; }
body { background-color: #000; color: var(--white); overflow-x: hidden; line-height: 1.7; font-size: 16px; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 0 8%; height: 70px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

/* ===== LOGO ===== */
.logo { display: flex; align-items: center; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; object-fit: contain; }
.footer-logo-img { height: 50px; width: auto; object-fit: contain; margin-bottom: 20px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links li a {
    text-decoration: none; color: #fff; font-size: 0.95rem;
    transition: color 0.3s; letter-spacing: 0.5px; font-weight: 300;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--gold); }

/* Language Pill Switcher */
.lang-switcher-item {
    list-style: none;
    margin-left: 12px;
    padding-left: 16px;
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
}
.lang-pills {
    display: flex;
    gap: 6px;
    align-items: center;
}
.lang-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: transparent;
    color: #999;
    font-size: 0.85rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lang-pill img {
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}
.lang-pill:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: #fff;
    background: rgba(212, 175, 55, 0.08);
}
.lang-pill.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
    font-weight: 400;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 80px 8% 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 200;
    line-height: 1.8;
    max-width: 360px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s; text-decoration: none;
}
.footer-social a:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-3px);
}
.footer-social a svg {
    width: 18px; height: 18px;
    stroke: var(--gold); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.footer-col h4 {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 200;
    transition: 0.3s;
    letter-spacing: 0.3px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-contact-item svg {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
    stroke: var(--gold); fill: none; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}
.footer-contact-item p {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 200;
    line-height: 1.6;
}
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.15), transparent);
    margin-bottom: 30px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    color: #999;
    font-size: 0.82rem;
    letter-spacing: 2px;
}
.footer-bottom-links {
    display: flex;
    gap: 25px;
}
.footer-bottom-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ===== COMMON UTILITIES ===== */
.btn { padding: 14px 38px; border-radius: 4px; text-decoration: none; transition: 0.4s; cursor: pointer; font-size: 1rem; display: inline-block; }
.btn-gold { background: var(--gold); color: #000; border: none; font-weight: 500; }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); margin-left: 15px; background: transparent; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1; transform: translateY(0);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    
    nav { padding: 0 6%; }
    .mobile-toggle { display: block; }
    
    .logo-img { height: 32px; }
    .footer-logo-img { height: 40px; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
        transform: translateY(-150%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s;
        z-index: 999;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        pointer-events: none;
    }
    .nav-links.active { 
        transform: translateY(0); 
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li a { font-size: 1.1rem; }
    
    .lang-switcher-item { 
        margin-left: 0; padding-left: 0; border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        padding-top: 25px; margin-top: 5px;
        width: 80%; justify-content: center;
    }
    .lang-pills { justify-content: center; width: 100%; gap: 15px; }
    .lang-pill { padding: 8px 18px; font-size: 0.85rem; }
    .lang-pill img { width: 22px; height: 15px; margin-right: 2px; }
}
