/*
Theme Name:   Neve Child - LY Company
Theme URI:    http://www.ty-laiyih.com.mm/
Description:  Custom child theme for LY Company Myanmar with recruitment design
Author:       LY Company
Author URI:   http://www.ty-laiyih.com.mm/
Template:     neve
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  neve-child
*/

/* ============================================
   招聘頁面設計 - Recruitment Design
   基於越南 LAC TY 網站風格
   ============================================ */

/* 主色調 - Primary Colors */
:root {
    --ly-green: #1b8b4c;
    --ly-orange: #f5a623;
    --ly-red: #d9534f;
    --ly-light-bg: #f0f9f4;
    --ly-white: #ffffff;
    --ly-text-dark: #333333;
}

/* 英雄區塊 - Hero Section */
.recruitment-hero {
    background: var(--ly-light-bg);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.recruitment-hero h1 {
    font-size: 4em;
    color: var(--ly-green);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

/* 招聘流程 - Recruitment Process */
.recruitment-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.process-step {
    background: var(--ly-orange);
    color: var(--ly-white);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-arrow {
    color: var(--ly-green);
    font-size: 2em;
    font-weight: bold;
}

.process-details {
    text-align: center;
    margin-top: 20px;
    color: var(--ly-green);
    font-size: 1.1em;
}

/* 菱形圖片拼貼 - Diamond Photo Collage */
.diamond-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.diamond-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.diamond-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: rotate(45deg);
    transform-origin: center;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.diamond-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 141%;
    height: 141%;
    object-fit: cover;
}

/* CTA 按鈕 - Call to Action Button */
.cta-button {
    background: var(--ly-red);
    color: var(--ly-white);
    padding: 20px 50px;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(217, 83, 79, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background: #c9302c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 83, 79, 0.6);
}

.cta-button::after {
    content: '👋';
    font-size: 1.2em;
}

/* 工作時間資訊 - Working Hours Info */
.working-hours {
    background: var(--ly-white);
    padding: 30px;
    border-left: 5px solid var(--ly-green);
    margin: 30px 0;
}

.working-hours h3 {
    color: var(--ly-green);
    margin-bottom: 15px;
}

.working-hours ul {
    list-style: none;
    padding: 0;
}

.working-hours li {
    padding: 8px 0;
    font-size: 1.1em;
}

/* 響應式設計 - Responsive Design */
@media (max-width: 768px) {
    .recruitment-hero h1 {
        font-size: 2.5em;
    }

    .recruitment-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .diamond-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .recruitment-hero h1 {
        font-size: 2em;
    }

    .diamond-collage {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   導航選單專業優化 - Professional Navigation
   ============================================ */

/* Header 容器樣式 */
.site-header {
    background: var(--ly-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header 包裝器 */
.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo 區域優化 */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
}

.site-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--ly-green);
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--ly-orange);
}

/* 主導航選單樣式 */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 12px 20px;
    color: var(--ly-text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    background: var(--ly-light-bg);
    color: var(--ly-green);
    transform: translateY(-2px);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: var(--ly-green);
    color: var(--ly-white);
}

/* 語言切換器優化 */
.lang-switcher,
.header-lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--ly-light-bg);
}

.lang-switcher a,
.header-lang-switcher a {
    padding: 8px 16px;
    background: transparent;
    color: var(--ly-text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--ly-green);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switcher a:hover,
.header-lang-switcher a:hover {
    background: var(--ly-green);
    color: var(--ly-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(27, 139, 76, 0.3);
}

.lang-switcher a.current-lang,
.lang-switcher a.lang-item-first[hreflang="zh"],
.header-lang-switcher .lang-item-first.current-lang {
    background: var(--ly-green);
    color: var(--ly-white);
}

.lang-switcher img,
.header-lang-switcher img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}

/* 響應式導航 - Mobile */
@media (max-width: 960px) {
    .header-wrapper {
        padding: 10px 20px;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.toggled {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ly-white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 10px;
    }

    .main-navigation ul {
        flex-direction: column;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        width: 100%;
        text-align: left;
    }

    .lang-switcher,
    .header-lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid var(--ly-light-bg);
    }
}

/* 選單項目圖標增強 */
.main-navigation .menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* 下拉選單樣式 */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ly-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    margin-top: 5px;
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu a {
    padding: 10px 20px;
    border-radius: 0;
}

.main-navigation .sub-menu a:hover {
    background: var(--ly-light-bg);
    transform: translateX(5px);
}

/* Neve 主題兼容性調整 */
.header-menu-sidebar .menu-item a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-menu-sidebar .menu-item a:hover {
    color: var(--ly-green);
}
