/* css/index.css */

#showcase {
    min-height: 400px;
    background: url('../图片/参展菊花作品/18.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#showcase h1 {
    font-size: 55px;
    margin-bottom: 10px;
    color: #fff; /* Ensure h1 color is white for showcase */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

#showcase p {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

#overview h2 {
    text-align: center;
    margin-bottom: 20px;
}

#highlights {
    padding: 30px 0;
    text-align: center;
}

#highlights h2 {
    margin-bottom: 30px;
}

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

.highlight-item {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.highlight-item img {
    width: 300px; /* Adjust as needed */
    height: 300px; /* Adjust as needed */
    margin-bottom: 15px;
}

.highlight-item h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* 图片集样式 */
#gallery {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

#gallery h2 {
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    display: inline-block;
}

#gallery h2:after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #3498db;
    margin: 10px auto 0;
}

.gallery-container {
    margin: 0 auto;
    max-width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.gallery-item {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.gallery-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.gallery-button:hover {
    background: #2980b9;
}

.gallery-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#gallery-page {
    font-size: 16px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
} 