/* ============================================
   AKCK Website
   金黄色背景 #f8b62b，黑色文字
   汉堡图标 → 黑色浮窗（白色文字，hover 黄色）
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8b62b;
    color: #0a0a0a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ============================================
   Logo
   ============================================ */
.top-section {
    text-align: center;
    padding: 60px 0 0;
}

.logo-img {
    width: 142px;
    height: 123px;
    object-fit: contain;
    margin: 0 auto;
}

/* ============================================
   导航区域：汉堡图标 + 浮窗
   ============================================ */
.nav-wrapper {
    position: relative;
    text-align: center;
    padding: 20px 0 10px;
}

/* ---------- 汉堡图标 ---------- */
.hamburger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px;
    transition: opacity 0.3s;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-line {
    display: block;
    width: 32px;
    height: 3px;
    background: #0a0a0a;
    border-radius: 2px;
    transition: all 0.3s;
}

/* 汉堡激活态 → X */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ============================================
   浮窗菜单（黑色背景，白色文字）
   位于汉堡图标下方居中
   ============================================ */
.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a0a;
    border-radius: 4px;
    padding: 28px 30px 20px;
    text-align: center;
    width: 260px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    box-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
}

/* 浮窗小三角（指向汉堡图标） */
.menu-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0a0a0a;
}

/* 菜单列表 */
.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.dropdown-list a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
    display: block;
    padding: 4px 0;
    transition: color 0.25s;
}

.dropdown-list a:hover {
    color: #f8b62b;
}

/* 黄色 X 关闭按钮 */
.dropdown-close {
    font-size: 1.2rem;
    color: #f8b62b;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s;
}

.dropdown-close:hover {
    opacity: 0.7;
}

/* ============================================
   主内容
   ============================================ */
.main-content {
    padding: 40px 0 80px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.body-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

.body-text strong {
    font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    padding: 40px 0;
    text-align: center;
}

.site-footer p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .logo-img {
        width: 100px;
        height: 87px;
    }
    .top-section {
        padding-top: 30px;
    }
    .menu-dropdown {
        width: 230px;
        padding: 22px 20px 16px;
    }
    .dropdown-list a {
        font-size: 0.8rem;
    }
    .content-container {
        padding: 0 20px;
    }
    .body-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   Home 页面：两行大字动画
   ============================================ */

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    padding: 100px 24px;
    overflow: hidden;
}

.hero-line {
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
}

/* 第一行 */
.hero-line-1 {
    font-size: 4rem;
    color: #0a0a0a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    transform: translateX(-150px);
}

.hero-line-1.animate {
    animation: slideFromLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 第二行 */
.hero-line-2 {
    font-size: 4rem;
    color: #0a0a0a;
    letter-spacing: 3px;
    text-transform: uppercase;
    transform: translateX(150px);
}

.hero-line-2.animate {
    animation: slideFromRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s forwards;
}

/* ========== 关键帧 ========== */

@keyframes slideFromLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .hero-line-1,
    .hero-line-2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-line-1 {
        transform: translateX(-60px);
    }

    .hero-line-2 {
        transform: translateX(60px);
    }

    @keyframes slideFromLeft {
        0% {
            transform: translateX(-60px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideFromRight {
        0% {
            transform: translateX(60px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
}

/* ============================================
   栏目名称标签
   ============================================ */
.section-label {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #0a0a0a;
    padding: 30px 24px 10px;
    text-transform: uppercase;
}

/* 响应式 */
@media (max-width: 768px) {
    .section-label {
        font-size: 1.4rem;
        letter-spacing: 3px;
        padding: 20px 16px 8px;
    }
}

/* ============================================
   Footer（粘性底部）
   ============================================ */

/* ---- 让 body 成为 flex 容器，主内容自动撑开 ---- */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* 主内容区吃掉剩余空间，把 footer 推到底部 */
.main-content {
    flex: 1 0 auto;
}

/* ---- Footer 本体 ---- */
.site-footer {
    flex-shrink: 0;
    background: #f8b62b;   /* 黄色底，与页面主色一致 */
    width: 100%;
}

/* 分割线 */
.footer-divider {
    width: 100%;
    height: 1px;
    background: #000;
}

/* 三列 */
.footer-main {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    gap: 40px;
}

/* 左侧 Logo */
.footer-col-left {
    flex: 0 0 80px;           /* 固定 Logo 宽度 */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 10px;
}

/* 中间说明 */
.footer-col-mid {
    flex: 1;                   /* 自动填充剩余空间 */
    max-width: 400px;
    /* 去掉 display:flex，让 p 恢复块级默认撑满 */
}

.footer-desc {
    font-size: 10px;
    color: #000;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* 右侧 Quick Links */
.footer-col-right {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 160px;
    text-align: center;              /* 桌面端也居中 */
}

.footer-quick-line {
    width: 60px;
    height: 2px;
    background: #000;
    margin: 0 auto 12px auto;        /* 居中 */
}

.footer-quick-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    color: #0a0a0a;
}

.footer-quick-line {
    width: 60px;
    height: 2px;
    background: #000;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links li a {
    text-decoration: none;
    color: #000;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #333;
}

/* 版权行 */
.footer-bottom {
    text-align: center;
    padding: 16px 24px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: #000;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding: 30px 20px;
    }

    /* 1. LOGO */
    .footer-col-left {
        order: 1;
        padding-right: 0;
        flex: 0 0 auto;              /* 覆盖桌面端的 80px 固定宽度 */
        justify-content: center;
    }

    .footer-logo {
        width: 80px;                 /* 手机端固定 80px，不会变大 */
        height: auto;
    }

    /* 2. 说明文字 */
    .footer-col-mid {
        order: 2;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;              /* 覆盖桌面端的 flex:1 */
    }

    /* 3. Quick Links */
    .footer-col-right {
        order: 3;
        margin-left: 0;              /* 覆盖桌面端的 margin-left: auto */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        text-align: center;
        font-size: 9px;
    }

    .footer-quick-line {
        margin-left: auto;   
        margin-right: auto;      
    }

    .footer-links {
        text-align: center;
    }
}

/* ============================================
   About 页面主内容区
   ============================================ */
.about-main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ---- 左侧照片 ---- */
.about-photo {
    flex: 0 0 280px;
    max-width: 280px;
}

.about-portrait {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ---- 中间个人信息 ---- */
.about-info {
    flex: 0 0 240px;
    max-width: 240px;
}

.about-info-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0a0a0a;
    letter-spacing: 1px;
}

.about-info-line {
    width: 50px;
    height: 2px;
    background: #000;
    margin-bottom: 18px;
}

.about-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-info-list li {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.8;
}

.info-label {
    font-weight: 700;
    color: #0a0a0a;
}

/* ---- 右侧公司简介 ---- */
.about-desc {
    flex: 1;
    min-width: 0;
}

.about-desc-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0a0a0a;
    letter-spacing: 1px;
}

.about-desc-line {
    width: 50px;
    height: 2px;
    background: #000;
    margin-bottom: 18px;
}

.about-desc-text {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.8;
    margin: 0 0 14px 0;
    text-align: justify;
}

/* ============================================
   移动端适配
   顺序：照片 → 个人信息 → 公司简介
   ============================================ */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 24px;
    }

    .about-photo {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .about-portrait {
        max-width: 320px;
        margin: 0 auto;
    }

    .about-info {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .about-desc {
        flex: 0 0 auto;
    }

    .about-desc-title {
        font-size: 1.3rem;
    }

    .about-info-name {
        font-size: 1.3rem;
    }
}