@import url('https://fonts.googleapis.com/css2?family=Andada+Pro:ital,wght@0,400..840;1,400..840&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size:1rem;
    margin:0;
}

.container {
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


p {
    font-size: 1rem;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Wendy One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 2rem;
}


.purple_color {
    color:#8b5cf6;
}

/*start of button Styling */

.button {
    display: inline-block;
    background-color: #FFCA4D; 
    color: black;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
  
.button:hover {
    background-color: #e0a110; 
}

/*end of button Styling*/

/*start of Icon Styling*/

.icon {
    background-color: #ffefc2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    contain: none;
}

.icon ion-icon {
    font-size: 40px;
    color: #000;
}

/*end of icon styling*/

/*start of card layout styling*/

.card{
    padding:0.5rem;
    display: flex;
    flex-direction: column;
    align-items:center ;
    text-align: center;
}
.card h2 {
    font-size: 1.5rem;
}

.card p {
    flex-grow: 1; 
}

.card img {
    width: 100%; 
    height: 200px; 
    border-radius: 5px; 
}

/*end of card layout styling*/


/*start of map class styling*/

.map {
    text-align: center;
}

.map iframe {
    width: 100%;
    max-height: 300px; 
    border-radius: 30px; 
    border:0;
}

.map .button {
    margin:1rem 0 0 0;
}

/*end of map class styling*/


/** mobile layout**/

#wrapper {

}


/*start of header*/

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%; 
    background: url(../images/background/background8.png) no-repeat center / cover;
    box-sizing: border-box;  
}

header .logo {
    width: 100px; 
    height: 50px; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

header .logo img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.hamburger {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    color: #333; 
    padding: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation {
    position: fixed;
    top: 10%;
    right: -100%; 
    width: 200px; 
    height: 100%; 
    background-color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 20px;
    flex-direction: column; 
    transition: right 0.3s ease; 
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); 
}

.navigation.active {
    right: 0; 
}

.navigation li {
    margin: 25px 0; 
}

.navigation a {
    text-decoration: none;
    color:#8b5cf6;
    font-size: 1rem; 
    transition: color 0.3s ease, padding-left 0.3s ease; 
}

.navigation a:hover {
    color: #ff2200;
}

.navigation .button {
    padding:0.5rem 2rem;
    border-radius: 5px; 
    text-align: center;
    transition: background-color 0.3s ease;
    color: black;

}

.navigation .button:hover {
    color: #ffffff;
}

/*end of header*/


/*start of footer*/

footer {
    text-align: center;
    padding: 1.5rem;
    background:url(../images/background/background8.png) no-repeat center / cover; 
}

footer .container {
    text-align: center;
    max-width: 1200px; 
    margin: 0 auto;
}

footer img {
    width: 100%;
    max-width: 350px;
    margin-bottom: 1.5rem; 
}

footer .detail {
    width: 100%;
    display: flex;
    flex-direction: column; 
    gap: 3rem; 
}

footer .detail_column1,
footer .detail_column2 {
    width: 100%; 
}

footer .detail_column2 {
    display: flex;
    flex-direction: column;
    gap: 3rem; 
}

footer h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0; 
    color: #333; 
}

footer a {
    text-decoration: none;
    color: grey;
}

footer a:hover {
    color: red;
}

footer li {
    list-style-type: none;
    margin: 1rem 0 0 0;
}

footer ul {
    padding: 0 2rem;
    margin: 0;
}

footer p {
    margin: 0;
    color: #666; 
}

/*end of footer*/


/*start of hero*/

.hero{
    display: flex;
    justify-content: center;
    text-align: center;
    height: 100vh; 
    gap:20px;
    padding-top: 1.5rem;
}

.hero .herobox{
    width:80%;
    display:flex;
    flex-direction: column;
    padding:2rem;
    align-items: center;
}

.hero .herobox .button{
    width:50%;
    font-size: 1rem;
    color: #000;
}

/*end of hero*/


