@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
/* General Styles */
body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.h2 {
    font-size: 1.8em;
    color: #116c5b;
    font-weight: bold;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active-slide {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active-dot,
.dot:hover {
    background-color: #717171;
}

/* Content Sections */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #00826a;
}

.section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #00826a;
}

.info-section, .privilege-section, .packages-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.description-text {
    text-align: center;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Privilege Section */
.privilege-section {
    background-color: #e5e5d3;
    padding: 20px;
}

.privilege-box {
    text-align: center;
}

.privilege-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.privilege-content img {
    width: 350px;
    height: auto;
    border-radius: 10px;
}

.privilege-details {
    text-align: left;
}

.privilege-text {
    margin: 5px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.privilege-amount {
    font-size: 1.8em;
    color: #116c5b;
    font-weight: bold;
}

/* Packages Section */
.package-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.package-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 300px;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-card img {
    width: 100%;
    height: auto;
    display: block;
}

.package-info {
    padding: 20px;
}

.package-title {
    font-size: 1.5em;
    margin: 0;
}

.package-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-top: 5px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    margin: 5px 0;
}

.current-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #116c5b;
    margin-top: 5px;
}
.buy-now-btn {
    background-color: #116c5b; /* สีเขียว */
    color: #fff;
    border: none;
    padding: 12px 80px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    width: 90%;
}

.buy-now-btn:hover {
    background-color: #3b7b5b; /* สีเขียวที่เข้มขึ้นเมื่อชี้เมาส์ */
    transform: translateY(-2px);
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 50px;
    width: auto;
}

.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-menu li {
    position: relative;
    padding: 10px 0;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #4b8c6a;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: flex;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* Mobile-Friendly Styles (Media Queries) */
@media (max-width: 768px) {
    /* Navigation Bar */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .main-menu {
        display: none; /* ซ่อนเมนูหลักเมื่อหน้าจอเล็ก */
    }

    /* Hero Slider */
    .hero-slider {
        border-radius: 0;
    }
    
    /* Content Sections */
    .info-section, .privilege-section, .packages-section {
        padding: 20px;
        border-radius: 0;
    }

    .section-title {
        font-size: 1.8em;
        color: #116c5b;
    }

    .section-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Privilege Section */
    .privilege-content {
        flex-direction: column;
        align-items: center;
    }

    .privilege-content img {
        width: 100%;
        max-width: 300px;
    }

    .privilege-details {
        text-align: center;
        margin-top: 15px;
    }
    
    /* Packages Section */
    .package-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .package-card {
        width: 100%;
        max-width: 350px;
    }

    .buy-now-btn {
        width: 100%;
    }
}
/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* ซ่อนไอคอนเมื่ออยู่บนหน้าจอใหญ่ */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Mobile-Friendly Styles (Media Queries) */
@media (max-width: 768px) {
    /* Navigation Bar */
    .navbar {
        flex-direction: row; /* เปลี่ยนกลับเป็นแนวนอน */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .main-menu {
        display: none; /* ซ่อนเมนูหลักเมื่อหน้าจอเล็ก */
        position: absolute;
        top: 60px; /* ให้เมนูอยู่ใต้ Navbar */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
    }
    
    .main-menu.active {
        display: block; /* แสดงเมนูเมื่อมี class active */
    }

    .main-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .hamburger-menu {
        display: flex; /* แสดงไอคอนแฮมเบอร์เกอร์ */
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding-left: 20px;
    }
    
    /* Hero Slider */
    /* ...โค้ดส่วนอื่นๆ ที่ปรับปรุงสำหรับมือถือ... */
}
/* Footer Section */
.main-footer {
    background-color: #e6e0dd; /* สีพื้นหลังตามภาพ */
    padding: 50px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* จัดเนื้อหาให้อยู่ทางขวา */
    align-items: flex-end; /* จัดเนื้อหาให้อยู่ด้านล่าง */
    flex-direction: column;
    text-align: right;
    line-height: 1.6;
}

.footer-info {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px;
}

.line-link {
    color: #4CAF50; /* สีเขียวสำหรับลิงก์ LINE */
    text-decoration: none;
    font-weight: bold;
}

/* Adjustments for Mobile View */
@media (max-width: 768px) {
    .main-footer {
        padding: 30px 15px;
    }
    
    .footer-content {
        text-align: center;
        align-items: center;
    }
}