@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap');
@font-face { font-display: swap; }
/* @import url('animate.css-main/animate.min.css'); */

body{
    /* background-color: #F9F7F2; */
    background-color: #f6f3ec;
    font-family: "Noto Sans TC", sans-serif;
    color:#2F4B3B;
}
h1,h2,h3{
    font-family: "Noto Serif TC", serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: #2F4B3B;
}

header{
    width: calc(100% - 60px);
    background-position: center;
    background-size: cover;
    /* color:#2F4B3B ; */
    height: 100px;
    padding:80px 30px 80px 30px;
    /* position: relative; */
    /* border:1px solid red */
}
    
header .headerTop{
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;
    width: calc(100% - 10px);
    max-width: 420px;
    margin: auto;
    border: 1px solid white;
    text-align: center;
    border-radius: 8px;
    /* border: 1px solid red; */
}

header img.logo{
    width: 90%;
    max-width: 380px;
    margin: auto;
    display: block;
    /* border: 1px solid red; */
}     

#headTitle{
    letter-spacing: 0.05em;
    font-size: clamp(16px, 5.3vw, 36px);
    color: #2E4A3A;
    margin: 16px 0 2px 0;
    /* border: 1px solid #2E4A3A;s */
    font-family: "Noto Serif TC", serif;
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 700;
}
#headTitle .EngChat{
    letter-spacing: 0em;
}
header p{
    letter-spacing: 0.1em;
    color: #2E4A3A;
    font-size: clamp(8px, 2.5vw, 20px);
    /* font-weight: 300; */
    /* background-color: #2e4a3a36; */
    /* color: white; */
}

header .reserveBtn{
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 12px 30px;
    background-color: #2E4A3A;
    color: #F9F7F2;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.1em;
}
header .reserveBtn:hover{
    background-color: #4A6B58;
    transition: 0.4s;
}
header nav{
    width: calc(100% - 40px);
    height: calc(100vh - 180px);
    margin: 0px;
    padding: 80px 20px 100px 20px;
    position: fixed;
    top:0;
    right: 0;
    background-color: rgba(249, 246, 241, 0.9);
    display: none;
    z-index: 900;
    text-align: center;
}


header nav ul{
    list-style: none;
    padding: 0;
    margin: 30px auto 0 auto;
        max-width: 500px;
    /* display: flex; */
    /* text-align: left; */
}
header nav ul li{
    display: block;
    /* margin:20px 0; */
    /* background-color: #fff; */
    border-bottom: dashed 1px #2E4A3A;
    padding: 10px 0px 5px 0px;
}
header nav ul li:last-of-type{
    border:none;
}

header nav ul li a{
    font-family: "Noto Serif TC", serif;
    text-decoration: none;
    color: #2E4A3A;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    /* padding: 10px 0px 5px 0px; */
}
header nav ul li a[href="index.php"]{
    font-size: 2em;
}

header nav ul ul {
    margin:3px 0;
}
header nav ul ul li{
    border-bottom: none;
    padding: 0;
}
header nav ul ul li a{
    font-size: 1em;

}

header .menu-toggle{
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 6px;
    border-radius: 12%;
    z-index: 1000;
    border: 1px solid rgba(83, 105, 92, 0.2);
}   
header .menu-toggle span{
    display: block;
    width: 35px;
    height: 4px;
    margin: 6px auto;
    background-color: #2e4a3a;
    border-radius: 2px;
    transition: 0.6s;
}
header .menu-toggle.active span:nth-child(1){
    transform: rotate(405deg) translate(7px, 7px);       
}  
header .menu-toggle.active span:nth-child(2){
    transform:  scaleX(2);
    opacity: 0;
}  
header .menu-toggle.active span:nth-child(3){
    transform: rotate(-405deg) translate(7px, -7px);       
}  


main section{
    padding: 20px 10px;
    /* border: 1px solid red; */
    width: calc(100% - 20px);
}

main section h2{
    font-size: 2.2em;
    color: #2E4A3A;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
    margin: 12px 0;
}



#backCover .logo{
    width: 230px;
    margin: auto;
    display: block;

}

#backCover h1 .EngChat{
    letter-spacing: 0em
}
#backCover p{
    text-align: center;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.15em;
    color: #2E4A3A;
    font-size: clamp(8px, 3.4vw, 16px);
}
#backCover p:nth-of-type(1){
    font-style: italic;
}



.contact-footer {
    background-color: #2F4B3B;
    text-align: center;
    padding: 50px;
    margin-top: 30px;
    color: #f7f5f1;
    /* 溫潤米白底 */
}

.contact-footer a{
    color: #f7f5f1;
    text-decoration: none;
}

.contact-footer h3.footer-title {
    font-size: 24px;
    line-height: 1.3em;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.footer-title span{
    font-size: 15px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item img,
.line-invite img.lineIcon {
    width: 22px;
    height: 22px;
    /* display: inline-block; */
    vertical-align: bottom;
}

.line-invite{
    margin-bottom: 30px;
    text-align: center;
    
}
.line-invite img.lineQR{
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    display: block;
    margin: 30px auto;
}

/* 各平台顏色 */
/* .contact-item.line { */
.line-invite a{
    text-decoration: none;
}
.line-invite span,
.contact-item.line {
    background-color: #00c300;
    color: #fff;
    align-items: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.line-invite span:hover,
.contact-item.line:hover {
    background-color: #00a600;
}

.contact-item.phone {
    background-color: #e2d8c6;
    color: #3b3b3b;
}

.contact-item.phone:hover {
    background-color: #d4c7b3;
}

.contact-item.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.contact-item.ig:hover {
    opacity: 0.9;
}




footer{
    background-color: #2F4B3B;
    color: #F9F7F2;
    letter-spacing: 0.15em;
    padding: 20px 10px;
    margin-top: 20px;
}
footer .copyright{
    font-family: "Noto Serif TC", serif;
    font-weight: 800;
    margin: 0;
    padding: 0;
}
footer .copyright a{
    letter-spacing: 0.2em;
    font-size: 0.95rem;
    color: #F9F7F2;
}
footer .copyright .EngChat{
    letter-spacing: 0.1em;
}
footer p{
    text-align: center;
    font-size: 0.7em;
    margin: 0px 0;
    color: #F9F7F2;
    font-weight: 200;
}

.contact{
    /* height: 210px; */
    position: absolute;
    /* writing-mode:vertical-lr; */
    top: 600px;
    right: 10px;
    background-color: rgba(47, 75, 59, 0.6);
    color: #ffbb00;
    padding: 15px 0px 15px 12px;
    border-radius: 10px;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    font-weight: 500;
    z-index: 1000;
    /* text-align: center; */
}

.contact a{
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-size: cover;
    border-radius: 8px;
    margin: 5px 0 ;
    transform: translate(-5px,0);
}
.contact a:nth-of-type(1){
    background-image: url('../img/iconLine.jpg');
}
.contact a:nth-of-type(2){
    background-image: url('../img/iconIG.jpg');
}

@media screen and (min-width: 961px){
    /* #services ul li{
        flex:0 0 45%
    } */
    #services{
        width: 60%;
        margin: auto;
        
    }
}