/* Local Font Definitions */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-display-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/playfair-display-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/noto-sans-sc-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-sans-sc-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/noto-sans-sc-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noto-sans-sc-600.woff2') format('woff2');
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    line-height: 1.6;
    background: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #333;
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.btn-submit {
    padding: 0.8rem 3rem;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #eee;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
}

.nav-logo {
    margin: 0 2rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.lang-link.active {
    font-weight: 600;
}

.lang-divider {
    color: var(--color-gray);
}

/* Mobile Navigation - Hidden by default on desktop */
.mobile-nav {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.nav-logo-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo-mobile img {
    height: 50px;
    width: auto;
}

/* Language Dropdown */
.lang-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
}

.current-lang {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-black);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.lang-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

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

/* Mobile touch support */
.lang-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

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

.lang-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--color-black);
    white-space: nowrap;
}

.lang-menu a:hover {
    background: var(--color-light-gray);
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: all 0.3s ease;
}

/* Hamburger Animation when active */
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-light-gray);
    letter-spacing: 0.05em;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

.mobile-menu-link:hover {
    background: var(--color-light-gray);
    opacity: 1;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
}

.hero-image {
    flex: 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-left {
    /* Food image on left */
}

.hero-image-right {
    /* Chef image on right */
}

.hero-content {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    color: var(--color-white);
    padding: 3rem 4rem;
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.hero-intro {
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

.hero-philosophy {
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

/* Career Highlights Section */
.career-section {
    padding: 6rem 0;
    text-align: center;
    background: var(--color-white);
}

.career-section .section-title {
    padding: 0 2rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    max-width: 100%;
    margin: 0 0 3rem;
}

.career-item {
    text-align: center;
}

.career-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 0;
}

.career-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.career-item:hover .career-image img {
    transform: scale(1.05);
}

.career-name {
    font-size: 0.85rem;
    color: var(--color-gray);
    letter-spacing: 0.03em;
    padding: 1rem 0.5rem 0;
}

.career-section .btn-primary {
    margin-top: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 2rem;
    background: var(--color-light-gray);
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    text-align: center;
    padding: 2rem;
}

.project-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-logo img {
    max-height: 100%;
    max-width: 180px;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: relative;
    z-index: 10;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--color-white);
    text-align: center;
}

.testimonial-card {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: var(--color-black);
    color: var(--color-white);
    overflow: hidden;
}

.testimonial-content {
    flex: 1;
    padding: 3rem;
    text-align: left;
}

.testimonial-title {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.author-title {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

.testimonial-image {
    flex: 0 0 40%;
    max-width: 400px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Section */
.contact-section {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 2rem;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-col {
    flex: 1;
    text-align: center;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-col p {
    margin: 0.5rem 0;
}

.footer-col a {
    color: var(--color-white);
    font-size: 0.9rem;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-col .social-links {
    justify-content: center;
}

.footer-col .qr-code {
    margin: 0 auto;
}

.contact-info a {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.social-links svg {
    width: 100%;
    height: 100%;
}

.qr-code {
    width: auto;
    max-width: 120px;
    background: var(--color-white);
    padding: 5px;
}

.qr-code img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-hint {
    font-size: 0.75rem;
    color: var(--color-black);
    text-align: center;
    padding: 0.5rem 0 0;
    margin: 0;
}

/* ICP备案号样式 */
.footer-beian {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-beian a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-beian a:hover {
    color: rgba(255,255,255,0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-nav {
        display: flex;
        position: relative;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Mobile Hero - Vertical Stack Layout */
    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-bg {
        flex-direction: column-reverse;
        position: relative;
        height: auto;
    }

    .hero-image {
        flex: none;
        height: 45vh;
        min-height: 300px;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 400px;
        padding: 2rem 1.5rem;
        margin: 0;
        z-index: 20;
    }

    .hero h1 {
        font-size: 1.8rem;
        font-family: var(--font-display);
        font-weight: 300;
        letter-spacing: 0.02em;
    }

    .hero-intro,
    .hero-philosophy {
        font-family: var(--font-display);
        font-style: normal;
        font-weight: 300;
        font-size: 1rem;
        letter-spacing: 0.02em;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .career-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-image {
        max-width: 100%;
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .career-grid {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        flex-direction: column;
    }
}
