a {
    text-decoration: none;
}

body {
    margin: 0px;
}

/* สีธีมหลัก */
:root {
    --main-color: #FF6600; /* สีส้มหลัก */
    --main-hover: #e65c00;
    --background-color: #f5f5f5;
    --text-color: #333;
    --header-bg: #ffffff;
    --footer-bg: #333;
    --nav-bg: #ffffffb8;
    --dropdown-bg: #ffffff;
}

/* Navigation */
nav {
    background: var(--nav-bg);
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-right: 10px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.2rem;
}

nav ul li a:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

/* Navigation Icons */
.nav-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 4px;
    vertical-align: middle;
    transition: transform 0.3s;
}

#nav-line:hover .nav-icon,
#nav-whatsapp:hover .nav-icon {
    transform: scale(1.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-toggle:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

/* Ensure the globe icon fits within the dropdown-toggle button */
.dropdown-toggle img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform 0.3s; /* Match the hover effect of other nav icons */
}

/* Add hover effect to match other navigation icons */
.dropdown-toggle:hover img {
    transform: scale(1.1); /* Match the hover effect of .nav-icon */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    color: var(--text-color);
    padding: 10px 15px;
    font-weight: normal;
}

.dropdown-menu a:hover {
    background-color: var(--main-hover);
    color: #ffffff;
}

/* Floating LINE OA Button */
.floating-line {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #1fac2d;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.floating-line:hover {
    background: #25c935;
}

.floating-line img {
    width: 30px;
    height: 30px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.floating-whatsapp:hover {
    background: #20BA56;
}

.floating-whatsapp img {
    width: 30px;
    height: 30px;
}

/* Header Section */
header {
    display: flex;
    align-items: center;
    background: var(--header-bg);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header img.logo {
    width: 50px;
    margin-right: 15px;
    border-radius: 8px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--main-color);
}

header h2 {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Slider Section */
.slider {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.slider img {
    display: none;
    width: 100%;
    height: auto;
}

.slider img.active {
    display: block;
}

/* Grid Layout for Packages */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.grid-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.grid-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.grid-item h3 {
    color: var(--main-color);
    margin-bottom: 10px;
}

/* Highlight Sections */
.highlight {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.highlight h3 {
    color: var(--main-color);
    margin-bottom: 10px;
}

.highlight h4 {
    margin-bottom: 8px;
    color: #333;
}

.highlight p {
    line-height: 1.6em;
    margin-bottom: 20px;
}

.highlight img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background: var(--main-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .floating-whatsapp {
        top: 80px;
    }
}