/*start of card gallery styling*/

.card_gallery {
    padding:3rem 3rem 0 3rem;
}

/*end of card gallery styling*/


/*start of grid gallery styling*/

.grid_gallery {
    padding:1rem 3rem;
}

.grid_gallery img {
    width:80%;
    margin:1rem 0 0 0;
}

.grid_card {
    display:flex;
    flex-direction: column;
    align-items: center;
}

/*end of grid gallery styling*/

/**Homepage**/

#home_hero {
    background:url(../images/background/homepage_hero_mobile_bg.png) no-repeat center /cover;
}

/*start of homepage - intro */

#intro{
    background-color: #ffffff;
    padding:1.5rem;
}


#budget-tips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.budget-text {
    text-align: center;
}

.section-bg {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
}

/*end of homepage - intro */


/*start of homepage - ingredient*/

#ingredient{
    background: url(../images/background/background3.png) no-repeat center / cover;
    padding:0.5rem;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#ingredient .grid_card{
    list-style:none;
    margin:0;
    padding:0;
}


#ingredient .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px; 
    margin:2rem 0 0 0;
}

#ingredient .container {
    text-align: center;
}


#ingredient .card img {
    width: 50%;
    border-radius: 20px;
    height: 180px;
    object-fit: cover;
}

#ingredient .card h3 {
    margin:10px 0 0 0;
    font-size: 1.5rem;
}

#ingredient .card .card-text {
    width:70%;
}

/*end of homepage - ingredient*/


/*start of homepage - best*/

#best {
    background-color: #ffffff;
}

#best .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#best img {
    width:100%;
    max-height: 300px;
}

#best h3, #best h2 {
    margin:0;
}

#best .text {
    text-align: center;
}

/*end of homepage - best*/


/*start of homepage - food*/

#food{
    background: url(../images/background/background1.png) no-repeat center / cover;
    padding:3rem;
}

/*end of homepage - food*/


/*start of homepge - start-adventure*/

#start-adventure {
    background-color: #ffffff;
    padding:2rem;
    text-align: center;
}

#start-adventure .container {
    width:70%;
}

/*end of hoemapge - start-adventure*/


/**adventure page**/

#adventure_hero {
    background: url(../images/background/adventure_hero_mobile_bg.png) no-repeat center / cover;
}

/*start of adventure page - snapshot*/

#snapshot {
    background-color: #ffffff;
}
#snapshot h3 {
    font-size: 1.5rem;
    margin:1rem 0 0 0;
}

#snapshot .card {
    margin:1rem 0 0 0;
}

/*end of adventure page - snapshot*/


/*start of adventure page - daytrip*/

#daytrip {
    background: url(../images/background/background4.png) no-repeat center / cover;
}

#daytrip img {
    width:100%;
    max-height: 300px;
}

/*end of adventure page - daytrip*/

#adventure_card_gallery img {
    width:80%;
    height:80%;
}

/**cove page**/

#cove_hero {
    background:url(../images/background/cove_hero_mobile_bg.png) no-repeat center /cover;
}

/*start of cove page - cove_intro*/

#cove_intro {
    background-color:#ffffff;
    padding:1rem;
}

#cove_intro img{
    width:100%;
    height:100%;
    max-height: 300px;
}

#cove_intro .text h2 {
    margin:1rem 0;
}

#cove_intro .text {
    text-align: center;
}

/*end of cove page - cove_intro*/

/*start of cove page - cove_map*/

#cove_map {
    background: url(../images/background/background4.png) no-repeat center / cover;
}

/*start of cove page - cove_gallery/cove_sport_activity*/

#cove_gallery h2 {
    margin:0.5rem;
}

#cove_sport_activity .card {
    margin:1rem 0 0 0;
}

#cove_sport_activity h3 {
    margin:1rem 0 0 0;
}

#cove_sport_activity .card img {
    width:80%;
}

/*end of cove page - cove_gallery/cove_sport_activity*/


