/* 变量定义 */
:root {
    --primary: #FF85A1; /* 柔和粉 */
    --secondary: #FFB6C1; /* 浅粉 */
    --accent: #FF69B4; /* 亮粉 */
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-mid: #E9ECEF;
    --gray-dark: #343A40;
    --text-main: #495057;
    --text-title: #212529;
    --shadow: 0 4px 15px rgba(255, 133, 161, 0.1);
    --transition: all 0.3s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-title);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.bg-gray {
    background-color: var(--gray-light);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 133, 161, 0.3);
}

.primary-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 133, 161, 0.4);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid var(--white);
    backdrop-filter: blur(5px);
}

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

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

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.heart-icon {
    width: 30px;
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-title);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-title);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 服务板块 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-title);
}

/* 包间展示 */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.room-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.room-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.room-item:hover .room-img {
    transform: scale(1.1);
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    margin-bottom: 10px;
    color: var(--text-title);
}

/* 收费标准 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--gray-mid);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    z-index: 10;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    color: var(--text-main);
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.pricing-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* 报名表单 */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.form-desc {
    text-align: center;
    margin-bottom: 40px;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

label {
    font-weight: 500;
    color: var(--text-title);
}

input, select {
    padding: 12px 15px;
    border: 1px solid var(--gray-mid);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 133, 161, 0.1);
}

.submit-btn {
    margin-top: 10px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px;
}

/* 页脚 */
.footer {
    background-color: var(--gray-dark);
    color: var(--gray-light);
    padding: 60px 0 30px;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-info p {
    max-width: 350px;
    opacity: 0.8;
}

.footer h4 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.qrcode-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--white);
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
}

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

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

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

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

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray-mid);
    }

    .mobile-menu-btn { display: flex; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    
    .form-row { grid-template-columns: 1fr; }
    .form-wrapper { padding: 30px 20px; }
    
    .pricing-card.featured { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
