/* ===== 寵物善終服務網站 - 日式風格 CSS ===== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局圖片樣式 - 防止圖片出界 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 響應式圖片容器 */
.responsive-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.responsive-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.responsive-image:hover img {
    transform: scale(1.02);
}

/* Blog文章內容中的廣告和特殊內容樣式 */
.blog-post-body {
    overflow-x: hidden; /* 防止水平滾動 */
}

.blog-post-body * {
    max-width: 100% !important; /* 強制所有元素不超出容器 */
    box-sizing: border-box;
}

/* 針對廣告內容的特殊處理 */
.blog-post-body img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 處理可能包含廣告的div容器 */
.blog-post-body > div {
    max-width: 100%;
    overflow: hidden;
}

/* 確保表格和列表不會出界 */
.blog-post-body table,
.blog-post-body ul,
.blog-post-body ol {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 處理長文本 */
.blog-post-body p,
.blog-post-body div,
.blog-post-body span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', 'Noto Serif TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden; /* 防止內容出界 */
}

/* ===== 導航欄 ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #4a7c59;
}

.paw-icon {
    font-size: 1.2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-language {
    background: #f8f9fa;
    color: #2c5530;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background: #e9ecef;
    border-color: #2c5530;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5530;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5530;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== 按鈕樣式 ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::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: left 0.5s ease;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a, #1ea851);
}

.btn-outline {
    border: 2px solid #2c5530;
    color: #2c5530;
    background: transparent;
}

.btn-outline:hover {
    background: #2c5530;
    color: white;
}

.btn-whatsapp-small {
    background: #25d366;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-small:hover {
    background: #20ba5a;
}

/* ===== 頁面標題 ===== */
.page-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 240, 245, 0.05)), 
                url('../assets/images/hero-latest.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    color: #2c5530;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.page-header p {
    font-size: 1.2rem;
    color: #2c5530;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* ===== 區塊標題 ===== */
.section-title {
    font-size: 2.5rem;
    color: #2c5530;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5530, #4a7c59);
    border-radius: 2px;
}

/* ===== Hero 區塊 ===== */
.hero {
    /* 使用最新上傳的圖片 */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 240, 245, 0.05)), 
                url('../assets/images/hero-latest.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.1), rgba(74, 124, 89, 0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0;
    margin-left: 5%;
    text-align: left;
}

.hero-title {
    font-size: 2.2rem;
    color: #2c5530;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* 移除不再需要的 hero-image 樣式 */

/* 評級橫幅 */
.rating-banner {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-star {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* 已移除重複的 pulse 動畫 */

/* 詳細描述 */
.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    max-width: 100%;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* 社交媒體區塊 */
.hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-social span {
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.xiaohongshu:hover {
    background: #ff2442;
    color: white;
}

.social-icon.tiktok:hover {
    background: #000000;
    color: white;
}

/* ===== 品牌理念 ===== */
.philosophy {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%232c5530" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%234a7c59" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%232c5530" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="%234a7c59" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-item {
    text-align: center;
    padding: 1rem;
    border-radius: 20px;
    background: transparent;
    backdrop-filter: none;
    border: 1px solid rgba(44, 85, 48, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
    position: relative;
    z-index: 3;
}

.philosophy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 85, 48, 0.15);
}

.philosophy-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border: 2px solid rgba(44, 85, 48, 0.1);
    display: block;
    min-height: 150px;
    max-height: 200px;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
}

.philosophy-item h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 4;
}

.philosophy-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 4;
}

/* ===== 流程區塊 ===== */
.process {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.step-content {
    padding: 1rem 2rem 2rem;
}

.step h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.step p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* ===== 服務導覽 ===== */
.services-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232c5530" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(44, 85, 48, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 85, 48, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 85, 48, 0.15);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== 見證區塊 ===== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* 移除複雜背景 */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(44, 85, 48, 0.2);
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #2c5530;
    margin-bottom: 0.25rem;
}

