/* style/tintc.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-tintc {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Body background is dark, so text is light */
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

.page-tintc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-tintc__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-tintc__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin: -100px auto 0 auto; /* Pull content up slightly over the bottom of the image */
    background-color: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-tintc__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-tintc__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-tintc__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.page-tintc__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.page-tintc__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-tintc__section-description {
    font-size: 1.05em;
    color: var(--text-secondary-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-tintc__latest-news-section,
.page-tintc__featured-promotions-section,
.page-tintc__about-section,
.page-tintc__cta-section {
    padding: 80px 0;
}

.page-tintc__news-grid,
.page-tintc__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-tintc__news-card,
.page-tintc__promo-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card:hover,
.page-tintc__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tintc__news-image,
.page-tintc__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-tintc__news-content,
.page-tintc__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-date {
    font-size: 0.9em;
    color: var(--text-secondary-color);
    margin-bottom: 10px;
}

.page-tintc__news-title,
.page-tintc__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-tintc__news-title a,
.page-tintc__promo-title a {
    color: var(--text-main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__news-title a:hover,
.page-tintc__promo-title a:hover {
    color: var(--gold-color);
}

.page-tintc__news-excerpt,
.page-tintc__promo-excerpt {
    font-size: 1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-tintc__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-tintc__button-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-tintc__about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-tintc__about-text-content {
    flex: 1;
}

.page-tintc__about-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-tintc__about-image {
    width: 100%;
    height: auto;
    display: block;
}

/* General image responsiveness */
.page-tintc img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */

@media (max-width: 1024px) {
    .page-tintc__main-title {
        font-size: 2.5em;
    }

    .page-tintc__section-title {
        font-size: 2em;
    }

    .page-tintc__hero-content {
        margin: -80px auto 0 auto;
        padding: 30px 20px;
    }

    .page-tintc__news-grid,
    .page-tintc__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-tintc__about-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-tintc__about-image-wrapper {
        margin-top: 30px;
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 15px;
    }

    /* HERO 主图区域 */
    .page-tintc__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-tintc__hero-image-wrapper {
        max-height: 400px;
    }

    .page-tintc__hero-content {
        margin: -60px auto 0 auto;
        padding: 25px 15px;
        border-radius: 8px;
    }

    .page-tintc__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-tintc__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-tintc__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tintc__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .page-tintc__section-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-tintc__latest-news-section,
    .page-tintc__featured-promotions-section,
    .page-tintc__about-section,
    .page-tintc__cta-section {
        padding: 50px 0;
    }

    /* 产品展示图区域 (这里是新闻卡片和推广卡片) */
    .page-tintc__news-grid,
    .page-tintc__promotions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .page-tintc__news-card,
    .page-tintc__promo-card {
        margin: 0 auto;
        max-width: 450px; /* Limit card width on mobile if needed */
    }

    .page-tintc__news-image,
    .page-tintc__promo-image {
        height: 180px; /* Adjust height for mobile */
    }

    .page-tintc__news-content,
    .page-tintc__promo-content {
        padding: 20px;
    }

    .page-tintc__news-title,
    .page-tintc__promo-title {
        font-size: 1.2em;
    }

    /* 通用图片与容器 */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-tintc__container,
    .page-tintc__about-content-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-tintc__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-tintc__cta-button {
        width: 100%;
    }

    /* 其他内容模块 */
    .page-tintc__about-content-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .page-tintc__about-image-wrapper {
        max-width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .page-tintc__main-title {
        font-size: 1.6em;
    }

    .page-tintc__section-title {
        font-size: 1.6em;
    }

    .page-tintc__hero-content {
        margin: -40px auto 0 auto;
        padding: 20px 10px;
    }

    .page-tintc__news-image,
    .page-tintc__promo-image {
        height: 150px;
    }

    .page-tintc__news-content,
    .page-tintc__promo-content {
        padding: 15px;
    }
}