/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 页面容器 */
.page-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* 页面共同样式 */
.page {
    position: absolute;
    width: 100vw;
    height: 100vh;
    transition: transform 0.5s ease;
    transform: translateX(100%);
}

/* 第一页样式 */
#page1 {
    transform: translateX(0);
    z-index: 2;
}

/* 第二页样式 */
#page2 {
    transform: translateX(100%);
    z-index: 1;
}

/* 第三页样式 */
#page3 {
    transform: translateX(200%);
    z-index: 1;
}

/* 页面切换状态 */
.page-container.show-second #page1 {
    transform: translateX(-100%);
}

.page-container.show-second #page2 {
    transform: translateX(0);
}

/* 导航栏样式 */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff4d4d;
}

/* 第一页样式 */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5vh;
}

.quote-container {
    position: relative;
    z-index: 2;
    width: 70%;
    max-width: 1200px;
    margin: 0 2rem;
}

.quote-text {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.7;
    text-align: justify;
}

.quote-text p {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem 1.8rem;
    margin-bottom: 0.4rem;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.quote-text p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .quote-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 3vh;
    }

    .quote-container {
        margin: 0 1rem;
        width: 85%;
    }

    .quote-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .quote-text p {
        padding: 0.8rem 1.2rem;
    }

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

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-btn.prev {
        left: 1rem;
    }

    .nav-btn.next {
        right: 1rem;
    }
}

/* 第二页样式 */
.gallery-section {
    background-image: url('../images/3-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    overflow-y: auto;
}

.gallery-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.gallery-section > * {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 600px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(212, 183, 108, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.carousel-nav:hover {
    background: rgba(212, 183, 108, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav .material-icons {
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 轮播图指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(212, 183, 108, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 183, 108, 0.8);
}

.carousel-dot.active {
    background: #fff;
    border-color: #d4b76c;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav .material-icons {
        font-size: 20px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 15px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
}

.nav-card {
    height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.image-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.image-caption {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin-top: 1rem;
}

/* 页面导航按钮基础样式 */
.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 183, 108, 0.7);
    border: 2px solid rgba(212, 183, 108, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(212, 183, 108, 0.5),
                inset 0 0 15px rgba(212, 183, 108, 0.3);
}

.nav-btn:hover {
    background: rgba(212, 183, 108, 0.9);
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 183, 108, 0.7),
                inset 0 0 20px rgba(212, 183, 108, 0.5);
}

.nav-btn .material-icons {
    font-size: 32px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* 导航按钮位置 */
.nav-btn.prev {
    left: 40px;
}

.nav-btn.next {
    right: 40px;
}

/* 特色区域样式 */
.features-section {
    padding: 5rem 10%;
    background-color: #f5f5f5;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff4d4d;
}

/* 场景对比区域样式 */
.locations-section {
    padding: 5rem 10%;
}

.locations-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.location-card {
    margin-bottom: 4rem;
}

.location-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.image-pair img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4d4d;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-section {
        padding-bottom: 5vh;
    }

    .quote-container {
        margin: 1.5rem;
        padding: 2rem;
    }

    .quote-text {
        font-size: 1.4rem;
        line-height: 1.8;
    }

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

    .image-pair {
        grid-template-columns: 1fr;
    }

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

    .nav-btn {
        width: 45px;
        height: 45px;
    }

    .nav-btn .material-icons {
        font-size: 24px;
    }

    .nav-btn.prev {
        left: 20px;
    }

    .nav-btn.next {
        right: 20px;
    }
}

/* 跳转模块样式 */
.nav-card {
    position: relative;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.85));
    z-index: 1;
}

.nav-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: #ffffff;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #d4b76c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-card-description {
    font-size: 1.1rem;
    opacity: 1;
    line-height: 1.5;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-card:hover .nav-card-content {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.nav-card:hover .nav-card-title {
    color: #e6d5a7;
}

.nav-card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}

@media (max-width: 1024px) {
    .gallery-section {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .gallery-section > * {
        width: 95%;
    }

    .navigation-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-card {
        height: 160px;
    }
}

/* 自定义滚动条 */
.gallery-section::-webkit-scrollbar {
    width: 8px;
}

.gallery-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-section::-webkit-scrollbar-thumb {
    background: rgba(212, 183, 108, 0.5);
    border-radius: 4px;
}

.gallery-section::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 183, 108, 0.7);
}

.material-icons {
    font-size: 36px;
    color: inherit;
}

/* 第一页下一页按钮 */
#page1 .nav-btn.next {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 183, 108, 0.7);
    border: 2px solid rgba(212, 183, 108, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(212, 183, 108, 0.5),
                inset 0 0 15px rgba(212, 183, 108, 0.3);
}

#page1 .nav-btn.next:hover {
    background: rgba(212, 183, 108, 0.9);
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 183, 108, 0.7),
                inset 0 0 20px rgba(212, 183, 108, 0.5);
}

#page1 .nav-btn.next .material-icons {
    font-size: 32px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* 页面导航按钮 */
#page2 .nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 183, 108, 0.7);
    border: 2px solid rgba(212, 183, 108, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(212, 183, 108, 0.5),
                inset 0 0 15px rgba(212, 183, 108, 0.3);
}

#page2 .nav-btn:hover {
    background: rgba(212, 183, 108, 0.9);
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 183, 108, 0.7),
                inset 0 0 20px rgba(212, 183, 108, 0.5);
}

#page2 .nav-btn .material-icons {
    font-size: 32px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

#page2 .nav-btn.prev {
    left: 40px;
}

#page2 .nav-btn.next {
    right: 40px;
}

/* 第一页导航按钮 */
#page1 .nav-btn.next {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 183, 108, 0.7);
    border: 2px solid rgba(212, 183, 108, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(212, 183, 108, 0.5),
                inset 0 0 15px rgba(212, 183, 108, 0.3);
}

/* 轮播图导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(212, 183, 108, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.carousel-nav:hover {
    background: rgba(212, 183, 108, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav .material-icons {
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #page2 .nav-btn {
        width: 45px;
        height: 45px;
    }

    #page2 .nav-btn .material-icons {
        font-size: 24px;
    }

    #page2 .nav-btn.prev {
        left: 20px;
    }

    #page2 .nav-btn.next {
        right: 20px;
    }

    #page1 .nav-btn.next {
        width: 45px;
        height: 45px;
        right: 20px;
    }

    #page1 .nav-btn.next .material-icons {
        font-size: 24px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav .material-icons {
        font-size: 20px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }
}

/* 第三页样式 */
.details-section {
    background-image: url('../images/details-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow-y: auto;
    padding: 4rem 2rem;
}

.details-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.details-section .content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    color: var(--gold-primary, #D4AF37);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: var(--gold-secondary, #FFD700);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #fff;
    line-height: 1.6;
}

.conclusion-text {
    max-width: 1000px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.conclusion-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.conclusion-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .details-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .conclusion-text {
        padding: 2rem;
        margin: 1rem;
    }

    .conclusion-text p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
} 