/* 現代化界面美化樣式 - 2025 */

/* 全局字體優化 */
body {
    font-family: 'Noto Sans TC', 'Barlow', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 標題字體優化 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans TC', 'Teko', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* 現代化按鈕設計 */
.boxed-btn {
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(241, 95, 34, 0.3);
    position: relative;
    overflow: hidden;
}

.boxed-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.boxed-btn:hover:before {
    left: 100%;
}

.boxed-btn:hover {
    background: linear-gradient(135deg, #e14d1a 0%, #f15f22 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 95, 34, 0.4);
    color: #fff !important;
}

/* 卡片現代化設計 */
.single-info, .single-cat, .single-team, .home-blog-single {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.single-info:before, .single-cat:before, .single-team:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.single-info:hover:before, .single-cat:hover:before, .single-team:hover:before {
    transform: scaleX(1);
}

.single-info:hover, .single-cat:hover, .single-team:hover, .home-blog-single:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 圖標美化 */
.info-icon .icon, .cat-icon .icon {
    font-size: 2.5rem;
    color: #f15f22;
    background: linear-gradient(135deg, rgba(241, 95, 34, 0.1) 0%, rgba(255, 123, 84, 0.1) 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.single-info:hover .info-icon .icon,
.single-cat:hover .cat-icon .icon {
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    color: #fff;
    transform: scale(1.1);
}

/* 圖片美化 */
.team-img img, .blog-img img {
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.single-team:hover .team-img img,
.home-blog-single:hover .blog-img img {
    transform: scale(1.05);
}

/* 標題區域美化 */
.section-tittle {
    position: relative;
    margin-bottom: 60px;
}

.section-tittle span {
    color: #f15f22;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-tittle span:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    border-radius: 2px;
}

.section-tittle h2 {
    color: #333;
    font-weight: 700;
    margin-top: 15px;
    line-height: 1.3;
}

/* 導航美化 */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#navigation li a {
    position: relative;
    font-weight: 500;
    font-family: 'Noto Sans TC', sans-serif;
    transition: all 0.3s ease;
}

#navigation li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    transition: width 0.3s ease;
}

#navigation li a:hover:after {
    width: 100%;
}

/* 滑動區域美化 */
.slider-area {
    background: linear-gradient(135deg, rgba(22, 22, 26, 0.8) 0%, rgba(22, 22, 26, 0.6) 100%), 
                url('../img/hero/h1_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.slider-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 95, 34, 0.1) 0%, rgba(255, 123, 84, 0.1) 100%);
    z-index: 1;
}

.hero__caption {
    position: relative;
    z-index: 2;
}

.hero__caption h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero__caption .high-light {
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pera p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* 頁尾美化 */
.footer-area {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.footer-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #f15f22 50%, transparent 100%);
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

/* 滾動效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 響應式設計優化 */
@media (max-width: 768px) {
    .hero__caption h1 {
        font-size: 2.5rem;
    }
    
    .single-info, .single-cat, .single-team {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .section-tittle {
        margin-bottom: 40px;
    }
    
    .boxed-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* 滾動條美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f15f22 0%, #ff7b54 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e14d1a 0%, #f15f22 100%);
}