/* 现代化页头页脚样式 - 覆盖原有样式 */

/* ============================================================================
   现代化导航栏
   ============================================================================= */

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3) !important;
    backdrop-filter: blur(10px);
    border-bottom: none !important;
}

.logo {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    gap: 0.5rem !important;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    padding: 0.7rem 1.3rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.nav-link::after {
    display: none !important;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.nav-link.active {
    background: rgba(255,255,255,0.25) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* ============================================================================
   现代化页脚
   ============================================================================= */

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #ecf0f1 !important;
    padding: 3.5rem 0 1.5rem !important;
    border-top: none !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

footer a {
    color: #d4a574 !important;
}

footer a:hover {
    color: #f5d89f !important;
    text-decoration: none !important;
    transform: translateX(3px);
}

.footer-content {
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    padding-bottom: 2.5rem !important;
    border-bottom: 1px solid rgba(236, 240, 241, 0.1) !important;
}

.footer-section {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.footer-section h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section h3::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
    width: 50px !important;
}

.site-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-subtitle {
    color: #d4a574 !important;
}

.contact-info li {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: center;
}

.contact-info li:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
}

.contact-icon {
    color: #d4a574 !important;
}

.social-links a {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(236, 240, 241, 0.1) !important;
    color: #bdc3c7;
}

.footer-bottom-links a {
    color: #bdc3c7 !important;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #d4a574 !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.9rem !important;
    }
    
    .logo {
        font-size: 1.3rem !important;
    }
}

/* 鸽子照片预览样式优化 */
.pigeon-photo-preview {
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pigeon-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 鸽子详情页面 - 照片画廊样式 */
.pigeon-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 248, 0.98) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 32px rgba(100, 125, 200, 0.08);
    backdrop-filter: blur(10px);
}

.pigeon-photo-gallery .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pigeon-photo-gallery .gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pigeon-photo-gallery .gallery-item img {
    border-radius: 8px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.pigeon-photo-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.pigeon-photo-gallery .primary-photo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #d4a574; /* 金色 */
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* 画廊滚动条样式 */
.pigeon-photo-gallery::-webkit-scrollbar {
    width: 6px;
}

.pigeon-photo-gallery::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.pigeon-photo-gallery::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.pigeon-photo-gallery::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

