:root {
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-main: #2d3748;
    --text-muted: #64748b;
    --bg-gradient: linear-gradient(135deg, #e8ebf0 0%, #c8d0d8 100%);
}

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

body {
    font-family: 'Noto Sans Thai', sans-serif;
    color: var(--text-main);
    background: var(--bg-gradient) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding-bottom: 40px;
    overflow-x: hidden;
    display: flex; justify-content: center;
}

body::before, body::after {
    content: ''; position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(90px); z-index: -1; opacity: 0.5;
}
body::before { background: #ffffff; top: -150px; left: -150px; opacity: 0.4; }
body::after { background: #dce4f0; bottom: -150px; right: -150px; opacity: 0.6; }

.main-container {
    width: 100%; max-width: 1400px;
    margin: 0 auto; padding: 10px 60px 40px;
    display: flex; flex-direction: column; min-height: 85vh;
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; margin-top: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 10px 20px; border-radius: 100px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    position: relative; z-index: 100;
}
.logo img { height: 36px; width: auto; }

.nav-menu-group { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted);
    padding: 8px 18px; border-radius: 40px; font-size: 0.9rem; font-weight: 500; transition: 0.3s;
}
.nav-links a:hover { color: var(--text-main); background: rgba(0,0,0,0.03); }
.nav-links a.active { background-color: rgba(255,255,255,0.8); color: var(--text-main); font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.btn-glass {
    background: #2d3748; color: #fff;
    padding: 6px 6px 6px 20px; border-radius: 30px;
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap; display: inline-flex; align-items: center; gap: 12px;
    transition: transform 0.2s ease;
}
.btn-glass:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }
.admin-badge {
    background: #241f1f; color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem; font-weight: 400; text-transform: lowercase;
    padding: 2px 10px; border-radius: 20px; line-height: 1;
}
.hamburger { display: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; padding: 5px; }

.info-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
    padding: 50px;
    display: grid; grid-template-columns: 0.8fr 1.2fr;
    gap: 60px; align-items: start;
}

.info-column h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; color: #1e293b; }
.info-column p.subtitle { font-size: 1rem; color: #64748b; margin-bottom: 35px; line-height: 1.6; }

.staff-section-label {
    font-size: 0.8rem; font-weight: 700; color: #94a3b8;
    text-transform: uppercase; margin-bottom: 15px; letter-spacing: 0.5px;
}
.staff-cards-wrapper { display: flex; flex-direction: column; gap: 15px; }
.staff-card-row {
    display: flex; align-items: center; gap: 15px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 12px 16px; border-radius: 18px; transition: 0.3s;
}
.staff-card-row:hover { background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transform: translateX(5px); }
.staff-img {
    width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.staff-info h4 { font-size: 0.95rem; font-weight: 700; color: #334155; margin-bottom: 2px; }
.staff-info p { font-size: 0.8rem; color: #64748b; margin: 0; }

.right-column-wrapper { display: flex; flex-direction: column; gap: 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-glass-card {
    display: flex; align-items: center; gap: 15px;
    padding: 20px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}
.contact-glass-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 100%);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ipad-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.icon-map { background: #e0f2fe; color: #0284c7; }
.icon-phone { background: #dcfce7; color: #16a34a; }
.icon-mail { background: #ffedd5; color: #ea580c; }
.icon-fb { background: #e0e7ff; color: #4f46e5; }

.contact-text h5 {
    font-size: 0.75rem; font-weight: 600; color: #94a3b8;
    margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px;
}
.contact-text p, .contact-text span {
    font-size: 0.95rem; font-weight: 300; color: #1e293b;
    display: block; line-height: 1.3;
}

.map-embedded {
    width: 100%; height: 250px; border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
}
.map-embedded iframe { width: 100%; height: 100%; border: 0; display: block; }

.main-footer { margin-top: auto; text-align: center; color: #94a3b8; font-size: 0.85rem; font-weight: 400; padding-top: 20px; }

@media (max-width: 1366px) {
    .main-container { padding: 10px 30px 40px; }
    .hamburger { display: block; }
    .nav-menu-group {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; align-items: center; gap: 15px; padding: 30px;
        border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border: 1px solid rgba(255,255,255,0.8);
        opacity: 0; transform: translateY(-20px); pointer-events: none;
        transition: all 0.3s ease; z-index: 99;
    }
    .nav-menu-group.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-links { flex-direction: column; width: 100%; text-align: center; gap: 10px; }
    .nav-links a { display: block; width: 100%; }
    .btn-glass { width: 100%; justify-content: center; }
}

@media (max-width: 992px) {
    .info-card { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .main-container { padding: 10px 20px 30px; }
    .info-card { padding: 30px 20px; }
    .info-column h1 { font-size: 1.8rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-embedded { height: 200px; }
}
