/* ─── Typography ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ─── Shared Utility ─────────────────────────────────────── */

.hidden { display: none !important; }

/* ─── Language Visibility ────────────────────────────────── */

html[lang="th"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="th"] { display: none !important; }

/* ─── Navbar ─────────────────────────────────────────────── */

.navbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid #f5f5f4;
    flex-shrink: 0;
    z-index: 50;
    position: sticky;
    top: 0;
}

.navbar-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .navbar-inner { padding: 0 24px; }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-logo-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms;
}

.navbar-logo:hover .navbar-logo-icon {
    background: rgba(16, 185, 129, 0.15);
}

.navbar-logo-leaf {
    color: #059669;
    font-size: 14px;
}

.navbar-logo-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.025em;
    color: #292524;
}

.navbar-logo-accent { color: #059669; }

.navbar-spacer { flex: 1; }

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f5f5f4;
    border-radius: 9999px;
    padding: 2px;
    border: 1px solid rgba(231, 229, 228, 0.7);
    flex-shrink: 0;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 200ms, color 200ms;
    background: none;
}

.lang-btn-active {
    background: #10b981;
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-btn-inactive {
    color: #78716c;
    background: none;
}

.lang-btn-inactive:hover { background: #e7e5e4; }

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
    background: #0f172a;
    color: white;
    padding: 40px 0;
    margin-top: 48px;
}

.footer-inner {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-inner { flex-direction: row; }
}

.footer-text { font-size: 14px; margin: 0; }
