* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif TC", "SimSun", serif;
}
body {
    background-color: #F5F5F0;
    color: #2D2D2D;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth; 
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background-color: #4A7A96;
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background-color: #3A6A86;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 122, 150, 0.3);
}
.btn-white {
    background-color: #ffffff; 
    color: #4A7A96; 
    border: 1px solid #4A7A96; 
}   
.btn-white:hover {
    background-color: #F5F5F0; 
    color: #3A6A86; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 28px;
    font-family: "Noto Serif TC", "KaiTi", serif;
    color: #2D2D2D;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
	padding-bottom: 15px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #D4B996;
}
section {
    padding: 80px 0;
    scroll-margin-top: 80px; 
}

/* 顶部导航栏（固定） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 240, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}
.logo {
    font-size: 24px;
    font-family: "Noto Serif TC", "KaiTi", serif;
    color: #4A7A96;
    font-weight: bold;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-list li a {
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-list li a.active {
    color: #4A7A96;
    font-weight: 500;
}
.nav-list li a:hover {
    color: #4A7A96;
}
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    color: #4A7A96;
}
#menu-toggle {
    display: none;
}

.banner {
    height: 100vh;
    background: url("./assets/FirstLogo.png") center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
.banner-content {
    max-width: 800px;
    padding: 0 20px;
}
.banner h1 {
    font-size: 56px;
    font-family: "Noto Serif TC", "KaiTi", serif;
    color: #2D2D2D;
    margin-bottom: 20px;
}
.banner h2 {
    font-size: 24px;
    color: #4A7A96;
    margin-bottom: 30px;
    font-weight: normal;
}
.banner p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}
.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.multi-line-text-bg {
    background-color: #ffffff88;
    color: rgb(0, 0, 0);
    padding: 3px 10px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    line-height: 2;
}
.multi-line-text-bg2 {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 3px 10px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    line-height: 2;
}

.master {
    background-color: #fff;
}
.master-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}
.master-avatar {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}
.master-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #4A7A96;
}
.master-info p {
    margin-bottom: 15px;
    color: #666;
}
.master-motto {
    margin-top: 30px;
    padding: 20px;
    border-left: 3px solid #D4B996;
    background-color: #F5F5F0;
}
.master-motto p {
    font-style: italic;
    color: #4A7A96;
}
.promise-wrap {
    margin-top: 30px;
    padding: 18px;
    background-color: #f9f9f5;
    border-radius: 8px;
    border: 1px solid #eee;
}
.promise-wrap h3 {
    margin-bottom: 12px;
    color: #4A7A96;
    font-size: 20px;
}
.promise-wrap p {
    line-height: 1.8;
    margin-bottom: 8px;
}

.service-detail {
    background-color: #F5F5F0;
}
.detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.detail-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}
.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.service-img {
    width: 100%;
    max-width: 500px;
    height: 540px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}
.detail-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #4A7A96;
    position: relative;
    padding-bottom: 10px;
    width: 100%;
}
.detail-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #D4B996;
}
.detail-card ul {
    list-style: none;
    margin-bottom: 25px;
    width: 100%;
}
.detail-card ul li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.detail-card ul li::before {
    content: "•";
    color: #4A7A96;
    margin-right: 10px;
    margin-top: 5px;
}
.detail-card .btn {
    width: 100%;
    max-width: 200px;
}

.contact {
    background-color: #fff;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #4A7A96;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
}
.info-icon {
    font-size: 24px;
    color: #4A7A96;
    margin-right: 15px;
}
.qrcode {
    width: 150px;
	height: 150px;
    margin-top: 30px;
    border: 1px solid #eee;
    padding: 10px;
}
.contact-form {
    background-color: #F5F5F0;
    padding: 30px;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: #4A7A96;
    box-shadow: 0 0 0 2px rgba(74, 122, 150, 0.1);
}
.checkbox-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.consult-method {
    background-color: #F5F5F0;
}
.method-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.method-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.method-item:hover {
    transform: translateY(-8px);
}
.method-icon {
    font-size: 36px;
    color: #4A7A96;
    margin-bottom: 15px;
}
.method-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.method-item p {
    color: #666;
    font-size: 14px;
}

.booking {
    background-color: #fff;
}
.payment-info {
    background-color: #F5F5F0;
    padding: 30px;
    border-radius: 8px;
    color: #666;
    margin-top: 40px;
    border: 1px solid #eee;
}
.payment-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #4A7A96;
}

.refund-rule {
    background-color: #F5F5F0;
}
.rule-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.rule-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.faq {
    background-color: #fff;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #F5F5F0;
}
.faq-question {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: #F9F9F9;
}
.faq-question::after {
    content: "+";
    font-size: 20px;
    color: #4A7A96;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    color: #666;
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.footer {
    background-color: #2D2D2D;
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}
.footer-logo {
    font-size: 28px;
    font-family: "Noto Serif TC", "KaiTi", serif;
    margin-bottom: 20px;
    color: #4A7A96;
}
.footer-slogan {
    font-size: 18px;
    margin-bottom: 40px;
    color: #eee;
}
.footer-info {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.8;
}
.copyright {
    font-size: 12px;
    color: #888;
}

.red-text {
    color: rgb(255, 0, 0);
}
#half-red-text {
    color: hsla(0, 100%, 50%, 0.6);
    margin-top: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #F5F5F0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        visibility: hidden;
        opacity: 0;
        height: 0;
        overflow: hidden;
        padding: 0;
        gap: 0;
        transition: all 0.35s ease-in-out;
        z-index: 999;
    }
    #menu-toggle:checked + .hamburger ~ .nav-list {
        visibility: visible;
        opacity: 1;
        height: auto;
        padding: 20px 0;
    }
    .nav-list li {
        width: 100%;
        padding: 0 25px;
    }
    .nav-list li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #e8e8e8;
        width: 100%;
    }
    .nav-list li:last-child a {
        border-bottom: none;
    }
    .banner h1 {
        font-size: 40px;
    }
    .banner h2 {
        font-size: 20px;
    }
    .master-content, .detail-list, .contact-content, .method-list {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .service-img {
        max-width: 500px;
        height: 350px;
    }
    section {
        padding: 60px 0;
    }
    .contact h1 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 32px;
    }
    .banner-btns {
        flex-direction: column;
        gap: 15px;
    }
    .master-avatar {
        max-width: 250px;
        margin: 0 auto;
    }
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    .service-img {
        max-width: 500px;
        height: 300px;
    }
    .banner p {
        font-size: 16px;
    }
    .promise-wrap {
        padding: 15px;
        margin-top: 20px;
    }
    .contact-content {
        gap: 40px;
    }
}