/* 武汉凤娃古寨网站样式 - 中国风设计 */

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* 轮播图样式 */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.prev-btn, .next-btn {
    position: absolute;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #8B4513;
    padding: 12px 25px;
    text-decoration: none;
    border: 2px solid #8B4513;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

/* 章节标题样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 2px;
}

/* 核心亮点样式 */
.highlights {
    padding: 80px 0;
    background: white;
}

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

.highlight-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.highlight-item h3 {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 15px;
}

.highlight-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 最新活动样式 */
.latest-news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #8B4513;
    font-weight: bold;
    font-size: 14px;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

.news-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 交通指南样式 */
.transport-guide {
    padding: 80px 0;
    background: white;
}

.transport-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.transport-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.transport-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.transport-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.transport-item h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 15px;
}

.transport-item p {
    color: #666;
    line-height: 1.6;
}

.map-container {
    margin-top: 30px;
    height: 400px;
    background: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.baidu-map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.leaflet-map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-direction: column;
}

.map-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B4513;
}

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

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

.social-links a:hover {
    background: #8B4513;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* 标签页样式 */
.nav-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.nav-tab {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-tab.active,
.nav-tab:hover {
    background: #8B4513;
    color: white;
}

/* 内容区域样式 */
.attraction-section,
.food-section,
.events-section {
    display: none;
    padding: 60px 0;
}

.attraction-section.active,
.food-section.active,
.events-section.active {
    display: block;
}

/* 网格布局样式 */
.attractions-grid,
.restaurants-grid,
.programs-grid,
.specialties-grid,
.events-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.attraction-item,
.restaurant-item,
.program-item,
.specialty-item,
.event-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.attraction-item:hover,
.restaurant-item:hover,
.program-item:hover,
.specialty-item:hover,
.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.attraction-image,
.restaurant-image,
.program-image,
.specialty-image,
.event-image {
    height: 200px;
    overflow: hidden;
}

.attraction-image img,
.restaurant-image img,
.program-image img,
.specialty-image img,
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-item:hover .attraction-image img,
.restaurant-item:hover .restaurant-image img,
.program-item:hover .program-image img,
.specialty-item:hover .specialty-image img,
.event-item:hover .event-image img {
    transform: scale(1.05);
}

.attraction-content,
.restaurant-content,
.program-content,
.specialty-content,
.event-content {
    padding: 25px;
}

.attraction-content h3,
.restaurant-content h3,
.program-content h3,
.specialty-content h3,
.event-content h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 15px;
}

.attraction-content p,
.restaurant-content p,
.program-content p,
.specialty-content p,
.event-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 特色标签样式 */
.feature-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #8B4513;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: bold;
}

/* 门票信息样式 */
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ticket-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ticket-header h3 {
    font-size: 20px;
    color: #8B4513;
}

.ticket-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

.ticket-content ul {
    list-style: none;
    padding-left: 0;
}

.ticket-content ul li {
    padding: 5px 0;
    color: #666;
}

.ticket-content ul li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* 表演时间表样式 */
.schedule-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.schedule-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    font-weight: bold;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.schedule-row:hover {
    background-color: #f8f9fa;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: bold;
    color: #8B4513;
}

.schedule-program {
    font-weight: bold;
    color: #333;
}

.schedule-location {
    color: #666;
}

.schedule-duration {
    color: #666;
}

/* 表单样式 */
.contact-form {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.privacy-link {
    color: #8B4513;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* 社交媒体样式 */
.social-media {
    padding: 80px 0;
    background: white;
}

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

.social-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.social-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.social-content h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 15px;
}

.social-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.qr-code {
    margin: 20px 0;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
}

.social-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
}

.social-link:hover {
    text-decoration: underline;
}

/* FAQ样式 */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    color: #8B4513;
    font-size: 18px;
}

.faq-question i {
    color: #8B4513;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
}

.faq-answer ul li {
    padding: 5px 0;
    color: #666;
}

.faq-answer ul li::before {
    content: '•';
    color: #8B4513;
    font-weight: bold;
    margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #8B4513;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 18px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .highlights-grid,
    .news-grid,
    .attractions-grid,
    .restaurants-grid,
    .programs-grid,
    .specialties-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

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

    .schedule-header,
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .schedule-header {
        display: none;
    }

    .schedule-row {
        display: block;
        padding: 15px;
    }

    .schedule-row::before {
        content: attr(data-time) " - " attr(data-program);
        font-weight: bold;
        color: #8B4513;
        display: block;
        margin-bottom: 10px;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .highlight-item,
    .news-item,
    .attraction-item,
    .restaurant-item,
    .program-item,
    .specialty-item,
    .event-item {
        margin: 0 10px;
    }

    .form-container {
        padding: 20px;
        margin: 0 10px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0522D;
}
