/* style/tintc.css */

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

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

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

.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* body handles top padding, add small decorative top padding */
    background-color: var(--page-tintc-background);
    overflow: hidden;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height on desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-tintc__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-top: 40px;
    padding: 0 20px;
}

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

.page-tintc__description {
    font-size: 1.1em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 30px;
}

.page-tintc__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: var(--page-tintc-btn-gradient);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-tintc__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-tintc-text-main);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-tintc__latest-news-section,
.page-tintc__product-updates-section,
.page-tintc__promotions-section,
.page-tintc__faq-section,
.page-tintc__cta-section {
    padding: 60px 0;
}

.page-tintc__dark-section {
    background-color: var(--page-tintc-background);
}

.page-tintc__light-bg {
    background-color: var(--page-tintc-card-bg);
    color: var(--page-tintc-text-main);
}

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

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

.page-tintc__news-card:hover,
.page-tintc__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-tintc__news-card-title,
.page-tintc__promo-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-tintc__news-card-title a:hover,
.page-tintc__promo-title a:hover {
    color: #2AD16F; /* Highlight on hover */
}

.page-tintc__news-card-date,
.page-tintc__promo-date {
    font-size: 0.9em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 15px;
}

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

.page-tintc__news-card-link {
    display: inline-block;
    color: #2AD16F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto;
}

.page-tintc__news-card-link:hover {
    color: #57E38D;
}

.page-tintc__cta-buttons {
    text-align: center;
    margin-top: 20px;
}

.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: #2AD16F;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #2AD16F;
    cursor: pointer;
}

.page-tintc__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__update-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-tintc__update-item {
    display: flex;
    flex-direction: row;
    background-color: var(--page-tintc-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-tintc-border);
}

.page-tintc__update-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-tintc__update-content {
    padding: 25px;
    width: 60%;
}

.page-tintc__update-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--page-tintc-text-main);
    margin-bottom: 10px;
}

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

.page-tintc__update-text {
    font-size: 1em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 20px;
}

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

.page-tintc__faq-item {
    background-color: var(--page-tintc-card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--page-tintc-border);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-tintc-text-main);
    cursor: pointer;
    user-select: none;
    list-style: none;
    position: relative;
}

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

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

.page-tintc__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

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

.page-tintc__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--page-tintc-text-secondary);
}

.page-tintc__faq-answer p {
    margin-bottom: 10px;
}

.page-tintc__faq-answer a {
    color: #2AD16F;
    text-decoration: underline;
}

.page-tintc__cta-section {
    background-color: var(--page-tintc-deep-green);
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin: 60px auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-tintc__cta-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--page-tintc-text-main);
    margin-bottom: 20px;
}

.page-tintc__cta-description {
    font-size: 1.2em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Image and Video Responsive Styles */
.page-tintc img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-tintc video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-tintc {
        font-size: 15px;
    }

    .page-tintc__hero-section {
        padding-bottom: 40px;
    }

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

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

    .page-tintc__description {
        font-size: 1em;
    }

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        margin-bottom: 10px;
    }

    .page-tintc__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

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

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

    .page-tintc__news-grid,
    .page-tintc__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__news-card,
    .page-tintc__promo-card,
    .page-tintc__update-item {
        flex-direction: column;
    }

    .page-tintc__news-card-image,
    .page-tintc__promo-image,
    .page-tintc__update-image {
        width: 100%;
        height: 180px;
    }

    .page-tintc__update-content {
        width: 100%;
    }

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

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

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

    .page-tintc__cta-section {
        padding: 60px 20px;
    }

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

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

    .page-tintc img,
    .page-tintc video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__cta-section,
    .page-tintc__latest-news-section,
    .page-tintc__product-updates-section,
    .page-tintc__promotions-section,
    .page-tintc__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-tintc__hero-section {
      padding-left: 0;
      padding-right: 0;
    }

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

    .page-tintc__news-card-image,
    .page-tintc__promo-image {
      min-height: 200px;
    }

    .page-tintc__update-image {
      min-height: 200px;
    }
}

@media (min-width: 769px) {
    .page-tintc__hero-image {
        min-height: 500px; /* Ensure hero image is large on desktop */
    }
    .page-tintc__update-item {
        flex-direction: row;
    }
    .page-tintc__update-image {
        width: 40%;
    }
    .page-tintc__update-content {
        width: 60%;
    }
}