/* ✅ ตั้งค่าพื้นฐาน */
body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
    color: #1d1d1f;
}
/* ✅ Header/Navbar */
.header {
    background-color: #ffffff;
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    width: 40px;
    height: auto;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.nav-links li {
    display: inline;
}
.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
}
.footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
}
.contact-info {
    font-size: 16px;
    margin: 10px 0;
    font-style: inherit;
    font-family: 'kanit',sans-serif;
}

.contact-icons {
    margin: 10px 0;
}

.contact-icons a{
    color: #1d1d1f;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
}

.contact-icons a:hover {
    color: #D3AD79;
}
.hamburger-menu {
    display: none; /* ซ่อนไว้ก่อน */
    font-size: 30px;
    cursor: pointer;
}
/* แสดง Hamburger บนจอเล็ก */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* ซ่อนไว้ก่อน */
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #fff;
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* แสดงเมนูเมื่อ active */
    }

    .hamburger-menu {
        display: block;
        color: #333333
    }
}
/* ซ่อนเมนูโดยเริ่มต้น */
.nav-menu {
    display: none;
    position: absolute;
    top: 40px; /* ปรับตามที่ต้องการ */
    right: 0;
    background-color: #ffffff;
    width: 100%;
    height: 160px;
    box-shadow: 2px 4px 6px rgba(139, 139, 139, 0.1);
    text-align: center;
}
/* เมื่อเมนูมี class "active" จะถูกแสดง */
.nav-menu.active {
    display: block;
}
/* ตั้งค่าฟอนต์ให้ตรงกับฟอนต์ที่ต้องการ */
body {
    font-family: 'Kanit', sans-serif;
}
/* เมนู Navbar */
.navbar {
    font-family: 'Kanit', sans-serif; /* ใช้ฟอนต์เดียวกัน */
    color: #1f1f1f;
}
/* ลิงก์ใน navbar */
.nav-links a {
    color: #333333;  /* เปลี่ยนสีฟอนต์ของลิงก์ */
    text-decoration: none; /* เอาขีดเส้นใต้ของลิงก์ออก */
}

/* ลิงก์ใน navbar เมื่อ hover */
.nav-links a:hover {
    color: #D3AD79; /* เปลี่ยนสีเมื่อเมาส์ชี้ไปที่ลิงก์ */
}

/* ลิงก์เมื่อไม่ได้ถูก hover (ตัวเลือกที่ไม่มีขีดเส้นใต้และไม่มีสีฟ้า) */
.nav-links a:focus,
.nav-links a:active {
    text-decoration: none; /* เอาขีดเส้นใต้เมื่อลิงก์ได้รับการโฟกัสหรือถูกคลิก */
    color: #333333;  /* สีฟอนต์ไม่เปลี่ยนเมื่อคลิกหรือโฟกัส */
}

/* เอาขีดเส้นใต้ของลิงก์ทั้งหมดในเพจ */
a {
    text-decoration: none;
    color: inherit;  /* ให้สีฟอนต์ใช้สีเดียวกับตัวอักษรในแม่แบบ */
    font-size: 20px;
}
@media screen and (max-width: 480px) {
    .logo img {
        width: 35px;
    }
    .footer {
        text-align: center;
        padding: 5px;
    }

    .contact-icons a {
        font-size: 25px;
        margin: 20px;
    }
}