/* FeyBeauty 样式表 - 优雅女性风格 */

/* ===== 全局重置与变量定义 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 色彩方案 */
:root {
    --primary-color: #e8b4bc;      /* 柔和的玫瑰粉 */
    --secondary-color: #f5e6e8;    /* 浅粉背景 */
    --accent-color: #d4a5a5;       /* 加深的玫瑰色 */
    --gold-accent: #c9a87a;        /* 优雅的金色 */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --border-color: #f0e6e8;
    --shadow-light: rgba(232, 180, 188, 0.1);
    --shadow-medium: rgba(232, 180, 188, 0.2);
    --hover-transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--hover-transition);
}

ul {
    list-style: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--hover-transition);
    border: 2px solid transparent;
    text-align: center;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== 导航栏样式 ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 20px var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.navbar-menu {
    display: flex;
    gap: 40px;
}

.navbar-link {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.navbar-link.active {
    color: var(--primary-color);
}

.navbar-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

.navbar-actions {
    margin-left: 20px;
}

/* 移动端汉堡按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--hover-transition);
}

/* ===== 页面标题 ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--white));
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 首屏 Banner ===== */
.banner {
    padding: 140px 0 80px;
    background: linear-gradient(to right, var(--secondary-color), var(--white));
    margin-top: 70px;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-content {
    flex: 1;
}

.banner-title {
    font-size: 56px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.banner-image {
    flex: 1;
    text-align: center;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color), var(--white));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 100px;
    box-shadow: 0 15px 30px var(--shadow-light);
}

/* ===== 通用区块样式 ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold-accent);
}

/* ===== 服务亮点 ===== */
.highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    text-align: center;
    transition: var(--hover-transition);
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-light);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.highlight-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== 关于我们预览 ===== */
.about-preview .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* ===== 客户评价 ===== */
.testimonials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--hover-transition);
}

.testimonial-item:hover {
    box-shadow: 0 10px 20px var(--shadow-light);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== 召唤行动 ===== */
.cta {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 60px 0;
}

.cta .section-title {
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 关于我们页面特定样式 ===== */
.story .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-content {
    flex: 1;
}

.story-image {
    flex: 1;
}

/* 团队介绍 */
.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--hover-transition);
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-light);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 40px;
}

.team-title {
    color: var(--gold-accent);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 15px;
}

/* 环境展示 */
.environment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    text-align: center;
}

.gallery-item .placeholder-image {
    height: 200px;
    margin-bottom: 15px;
}

/* 资质证书 */
.certificates-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.certificate-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 28px;
}

/* ===== 服务项目页面特定样式 ===== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 28px;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--hover-transition);
}

.category-tab.active,
.category-tab:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

/* 服务列表 */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--hover-transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-light);
    border-color: var(--primary-color);
}

.service-price {
    font-size: 24px;
    color: var(--gold-accent);
    font-weight: 600;
    margin: 10px 0 15px;
}

.service-item ul {
    margin-top: 15px;
    padding-left: 20px;
}

.service-item li {
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.service-item li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 服务流程 */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    flex-wrap: wrap;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 150px;
    margin-bottom: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    margin: 0 auto 20px;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 5px var(--secondary-color);
}

/* ===== 联系我们页面特定样式 ===== */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--hover-transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-light);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

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

.contact-content p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-content a {
    color: var(--primary-color);
}

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

.contact-note {
    font-size: 14px;
    color: var(--gold-accent);
    margin-top: 5px;
}

/* 地图区域 */
.map-section {
    background-color: var(--light-gray);
}

.map-placeholder {
    text-align: center;
    margin: 40px 0;
}

.map-placeholder .placeholder-image {
    height: 300px;
    margin-bottom: 20px;
}

.map-instructions {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.map-instructions ul {
    margin-top: 20px;
}

.map-instructions li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.map-instructions li::before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 预约提醒 */
.reminder-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reminder-item {
    padding: 25px;
    background-color: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.reminder-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reminder-actions {
    text-align: center;
    margin-top: 50px;
}

.reminder-note {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 15px;
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-item p {
    color: var(--text-light);
}

/* ===== 页脚样式 ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section h4 {
    font-size: 18px;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 15px;
}

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

.footer-section ul a {
    opacity: 0.8;
    transition: var(--hover-transition);
}

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

.footer-section i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .banner .container,
    .about-preview .container,
    .story .container {
        flex-direction: column;
    }

    .banner-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    /* 导航栏移动端 */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px var(--shadow-light);
        gap: 0;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-item {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-actions {
        display: none;
    }

    /* 页面标题 */
    .page-header {
        padding: 120px 0 40px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    /* 首屏 Banner */
    .banner {
        padding: 100px 0 60px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    /* 通用区块 */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    /* 按钮 */
    .btn {
        padding: 10px 24px;
        font-size: 15px;
    }

    /* 页脚 */
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .banner-title {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .highlight-item,
    .service-item,
    .contact-item,
    .testimonial-item {
        padding: 20px;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .category-tab {
        width: 100%;
        max-width: 250px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}