/* 爱好页面样式 */
.page-hero {
    height: 300px;
    background: linear-gradient(135deg, #ff80ab, #fce4ec);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: #fff;
    background: linear-gradient(to right, #ff80ab, #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.page-hero p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.content-section {
    padding: 60px 0;
}

/* 标签页样式 */
.hobby-tabs {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background-color: rgba(255, 182, 193, 0.05);
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 20px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--light-text);
    transition: var(--transition);
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(255, 128, 171, 0.1);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 爱好介绍部分 */
.hobby-intro {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: rgba(255, 182, 193, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hobby-image {
    flex: 0 0 40%;
}

.hobby-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.hobby-info {
    flex: 1;
    padding: 30px;
}

.hobby-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hobby-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--light-text);
}

/* 共用标题样式 */
.tab-pane h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.tab-pane h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

/* 阅读部分 */
.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.book-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(255, 128, 171, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.book-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 10px 20px rgba(255, 128, 171, 0.15);
}

.book-cover {
    height: 200px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-details h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.book-author {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
    font-style: italic;
}

.book-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--light-text);
    margin-bottom: 15px;
    flex: 1;
}

.book-rating {
    color: #ffc107;
}

.reading-notes {
    margin-top: 40px;
}

.note-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 10px rgba(255, 128, 171, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.1);
    position: relative;
    overflow: hidden;
}

.note-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.note-card h5 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.note-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
}

.note-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--light-text);
}

/* 旅行部分 */
.travel-map {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.travel-map img {
    width: 100%;
    height: auto;
    display: block;
}

.travel-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.destination-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(255, 128, 171, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.destination-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 10px 20px rgba(255, 128, 171, 0.15);
}

.destination-image {
    height: 180px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-info {
    padding: 20px;
}

.destination-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.visit-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
    font-style: italic;
}

.destination-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--light-text);
}

.travel-tips {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
    color: var(--light-text);
}

.tips-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
}

/* 摄影部分 */
.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px 10px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--light-text);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(255, 128, 171, 0.1);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 10px 20px rgba(255, 128, 171, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.photography-tips {
    margin-top: 40px;
}

.tip-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tip-card h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tip-card p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--light-text);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hobby-intro {
        flex-direction: column;
    }
    
    .hobby-image {
        flex: 0 0 100%;
    }
    
    .destination-card {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 250px;
    }
    
    .page-hero h2 {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .hobby-info {
        padding: 20px;
    }
    
    .destination-card {
        flex: 0 0 100%;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 200px;
    }
    
    .page-hero h2 {
        font-size: 2rem;
    }
    
    .tab-btn {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .tab-btn i {
        font-size: 1.3rem;
    }
    
    .hobby-image img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 180px;
    }
} 