/* Facebook page specific styles */
body.facebook-page {
    background-color: #f0f2f5; /* Example background color for Facebook page */
}
 
.facebook-content .main-title {
    color: #1877f2; /* Example color for a title */
} 

/* 保留特定的Bootstrap 5樣式但避免覆蓋全局字體和基本樣式 */
.rounded-4 {
    border-radius: 1rem;
}
.btn-danger {
    background-color: #fd1d1d;
    border-color: #fd1d1d;
}
.btn-danger:hover {
    background-color: #e31c1c;
    border-color: #e31c1c;
}
.text-danger {
    color: #fd1d1d !important;
}
.badge {
    font-weight: 500;
}
.instagram-hero-image {
    max-width: 100%;
    height: auto;
}
/* 修復可能的衝突，但保留原有字體 */
.card {
    border: none;
}
.card-body {
    padding: 1.5rem;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.text-center {
    text-align: center !important;
}
.bg-success {
    background-color: #198754 !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
.text-dark {
    color: #212529 !important;
}
.text-muted {
    color: #6c757d !important;
}
.text-primary {
    color: #0d6efd !important;
}
.text-success {
    color: #198754 !important;
}

/* Instagram特定樣式 (现在也应用于Facebook) */
/* 合作夥伴數字樣式 */
.partner-number {
    color: #6f42c1; /* Instagram紫色 */
    padding: 10px;
    border-radius: 5px;
}

/* 立即體驗按鈕懸停效果 */
.btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.btn-primary:hover {
    background-color: transparent !important;
    color: #6f42c1 !important;
    border-color: #6f42c1 !important;
}

/* 評分樣式 */
.rating-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.rating-item {
    width: 110px;
    margin: 0 15px;
}
.logo-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
}
.rating-logo {
    max-height: 56px;
    max-width: 110px;
}
.rating-stars {
    font-size: 16px;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 2px;
}
.rating-score {
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 6px;
    font-weight: 500;
}
.rating-count {
    font-size: 13px;
    line-height: 1;
    color: #6c757d;
    margin-bottom: 0;
}

/* 移動端樣式 */
@media (max-width: 768px) {
    .rating-logos {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 0;
    }
    .rating-item {
        flex: 0 0 auto;
    }
}

/* 確保使用網站原有字體 - 调整为 facebook-content */
.facebook-content h1,
.facebook-content h2,
.facebook-content h3,
.facebook-content h4,
.facebook-content h5,
.facebook-content p,
.facebook-content a,
.facebook-content span,
.facebook-content div {
    font-family: inherit;
}

/* 从PHP文件转移的内联样式 */
/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
}

/* Hero section 样式 */
.hero-section {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
}

/* 浮动元素样式 */
.position-absolute.top-0.end-0 {
    transform: translate(0, 15px);
}

.position-absolute.bottom-0.start-0 {
    transform: translate(15px, -15px);
}

/* 圆形背景和图标样式 */
.rounded-circle.custom-icon-bg {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
    border-color: #e4e6eb;
}

/* 图标大小 */
.facebook-content .rounded-circle .fas {
    font-size: 1.5rem;
}

/* 自定义图标背景 */
.custom-icon-bg {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
    border-color: #e4e6eb;
}

/* 服务卡片样式 */
.facebook-content .bg-white.rounded.shadow-lg {
    height: 100%;
}

/* 图标颜色 */
.facebook-content .text-primary {
    color: #0d6efd !important;
}

/* 图片圆角和阴影 */
.facebook-content .img-fluid.rounded {
    border-radius: 0.5rem !important;
}

.facebook-content .img-fluid.rounded.shadow-lg {
    border-radius: 0.5rem !important;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* 圆形徽章样式 */
.facebook-content .rounded-pill {
    border-radius: 50rem !important;
    padding: 0.375rem 0.75rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* 评分星星颜色 */
.facebook-content .text-warning .fas {
    color: #ffc107 !important;
}

/* 按钮样式 */
.facebook-content .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
} 

/* TikTok 底部按钮样式 - 应用到 Facebook 页面底部按钮 */
.facebook-content .btn-primary.btn-lg {
    position: relative;
    border: 2px solid #6f42c1;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    border-radius: 50px;
}

.facebook-content .btn-primary.btn-lg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: -1;
}

.facebook-content .btn-primary.btn-lg:hover {
    color: #6f42c1 !important;
    background-color: transparent !important;
    border-color: #6f42c1 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
}

.facebook-content .btn-primary.btn-lg:hover:before {
    width: 100%;
}

.facebook-content .btn-primary.btn-lg:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
} 