/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Page specific background if different from body */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    color: #666666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-support__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
}

.page-support__button--primary {
    background-color: #000000; /* Primary brand color */
    color: #FFFFFF; /* White text for contrast */
    border: 2px solid #000000;
}

.page-support__button--primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-support__button--secondary {
    background-color: transparent;
    color: #000000; /* Dark text for contrast */
    border: 2px solid #000000;
}

.page-support__button--secondary:hover {
    background-color: #f0f0f0;
    color: #000000;
}

.page-support__button--text {
    background-color: transparent;
    color: #000000;
    border: none;
    padding: 8px 0;
    font-size: 0.9em;
    text-decoration: underline;
}

.page-support__button--text:hover {
    color: #FCBC45; /* Login button color for hover */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden; /* Ensures image doesn't overflow */
    background-color: #f8f8f8;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2; /* Subtle background image */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-support__faq-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FCBC45; /* Accent color */
}

.page-support__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__faq-answer {
    font-size: 1em;
    color: #444444;
}

.page-support__faq-answer a {
    color: #FCBC45; /* Link color */
    text-decoration: none;
}

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

.page-support__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 800px;
    width: 100%; /* Ensure it's responsive */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Resources Section */
.page-support__resources-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.page-support__resource-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.page-support__resource-card h3 {
    padding: 15px 20px 0;
    font-size: 1.2em;
    color: #000000;
}

.page-support__resource-card h3 a {
    text-decoration: none;
    color: #000000;
}

.page-support__resource-card h3 a:hover {
    color: #FCBC45;
}

.page-support__resource-description {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #555555;
    flex-grow: 1;
}

.page-support__resource-card .page-support__button--text {
    align-self: flex-start;
    margin: 0 20px 20px;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-support__contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-support__contact-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__contact-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    text-align: center;
}

.page-support__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-support__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

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

.page-support__cta-buttons .page-support__button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    border-color: #FCBC45;
}

.page-support__cta-buttons .page-support__button--primary:hover {
    background-color: #ffcd60;
    border-color: #ffcd60;
}

.page-support__cta-buttons .page-support__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-support__cta-buttons .page-support__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-support {
        padding-top: var(--header-offset, 120px); /* Apply padding top for mobile as well */
    }
    .page-support__hero-section {
        padding: 60px 20px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-support__faq-grid,
    .page-support__resources-grid,
    .page-support__contact-options {
        grid-template-columns: 1fr;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile image overflow prevention */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
    .page-support__resource-image {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-support__faq-item {
        padding: 20px;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
}