/*
 * Jafon Beauty 玫红色主题样式优化
 * 主色调: #E91E63 (玫红)
 * 辅助色: #C2185B (深玫红), #F48FB1 (浅玫红)
 */

/* ========== 全局样式 ========== */
::selection {
    background: #E91E63;
    color: #fff;
}

::-webkit-selection {
    background: #E91E63;
    color: #fff;
}

::-moz-selection {
    background: #E91E63;
    color: #fff;
}

/* ========== 主色调定义 ========== */
.bg-main {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
}

.bg-inverse {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
}

.text-main {
    color: #E91E63 !important;
}

/* ========== 按钮样式 ========== */
.button.bg-main:hover {
    background: #C2185B !important;
}

.btn-info {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, #C2185B 0%, #880E4F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

/* ========== 导航栏样式 ========== */
.header-nav {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#fh5co-header .nav li a {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#fh5co-header .nav li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#fh5co-header .nav li a:hover::after {
    width: 60%;
}

#fh5co-header .nav li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* 下拉菜单 */
.drop-menu {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-top: 3px solid #E91E63;
}

.drop-menu li a {
    color: #333 !important;
    transition: all 0.3s ease;
}

.drop-menu li a:hover {
    background: #E91E63 !important;
    color: #fff !important;
}

/* ========== 搜索框 ========== */
#fh5co-header .search-top input.go {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    transition: all 0.3s ease;
}

#fh5co-header .search-top input.go:hover {
    background: linear-gradient(135deg, #C2185B 0%, #880E4F 100%);
}

/* ========== Banner区域 ========== */
#fh5co-hero {
    position: relative;
}

#fh5co-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(233,30,99,0.1), transparent);
}

/* ========== 标题样式 ========== */
.fh5co-heading h2 {
    color: #E91E63;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.fh5co-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    border-radius: 2px;
}

/* ========== 产品卡片 ========== */
.pro-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.pro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233,30,99,0.2);
    border-color: #E91E63;
}

.portfolio-img {
    overflow: hidden;
    position: relative;
}

.portfolio-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233,30,99,0) 0%, rgba(233,30,99,0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.pro-item:hover .portfolio-img::after {
    opacity: 1;
}

.portfolio-img img {
    transition: all 0.5s ease;
}

.pro-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.pro-item h2 {
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.pro-item h2 a {
    color: #333;
    transition: color 0.3s ease;
}

.pro-item h2 a:hover {
    color: #E91E63;
}

/* ========== 关于我们区域 ========== */
.bg-about {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
}

.bg-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E91E63, #C2185B, #E91E63);
}

.about-box {
    font-size: 14px;
    line-height: 2;
    color: #666;
}

/* ========== 新闻区域 ========== */
#fh5co-news-list ul li {
    border-bottom: 1px dashed #eee;
    padding: 12px 0;
    transition: all 0.3s ease;
}

#fh5co-news-list ul li:hover {
    padding-left: 10px;
    border-bottom-color: #E91E63;
}

#fh5co-news-list ul li a {
    color: #555;
    transition: color 0.3s ease;
}

#fh5co-news-list ul li a:hover {
    color: #E91E63;
}

#fh5co-news-list ul li span {
    color: #999;
    font-size: 12px;
}

/* ========== 联系我们区域 ========== */
.contact-content p {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.contact-content a {
    color: #E91E63;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #C2185B;
    text-decoration: underline;
}

/* ========== 页脚 ========== */
footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: #999;
}

.footer-bot {
    background: rgba(0,0,0,0.2);
}

.foot-link a {
    color: #ccc;
    transition: color 0.3s ease;
}

.foot-link a:hover {
    color: #E91E63;
}

.Copyright {
    color: #777;
}

/* ========== 链接样式 ========== */
a {
    color: #E91E63;
    transition: all 0.3s ease;
}

a:hover {
    color: #C2185B;
}

/* ========== 表单样式 ========== */
.input:focus, 
.textarea:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

/* ========== 面包屑导航 ========== */
.bread a {
    color: #666;
}

.bread a:hover {
    color: #E91E63;
}

/* ========== 分页 ========== */
.pager a:hover,
.pager-prev:hover,
.pager-next:hover {
    background: #E91E63;
    color: #fff;
    border-color: #E91E63;
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .fh5co-heading h2 {
        font-size: 24px;
    }
    
    #fh5co-header .logo {
        margin: 15px 0;
        text-align: center;
    }
    
    .btn-info {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pro-item {
    animation: fadeInUp 0.6s ease;
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E91E63;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C2185B;
}
