@import url('./normalize.css');
@import url('./reset.css');
@import url('./common.css');
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --bg-color: #f5f5f5;
    --accent-color: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fcfcfc;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--primary-color);
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.section-title-wrapper {
    margin: 2rem auto 4rem;
    position: relative;
    text-align: center;
    max-width: 800px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    display: inline-block;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.8;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: var(--light-text);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-overlay h3 {
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Location Section */
.location {
    padding: 4rem 0;
    background: var(--bg-color);
}

.location-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.location-info {
    flex: 1;
}

.location-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.location-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-info ul {
    list-style-type: none;
    margin-left: 20px;
}

.location-info li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.location-info li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 10px;
}

.map {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Footer Section */
footer {
    background: linear-gradient(45deg, #1c2e4a, #2b446e);
    color: #fff;
    padding: 6rem 0 2rem;
    position: relative;
}

/* 添加纹理背景 */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-slogan {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-slogan h3 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-slogan p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.footer-info h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.footer-info h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-media {
    text-align: center;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.qr-code {
    text-align: center;
}

.qr-box {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.qr-box:hover {
    transform: translateY(-5px);
}

.qr-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
/* @media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        height: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-main {
        padding-right: 0;
        border-right: none;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 2rem;
    }
} */


/* 当屏幕宽度小于等于 767px 时（通常是手机设备），应用以下样式 */
@media only screen and (max-width: 767px) {
    .banner img {
        width: 200%;
    }
    .banner-title {
        font-size: 20px;
    }
    .banner-subtitle {
        font-size: 12px;
    }
    .about-image {
        width: 100%;
        height: 400px;
    }
    .about,
    .features,
    .gallery,
    .location,
    .section {
        padding: 10px !important;
    }
    .features-grid,
    .gallery-container,
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px!important;
    }
    .parent-module {
        height: 300px !important;
        padding: 0 !important;
    }

    .introduction,
    .scenic-spot-info,
    .footer-helper .nav {
        display: none;
    }
    .footer {
        margin-top: 50px;
    }
    .about-content,
    .location-content,
    .footer-content,
    .footer-helper .contact,
    .coryright {
        flex-direction: column;
        gap: 10px;
    }
}
/* 针对平板电脑的样式 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .about,
    .features,
    .gallery,
    .location,
    .section {
        padding: 10px !important;
    }
    .features-grid,
    .gallery-container,
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px!important;
    }
    .features-grid,
    .gallery-container,
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px!important;
    }
}