/* =========================================
   Global Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 平滑滚动 */
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: #000; /* 全局深色背景 */
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px; /* 为固定的 header 留出空间，如果 header 是 fixed 的话。如果不是 fixed，就不需要。用户没说要 fixed，但通常顶部导航是 fixed 比较好。暂时先不做 fixed，看看效果。如果用户觉得滚动就没了，再改 fixed。 */
    /* 纠正：如果 header 不是 fixed，就不需要 padding-top。当前设计 header 是 normal flow。 */
    padding-top: 0;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #C3E94F; /* 品牌亮绿色 */
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* =========================================
   Site Header
   ========================================= */
.site-header {
    background-color: #000;
    padding: 1rem 0;
    border-bottom: 1px solid #333; /* 可选：增加一个微妙的底边框 */
    /* 如果想让导航栏固定在顶部，取消下面的注释 */
    /* position: sticky; top: 0; z-index: 1000; */
}

.header-container {
    display: flex;
    justify-content: space-between; /* 左右分布：Logo 左，导航右 */
    align-items: center;
}

.logo-link {
    display: block;
}

.main-logo {
    width: 150px; /* 稍微调小一点，适配导航栏 */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Navigation Styles */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem; /* 导航项之间的间距 */
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    font-family: 'Fredoka', sans-serif; /* 使用标题字体 */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: #C3E94F; /* 悬停变为品牌绿 */
}

/* 移动端响应式：屏幕较小时，导航可能需要调整 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========================================
   1. Hero Banner Section
   ========================================= */
.hero-section {
    height: 80vh; /* Banner 高度可以稍微减小，因为有了 Header */
    min-height: 500px;
    background-image: url('Californiarolls-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 遮罩层，确保文字清晰 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); 
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.main-slogan {
    font-size: 5rem;
    color: #fff;
    text-shadow: 4px 4px 0px #F5A623, 8px 8px 20px rgba(0,0,0,0.5); /* 橙色阴影+黑色模糊阴影 */
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   2. Product Flavors Section
   ========================================= */
.flavors-section {
    min-height: 100vh;
    background-image: url('product-info-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* 垂直居中 */
    position: relative;
    padding: 4rem 0;
}

/* 局部遮罩，如果图片太亮 */
.flavors-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* 调低不透明度，让图片更亮 */
}

.flavors-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between; /* 左右分布 */
    align-items: center;
    gap: 4rem;
}

.flavors-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.flavors-image img {
    max-width: 100%;
    width: 450px; /* 限制最大宽度，防止过大 */
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
    animation: float 5s ease-in-out infinite; /* 复用 float 动画 */
}

.flavors-text {
    flex: 1; /* 占据一半 */
    padding: 3rem;
    background: rgba(0, 0, 0, 0.4); /* 半透明黑背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    border-radius: 15px; /* 圆角 */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 微妙的边框 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.flavor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 双列显示列表 */
    gap: 1rem;
    list-style: none;
}

.flavor-list li {
    font-size: 1.1rem;
    color: #fff;
    padding-left: 1.5rem;
    position: relative;
}

.flavor-list li::before {
    content: '•';
    color: #F5A623; /* 橙色圆点 */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* =========================================
   3. Brand Story Section
   ========================================= */
.story-section {
    padding: 6rem 0;
    background-color: #0f172a; /* 深蓝灰色背景 */
    position: relative;
    overflow: hidden;
}

.story-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.story-text {
    flex: 1;
}

.story-body p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.highlight-text {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #F5A623 !important; /* 橙色强调 */
    font-family: 'Fredoka', sans-serif;
}

.story-image {
    flex: 1;
    text-align: center;
}

.story-image img {
    max-width: 100%;
    width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(195, 233, 79, 0.2)); /* 绿色光晕 */
    animation: float 6s ease-in-out infinite;
}

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

/* =========================================
   4. Contact Section
   ========================================= */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #0f172a, #000000);
}

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

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    max-width: 300px;
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h3 {
    color: #F5A623;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #C3E94F;
}

.contact-form {
    flex: 1;
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C3E94F;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #C3E94F;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   5. Footer
   ========================================= */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .flavors-content-wrapper {
        flex-direction: column; /* 垂直排列 */
        justify-content: center;
        gap: 2rem;
    }
    
    .flavors-image {
        order: 1; /* 图片在上方 */
        width: 80%; /* 图片宽度限制 */
        margin: 0 auto;
    }

    .flavors-text {
        order: 2; /* 文字在下方 */
        width: 100%;
        margin: 1rem 0;
    }

    .story-grid {
        flex-direction: column-reverse; /* 手机端Logo在上方或下方，这里选下方可能更好，或者上方？通常文字优先 */
        text-align: center;
        gap: 2rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info, .contact-form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .main-slogan {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .flavor-list {
        grid-template-columns: 1fr; /* 单列显示 */
    }
}