/* ธีมและแถบเมนูของหน้าเว็บ (ค่าเดียวกับหน้าแรก index.html) ใช้กับหน้า /booking และ /privacy */
:root {
    --bg-color: #061124; --bg-rgb: 6, 17, 36;
    --text-main: #ffffff; --text-muted: #9ca3af; --text-accent: #60a5fa;
    --card-bg: rgba(255, 255, 255, 0.03); --card-border: rgba(255, 255, 255, 0.7);
    --contact-card-bg: rgba(255, 255, 255, 0.05); --contact-card-border: rgba(255, 255, 255, 0.1);
    --nav-border: rgba(255, 255, 255, 0.05); --watermark-outline: rgba(255, 255, 255, 0.08); --watermark-solid: rgba(255, 255, 255, 0.025);
    --glow-1: rgba(16, 55, 131, 0.4); --glow-2: rgba(46, 102, 255, 0.15); --shadow-color: rgba(0, 0, 0, 0.5);
    --footer-bg: #030914; --album-bg: rgba(255, 255, 255, 0.05);
    --field-bg: rgba(255, 255, 255, 0.06); --field-border: rgba(255, 255, 255, 0.16);
    --ok-bg: rgba(34, 197, 94, 0.12); --ok-text: #86efac; --bad-bg: rgba(239, 68, 68, 0.12); --bad-text: #fca5a5;
}
body.theme-light {
    --bg-color: #f8fafc; --bg-rgb: 248, 250, 252;
    --text-main: #0f172a; --text-muted: #64748b; --text-accent: #2563eb;
    --card-bg: rgba(255, 255, 255, 0.8); --card-border: rgba(0, 0, 0, 0.15);
    --contact-card-bg: #ffffff; --contact-card-border: rgba(0, 0, 0, 0.08);
    --nav-border: rgba(0, 0, 0, 0.05); --watermark-outline: rgba(0, 0, 0, 0.04); --watermark-solid: rgba(0, 0, 0, 0.02);
    --glow-1: rgba(59, 130, 246, 0.15); --glow-2: rgba(147, 197, 253, 0.2); --shadow-color: rgba(0, 0, 0, 0.05);
    --footer-bg: #f1f5f9; --album-bg: #ffffff;
    --field-bg: #ffffff; --field-border: rgba(0, 0, 0, 0.15);
    --ok-bg: #dcfce7; --ok-text: #166534; --bad-bg: #fee2e2; --bad-text: #991b1b;
}
body { font-family: 'Inter', 'Noto Sans Thai', sans-serif; background-color: var(--bg-color); color: var(--text-main); transition: background-color 0.4s ease, color 0.4s ease; }
h1, h2, h3, .font-serif { font-family: 'Playfair Display', 'Noto Sans Thai', serif; }
.nav-item { position: relative; transition: all 0.3s ease; padding-bottom: 6px; color: var(--text-muted); cursor: pointer; text-decoration: none; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: #3b82f6; box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6; transition: width 0.3s ease, opacity 0.3s ease; opacity: 0; border-radius: 2px; }
.nav-item:hover::after, .nav-item.active-nav::after { width: 100%; opacity: 1; }
.nav-item:hover, .nav-item.active-nav { color: var(--text-main) !important; text-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.bg-glow { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -2; }
.bg-glow::before { content: ''; position: absolute; top: -10%; left: -10%; width: 50%; height: 50%; background: radial-gradient(circle, var(--glow-1) 0%, rgba(6, 17, 36, 0) 70%); filter: blur(80px); }
.bg-glow::after { content: ''; position: absolute; bottom: -10%; right: -10%; width: 50%; height: 50%; background: radial-gradient(circle, var(--glow-2) 0%, rgba(6, 17, 36, 0) 70%); filter: blur(80px); }
.watermark-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; line-height: 0.85; pointer-events: none; z-index: -1; width: 100vw; text-align: center; }
.watermark-line { font-size: 14vw; font-weight: 900; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -0.02em; }
.watermark-line.outline { color: transparent; -webkit-text-stroke: 2px var(--watermark-outline); }
.watermark-line.solid { color: var(--watermark-solid); }
.card { background: var(--contact-card-bg); border: 1px solid var(--contact-card-border); box-shadow: 0 15px 30px -5px var(--shadow-color); }
/* รอบ E: มือถือ ปุ่ม/ลิงก์ในแถบเมนูแตะได้สูง ≥ 40 px */
@media (max-width: 640px) {
  .nav-item, #navSiteName, nav button, header button { display: inline-flex; align-items: center; min-height: 40px; }
  nav button, header button { min-width: 40px; justify-content: center; }
}
@media (max-width: 640px) { main p, main li { overflow-wrap: anywhere; } }
@media (max-width: 640px) { footer a, #navSiteName { display: inline-flex; align-items: center; min-height: 40px; } }
/* รอบ E2: จอสัมผัสแท็บเล็ต (> 640 px) ปุ่ม/ลิงก์บนแถบเมนูแตะได้สูง ≥ 40 px เหมือนมือถือ */
@media (pointer: coarse) and (max-width: 1100px) {
  .nav-item, #navSiteName, nav button, header button, footer a { display: inline-flex; align-items: center; min-height: 40px; }
  nav button, header button { min-width: 40px; justify-content: center; }
}
