/*
Theme Name: TIMEEYE 时代米娅
Description: 时代米娅化妆品官网主题
Version: 1.3
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }

/* 导航栏 */
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 70px; }
.logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; color: #c9a96e; }
.logo span { color: #1a1a1a; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav ul li a { font-size: 15px; color: #555; transition: color 0.3s; padding: 5px 0; border-bottom: 2px solid transparent; }
nav ul li a:hover { color: #c9a96e; border-bottom-color: #c9a96e; }

/* Hero 区域 */
.hero { background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 50%, #f0e0d0 100%); min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(201,169,110,0.1); border-radius: 50%; }
.hero::after { content: ""; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(201,169,110,0.08); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 56px; color: #c9a96e; letter-spacing: 12px; margin-bottom: 15px; font-weight: 300; }
.hero-content p { font-size: 20px; color: #666; margin-bottom: 35px; letter-spacing: 6px; }
.btn-primary { display: inline-block; padding: 14px 45px; background: #c9a96e; color: #fff; border-radius: 4px; font-size: 16px; transition: all 0.3s; letter-spacing: 2px; }
.btn-primary:hover { background: #b8956a; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(201,169,110,0.4); }

/* 通用容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #333; margin-bottom: 12px; font-weight: 500; letter-spacing: 4px; }
.section-title p { color: #888; font-size: 16px; letter-spacing: 2px; }

/* 产品系列 */
.series-section { background: #fafafa; }
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.series-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; }
.series-item:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.series-item-img { height: 200px; overflow: hidden; }
.series-item-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.series-item:hover .series-item-img img { transform: scale(1.05); }
.series-item-info { padding: 20px; text-align: center; }
.series-item-info h3 { font-size: 17px; color: #333; margin-bottom: 6px; letter-spacing: 2px; }
.series-item-info p { font-size: 13px; color: #999; letter-spacing: 1px; }

/* 精选产品 - 固定4列 */
.featured-section { background: #fff; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.featured-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; }
.featured-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.featured-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.featured-info { padding: 16px; }
.featured-info h4 { font-size: 15px; color: #333; margin-bottom: 5px; letter-spacing: 1px; }
.featured-info p { font-size: 12px; color: #999; }

/* 关于我们 */
.about-section { background: #fafafa; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h3 { font-size: 22px; margin-bottom: 20px; color: #333; letter-spacing: 2px; }
.about-text p { color: #666; margin-bottom: 15px; line-height: 1.9; font-size: 15px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.feature-item { display: flex; align-items: center; gap: 12px; }
.feature-icon { width: 36px; height: 36px; background: #c9a96e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.about-image { background: #f5e6d3; height: 380px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 品牌列表 */
.brands-section { background: #fff; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.brand-item { padding: 22px; background: #f9f9f9; border-radius: 8px; text-align: center; border: 1px solid #f0f0f0; transition: all 0.3s; }
.brand-item:hover { border-color: #c9a96e; background: #fff; }
.brand-item h4 { font-size: 15px; color: #333; letter-spacing: 2px; }

/* 联系方式 */
.contact-section { background: #1a1a1a; color: #fff; }
.contact-section .section-title h2 { color: #fff; }
.contact-section .section-title p { color: #888; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.contact-item { text-align: center; }
.contact-item h4 { font-size: 18px; margin-bottom: 15px; color: #c9a96e; letter-spacing: 2px; }
.contact-item p { color: #ccc; font-size: 14px; line-height: 1.8; letter-spacing: 1px; }

/* 页脚 */
footer { background: #111; color: #666; text-align: center; padding: 25px 20px; font-size: 13px; letter-spacing: 1px; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-container { flex-direction: column; height: auto; padding: 15px 20px; gap: 15px; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .hero-content h1 { font-size: 36px; letter-spacing: 6px; }
  .hero-content p { font-size: 16px; letter-spacing: 3px; }
  .about-content { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .section-title h2 { font-size: 26px; letter-spacing: 2px; }
  .container { padding: 60px 15px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-item img { height: 200px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
