/* ==========================================
   靈機命理 - 共用樣式
   ========================================== */

/* CSS 變數 */
:root {
    --primary-color: #eab087;
    --secondary-color: #f4d0b8;
    --accent-gold: #c7804b;
    --dark-bg: #2C241B;
    --light-bg: #FAF6F0;
}

* {
    font-family: 'Noto Sans TC', 'Poppins', sans-serif;
}

body {
    font-family: 'Noto Sans TC', 'Poppins', sans-serif;
    color: #202020;
    background-color: white;
}

/* ==========================================
   Navigation
   ========================================== */
.nav-link {
    color: #202020;
    text-decoration: none;
    padding: 8px 16px;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 176, 135, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-gold {
    background: var(--accent-gold);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-gold:hover {
    background: #b8702e;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* ==========================================
   Tags & Star Rating
   ========================================== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(234, 176, 135, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    margin: 2px;
}

.star-rating,
.star {
    color: var(--accent-gold);
}

/* ==========================================
   Breadcrumb
   ========================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: white;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    padding: 48px 0 0;
}

.site-footer a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer .footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}
