/* style/tintc.css */
/* Base styles for the page-tintc */
.page-tintc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: transparent; /* Body background is handled by shared.css var(--background-color) which is #0A0A0A */
}

/* Page sections */
.page-tintc__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

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

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-tintc__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #FFD36B; /* Auxiliary color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-tintc__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

/* CTA Button */
.page-tintc__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
    border: none;
}

.page-tintc__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

/* Section Titles */
.page-tintc__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #FFD36B;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-tintc__sub-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    color: #F2C14E;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Text Blocks */
.page-tintc__text-block p {
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-tintc__text-block a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-tintc__text-block a:hover {
    color: #F2C14E;
}

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

/* Card styles */
.page-tintc__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #FFF6D6;
}

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

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

.page-tintc__card-title {
    font-size: 1.4rem;
    padding: 20px 20px 10px;
    color: #FFD36B;
}

.page-tintc__card-title a {
    color: #FFD36B;
    text-decoration: none;
}

.page-tintc__card-title a:hover {
    color: #F2C14E;
}

.page-tintc__card-text {
    font-size: 0.95rem;
    padding: 0 20px 20px;
    flex-grow: 1;
    color: #FFF6D6;
}

.page-tintc__card-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-tintc__card-button:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

/* FAQ Section */
.page-tintc__faq-list {
    margin-top: 40px;
}

.page-tintc__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6;
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #FFD36B;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-tintc__faq-question:hover {
    background-color: #222222;
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
    background-color: #222222;
    color: #F2C14E;
}

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

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

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    color: #FFD36B;
}

.page-tintc__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF6D6;
    border-top: 1px solid #3A2A12;
}

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

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

.page-tintc__faq-answer a:hover {
    color: #F2C14E;
}

/* Details element default styling override */
.page-tintc__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-tintc__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

/* Bottom CTA button */
.page-tintc__cta-button--bottom {
    margin-top: 40px;
    width: auto; /* Override potential mobile full width for desktop */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tintc__hero-image-wrapper {
        margin-bottom: 20px;
    }
}

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

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

    .page-tintc__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
    }

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

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

    .page-tintc__cta-button,
    .page-tintc__cta-button--bottom {
        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__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__card-image {
        height: 180px; /* Adjust height for mobile cards */
    }

    .page-tintc__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-tintc__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }

    /* All images must be responsive */
    .page-tintc img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All image/video/button containers must be responsive */
    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__hero-image-wrapper,
    .page-tintc__grid,
    .page-tintc__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important; /* Prevent horizontal overflow */
    }
    
    /* Specific video container for consistency if videos were present */
    .page-tintc__video-section,
    .page-tintc__video-container,
    .page-tintc__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* Button groups in mobile */
    .page-tintc__cta-buttons,
    .page-tintc__button-group,
    .page-tintc__btn-container {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically */
    }
}