:root {
    --primary-color: #F27141; /* 果小厨标志性暖橙色 */
    --primary-hover: #e05e2d;
    --bg-color: #FFFAF5;      /* 奶油白背景 */
    --bg-alt: #FDF4E9;        /* 替代背景色 */
    --text-main: #2C2520;     /* 炭灰主文本 */
    --text-muted: #8C8F96;    /* 弱化文本 */
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(242, 113, 65, 0.08);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.06);
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    /* 字体优先使用衬线体配合无衬线体 */
    --font-heading: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
    --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    letter-spacing: 1px;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(242, 113, 65, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(242, 113, 65, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background-color: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.navbar.scrolled .logo-text {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05); /* Pre-scale for animation */
}

/* 暖色调叠加层，提亮文本可读性 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 250, 245, 0.85) 0%, 
        rgba(255, 250, 245, 0.6) 50%,
        rgba(255, 250, 245, 0.3) 100%
    );
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-text-box {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(242, 113, 65, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-main);
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 500px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-col: column;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    opacity: 0.8;
    z-index: 10;
}

.scroll-indicator span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 4px;
}

.arrow-down {
    width: 2px;
    height: 40px;
    background-color: currentColor;
    position: relative;
    overflow: hidden;
}

.arrow-down::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--primary-color);
    animation: scrollDown 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
    100% { transform: translateY(200%); }
}

/* Section Title */
.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 64px;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-image, .split-content {
    flex: 1;
}

.blob-frame {
    position: relative;
    width: 100%;
    padding-bottom: 110%; /* Aspect ratio */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morphBlob 8s ease-in-out infinite alternate;
    box-shadow: var(--shadow-md);
}

@keyframes morphBlob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.blob-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover {
    transform: translateY(-16px);
}

.card-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding-bottom: 100%; /* Square */
}

.card-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.card-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.card-content {
    padding: 24px 8px 8px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--bg-alt);
    color: var(--text-main);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.icp a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.icp a:hover {
    color: var(--primary-color);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    transform: translateX(-40px);
}
.fade-right {
    transform: translateX(40px);
}

.fade-left.active, .fade-right.active {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .split-layout {
        flex-direction: column;
        gap: 60px;
    }
    
    .blob-frame {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
