/* 通用样式 */
:root {
    --primary-color: #94a78c;
    --secondary-color: #b5c4a7;
    --accent-color: #f8f4e9;
    --dark-color: #4a5745;
    --light-color: #f9f7f2;
    --text-color: #3c4a3e;
    --link-color: #94a78c;
    --success-color: #7ba878;
    --highlight-color: #d7e0cb;
    --font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 1px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::before {
    content: '《';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: normal;
}

.section-title::after {
    content: '》';
    color: var(--primary-color);
    margin-left: 10px;
    font-weight: normal;
}

.limited-offer {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 导航栏 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1.logo {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    margin-bottom: 0;
}

nav ul li {
    margin-left: 25px;
    list-style: none;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 英雄区块 */
.hero {
    background-color: var(--light-color);
    color: var(--text-color);
    text-align: left;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
}

.hero-image .image-overlay h4 {
    margin: 0;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.service-highlights {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--highlight-color);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--dark-color);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .service-highlights {
        justify-content: center;
    }

    .button-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .service-highlights {
        flex-direction: column;
        align-items: center;
    }

    .highlight-item {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }
}

/* 关于部分 */
.about {
    background-color: var(--light-color);
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f4e9" d="M30 15L45 30L30 45L15 30z"/></svg>'), url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="none" stroke="%23f8f4e9" stroke-width="2"/></svg>');
    background-size: 60px 60px, 100px 100px;
    background-position: center, center;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f4e9" d="M10,0 L20,10 L10,20 L0,10 Z"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.about .container::before,
.about .container::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about .container::before {
    top: -40px;
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50" fill="%23333"/><path d="M50 0 A50 50 0 0 1 50 100 A25 25 0 0 0 50 50 A25 25 0 0 1 50 0" fill="white"/><circle cx="50" cy="25" r="8" fill="%23333"/><circle cx="50" cy="75" r="8" fill="white"/></svg>');
    animation: float 8s ease-in-out infinite, rotate 60s linear infinite;
}

.about .container::after {
    bottom: -40px;
    right: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50" fill="%23333"/><path d="M50 0 A50 50 0 0 1 50 100 A25 25 0 0 1 50 50 A25 25 0 0 0 50 0" fill="white"/><circle cx="50" cy="25" r="8" fill="white"/><circle cx="50" cy="75" r="8" fill="%23333"/></svg>');
    animation: float 8s ease-in-out 1s infinite reverse, rotate 60s linear infinite reverse;
}

.about-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.about-content::before,
.about-content::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
}

.about-content::before {
    top: 20px;
    left: -30px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10,10 L90,10 L90,30 L10,30 Z" fill="%23333"/><path d="M10,40 L90,40 L90,60 L10,60 Z" fill="%23333"/><path d="M10,70 L90,70 L90,90 L10,90 Z" fill="%23333"/></svg>');
}

.about-content::after {
    bottom: 20px;
    right: -30px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10,10 L30,10 L30,90 L10,90 Z" fill="%23333"/><path d="M40,10 L60,10 L60,90 L40,90 Z" fill="%23333"/><path d="M70,10 L90,10 L90,90 L70,90 Z" fill="%23333"/></svg>');
}

.about-text {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 300px;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.9);
}

.about-text:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f4e9" d="M35,35 L35,65 L65,65 L65,35 L35,35 Z M25,25 L25,75 L75,75 L75,25 L25,25 Z"/></svg>');
    background-size: 100px 100px;
    background-repeat: repeat;
    opacity: 0.1;
    z-index: -1;
}

.about-text h2 {
    color: #8B4513;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    font-size: 1.9rem;
    letter-spacing: 1px;
    width: 100%;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: var(--primary-color);
}

.about-text .quote {
    font-style: italic;
    color: #8B4513;
    position: relative;
    padding: 20px 40px;
    margin: 30px auto;
    background-color: rgba(210, 180, 140, 0.15);
    border-left: 4px solid var(--primary-color);
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
    border-radius: 0 8px 8px 0;
    max-width: 90%;
}

.about-text p {
    line-height: 1.9;
    margin-bottom: 22px;
    color: #333;
    font-size: 1.05rem;
    text-align: center;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    position: relative;
    border-radius: 10px;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    background: linear-gradient(135deg, var(--accent-color), var(--light-color));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f4e9" d="M35,35 L35,65 L65,65 L65,35 L35,35 Z M25,25 L25,75 L75,75 L75,25 L25,25 Z"/></svg>');
    background-size: 100px 100px;
    background-repeat: repeat;
    opacity: 0.2;
    z-index: 0;
}

