/* style/tintc.css */
:root {
    --bg-primary: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-tintc {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

.page-tintc__section-spacing {
    padding: 60px 0;
}

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

.page-tintc__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-tintc__sub-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-tintc__text-block {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-tintc__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-tintc__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--bg-primary);
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-tintc__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-tintc__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--text-main);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-tintc__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Intro Section */
.page-tintc__intro-section {
    background-color: var(--deep-green);
    border-radius: 12px;
    margin: 0 20px;
    padding: 40px;
}

/* Updates Section (News Grid) */
.page-tintc__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-tintc__grid-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-tintc__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-tintc__card-title a:hover {
    color: var(--glow-color);
}

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

.page-tintc__card-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__view-all {
    text-align: center;
    margin-top: 20px;
}

/* Promotions Section */
.page-tintc__promotions-section {
    background-color: var(--deep-green);
    padding: 60px 0;
}

.page-tintc__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-tintc__promo-card--reverse {
    flex-direction: row-reverse;
}

.page-tintc__promo-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.page-tintc__promo-content {
    width: 50%;
}

.page-tintc__promo-title {
    font-size: 2em;
    color: var(--text-main);
    font-weight: bold;
    margin-bottom: 15px;
}

.page-tintc__promo-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-tintc__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-tintc__promo-list li {
    color: var(--text-secondary);
    font-size: 1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-tintc__promo-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

/* Guide Section */
.page-tintc__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-tintc__guide-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-tintc__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-tintc__guide-title {
    font-size: 1.6em;
    color: var(--text-main);
    font-weight: bold;
    margin-bottom: 15px;
}

.page-tintc__guide-text {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Security Section */
.page-tintc__security-section {
    background-color: var(--deep-green);
    padding: 60px 0;
}

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

.page-tintc__security-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.page-tintc__security-text {
    width: calc(50% - 40px);
}

/* FAQ Section */
.page-tintc__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-tintc__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-tintc__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-tintc__faq-question::-webkit-details-marker {
    display: none;
}

.page-tintc__faq-qtext {
    flex-grow: 1;
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    color: var(--glow-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg);
}

.page-tintc__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--divider-color);
}

.page-tintc__faq-item:not([open]) .page-tintc__faq-answer {
    border-top: none; /* Remove border when closed */
}

/* CTA Section */
.page-tintc__cta-section {
    background-image: linear-gradient(rgba(17, 40, 27, 0.8), rgba(17, 40, 27, 0.8)), url('[GALLERY:bg:1920x1080:nen,ket luan,twin hien dang mo,cta]');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 0;
    border-radius: 12px;
    margin: 0 20px;
}

.page-tintc__cta-content {
    max-width: 800px;
}

.page-tintc__cta-title {
    font-size: 2.8em;
    color: var(--text-main);
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-tintc__cta-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.page-tintc__btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-tintc__hero-content {
        padding: 0 15px;
    }

    .page-tintc__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-tintc__promo-card {
        flex-direction: column;
        gap: 20px;
    }

    .page-tintc__promo-card--reverse {
        flex-direction: column;
    }

    .page-tintc__promo-image,
    .page-tintc__promo-content {
        width: 100%;
    }

    .page-tintc__security-content {
        flex-direction: column;
    }

    .page-tintc__security-image,
    .page-tintc__security-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-tintc__section-spacing {
        padding: 40px 0;
    }

    .page-tintc__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-tintc__sub-title {
        font-size: 1.5em;
    }

    .page-tintc__hero-description {
        font-size: 1em;
    }

    .page-tintc__intro-section {
        padding: 30px;
        margin: 0 15px;
    }

    .page-tintc__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__card-title {
        font-size: 1.3em;
    }

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

    .page-tintc__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-tintc__faq-answer {
        padding: 15px 20px;
    }

    .page-tintc__cta-section {
        padding: 60px 0;
        margin: 0 15px;
    }

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

    .page-tintc__cta-description {
        font-size: 1em;
    }

    .page-tintc__btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__grid-item,
    .page-tintc__promo-card,
    .page-tintc__guide-item,
    .page-tintc__security-content,
    .page-tintc__faq-item,
    .page-tintc__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-tintc__btn-primary,
    .page-tintc__btn-secondary,
    .page-tintc a[class*="button"],
    .page-tintc a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-tintc__cta-buttons,
    .page-tintc__button-group,
    .page-tintc__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-tintc__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-tintc__hero-section {
        padding-top: 10px !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-tintc__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-tintc__hero-image {
        border-radius: 0;
    }
}