/* 基礎設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; /* 平滑滾動 */
}

/* 導航欄 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #007bff;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 英雄區 (Hero Section) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    padding: 12px 35px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

/* 服務區塊 */
.services {
    padding: 100px 10%;
    text-align: center;
    background: #fdfdfd;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 40px;
    background: #333;
    color: #fff;
}

/* 響應式手機版調整 */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 簡易處理：手機版隱藏選單，實務上會改用漢堡選單 */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