.about-image:after {
    content: "易";
    font-size: 150px;
    color: rgba(148, 167, 140, 0.5);
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.direction-icon {
    position: absolute;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.direction-icon.top-left {
    top: 30px;
    left: 30px;
}

.direction-icon.top-right {
    top: 30px;
    right: 30px;
}

.direction-icon.bottom-left {
    bottom: 30px;
    left: 30px;
}

.direction-icon.bottom-right {
    bottom: 30px;
    right: 30px;
}

.about-image:hover .direction-icon {
    transform: rotate(45deg) scale(1.1);
    background: var(--light-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 精品服务展示 */
.featured-service {
    background-color: var(--accent-color);
    padding: 60px 0;
}

.featured-box {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-box h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.featured-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.featured-box .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.featured-box .discount-info {
    font-size: 1.1rem;
    color: #ee4d2d;
    margin-bottom: 25px;
    font-weight: 600;
    background-color: rgba(238, 77, 45, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}

.featured-box .service-time {
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    background-color: rgba(148, 167, 140, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}

/* 服务部分 */
.services {
    background-color: white;
}

.service-main {
    margin-bottom: 40px;
}

.service-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    background-color: var(--primary-color);
    color: white;
    font-size: 2.5rem;
    padding: 20px;
}

.service-content {
    padding: 25px;
    flex: 1;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-details {
    background-color: rgba(166, 124, 82, 0.05);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.service-details h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.service-details h4:first-child {
    margin-top: 0;
}

.service-details ul li, .service-details ol li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-details ul li i, .service-details ol li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* 服務歡迎與說明部分 */
.service-welcome, .service-info-box, .service-feature {
    background-color: rgba(248, 244, 233, 0.7);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid var(--primary-color);
}

.service-welcome h4, .service-info-box h4, .service-feature h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-welcome h4 i, .service-info-box h4 i, .service-feature h4 i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.service-welcome p, .service-info-box p, .service-feature p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-welcome p:last-child, .service-info-box p:last-child, .service-feature p:last-child {
    margin-bottom: 0;
}

/* 時間列表樣式 */
.time-list {
    list-style: none;
    margin: 0;
}

.time-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.time-list li:last-child {
    margin-bottom: 0;
}

.time-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 18px;
    text-align: center;
}

/* 起卦方式樣式 */
.divination-method {
    background-color: rgba(148, 167, 140, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0 25px;
}

.divination-method p {
    margin-bottom: 15px;
}

.divination-method ol {
    padding-left: 10px;
    margin-bottom: 15px;
}

.divination-method ol li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.divination-method ol li strong {
    color: var(--dark-color);
}

.divination-method ol li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
}

.method-note {
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
}

/* 注意事項樣式 */
.notice-box {
    background-color: rgba(255, 219, 219, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0 25px;
    border-left: 3px solid #d66;
}

.notice-list {
    list-style: none;
    margin: 0;
}

.notice-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li i {
    color: #d66;
    position: absolute;
    left: 0;
    top: 3px;
}

.package-info {
    background-color: rgba(148, 167, 140, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0 25px;
    border-left: 3px solid var(--primary-color);
}

.package-info p {
    margin-bottom: 12px;
}

.package-info ul {
    margin-left: 10px;
}

.package-info ul li i {
    color: var(--success-color);
}

.package-info .package-note {
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}

.price-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.price-info p {
    font-weight: 600;
    margin-bottom: 8px;
}

.price-info .highlight {
    color: #ee4d2d;
    font-weight: bold;
    background-color: rgba(238, 77, 45, 0.1);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    margin-top: 10px;
    border: 1px dashed #ee4d2d;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.highlight-row {
    background-color: rgba(148, 167, 140, 0.1);
}

.price-cell {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
}

.price-cell strong {
    color: var(--dark-color);
}

.coming-soon {
    text-align: center;
    padding: 40px;
    background-color: rgba(166, 124, 82, 0.05);
    border-radius: 8px;
    margin-top: 50px;
    border: 1px dashed var(--primary-color);
}

.coming-soon h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 服务指南 */
.service-guide {
    background-color: var(--accent-color);
    text-align: center;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-content img {
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    border-radius: 10px;
    background-color: var(--light-color);
    padding: 10px;
    transition: transform 0.3s ease;
}

.guide-content img:hover {
    transform: scale(1.03);
}

.guide-content p {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* FAQ部分 */
.faq {
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.faq-item h3:hover {
    color: var(--primary-color);
}

.faq-answer {
    background-color: rgba(166, 124, 82, 0.05);
    padding: 20px;
    border-radius: 5px;
}

/* 联系部分 */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.business-hours {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.business-hours h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.business-hours p {
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-logo,
.footer-links,
.footer-social {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

/* 成功消息 */
.success-message {
    text-align: center;
    padding: 40px;
    color: var(--success-color);
}

.success-message i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message h3 {
    color: var(--success-color);
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-icon {
        width: 100%;
        height: 100px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .about-image {
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    /* Contact部分響應式調整 */
    .contact-content-wrapper {
        flex-direction: column;
    }
    
    .contact-image-wrapper {
        margin-bottom: 30px;
        max-width: 600px;
    }
    
    .contact .owner-message {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        flex-basis: 100%;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-image {
        max-width: 280px;
    }
    
    .featured-box {
        padding: 25px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-group .btn {
        width: 100%;
    }
    
    .about-text {
        padding: 30px 25px;
    }
    
    .about-text .quote {
        padding: 15px 25px;
        font-size: 1.05rem;
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* Contact部分響應式調整 */
    .contact-image-wrapper {
        max-width: 100%;
    }
    
    .contact .charity-info {
        padding: 15px;
    }
    
    .contact .background-decorations > div {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .about-text {
        padding: 20px;
    }
    
    .about-image {
        max-width: 240px;
    }
    
    .direction-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    #back-to-top {
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
        font-size: 16px;
    }
    
    /* Contact部分響應式調整 */
    .contact {
        padding: 60px 0;
    }
    
    .contact .section-title {
        margin-bottom: 30px;
    }
    
    .contact .owner-message {
        padding: 20px 15px;
    }
    
    .contact .charity-info {
        margin: 20px 0;
    }
    
    .contact .journey-end {
        font-size: 1em;
    }
    
    .contact .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact .button-group .btn {
        width: 100%;
    }
    
    .contact .background-decorations {
        opacity: 0.2;
    }
}

/* 按鈕組樣式 */
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.button-group .btn {
    margin: 0;
}

/* 蝦皮按鈕樣式 */
.btn-shopee {
    background-color: #ee4d2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-shopee:hover {
    background-color: #f05d40;
}

.btn-shopee i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* LINE按鈕樣式 */
.btn-line {
    background-color: #06c755;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-line:hover {
    background-color: #04b349;
}

.btn-line i {
    margin-right: 8px;
    font-size: 1.1em;
}

.btn-sm {
    font-size: 0.8rem;
    padding: 5px 10px;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 4px;
    color: white;
    border: none;
    cursor: pointer;
}

/* 彈出視窗樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    max-width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

.line-qr {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal h3 {
    color: #06c755;
    margin-bottom: 15px;
}

.modal p {
    margin-bottom: 20px;
}

.modal .btn {
    display: inline-block;
    margin-top: 10px;
}

/* 關於命理區塊引用樣式 */
.quote-icon {
    color: var(--primary-color);
    opacity: 0.6;
    font-size: 1.5rem;
    margin: 0 8px;
    vertical-align: middle;
}

.about-text h2 {
    color: #8B4513;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    font-size: 1.9rem;
    letter-spacing: 1px;
    width: 100%;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: var(--primary-color);
}

.about-text .quote {
    font-style: italic;
    color: #8B4513;
    position: relative;
    padding: 20px 40px;
    margin: 30px auto;
    background-color: rgba(210, 180, 140, 0.15);
    border-left: 4px solid var(--primary-color);
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
    border-radius: 0 8px 8px 0;
    max-width: 90%;
}

.about-text p {
    line-height: 1.9;
    margin-bottom: 22px;
    color: #333;
    font-size: 1.05rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* 圖片裝飾樣式 */
.image-decoration {
    position: relative;
    padding: 15px;
    border: 1px solid rgba(148, 167, 140, 0.3);
    background-color: rgba(248, 244, 233, 0.5);
    border-radius: 8px;
    transition: all 0.5s ease;
}

.direction-icon {
    position: absolute;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 2;
}

.top-left {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.top-right {
    top: 0;
    right: 0;
    transform: translate(50%, -50%) rotate(135deg);
}

.bottom-left {
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%) rotate(315deg);
}

.bottom-right {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%) rotate(225deg);
}

.image-decoration img {
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.image-decoration:hover img {
    transform: scale(1.02);
}

/* 返回頂部按鈕樣式 */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* 動畫效果 */
.animate {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-in-left"] {
    opacity: 0;
    transform: translateX(-30px);
}

[data-animation="fade-in-right"] {
    opacity: 0;
    transform: translateX(30px);
}

[data-animation="fade-in-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animation="fade-in-down"] {
    opacity: 0;
    transform: translateY(-30px);
}

.fade-in-left, .fade-in-right, .fade-in-up, .fade-in-down, .fade-in {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* 鋪主的話部分 - 圖片和按鈕特效 */
.contact-image-wrapper img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.contact-image-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.contact .btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* 按鈕效果增強 */
.button-group .btn {
    position: relative;
    overflow: hidden;
}

.button-group .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.button-group .btn:hover:before {
    left: 100%;
}

/* 圖片裝飾效果 */
.image-decoration {
    transition: all 0.5s ease;
}

.contact-image-wrapper:hover .image-decoration:first-of-type {
    animation: rotate-clockwise 10s linear infinite;
}

.contact-image-wrapper:hover .image-decoration:last-of-type {
    animation: rotate-counter-clockwise 15s linear infinite;
}

@keyframes rotate-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
} 