body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    /* 禁止横向滚动 */
}

section {
    margin: 0;
    padding: 0;

}

/* Hero Section Styles */

.hero {
    font-family: 'Sweet Sans Pro', sans-serif;
    height: 100vh;
    /* Full screen height */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(2, 12, 22, 0.3)),
        url('../images/pahang/heropahang.jpg');
    background-size: cover;
    /* covers the entire section */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #E6DFD5;

    padding-top: 0;
    /* For overlay effects */
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.hero p {
    font-size: 28px;
    font-weight: 100;
    justify-content: center;
    margin: 0;
    letter-spacing: 5px;

}

.hero h1 {
    margin: 0;
    font-size: 120px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    letter-spacing: 15px;

}

/* --------------------------------------------------Button-------------------------------------------------------- */
.button-container {
    position: absolute;
    top: 60%;
    right: 100px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.circle-btn {
    position: relative;
    z-index: 5;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    /* Removes default border */
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.circle-btn img {
    width: 40px;
    height: auto;

}

/* Hover effect for button */
.circle-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}



/*---------------------------- cameron-------------------*/

.cameron {
    padding: 50px;
    background-image: url(../images/pahang/cameron-bg.jpg);
    background-size: cover;

}

.main-image img {
    border-radius: 10px;

}

.small-images img {
    border-radius: 10px;
}

.cameron h2 {
    text-align: center;
    font-size: 36px;
    color: #AAA297;
    margin-bottom: 60px;
}

/* 主内容容器，左右分布 */
.content1 {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    margin-top: 40px;
    max-width: 1280px;
    margin: 0 auto;

}

.image1 {
    flex: 1;
    display: flex;

}

.main-image {
    margin-right: -60px;
}

.main-image img {
    width: 80%;
    height: auto;
    margin-right: 0px;
}

.small-images {
    display: flex;
    gap: 20px;
    flex-direction: column;
    margin-left: 0px;
}

.small-images img {
    width: 80%;
    height: auto;
    margin-left: 0px;
}

/*--------------------------- text------------------------------------------------------ */
.intro {
    flex: 1;
    padding: 30px;
    max-width: 650px;

}

.intro h3 {
    font-size: 35px;
    margin-bottom: 15px;
    color: #AAA297;
}

.intro h4 {
    font-size: 20px;

    margin-bottom: 15px;
    color: #AAA297
}

.intro ul li {
    font-size: 15px;
    margin-left: 30px;
    margin-bottom: 15px;
    color: #816E60;
    font-weight: medium;
}

.intro strong {
    color: #83A445;
}

.intro ul li::marker {
    font-size: 20px;
    color: #816E60;
}


/*------------------- Genting highlands-------------------*/
.genting {

    background-color: #102121;
    background-size: cover;
    padding: 100px 80px px 80px;
    height: 90vh;
}

.main-image-g img {
    border-radius: 10px;
}

.small-images-g img {
    border-radius: 10px;
}

.image2 {
    flex: 1;
    display: flex;
    padding-left: 10px;
    justify-content: center;

}

.image-genting {
    flex: 1;
    display: flex;
    padding-left: 10px;
    width: 70%;
    justify-content: center;
}

.content2 {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    margin-top: 40px;
    flex-direction: row-reverse;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 60px;


}

.intro2 {
    flex: 1;
    padding: 30px;
    max-width: 650px;
    padding-left: 40px;
}

.intro2 h3 {
    font-size: 35px;
    margin-bottom: 15px;
    color: #AAA297;
}

.intro2 h4 {
    font-size: 20px;

    margin-bottom: 15px;
    color: #AAA297
}

.intro2 ul li {
    font-size: 15px;
    margin-left: 30px;
    margin-bottom: 15px;
    color: #816E60;
    font-weight: medium;
}

.intro2 strong {
    color: #83A445;
}

.intro2 ul li::marker {
    font-size: 20px;
    color: #816E60;
}





/*------perak copy----*/
/* -------------------------------------------------------Tioman------------------------------------------------------------- */
.tioman {
    font-family: 'Sweet Sans Pro', sans-serif;
    height: 110vh;
    background-image: url('../images/pahang/tiomanhero.jpg');
    background-size: cover;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 100px;
}

.penanghills-container {
    display: flex;
    align-items: center;
    justify-content: right;
    margin: 100px 0px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}



.textcontainerright1 {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    height: fit-content;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    justify-content: center;
    margin: 30px;
}

.content3 {
    color: #F6EBDC;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 30px;



}

.content3 h3 {
    font-size: 28px;
    color: #F6EBDC;
    justify-content: left;

}


.content3 h4 {
    font-size: 18px;
    color: #AAA297;

}

.content3 ul {
    font-size: 10px;

}

.content3 strong {
    color: #83A445;
}



/*------------------- colmartropicale-------------------*/

.colmartropicale {

    background-color: #000000;

    padding: 100px 80px;
}

.content3 {

    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    margin-top: 40px;
}


/* -------------------------------------------------------Misty Mountain------------------------------------------------------------- */
.mistymountain {

    font-family: 'Sweet Sans Pro', sans-serif;

    background-image: url('../images/pahang/mistymoutainhero.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.escapepng-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 50px;
    max-width: 1280px;

}

.escapepngimage {
    flex: 1;
    margin-right: 80px;
    background-image: url('../images/pahang/mistymoutain.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: auto;
    height: 400px;
}

.textcontainerescape {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    height: auto;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content5 {
    color: #F6EBDC;
    padding: 30px 20px;
}

.content5 h3 {
    font-size: 30px;
    color: #F6EBDC;
    padding: 0px;
}


.content5 h4 {
    font-size: 16px;
    color: #AAA297;
    padding: 0px;
}

.content5 strong {
    color: #83A445;
}



/*------------------- Button style -------------------*/
.gallery {
    display: flex;
    justify-content: center;
    text-align: center;

    text-decoration: none;
}

.buttongallery {
    font-size: 20px;
    width: auto;
    padding: 15px 30px;
    margin: 40px 0;
    position: relative;


    background-color: #AAA297;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Add shadow */
}

.search {
    margin-left: 10px;
    height: 20px;
}

.buttongallery:hover {
    background-color: #F6EBDC;
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}


/*----------------------- What to eat----------------------------- */
.restaurant {
    background-color: #0F2307;
    font-family: 'Sweet Sans Pro', sans-serif;
    height: 110vh;
}

.content6 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 80px 50px;
    max-width: 1440px;
    margin: 0 auto;
}

.titleof-res {

    color: #F6EBDC;
    justify-content: left;

}

.titleof-res h2 {
    font-size: 40px;
    color: #F6EBDC;

}


.titleof-res p {
    color: #AAA297;
    font-size: 20px;
}

.restaurantpic {
    width: 90%;
    display: flex;
    justify-content: center;
    flex: 1;
    margin-top: 50px;
    gap: px;
}

.image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.image-button img {
    width: 90%;
    height: auto;
    border-radius: 10px;
}

.image-button:hover {
    transform: scale(1.1);
}

.text-overlay {
    font-family: 'Sweet Sans Pro', sans-serif;
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8),
}

.image-button:hover .text-overlay {
    opacity: 1;
}


/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-width: 750px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
}

.popup-content1 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(2, 12, 22, 0.2)), url(../images/malacca/restaurant1bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: left;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.popup-content2 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(2, 12, 22, 0.2)), url(../images/pahang/satay\ bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: left;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.popup-content3 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(2, 12, 22, 0.2)), url(../images/malacca/satay\ bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: left;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.popup-content4 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(2, 12, 22, 0.2)), url(../images/pahang/cendol_bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: left;
    justify-content: space-between;
    flex-direction: row;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


.foodimage img {
    display: block;
    width: 88%;
    margin-left: 30px;
    margin-right: 10px;
    margin-top: 35px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.text {
    display: flex;
    margin-left: 30px;
    color: #ffffff;
    flex-direction: column;
    justify-content: center;
}


.text h3 {
    font-size: 28px;
    color: #ffffff;
}

.text h5 {
    font-size: 18px;
    color: #ffffff;
    margin: 0;

}

.text p {

    font-size: 16px;
    color: #a49e95;
    font-weight: lighter;
    margin-top: 6px;
}

.close-popup {
    width: 0px;
    height: 0px;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.close-popup img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;

}

.close-popup img:hover {
    transform: scale(1.1);
    /* 放大 10% */

}




@media screen and (max-width: 1100px) {

    .hero {
        background-position: center;
        background-size: cover;
        padding: 20px;
        /* Add padding for breathing space */
    }

    .hero h1 {
        font-size: 50px;
        letter-spacing: 10px;

        /* Smaller hero heading */
    }

    .hero p {
        font-size: 15px;
        padding-top: 40px;
        display: flex;
        justify-content: center;

    }

    .button-container {
        position: absolute;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
        margin: 0 auto;
    }


    .circle-btn {
        margin: 0 30px;
        margin-bottom: 30px;
        padding-left: 30px;
    }

    .circle-btn img {
        width: 40px;
        height: auto;
        margin-right: 24px;
    }

    .button-container .circle-btn:first-child {
        align-self: flex-start;

    }

    .button-container .circle-btn:last-child {
        align-self: flex-end;
    }

    .button-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        margin-left: 30px;
        margin-right: 30px;

    }


    /* ---------------cameron-------------*/


    .cameron h2 {
        text-align: center;
        font-size: 26px;

    }

    .image2 {
        padding-left: 25px;
        margin-right: 0;
    }



    .content1 {
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image1 {
        flex-direction: column;
    }

    .small-images {
        display: none;
    }

    .intro {

        justify-content: center;
        align-items: center;
    }

    .intro h3 {

        font-size: 30px;
        padding-bottom: 20px;
        padding-top: 20px;
    }


    /* ---------------genting-------------*/

    .genting {
        height: fit-content;
    }

    .genting h2 {
        text-align: center;
        font-size: 26px;

    }

    .content2 {
        flex-direction: column;
        gap: 15px;
    }



    .content2 h3 {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .content2 ul li {
        padding: 9px;
    }





    /*--------------- Tioman------------------- */



    /*---*/

    .tioman {
        height: auto;
        display: flex;
        justify-content: center;

    }

    .penanghills-container {
        width: 100%;
        display: flex;
        height: fit-content;


    }


    .textcontainerright1 {
        width: 500px;
        height: fit-content;
        justify-content: center;

        border-radius: 15px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);

    }



    .content3 h3 {
        font-size: 28px;
        color: #F6EBDC;
        margin: 0;
    }

    .content3 h4 {
        font-size: 18px;
        color: #AAA297;
        padding: 13px;
    }




    /*----------- Christ Church--------------- */
    .genting {
        height: fit-content;
    }

    .genting h2 {
        text-align: center;
        font-size: 26px;


    }


    .intro2 h3 {
        font-size: 30px;
        padding: 0;
    }

    .intro2 {
        padding-left: 50px;
        max-width: 550px;
    }

    .content3 {
        flex-direction: column;
        display: flex;
    }

    .content4 {
        flex-direction: column;
        display: flex;
    }

    /*----------- colmart tropicale--------------- */

    .colmartropicale {
        height: 80%;

    }

    /*--------------- Escape penang------------------- */
    .mistymountain {
        height: auto;
    }

    .escapepng-container {
        margin: 50px;
        flex-direction: column;
        width: 80%;
    }

    .escapepngimage {
        flex: 1;
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
        min-height: 300px;
        background-size: contain;
    }

    .textcontainerescape {
        width: 90%;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
        justify-content: center;
        align-items: center;
    }

    .gallery {
        margin-top: 0px;
        text-decoration: none;
        margin-bottom: 50px;
    }

    .buttongallery {
        position: relative;
        margin: 0px 0;
        bottom: 0px;
    }

    /*------------------- Button style -------------------*/


    .search {
        margin-left: 15px;

        height: 20px;
    }

    .buttongallery:hover {

        background-color: #F6EBDC;
        /* Change to orange on hover */
        transform: scale(1.1);
        /* Slightly enlarge on hover */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
        /* Enhance shadow on hover */
        text-decoration: none;
    }
}


@media screen and (max-width: 900px) {

    /*----------------------- What to eat----------------------------- */
    .restaurant {
        background-color: #0F2307;
        height: fit-content;

    }

    .content6 {
        display: flex;


    }

    .titleof-res {
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 20px;


    }

    .titleof-res h2 {
        color: #F6EBDC;
        font-size: 55px;
    }

    .titleof-res p {
        color: #AAA297;
        font-size: 26px;
    }

    .restaurantpic {
        flex-direction: column;
        height: auto;
        width: 60%;
        justify-content: center;
        gap: 30px
    }
}

/*----------------------- popup----------------------------- */
@media (max-width: 750px) {
    .foodimage img {
        display: none
    }
}




@media screen and (max-width: 650px) {


    /*--------------- Tioman------------------- */
    .tioman {
        height: 50%;
        display: flex;
    }

    .penanghills-container {
        width: 100%;
        height: fit-content;
        display: flex;
        margin-left: 60px;


    }


    .textcontainerright1 {
        width: 100%;
        justify-content: center;

        border-radius: 15px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);

    }

    .content3 {
        padding: 0;
    }

    .content3 h3 {
        font-size: 28px;
        color: #F6EBDC;
        margin: 0;
    }

    .content3 ul {
        font-size: 16px;


    }

    .content3 h4 {
        font-size: 18px;
        color: #AAA297;
        padding: 13px;

    }


    div {
        margin: 0;
        padding: 0;
    }

    /*--------------- cameron------------------- */
    .intro {
        padding: 0;
    }

    .intro ul {
        padding: 0;
    }

    .intro h4 {
        font-size: 17px;
    }

    .intro h3 {
        font-size: 28px;
    }

    /*--------------- genting ------------------- */
    .intro2 ul {
        padding: 0;
    }

    .intro2 h4 {
        font-size: 17px;
    }

    .biggenting img {
        width: 50%;
        margin-left: 50px;
    }

    .buttongallery {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 20px;
        bottom: 0px;
    }

    .colmartropicale {
        padding: 70px 50px;
    }

    /* -------------------What To Eat -----------------*/
    .titleof-res h2 {
        font-size: 40px;

    }

    .titleof-res p {
        font-size: 20px;
    }

    .image2 {
        flex: 1;
        display: flex;



    }

}

@media screen and (max-width: 700px) {


    /*--------------- Tioman------------------- */
    .tioman {
        height: 50%;
        display: flex;
        padding-right: 22px;
        justify-content: center;

    }

    .penanghills-container {
        width: 100%;
        height: fit-content;
        display: flex;

    }


    .textcontainerright1 {
        width: 100%;
        justify-content: left;
        margin-left: 20px;
        border-radius: 15px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);

    }

    .content3 {
        text-align: left;
        padding: 0px;
    }

    .content3 h3 {
        font-size: 28px;
        color: #F6EBDC;
        margin: 0;
    }

    .content3 h4 {
        font-size: 18px;
        color: #AAA297;
        padding: 13px;

    }

    .content3 ul {
        padding: 0;
    }

}

@media screen and (max-width: 400px) {


    .content3 h3 {
        font-size: 20px;
        color: #F6EBDC;
        margin: 0;
    }

    .content3 h4 {
        font-size: 15px;
        color: #AAA297;
        padding: 13px;

    }

    .content3 ul {
        padding: 0;
    }




    /*--------------- cameron------------------- */
    .intro {
        padding: 0;

    }

    .intro ul {
        padding: 0;
    }

    .intro h4 {
        font-size: 16px;
        padding: 0;
    }

    .intro h3 {
        font-size: 28px;
    }

    .image2 {
        padding-left: 10px;
        margin-right: 0;
    }

    /*--------------- genting ------------------- */
    .intro2 ul {
        padding: 0;
    }

    .intro2 h4 {
        font-size: 17px;
    }

    .biggenting img {
        width: 50%;
    }
}