/* 纽约医美 - yimeiny.com 样式表 */

:root {
    --primary-color: #8B5A8C;
    --primary-dark: #6B4A6C;
    --secondary-color: #D4A574;
    --accent-color: #E8C4A2;
    --light-bg: #FDF8F5;
    --dark-text: #2C2C2C;
    --light-text: #666666;
    --white: #FFFFFF;
    --gold: #C9A962;
    --rose: #E8B4B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--dark-text);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========== 导航栏 ========== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 12px;
    color: var(--accent-color);
    display: block;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ========== 英雄区域 ========== */
.hero {
    background: linear-gradient(135deg, rgba(139, 90, 140, 0.9) 0%, rgba(107, 74, 108, 0.95) 100%),
                url('images/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 300px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text h1 span {
    color: var(--gold);
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-feature {
    text-align: center;
    color: var(--white);
}

.hero-feature .number {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold);
}

.hero-feature .label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* ========== 服务卡片 ========== */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--dark-text);
    margin-bottom: 15px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

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

.service-card p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.service-card .learn-more:hover {
    color: var(--gold);
}

/* ========== 医生介绍 ========== */
.doctor-section {
    padding: 100px 0;
    background: var(--white);
}

.doctor-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.doctor-image {
    position: relative;
}

.doctor-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    width: 100%;
}

.doctor-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
}

.doctor-badge .years {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.doctor-badge .text {
    font-size: 14px;
}

.doctor-info h2 {
    font-size: 36px;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.doctor-info .title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.doctor-info .description {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 30px;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
}

.credential-item i {
    color: var(--gold);
    font-size: 20px;
}

.credential-item span {
    font-size: 14px;
    color: var(--dark-text);
}

/* ========== 项目详情 ========== */
.treatment-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.treatment-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.treatment-tab {
    padding: 15px 40px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.treatment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.treatment-content.reverse {
    direction: rtl;
}

.treatment-content.reverse > * {
    direction: ltr;
}

.treatment-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.treatment-info h3 {
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.treatment-info p {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.treatment-benefits {
    list-style: none;
}

.treatment-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.treatment-benefits li i {
    color: var(--gold);
    font-size: 18px;
}

/* ========== 为什么选择我们 ========== */
.why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.why-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========== FAQ 页面 ========== */
.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question h4 {
    font-size: 17px;
    color: var(--dark-text);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.8;
}

/* ========== 联系表单 ========== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

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

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

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

.contact-text a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 90, 140, 0.4);
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--gold);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: var(--gold);
}

/* ========== 页面横幅 ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.6;
}

/* ========== 关于页面 ========== */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--dark-text);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ========== 团队部分 ========== */
.team-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.team-info .position {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-info p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.7;
}

/* ========== 数据统计 ========== */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-item .label {
    font-size: 16px;
    color: var(--light-text);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-content {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .treatment-content {
        grid-template-columns: 1fr;
    }

    .treatment-content.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .credentials-list {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .doctor-info h2 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .stat-item .number {
        font-size: 36px;
    }
}
