/* ============================================
   翊昇企業有限公司 - 主样式文件
   参考 ktv.html 设计风格
   ============================================ */

/* ===== 变量定义 ===== */
:root {
    --brand-gold: #Bfa05f;
    --brand-dark: #292524;
    --brand-light: #F9F7F2;
    --brand-white: #FFFFFF;
    --brand-accent: #D97706;
    --text-dark: #292524;
    --text-light: #7F8C8D;
    --gold-gradient: linear-gradient(135deg, #Bfa05f 0%, #F4E4BC 50%, #Bfa05f 100%);
}

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', 'Roboto', sans-serif;
    background-color: var(--brand-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 导航栏 ===== */
.nav-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-circle {
    width: 160px;
    height: 160px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
    overflow: visible;
}

.logo-circle::before {
    display: none;
}

.logo-circle img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-text {
    font-family: 'Playball', cursive;
    font-size: 1.5rem;
    color: var(--brand-dark);
    transition: color 0.3s ease;
}

.nav-logo:hover .logo-text {
    color: var(--brand-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-dark);
    background: rgba(0, 0, 0, 0.05);
}

.nav-btn {
    margin-left: 1rem;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    background: var(--brand-dark);
    color: var(--brand-white);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    background: var(--brand-gold);
    box-shadow: 0 0 15px rgba(191, 160, 95, 0.3);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-dark);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        rgba(249, 247, 242, 0.4),
        rgba(249, 247, 242, 1)
    ), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center 30%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(41, 37, 36, 0.2);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: float 6s ease-in-out infinite;
}

.hero-badge span {
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    font-family: 'Playball', cursive;
    color: var(--brand-gold);
    font-size: 3.5rem;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--brand-gold);
    color: var(--brand-white);
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #a68a4f;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: var(--brand-white);
    color: var(--brand-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--brand-dark);
}

/* ===== Logo 展示区域 ===== */
.logo-showcase {
    text-align: center;
    margin: 4rem 0;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo-circle-large {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(191, 160, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-circle-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.logo-circle-large img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.company-name {
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.company-name-chinese {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.company-name-english {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== 服务特色区域 ===== */
.features-section {
    padding: 5rem 0;
    background: var(--brand-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
    background: var(--brand-white);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(191, 160, 95, 0.15);
    border-color: var(--brand-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-white);
    box-shadow: 0 5px 20px rgba(191, 160, 95, 0.3);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--brand-dark);
    color: var(--brand-white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(191, 160, 95, 0.3);
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer h4 {
    color: var(--brand-gold);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.footer h5.footer-section-title {
    color: var(--brand-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.company-name-english {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-contact {
    text-align: left;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item i {
    color: var(--brand-gold);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--brand-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-gold);
    padding-left: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-text-small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== 消息提示 ===== */
.alert-container {
    max-width: 600px;
    margin: 2rem auto;
    animation: fadeInUp 0.5s ease-out;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== 分页样式 ===== */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--brand-dark);
    border-color: #e9ecef;
    padding: 0.5rem 1rem;
}

.pagination .page-link:hover {
    background-color: var(--brand-light);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: white;
}

/* ===== Breadcrumb 样式 ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--brand-gold);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== 响应式设计 ===== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-title .highlight {
        font-size: 5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .company-name-chinese {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.mobile-menu-open {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-circle-large {
        width: 150px;
        height: 150px;
    }
    
    .logo-circle-large img {
        width: 120px;
        height: 120px;
    }
    
    .company-name-chinese {
        font-size: 2rem;
    }
    
    .company-name-english {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
}

