/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    /* 美属萨摩亚风格配色 */
    --ocean-blue: #002B5C; /* 旗帜深蓝 */
    --island-red: #CE1126; /* 旗帜红 */
    --sand-beige: #F4F1EA; /* 沙滩色 */
    --palm-green: #2E8B57; /* 植被绿 */
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--sand-beige);
    color: var(--text-dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
header {
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--island-red); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: #ffd700; /* 金色点缀 */
}

/* 按钮 */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--island-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a80e1e;
    transform: translateY(-2px);
}

/* Hero 区域 - 太平洋风格 */
.hero {
    background: linear-gradient(rgba(0, 43, 92, 0.7), rgba(0, 43, 92, 0.7)), 
                url('https://images.unsplash.com/photo-1589985270826-4b7bb135bc9d?q=80&w=2070&auto=format&fit=crop'); /* 太平洋海岛背景 */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品部分 */
.products-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 50px;
    position: relative;
}

/* 装饰性下划线，模仿波浪 */
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--island-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 250px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img { max-height: 80%; }

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    color: var(--ocean-blue);
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    color: var(--island-red);
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

/* 关于我们 - 岛屿风格 */
.about {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

/* 隐私页样式 */
.legal-content {
    background: var(--white);
    padding: 60px;
    margin: 60px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 900px;
}

.legal-content h1 { color: var(--ocean-blue); margin-bottom: 10px; }
.legal-content h2 { color: var(--ocean-blue); margin-top: 30px; margin-bottom: 15px; font-size: 1.5rem; }
.legal-content p { color: var(--text-light); margin-bottom: 15px; }

/* 页脚 */
footer {
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info p { margin-bottom: 10px; opacity: 0.8; }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 移动端 */
@media (max-width: 768px) {
    .nav-links { display: none; } /* 简化处理 */
    .hero h1 { font-size: 2.5rem; }
}