:root {
    --primary-color: #b39b7d; /* 淺棕色 */
    --secondary-color: #3c3c3c; /* 深灰色 */
    --dark-color: #2c2c2c; /* 深灰色 */
    --light-color: #f8f6f2; /* 米白色 */
    --gray-color: #6c6c6c; /* 中灰色 */
    --accent-color: #c9b393; /* 淺棕色變體 */
    --white-color: #ffffff; /* 純白色 */
    --gradient-primary: linear-gradient(135deg, #b39b7d 0%, #c9b393 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: #444;
    line-height: 1.7;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* 導航欄樣式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', 'Noto Serif TC', serif;
    font-size: 24px;
    color: white;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
}

.navbar-dark .navbar-nav .download-btn {
    background-color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 20px;
    margin-left: 5px;
}

/* 頁腳樣式 */
.footer {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 80px 0 0;
    position: relative;
}

.footer-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-info p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.footer-links h4:after, .footer-newsletter h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: var(--white-color);
}

.footer-newsletter button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    color: var(--white-color);
    font-weight: 500;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* 響應式調整 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white-color);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        margin-top: 15px;
    }
    
    .navbar-collapse .nav-link {
        color: var(--dark-color) !important;
    }
    
    .navbar-collapse .download-btn {
        margin: 10px 0 0 0;
        display: inline-block;
    }
    
    .footer-info, .footer-links, .footer-newsletter {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer-bottom-links {
        text-align: center;
        margin-top: 15px;
    }
}