/* 多多田官网主样式文件 */
/* 创建时间: 2026年4月13日 */

/* 基础变量 */
:root {
  --primary-color: #165DFF;
  --primary-dark: #0F389E;
  --primary-light: #6AA1FF;
  --secondary-color: #FF6B9D;
  --accent-color: #8B4513;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e8e8e8;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页面英雄区域 */
.page-hero {
  margin-top: 70px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(22, 93, 255, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content .tagline {
  font-size: 1.3rem;
  color: #a8c7ff;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* 品牌区域 */
.brands-section {
  background: var(--bg-white);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* 品牌卡片 */
.brand-card {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.brand-header {
  padding: 30px;
}

.brand-card.siplucky .brand-header {
  background: linear-gradient(135deg, #FFA5C3 0%, #FF6B9D 100%);
}

.brand-card.niuzhanshi .brand-header {
  background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
}

.brand-card h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.brand-card.siplucky h3,
.brand-card.niuzhanshi h3 {
  color: white;
}

.brand-card .slogan {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

.brand-card.siplucky .slogan {
  color: #ffe8f0;
}

.brand-card.niuzhanshi .slogan {
  color: #f8f5f1;
}

.brand-content {
  padding: 25px;
}

.brand-content p {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.brand-tag {
  background: rgba(22, 93, 255, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.brand-card.siplucky .brand-tag {
  background: rgba(255, 107, 157, 0.1);
  color: var(--secondary-color);
}

.brand-card.niuzhanshi .brand-tag {
  background: rgba(139, 69, 19, 0.1);
  color: var(--accent-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(22, 93, 255, 0.1);
}

.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* 关于我们区域 */
.about-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* 联系方式区域 */
.contact-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-item p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #a8c7ff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
  font-size: 0.9rem;
}

/* 动画效果 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content .tagline {
    font-size: 1.1rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .page-hero {
    padding: 60px 0;
  }
  
  .brands-section,
  .about-section,
  .contact-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .brand-card h3 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
/* 多多田版面修复 - 2026年4月13日 */

/* 1. 品牌展示部分修复 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.brand-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.brand-header {
  padding: 25px 25px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.brand-header h3 {
  font-size: 1.5rem;
  margin: 0 0 5px 0;
}

.brand-header .slogan {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.brand-content {
  padding: 20px 25px 25px;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tag {
  background: #f0f7ff;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-view:hover {
  background: var(--primary-dark);
}

/* 2. 响应式修复 */
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .brand-header {
    padding: 20px 20px 12px;
  }
  
  .brand-content {
    padding: 15px 20px 20px;
  }
  
  .brand-header h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    gap: 15px;
  }
  
  .brand-card {
    border-radius: 12px;
  }
}

/* 3. 通用布局修复 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* 4. 页脚修复 */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}
/* 针对性修复 - 解决图片中显示的问题 */

/* 1. 统一品牌卡片高度 */
.brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}

.brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-content p {
  flex: 1;
  margin-bottom: 15px;
}

/* 2. 统一按钮样式 */
.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.btn-view:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 3. 统一标签样式 */
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(22, 93, 255, 0.1);
}

/* 4. 为牛哥哥品牌添加特定样式 */
.brand-card.newgege .brand-header {
  background: linear-gradient(135deg, #6AA1FF 0%, #165DFF 100%);
}

.brand-card.newgege h3,
.brand-card.newgege .slogan {
  color: white;
}

.brand-card.newgege .tag {
  background: rgba(22, 93, 255, 0.1);
  color: #165DFF;
  border-color: rgba(22, 93, 255, 0.2);
}

/* 5. 修复网格布局 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* 6. 移动端优化 */
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .brand-card {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .brand-card {
    min-height: 320px;
  }
  
  .btn-view {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* 7. 确保所有品牌卡片视觉一致 */
.brand-card.siplucky .btn-view {
  background: #FF6B9D;
}

.brand-card.siplucky .btn-view:hover {
  background: #E85384;
}

.brand-card.niuzhanshi .btn-view {
  background: #8B4513;
}

.brand-card.niuzhanshi .btn-view:hover {
  background: #6B3410;
}

.brand-card.newgege .btn-view {
  background: #165DFF;
}

.brand-card.newgege .btn-view:hover {
  background: #0F389E;
}
