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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 主容器 */
.txgw-main-container {
    width: 100%;
    overflow-x: hidden;
}

/* 导航栏样式 */
.txgw-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.txgw-nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txgw-logo-area h1 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.txgw-logo-area h1 a {
    color: #fff;
}

.txgw-logo-area h1 a:hover {
    opacity: 0.9;
}

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

.txgw-nav-list a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.txgw-nav-list a:hover {
    background: rgba(255,255,255,0.2);
}

/* 首页横幅 */
.txgw-hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.txgw-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txgw-hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.txgw-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.txgw-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.txgw-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txgw-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

/* 通用区块样式 */
.txgw-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.txgw-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.txgw-section-title h1 {
    display: inline;
    font-size: inherit;
    color: #667eea;
}

.txgw-section-title h1 a {
    color: #667eea;
}

.txgw-section-title h1 a:hover {
    opacity: 0.8;
}

.txgw-section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

/* 关于我们区块 */
.txgw-about-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.txgw-about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.txgw-about-description,
.txgw-about-mission {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.txgw-about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.txgw-feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.txgw-feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.txgw-feature-item p {
    font-size: 0.95rem;
    color: #666;
}

.txgw-about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 视频区块 */
.txgw-vlogs-section {
    background: #fff;
}

.txgw-vlogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.txgw-vlog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txgw-vlog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.txgw-vlog-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.txgw-vlog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.txgw-vlog-card:hover .txgw-vlog-thumbnail img {
    transform: scale(1.1);
}

.txgw-vlog-info {
    padding: 1.5rem;
}

.txgw-vlog-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.txgw-vlog-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

.txgw-vlog-date {
    display: inline-block;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* 生活方式区块 */
.txgw-lifestyle-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.txgw-lifestyle-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.txgw-lifestyle-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.txgw-lifestyle-reverse {
    direction: rtl;
}

.txgw-lifestyle-reverse > * {
    direction: ltr;
}

.txgw-lifestyle-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.txgw-lifestyle-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.txgw-lifestyle-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

/* 故事区块 */
.txgw-stories-section {
    background: #f8f9fa;
}

.txgw-stories-grid {
    display: grid;
    gap: 2.5rem;
}

.txgw-story-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.txgw-story-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.txgw-story-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.txgw-story-item:hover .txgw-story-image {
    transform: scale(1.05);
}

.txgw-story-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txgw-story-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.txgw-story-excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.txgw-story-link {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

.txgw-story-link:hover {
    color: #764ba2;
}

/* 小贴士区块 */
.txgw-tips-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.txgw-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.txgw-tip-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txgw-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

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

.txgw-tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

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

/* 图片展示区 */
.txgw-gallery-section {
    background: #fff;
}

.txgw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.txgw-gallery-item {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.txgw-gallery-item:hover {
    transform: scale(1.05);
}

.txgw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 联系区块 */
.txgw-contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.txgw-contact-section .txgw-section-title,
.txgw-contact-section .txgw-section-subtitle {
    color: #fff;
}

.txgw-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.txgw-contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.txgw-contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.txgw-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.txgw-contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.txgw-contact-item p {
    margin: 0;
    opacity: 0.9;
}

.txgw-contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.txgw-form-group {
    margin-bottom: 1.5rem;
}

.txgw-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.txgw-form-group input,
.txgw-form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.txgw-form-group input:focus,
.txgw-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.txgw-submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txgw-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 页脚 */
.txgw-footer-section {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.txgw-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.txgw-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.txgw-footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.txgw-footer-brand h1 {
    display: inline;
    font-size: inherit;
}

.txgw-footer-brand p {
    opacity: 0.8;
}

.txgw-footer-links h4,
.txgw-footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.txgw-footer-links ul {
    list-style: none;
}

.txgw-footer-links li {
    margin-bottom: 0.5rem;
}

.txgw-footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.txgw-footer-links a:hover {
    opacity: 1;
}

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

.txgw-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.txgw-footer-bottom p {
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .txgw-nav-list {
        gap: 1rem;
    }

    .txgw-about-content-grid,
    .txgw-lifestyle-card,
    .txgw-contact-content {
        grid-template-columns: 1fr;
    }

    .txgw-vlogs-grid,
    .txgw-tips-grid,
    .txgw-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .txgw-about-features {
        grid-template-columns: 1fr;
    }

    .txgw-story-item {
        grid-template-columns: 1fr;
    }

    .txgw-story-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .txgw-hero-title {
        font-size: 2.5rem;
    }

    .txgw-hero-subtitle {
        font-size: 1.2rem;
    }

    .txgw-section-title {
        font-size: 2rem;
    }

    .txgw-vlogs-grid,
    .txgw-tips-grid,
    .txgw-gallery-grid,
    .txgw-footer-content {
        grid-template-columns: 1fr;
    }

    .txgw-nav-list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .txgw-nav-list a {
        padding: 0.3rem 0.7rem;
        font-size: 0.9rem;
    }
}

/* 故事详情页样式 */
.txgw-story-page-container {
    width: 100%;
}

.txgw-story-detail-section {
    background: #f8f9fa;
    padding: 2rem 0 4rem;
}

.txgw-story-header {
    text-align: center;
    margin-bottom: 2rem;
}

.txgw-story-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.txgw-story-meta {
    font-size: 1rem;
    color: #7f8c8d;
    font-style: italic;
}

.txgw-story-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.txgw-story-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.txgw-story-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.txgw-story-paragraph {
    margin-bottom: 2.5rem;
}

.txgw-story-paragraph h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.txgw-story-paragraph p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

.txgw-story-conclusion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.txgw-conclusion-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    font-weight: 500;
}

.txgw-story-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.txgw-back-link,
.txgw-more-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    transition: color 0.3s ease;
}

.txgw-back-link:hover,
.txgw-more-link:hover {
    color: #764ba2;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}