/* 小月智绘 - 首页样式文件 */
/* Author: AI Assistant */
/* Version: 1.0 */

/* ============================================
   图片画廊样式
   ============================================ */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#gallery img {
    margin: 5px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#gallery2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#gallery2 img {
    margin: 5px;
    width: 150px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#gallery3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#gallery3 img {
    margin: 5px;
    width: 150px;
    height: 325px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#gallery4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#gallery4 img {
    margin: 5px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* ============================================
   专业工具集区域图标样式
   ============================================ */
.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon img {
    transition: transform 0.3s ease;
}

.feature-icon:hover img {
    transform: scale(1.1);
}

/* ============================================
   创意工坊区域图标样式
   ============================================ */
.feature-icon-box {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 25px;
}

.feature-icon-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.35);
}

.feature-icon-box i {
    color: white !important;
    font-size: 52px !important;
    z-index: 1;
    position: relative;
}

.feature-icon-box img {
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-icon-box:hover img {
    transform: scale(1.1);
}

/* ============================================
   功能卡片样式
   ============================================ */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.featured-item {
    padding: 30px 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.featured-content h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.featured-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* ============================================
   文字居中对齐样式
   ============================================ */
.text-center {
    text-align: center !important;
}

.services-item .services-content,
.featured-item .featured-content {
    text-align: center !important;
    padding-left: 0 !important;
}

/* ============================================
   图标图片容器样式
   ============================================ */
.icon-image {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.icon-image img {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icon-image img:hover {
    transform: scale(1.1);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .feature-icon-box {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .featured-item {
        padding: 20px 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    #gallery img,
    #gallery2 img,
    #gallery4 img {
        width: 120px;
        height: 120px;
    }
    
    #gallery2 img {
        height: 160px;
    }
    
    #gallery3 img {
        width: 120px;
        height: 260px;
    }
} 