/* 基本样式 */
:root {
    --primary-color: #d4a762;
    --secondary-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --danger-color: #dc3545;
    --font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--dark-color) !important;
    transition: 0.3s;
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('https://picsum.photos/id/1016/1600/900') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(212, 167, 98, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c09555;
    border-color: #c09555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 98, 0.4);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* 关于金乡 */
.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.facts {
    text-align: center;
}

.fact-item {
    padding: 15px;
    margin-bottom: 20px;
}

.fact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fact-item h4 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.fact-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* 景点风光 */
.attractions-swiper {
    padding-bottom: 50px;
}

.attraction-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.attraction-img {
    height: 250px;
    overflow: hidden;
}

.attraction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.attraction-card:hover .attraction-img img {
    transform: scale(1.1);
}

.attraction-body {
    padding: 20px;
}

.attraction-body h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.attraction-body p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* 文化特色 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.culture-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.culture-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.culture-item h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.culture-item p {
    color: var(--gray-color);
}

/* 游玩路线 */
.route-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.route-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-header h4 {
    margin: 0;
    font-weight: 600;
}

.route-duration {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.route-body {
    padding: 20px;
}

.day-divider {
    background: var(--light-color);
    padding: 8px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: 600;
}

.route-timeline {
    list-style: none;
    padding-left: 30px;
    position: relative;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e9ecef;
}

.route-timeline li {
    position: relative;
    padding-bottom: 20px;
}

.route-timeline li:last-child {
    padding-bottom: 0;
}

.route-timeline li::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    z-index: 1;
}

.time {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

.route-point h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.route-point p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* 即将推出 */
.coming-soon {
    background: url('https://picsum.photos/id/1025/1600/800') center/cover fixed;
    position: relative;
    color: white;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.coming-soon .container {
    position: relative;
    z-index: 1;
}

.coming-soon h2 {
    font-weight: 700;
}

.coming-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    height: 100%;
}

.coming-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.coming-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coming-item h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.subscribe-form {
    max-width: 550px;
    margin: 0 auto;
}

.subscribe-input {
    max-width: 450px;
    margin: 0 auto;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
}

.copyright {
    margin-top: 10px;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.copyright a:hover {
    color: var(--primary-color);
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* 响应式样式 */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 90vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .copyright,
    .col-md-6.text-md-end {
        text-align: center !important;
    }
    
    .culture-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .fact-item h4 {
        font-size: 1.5rem;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
} 