/**permascity page**/

#permascity_hero {
    background: url(../images/background/permascity_hero_mobile_bg.png) no-repeat bottom / cover;
}

#permascity_intro {
    text-align: center;
    background: url(../images/background/background8.png) no-repeat center / cover;
}

#permascity_card_gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:2rem;
    background: #ffffff;
}

#permascity_place {
    background: url(../images/background/background4.png) no-repeat center / cover;
}

#permascity_place img {
    height:300px;
}

#permascity_place p {
    margin:0 0 2rem 0;
}

#permascity_map .text_area {
    text-align: left;
}

#permascity_map .text_area li {
    list-style-type: "\2192";
    margin-bottom: 1rem;
}


/**midvalley page**/

#mid_valley_hero {
    background: url(../images/background/mid_valley_hero_mobile_bg.png) no-repeat center / cover;
}

#mid_valley_intro {
    text-align: center;
    background: url(../images/background/background8.png) no-repeat center / cover;
}

#mid_valley_things {
    background-color: #ffffff;
}

#mid_valley_things img {
    width:300px;
    height:300px;
}

#mid_valley_things .text li {
    list-style-type: "\2192";
    margin-bottom: 1rem;
}

#mid_valley_card_gallery {
    background: url(../images/background/background7.png) no-repeat center / cover;
}

#mid_valley_card_gallery .card h3 {
    font-size: 1.5rem;
}

#mid_valley_card_gallery .card img {
    width:100%;
    height:300px;
    max-width: 250px;
}

#mid_valley_card_gallery .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/** start desktop layout**/

