/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: rgb(243, 253, 254);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 头部导航样式 ===== */
.header {
    background-color: rgb(243, 253, 254);
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

/* Logo样式 */
.logo-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 24px;
    color: #4A90E2;
    font-weight: 400;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    position: relative;
}

.nav-link.portfolio::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

/* 头部右侧功能区 */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.icon-btn {
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    font-size: 16px;
    color: #333;
}

.icon-btn .icon-heart {
    color: #ff4757;
}

.cart-btn, .profile-btn {
    position: relative;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ff4757;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.login-btn {
    background-color: rgb(172, 208, 210);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* 顶部大图 */
.hero img {
  width: 100vw;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* 卡片区块 */
.section.card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding: 48px 48px 32px 48px;
}

/* 专业概述 */
.overview {
  display: flex;
  gap: 48px;
  align-items: center;
}
.overview-left img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}
.overview-right {
  flex: 1;
}
.section-title {
  font-size: 32px;
  color: #333;
  font-weight: 700;
  margin-bottom: 18px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin-top: 24px;
}
.overview-item {
  background: #f6fcff;
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 师资力量 */
.faculty {
  display: flex;
  gap: 48px;
  align-items: center;
}
.faculty-left {
  flex: 1;
}
.faculty-right img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 28px;
}
.faculty-concept strong {
  font-size: 18px;
  color: #333;
}
.faculty-concept p {
  font-size: 15px;
  color: #444;
  margin: 12px 0;
}
.faculty-concept ul {
  padding-left: 18px;
  margin: 0 0 18px 0;
}
.faculty-concept li {
  font-size: 14px;
  color: #3d3d3d;
  margin-bottom: 6px;
}
.faculty-data {
  display: flex;
  gap: 48px;
  margin-top: 18px;
}
.faculty-data div {
  font-size: 18px;
  color: #333;
  text-align: center;
}
.faculty-data strong {
  font-size: 28px;
  color: #4f8cff;
}

/* 专业成就 */
.achieve-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin: 32px 0 0 0;
}
.achieve-item {
  background: #f6fcff;
  border-radius: 80px 80px 0 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  width: 220px;
  height: 140px;
  text-align: center;
  padding: 24px 0 0 0;
  font-size: 16px;
  color: #333;
}
.achieve-item .blue {
  color: #4f8cff;
  font-size: 32px;
  font-weight: bold;
}

/* 优秀学生作品与近期成就 */
.works-achieve {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.works-left {
  flex: 1;
}
.works-left h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.works-grid img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.works-right {
  flex: 2;
}
.works-right h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.recent-item {
  background: #f6fcff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.recent-item .icon {
  font-size: 22px;
}
.recent-item .desc {
  color: #7a8a8e;
  font-size: 14px;
}

/* ===== 页脚样式 ===== */
.footer {
    background-color: rgb(165, 188, 194);
    border-top: 1px solid #f0f0f0;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* 品牌信息 */
.footer-brand {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 20px;
    color: #4A90E2;
    font-weight: 400;
    margin-bottom: 12px;
    display: block;
}

.footer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: bold;
}

/* 页脚标题 */
.footer-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

/* 快速链接 */
.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

/* 联系方式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.contact-icon {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* 社交媒体 */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    display: block;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 版权信息 */
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.copyright {
    font-size: 12px;
    color: #999;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-details {
        padding-left: 0;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .delivery-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .thumbnail-gallery {
        gap: 8px;
    }
    
    .thumbnail img {
        width: 80px;
        height: 80px;
    }
}
