/* 全局變量 */
:root {
    --primary-pink: #ff69b4;    /* 主要粉紅色 */
    --light-blue: #e6f3ff;      /* 淺藍色 */
    --white: #ffffff;           /* 白色 */
    --text-gray: #666666;       /* 文字灰色 */
    --gradient-start: #e6f3ff;  /* 漸層開始色 */
    --gradient-end: #ffffff;    /* 漸層結束色 */
}

/* 全局字體設置 */
body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.8;
    color: var(--text-gray);
    background: var(--white);
    margin: 0;
    padding: 0;
}

/* 導航欄樣式 */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0;
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    color: var(--primary-pink) !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    height: 64px;
    line-height: 64px;
}

.navbar-brand:hover {
    color: #ff9ecd !important;
}

.navbar-brand i {
    font-size: 1.3em;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 64px;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    height: 64px;
    line-height: 64px;
    position: relative;
}

.nav-link i {
    font-size: 1.1em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-pink) !important;
    background: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-pink);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f2f3;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary-pink);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    padding: 0.3rem;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.search-box button {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
}

.search-box button:hover {
    color: var(--primary-pink);
}

/* iframe 容器樣式 */
#header-frame {
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
    height: 64px;
    overflow: hidden;
}

/* 英雄區域樣式 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    margin-top: 15vh;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out;
}

/* 按鈕樣式 */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-pink), #ff9ecd);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    background: linear-gradient(45deg, #ff9ecd, var(--primary-pink));
}

.btn-primary i {
    font-size: 1.1em;
}

/* 小圖示樣式 */
.icon-decoration {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-pink);
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

.icon-decoration:nth-child(1) { top: 10%; left: 5%; }
.icon-decoration:nth-child(2) { top: 20%; right: 10%; }
.icon-decoration:nth-child(3) { bottom: 15%; left: 15%; }
.icon-decoration:nth-child(4) { bottom: 25%; right: 5%; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 頁尾樣式 */
.footer {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
    color: var(--text-gray);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    color: var(--primary-pink);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-pink);
}

.footer-section i {
    font-size: 1.1em;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-pink);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
} 