/* style/tintc.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --bg-card: #11271B;
    --bg-main: #08160F;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

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

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

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

.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__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
}

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

.page-tintc__hero-image-wrapper {
    width: 100%;
    position: relative;
    /* Aspect ratio hack for consistent hero image size */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.page-tintc__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-tintc__hero-content-wrapper {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual flow */
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--bg-main) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-tintc__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

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

.page-tintc__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

.page-tintc__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-tintc__overview-section .page-tintc__image {
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

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

.page-tintc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(87, 227, 141, 0.3);
}

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

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

.page-tintc__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-tintc__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-tintc__card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-tintc__card-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

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

.page-tintc__list-item {
    background-color: var(--bg-card);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: var(--text-secondary);
}

.page-tintc__list-item strong {
    color: var(--text-main);
}

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

.page-tintc__faq-list {
    margin-top: 40px;
}

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

.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(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-tintc__faq-question:hover {
    background-color: var(--primary-color);
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--gold-color);
    margin-left: 15px;
}

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

.page-tintc__faq-answer p {
    margin: 0;
    color: inherit;
}

.page-tintc__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-tintc__faq-answer a:hover {
    text-decoration: underline;
}

.page-tintc__cta-bottom {
    text-align: center;
    padding-bottom: 80px;
}

.page-tintc__cta-bottom .page-tintc__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tintc__hero-content-wrapper {
        margin-top: -80px;
    }
}

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

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

    .page-tintc__text-block {
        font-size: 1em;
    }

    .page-tintc__hero-content-wrapper {
        padding: 30px 15px;
        margin-top: -60px;
    }

    .page-tintc__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
    }

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

    .page-tintc__cta-button {
        padding: 12px 25px;
        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__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

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

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

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

    .page-tintc__list-item {
        padding: 15px 20px;
        font-size: 1em;
    }

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

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

    /* Mobile image responsiveness */
    .page-tintc img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__hero-image-wrapper,
    .page-tintc__hero-content-wrapper {
        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-top: 10px !important; /* body already handles --header-offset */
    }
}

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

    .page-tintc__hero-content-wrapper {
        margin-top: -40px;
    }

    .page-tintc__main-title {
        font-size: clamp(1.5em, 8vw, 2.2em);
    }
}