/* style/tintc.css */

/* Base styles for the page-tintc scope */
.page-tintc {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
}

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

.page-tintc__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-tintc__section-title--dark {
    color: var(--text-main);
}

.page-tintc__section-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__section-description--dark {
    color: var(--text-secondary);
}

.page-tintc__dark-section {
    background-color: var(--background);
    color: var(--text-main);
    padding: 60px 0;
}

.page-tintc__light-bg {
    background-color: #0d1e15; /* Slightly lighter dark green for contrast */
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-tintc__hero-content {
    text-align: center;
    max-width: 900px;
    color: var(--text-main);
}

.page-tintc__main-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.page-tintc__intro-text {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-tintc__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-tintc__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

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

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

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

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

.page-tintc__news-card {
    background-color: var(--card-b-g);
    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;
}

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

.page-tintc__news-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.page-tintc__news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

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

.page-tintc__news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

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

.page-tintc__read-more {
    display: inline-flex;
    align-items: center;
    color: var(--glow);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
    color: #57E38D;
}

.page-tintc__arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.page-tintc__read-more:hover .page-tintc__arrow {
    transform: translateX(5px);
}

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

/* Content Area */
.page-tintc__sub-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-tintc__text-block {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-tintc__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-tintc__list-item {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-tintc__list-item::before {
    content: '•';
    color: var(--glow);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1;
}

/* Promotions Section */
.page-tintc__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tintc__promo-card {
    background-color: var(--card-b-g);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-tintc__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-tintc__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tintc__promo-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__btn-primary--small {
    padding: 10px 20px;
    font-size: 16px;
    align-self: flex-start;
}

/* Tips Section */
.page-tintc__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tintc__tip-card {
    background-color: var(--card-b-g);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tintc__tip-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-tintc__tip-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-tintc__read-more--dark {
    color: var(--glow);
}

.page-tintc__read-more--dark:hover {
    color: #57E38D;
}

.page-tintc__arrow--dark {
    color: var(--glow);
}

/* FAQ Section */
.page-tintc__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__faq-item {
    background-color: var(--card-b-g);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tintc__faq-item details {
    border: none;
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    background-color: transparent;
    border-bottom: 1px solid var(--divider);
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
    border-bottom: 1px solid var(--divider);
}

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

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

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

.page-tintc__faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--glow);
    margin-left: 15px;
}

.page-tintc__faq-answer {
    padding: 15px 20px 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

.page-tintc__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* CTA Bottom Section */
.page-tintc__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-tintc__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tintc__hero-section,
    .page-tintc__dark-section,
    .page-tintc__light-bg,
    .page-tintc__cta-bottom-section {
        padding: 40px 0;
    }

    .page-tintc__hero-content {
        padding: 0 15px;
    }

    .page-tintc__main-title {
        font-size: 32px;
    }

    .page-tintc__intro-text {
        font-size: 16px;
    }

    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tintc__news-grid,
    .page-tintc__promo-grid,
    .page-tintc__tips-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-tintc__news-image-wrapper {
        height: 180px;
    }

    .page-tintc__promo-image {
        height: 180px;
    }

    .page-tintc__section-title {
        font-size: 26px;
    }

    .page-tintc__section-description {
        font-size: 15px;
    }

    .page-tintc__sub-title,
    .page-tintc__tip-title,
    .page-tintc__promo-title {
        font-size: 20px;
    }

    .page-tintc__text-block,
    .page-tintc__list-item,
    .page-tintc__news-excerpt,
    .page-tintc__promo-description,
    .page-tintc__tip-description,
    .page-tintc__faq-answer {
        font-size: 15px;
    }

    .page-tintc__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    /* 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__hero-section,
    .page-tintc__news-grid-section,
    .page-tintc__content-area,
    .page-tintc__promotions-section,
    .page-tintc__tips-section,
    .page-tintc__faq-section,
    .page-tintc__cta-bottom-section,
    .page-tintc__news-card,
    .page-tintc__promo-card,
    .page-tintc__tip-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right are handled by .page-tintc__container */
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Specific padding for sections if needed, overriding container */
    .page-tintc__hero-section, .page-tintc__dark-section, .page-tintc__light-bg {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-tintc__hero-section {
        padding-top: 10px !important;
    }
}

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