/* 奇和洞遗址网站样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f0;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #8B4513;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Intro Section */
.intro {
    background: #fff;
    padding: 4rem 0;
}

.intro h2 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.intro > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

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

.feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
}

/* Highlights Section */
.highlights {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    padding: 4rem 0;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.highlight-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.highlight-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-item p {
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Content Section */
.content-section {
    background: #fff;
    padding: 4rem 0;
}

.content-section h2 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section article {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-section article h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section article p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.info-box {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #8B4513;
    max-width: 800px;
    margin: 2rem auto;
}

.info-box h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.info-box li:last-child {
    border-bottom: none;
}

.content-section article ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section article li {
    margin-bottom: 0.5rem;
}

/* Discoveries Grid */
.discoveries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.discovery-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.discovery-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.discovery-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #555;
}

.discovery-card li {
    margin-bottom: 0.5rem;
}

/* Artifacts List */
.artifacts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.artifact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.artifact-icon {
    font-size: 2rem;
}

.artifact-item h4 {
    color: #8B4513;
    margin-bottom: 0.3rem;
}

.artifact-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Honor Section */
.honor-section {
    background: #f9f9f9;
    padding: 4rem 0;
}

.honor-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.honor-icon {
    font-size: 4rem;
}

.honor-content h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.honor-content p {
    color: #555;
    line-height: 1.8;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.value-card h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Visit Grid */
.visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.visit-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.visit-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.visit-card p {
    color: #666;
}

/* Notice Box */
.notice-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem 2rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.notice-box ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #856404;
}

.notice-box li {
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Tips Section */
.tips-section {
    background: #f9f9f9;
    padding: 4rem 0;
}

.tips-section h2 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
}

.tip-card h4 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

footer a {
    color: #fff;
    font-size: 12px;
    text-decoration: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Section Headings */
    .intro h2,
    .highlights h2,
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Grids - Stack on mobile */
    .features,
    .highlight-grid,
    .discoveries-grid,
    .value-grid,
    .visit-grid,
    .tips-grid,
    .artifacts-list {
        grid-template-columns: 1fr;
    }
    
    /* Cards */
    .feature-card,
    .highlight-item,
    .discovery-card,
    .value-card,
    .visit-card,
    .tip-card {
        padding: 1.2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Honor Card */
    .honor-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .honor-icon {
        font-size: 3rem;
    }
    
    /* Artifact Items */
    .artifact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .artifact-icon {
        font-size: 1.8rem;
    }
    
    /* Content Section */
    .content-section {
        padding: 2rem 0;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .content-section article h2 {
        font-size: 1.3rem;
    }
    
    .content-section article p,
    .content-section article li {
        font-size: 0.95rem;
    }
    
    .info-box {
        padding: 1.2rem;
        margin: 1rem auto;
    }
    
    /* Page Header */
    .page-header {
        padding: 2rem 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Notice Box */
    .notice-box {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 0;
        font-size: 0.85rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .feature-card,
    .highlight-item,
    .discovery-card,
    .value-card,
    .visit-card,
    .tip-card {
        padding: 1rem;
    }
}