.author-pet {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* ===== Blog 預覽 ===== */
.blog-preview {
    padding: 40px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-content time {
    color: #999;
    font-size: 0.9rem;
}

/* ===== CTA 區塊 ===== */
.cta-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="leaves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,5 Q35,15 25,25 Q15,15 25,5" fill="rgba(255,255,255,0.1)"/><path d="M25,25 Q35,35 25,45 Q15,35 25,25" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="200" height="200" fill="url(%23leaves)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #4a7c59;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4a7c59;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* ===== 服務詳情頁面 ===== */
.services-detail {
    padding: 80px 0;
    background: white;
}

.service-section {
    margin-bottom: 4rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text h2 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== 價目表 ===== */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: #2c5530;
    color: white;
    font-weight: 600;
}

.pricing-table tr:hover {
    background: #f8f9fa;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: #2c5530;
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    padding-right: 3rem; /* 為箭頭留出空間 */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-question:hover {
    background: #4a7c59;
}

.faq-answer {
    padding: 1.5rem;
    color: #666;
    line-height: 1.6;
    display: none; /* 默認為關閉狀態 */
}

/* ===== 產品展示 ===== */
.products-section {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: 80vh;
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    color: #2c5530;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #2c5530;
    padding-bottom: 0.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.filter-option:hover {
    background: #f0f8f0;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    margin: 0;
}

.filter-option span {
    color: #666;
    font-size: 0.95rem;
}

/* Price Range */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-range input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c5530;
    cursor: pointer;
}

.price-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c5530;
    cursor: pointer;
    border: none;
}

.price-display {
    text-align: center;
    color: #2c5530;
    font-weight: 600;
}

/* Clear Filters Button */
.btn-clear-filters {
    width: 100%;
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn-clear-filters:hover {
    background: #5a6268;
}

/* Products Main */
.products-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.products-header h2 {
    color: #2c5530;
    margin: 0;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    font-size: 0.95rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.new {
    background: #4ecdc4;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2c5530;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.spec {
    background: #f0f8f0;
    color: #2c5530;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

.btn-product {
    width: 100%;
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-product:hover {
    background: #4a7c59;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 1rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-main {
        padding: 1rem;
    }
    
    .filters-sidebar {
        padding: 1rem;
    }
}

/* ===== 環境展示 ===== */
.environment-gallery {
    padding: 80px 0;
    background: white;
}

/* ===== 磚石式佈局 ===== */
.masonry-gallery {
    position: relative;
    margin: 2rem 0;
}

.masonry-item {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.masonry-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .masonry-gallery {
        margin: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .masonry-gallery {
        margin: 1rem 0;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-overlay {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

.environment-section {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: #666;
    line-height: 1.6;
}

.environment-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.virtual-tour {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.tour-content h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.tour-content p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tour-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 故事與見證 ===== */
.featured-stories {
    padding: 80px 0;
    background: white;
}

/* ===== 故事輪播 ===== */
.stories-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track .story-card {
    flex: 0 0 50%;
    margin: 0;
    box-shadow: none;
    padding: 0 1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #2c5530;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #4a7c59;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #2c5530;
}

.carousel-dot:hover {
    background: #4a7c59;
}

/* ===== 評價輪播 ===== */
.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-carousel .carousel-track .review-card {
    flex: 0 0 50%;
    margin: 0;
    box-shadow: none;
    padding: 0 1rem;
}

.reviews-carousel .carousel-track .review-card .review-content {
    position: relative;
    padding-bottom: 3rem; /* 為日期留出空間 */
}

.review-date {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .carousel-track .story-card {
        flex: 0 0 100%; /* 移動設備上顯示1個故事 */
        padding: 0 0.5rem;
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .reviews-carousel .carousel-track .review-card {
        flex: 0 0 100%; /* 移動設備上顯示1個評價 */
        padding: 0 0.5rem;
    }
}

.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.story-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.story-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e9ecef;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.customer-reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-content p {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #2c5530;
    margin-bottom: 0.25rem;
}

.author-pet {
    color: #666;
    font-size: 0.9rem;
}

.share-story {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.share-content h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.share-content p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.share-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 聯絡頁面 ===== */
.contact-methods {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c5530;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.location-section {
    padding: 80px 0;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.address-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.location-features {
    margin-top: 2rem;
}

.location-features h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.location-features ul {
    list-style: none;
}

.location-features li {
    color: #666;
    margin-bottom: 0.5rem;
}

.map-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    color: #666;
}

.business-hours {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hours-card h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.day {
    font-weight: 500;
    color: #333;
}

.time {
    color: #666;
}

.emergency-card {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
}

.emergency-card h3 {
    color: white;
}

.emergency-info p {
    margin-bottom: 1rem;
}

.social-media-section {
    padding: 80px 0;
    background: white;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: #666;
}

/* ===== Blog 樣式 ===== */
.blog .page-header {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(74, 124, 89, 0.9)),
                url('../assets/images/hero-desktop.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-content {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 85, 48, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title-link {
    color: #2c5530;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-title-link:hover {
    color: #4a7c59;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.blog-tag {
    background: rgba(44, 85, 48, 0.1);
    color: #2c5530;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-read-more {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

/* 單篇文章樣式 */
.blog-single-post {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
}

.blog-post-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-post-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-post-body {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.blog-post-body h2 {
    color: #2c5530;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.blog-post-body h3 {
    color: #4a7c59;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-body blockquote {
    border-left: 4px solid #2c5530;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: rgba(44, 85, 48, 0.05);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-share {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-share span {
    color: #666;
    font-weight: 500;
}

.social-share a {
    color: #2c5530;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #2c5530;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-share a:hover {
    background: #2c5530;
    color: white;
}

.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

.no-data {
    text-align: center;
    color: #666;
    padding: 3rem;
    font-style: italic;
    font-size: 1.1rem;
}

.loading {
    text-align: center;
    color: #2c5530;
    padding: 3rem;
    font-size: 1.1rem;
}

/* 評論系統樣式 */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
}

.comments-section h3 {
    color: #2c5530;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.comments-list {
    margin-bottom: 2rem;
}

.comment-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #2c5530;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: bold;
    color: #2c5530;
    font-size: 1.1rem;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-form-section {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.comment-form-section h4 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form button {
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: #4a7c59;
    transform: translateY(-2px);
}

.comment-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.no-comments {
    text-align: center;
    color: #666;
    padding: 2rem;
    font-style: italic;
}

.comment-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.comment-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

/* Blog 響應式設計 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-single-post {
        padding: 1.5rem;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-post-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .social-share {
        justify-content: center;
    }
    
    .comment-form-section {
        padding: 1.5rem;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* 平板版響應式設計 */
@media (max-width: 1024px) and (min-width: 769px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 15px;
    }
}

/* ===== 響應式設計 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 1rem;
        max-width: 90%;
        margin-left: 5%;
        text-align: left;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description p {
        font-size: 0.8rem;
    }
    
    .rating-banner {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-social {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .rating-banner {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .philosophy-img {
        height: 200px;
        min-height: 150px;
        max-height: 250px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 15px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 動畫效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* 特殊動畫效果 */
.philosophy-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.philosophy-item:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

/* 取消動畫延遲 */
/* .step:nth-child(1) { animation-delay: 0.1s; } */
/* .step:nth-child(2) { animation-delay: 0.2s; } */
/* .step:nth-child(3) { animation-delay: 0.3s; } */
/* .step:nth-child(4) { animation-delay: 0.4s; } */

/* ===== CTA後的安心流程 ===== */
.process-after-cta {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.process-after-cta .section-title {
    margin-bottom: 1rem;
}

.process-steps-after-cta {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100% !important;
}

.step-after-cta {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 無特效 */
}

.step-after-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-icon-after-cta {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.step-content-after-cta {
    padding: 1rem 2rem 2rem;
}

.step-after-cta h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.step-after-cta p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* CTA後安心流程響應式設計 */
@media (min-width: 1201px) {
    .process-steps-after-cta {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .process-steps-after-cta {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-steps-after-cta {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .step-after-cta h3 {
        font-size: 1.2rem;
    }
    
    .step-after-cta p {
        font-size: 0.9rem;
    }
}

/* ===== CTA後的客戶見證 ===== */
.testimonials-after-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.testimonials-grid-after-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-after-cta {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 無特效 */
}

.testimonial-after-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content-after-cta {
    padding: 2rem;
}

.testimonial-content-after-cta p {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author-after-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar-after-cta {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info-after-cta h4 {
    color: #2c5530;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-pet-after-cta {
    color: #666;
    font-size: 0.9rem;
}

.rating-after-cta {
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* ===== 滾動條樣式 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2c5530;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a7c59;
}

/* ===== 載入動畫 ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5530;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 首頁Blog載入狀態樣式 ===== */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.loading-placeholder .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c5530;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-placeholder p {
    margin: 0;
    font-style: italic;
}

/* ===== Blog篩選和搜尋樣式 ===== */
.blog-filters {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-section,
.search-section,
.tags-section {
    margin-bottom: 2rem;
}

.filter-section:last-child,
.search-section:last-child,
.tags-section:last-child {
    margin-bottom: 0;
}

.blog-filters h3 {
    color: #2c5530;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-filters,
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn,
.tag-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.tag-btn:hover {
    border-color: #2c5530;
    color: #2c5530;
    transform: translateY(-2px);
}

.filter-btn.active,
.tag-btn.active {
    background: #2c5530;
    border-color: #2c5530;
    color: white;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #2c5530;
}

.search-box button {
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-box button:hover {
    background: #4a7c59;
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .blog-filters {
        padding: 1.5rem;
    }
    
    .category-filters,
    .tag-filters {
        gap: 0.25rem;
    }
    
    .filter-btn,
    .tag-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        border-radius: 8px;
    }
    
    .search-box button {
        border-radius: 8px;
    }
}