@media screen and (min-width:768px) {

    .mobile {
        display: none;
    }

    h1,h2 {
        font-size: 40px;
    }
    
    /*Start of button styling*/
    .button {
        background-color: #FFCA4D;
        color: black;
        padding: 12px 20px;
        text-decoration: none;
        font-size: 16px;
        border-radius: 5px;
        text-align: center;
        max-width: 150px;
        transition: 0.3s;
    }

    .button:hover {
        background-color: #9f8200;
    }

    /*end of button styling*/


    /*Start of icon styling*/

    .icon {
        background-color: #ffefc2;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        margin-right: 0.5rem;
    }

    .icon ion-icon {
        font-size: 40px;
        color: #000;
    }

    /*end of icon styling*/


    /* start of column layout styling*/
    .column4-layout {
        display:grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .column2-layout {
        display:grid;
        grid-template-columns: 1fr 1fr;
        padding:0;
        margin:0;
    }

    .column2-layout-reverse {
        display:grid;
        grid-template-columns: 1fr 1fr;
        padding:0;
        margin:0;
        direction: rtl;
    }

    .column2-layout-reverse > * {
        direction: ltr; 
    }

    /* end of column layout styling*/


    /* start of card layout styling*/

    .grid_card{
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap:2rem; 
    }

    /* end of card layout styling*/


    /* start of grid gallery layout styling*/

    .grid_gallery {
        padding: 3rem;
    }
    
    .grid_gallery .grid-layout {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 三列等宽 */
        grid-template-rows: 300px 300px; /* 行高自适应图片内容，可改为固定值 */
        grid-template-areas: 
            "img1 img2 img3"
            "img1 img4 img4";
        gap: 10px; /* 网格间距 */
        padding: 3rem 0 0 0;
    }
    
    .grid_gallery .img1 {
        grid-area: img1;
        object-fit: cover; /* 填满并裁剪 */
        object-position: center; /* 显示中间部分 */
    }
    
    .grid_gallery .img2 {
        grid-area: img2;
        object-fit: cover;
        object-position:bottom;
    }
    
    .grid_gallery .img3 {
        grid-area: img3;
        object-fit: cover;
        object-position: bottom;
    }
    
    .grid_gallery .img4 {
        grid-area: img4;
        object-fit: cover;
        object-position: bottom;
    }
    
    .grid_gallery img {
        width: 100%;
        height: 100%;
        margin: 0; 
    }

    /* end of grid gallery layout styling*/


    /* start of map class layout styling*/

    .map  {
        height:100vh;
        display:flex;
        justify-content: center;
        align-items: center;
        padding:3rem;
    }

    .map .map_area{
        width:80%;
        padding:2rem;
        margin:0 0 0 2rem;
        
    }

    .map .container {
        background-color: #EDDDFF;
    }

    .map .text_container {
        display:grid;
        grid-template-columns: 1fr 1fr;
        grid-gap:10px;
        padding:2rem;
    }

    .map .text_container .detail {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }

    .map .text_container .icon {
        display:flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto 15px;
    }

    .map .text_area h2 {
        margin:0 0 1rem 0;
        font-size: 2rem;
    }

    /* end of map class layout styling*/


    /* start of header*/

    header {
        position: absolute; 
        top: 0; 
        left: 0; 
        width: 95%;
        background: transparent; 
    }

    header .logo {
        height:75px;
        padding-left: 3rem;
    }

    .hamburger {
        display: none; 
    }

    .navigation {
        display: flex;
        flex-direction: row;
        align-items: center;
        background-color: transparent; 
        position: static; 
        right: auto;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
    }

    .navigation li {
        margin: 0 20px 0 0; 
    }

    .navigation.active {
        right: auto; 
    }

    .navigation a {
        text-decoration: none;
        color: #000; 
    }
    


    /* end of header*/

    /*start of footer*/

    footer {
        height:45vh;
        display: flex;
        align-items: center;
        padding:0.5rem;
    }

    footer .container {
        padding:1rem 1rem 0 1rem;
    }

    footer .container .detail{
        display:grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        text-align: left;
        gap:1rem;
    }

    footer .detail .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer img {
        margin:0 1rem 0 0;
    }

    footer .detail li {
        margin-left:2.5rem;
    }

    footer .detail .detail_column2 {
        gap:1.5rem;
    }

    footer .detail .detail_column2 h2 {
        text-align: left;
    }

    footer .detail .copyright {
        display: flex;
        align-items: end;
    }



    /*end of footer*/


    /* start of hero*/

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
        padding-top:0;
    }

    .hero .herobox {
        width:40%;
        margin:0 0 5rem 5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
        text-align: left;
    }

    .hero .herobox h1 {
        text-align: left;
    }
    /* end of hero*/

    /**homepage**/

    #home_hero {
        background:url(../images/background/homepage_hero_desktop_bg.png) no-repeat bottom /cover;
    }
    
    /*start of homepage - intro*/

    #intro {
        padding:0.5rem;
    }
    
    #budget-tips {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; 
        justify-content: center;
    }
    
    .section-bg {
        max-width: 350px;
    }

    .budget-item {
        display: flex;
        align-items: center; 
        border-radius: 10px;
        text-align: left;   
    }

    .budget-text {
        text-align: left;
    }

    .budget-text h3 {
        font-size: 1.3rem;
        text-align: left;
    }
    /*end of homepage - intro*/


    /*start of homepage - ingredient*/

    #ingredient {
        height:100vh;
    }

    #ingredient .container {
        margin:0;
    }
    
    #ingredient .card {
        display:flex;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    #ingredient .card-text {
        margin:1rem 0 0 0;
    }

    #ingredient .card-text h3 {
        text-align: left;
        font-size: 1.2rem;
    }

    #ingredient .card img {
        height:250px;
    }

    /*end of homepage - ingredient*/


    /*start of homepage - best*/

    #best .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        align-items: center;
        margin:0;
        padding:0;
    }

       
    #best .image {
        width:100%;
        height:100%;
        object-fit: cover;
    }

    #best .text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: left;
        padding:2rem;
    }

    #best .text h2 {
        text-align: left;
    }

    #best .text h3 {
        margin:1.5rem 0 0 0;
        text-align: left;
    }

    #best img {
        max-height: 700px;
    }

    /*end of homepage - best*/


    /*start of homepage - food*/

    #food {
        height:100vh;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #food p {
        margin:2rem 0;
    }


    /*end of homepage - food*/


    /*start of homepage - start-adventure*/

    #start-adventure {
        height:50vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /*end of homepage - start-adventure*/


    /**adventure page**/

    #adventure_hero {
        background: url(../images/background/adventure_hero_desktop_bg.png) no-repeat center / cover;
    }

    /*start of adventure page - snapshot*/

    #snapshot {
        display:flex;
        justify-content: center;
        align-items: center;
        padding:2rem;
    }

    #snapshot .column4-layout {
        margin:3rem 0 0 0;
    }

    /*end of adventure page - snapshot*/


    /*start of adventure page - daytrip*/

    #daytrip {
        padding:2rem;
    }

    #daytrip .image {
        width:80%;
        height:80%;
        object-fit: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        margin:0 0 0 2rem;
    }
    
    #daytrip .column2-layout-reverse .image {
        margin:0 3rem 0 0;
    }

    #daytrip .text {
        display: flex;
        flex-direction: column;
        text-align: left;
        padding:0 2rem 0 6rem;
        margin:0 0 0 2rem;
    }

    #daytrip .column2-layout-reverse .text {
        margin:0 0 0 3rem;
    }

    #daytrip .text h2 {
        text-align: left;
    }

    #daytrip img {
        width: 100%;
        height: 500px;
    }

    /*end of adventure page - daytrip*/


    /**cove page**/

    #cove_hero {
        background:url(../images/background/cove_hero_desktop_bg.png) no-repeat center /cover;
    }

    /*start of cove page - cove_intro*/

    #cove_intro {
        padding:0;
    }

    #cove_intro .container {
        margin:0;
        padding:0;
    }

       
    #cove_intro .image {
        width:100%;
        height:100%;
        object-fit: cover;
    }

    #cove_intro .text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: left;
        padding:0 4rem;
    }

    #cove_intro .text h2 {
        text-align: left;
        margin:0;
    }

    #cove_intro img {
        max-height: none;
    }

    /*end of cove page - cove_intro*/

    /*start of cove page - cove_gallery*/

    #cove_gallery .img4{
        object-position: bottom;
    }
    /*end of cove page - cove_gallery*/

    /*start of cove page - cove_map*/ 

    #cove_map .container{
        background-color: transparent;
    }

    /*end of cove page - cove_map*/ 


    /**permascity page**/

    #permascity_hero {
        background: url(../images/background/permascity_hero_desktop_bg.png) no-repeat center / cover;
    }

    #permascity_intro .container {
        width:60%;
    }

    #permascity_map .map_area {
        padding:3rem;
    }

    #permascity_map .text_area {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        width:70%;
        margin:0 0 3rem 6rem;
    }


    /**midvalley page**/

    #mid_valley_hero {
        background: url(../images/background/mid_valley_hero_desktop_bg.jpeg) no-repeat center / cover;
    }

    #mid_valley_intro .container {
        width:60%;
    }

    #mid_valley_things .container {
        padding:1rem;
    }

    #mid_valley_things .image {
        width:80%;
        height:300px;
        object-fit: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        margin:0 0 0 2rem;
    }
    
    #mid_valley_things .column2-layout-reverse .image {
        margin:0 3rem 0 0;
    }

    #mid_valley_things .text {
        display: flex;
        flex-direction: column;
        text-align: left;
        padding:0 2rem 0 6rem;
        margin:0 0 0 2rem;
    }

    #mid_valley_things .column2-layout-reverse .text {
        margin:0 0 0 3rem;
    }

    #mid_valley_things .text h2 {
        text-align: left;
    }

    #mid_valley_card_gallery .card img {
        height: 400px;
        max-width: none;
    }

    #mid_valley_grid_gallery .img4 {
        object-position: center;
    }
}