/* style/support.css */

/* Base styles for the page */
.page-support {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000; /* Assuming body background is black from shared.css */
}

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

.page-support__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-title--light {
    color: #ffffff; /* White for dark sections */
}

.page-support__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__dark-section {
    background-color: #CC0000; /* Deep red background */
    color: #ffffff;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%;
}

.page-support__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #CC0000; /* Red text */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #CC0000;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: -1;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 900px;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__hero-buttons {
    margin-top: 30px;
}

/* Why Us Section */
.page-support__why-us {
    background-color: #0d0d0d; /* Slightly lighter dark background */
}

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

.page-support__feature-item {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__feature-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__feature-icon {
    width: 200px; /* Ensure display size is at least 200px */
    height: 200px; /* Ensure display size is at least 200px */
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700); /* Gold shadow for icons */
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-support__feature-text {
    color: #f0f0f0;
    font-size: 0.95em;
}

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

.page-support__channel-item {
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for cards on red section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__channel-item:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 0, 0, 0.5);
}

.page-support__channel-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__channel-text {
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Video Section */
.page-support__video-section {
    background-color: #0d0d0d;
    padding-top: 60px; /* Reset padding-top for this section, header offset is handled by hero */
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-support__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make the anchor tag clickable over video controls */
    cursor: pointer;
}

/* Common Issues Section */
.page-support__common-issues {
    background-color: #000;
}

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

.page-support__issue-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__issue-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__issue-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-support__issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-support__issue-list li {
    margin-bottom: 10px;
}

.page-support__issue-link {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05em;
}

.page-support__issue-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #CC0000;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.page-support__faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.page-support__faq-title {
    font-size: 1.3em;
    color: #FFD700;
    margin: 0;
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    color: #FFD700;
    margin-left: 20px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an 'X' or 'minus' */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    font-size: 1em;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-support__faq-btn {
    margin: 10px 0 0;
}

/* CTA Bottom Section */
.page-support__cta-bottom {
    background-color: #0d0d0d;
    padding: 80px 0;
}

.page-support__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px; /* Space between buttons */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 2.2em;
    }
    .page-support__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        height: auto;
        min-height: 60vh;
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
    }
    .page-support__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__section {
        padding: 40px 0;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-support__features-grid,
    .page-support__channels-grid,
    .page-support__issues-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__feature-item,
    .page-support__channel-item,
    .page-support__issue-card {
        padding: 20px;
    }

    .page-support__feature-title,
    .page-support__channel-title,
    .page-support__issue-title {
        font-size: 1.3em;
    }

    .page-support__feature-icon {
        width: 150px; /* Adjust feature icon size for mobile if needed, but keep >= 200px if possible */
        height: 150px; /* If HTML width/height is 200, this should match or use max-width: 100% */
        margin-left: auto;
        margin-right: auto;
    }

    .page-support__faq-list {
        margin-top: 30px;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }

    .page-support__faq-title {
        font-size: 1.1em;
    }

    .page-support__faq-toggle {
        font-size: 1.5em;
    }

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Images responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-content,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Video responsive */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
        height: 0 !important;
        overflow: hidden !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Button responsive */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Full width buttons */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Stack buttons vertically */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-buttons,
    .page-support__cta-buttons {
        flex-direction: column !important; /* Stack buttons */
        gap: 10px !important;
    }
    .page-support__cta-buttons {
        padding-left: 0;
        padding-right: 0;
    }
    .page-support__cta-bottom {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 0.85em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__feature-title,
    .page-support__channel-title,
    .page-support__issue-title {
        font-size: 1.1em;
    }
    .page-support__faq-title {
        font-size: 1em;
    }
    .page-support__faq-question {
        padding: 12px 15px;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 8px 15px 15px;
    }
}