/* showcase/static/showcase/css/style.css */

/* --- General & Variables --- */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 0;
}


/* --- Hero Section --- */
.hero {
    background-color: var(--brand-primary);
    color: var(--light-text-color);
    padding: 4rem 0;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero__container {
        flex-direction: row;
        text-align: left;
    }
}

.hero__text {
    flex: 1;
}

.hero__heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bg-light);
}

.hero__subheading {
    font-size: 1.2rem;
    color: #ccc;
    margin: 1rem 0 2rem 0;
}

.hero__actions {
    display: flex;
    gap: 1rem;
}

.hero__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image {
    max-width: 100%;
    height: auto;
}

/* --- Tools Section --- */
.tools-section {
    padding: 4rem 0;
    background-color: var(--bg-medium);
}

.tools-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .tools-section__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card__icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.tool-card__title {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}

.tool-card__description {
    color: #6c757d;
}

.tool-card__link {
    margin-top: 1.5rem;
}

/* --- Impact Section --- */
.impact-section {
    padding: 4rem 0;
    background: white;
}

.impact-section__grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.impact-metric {
    text-align: center;
}

.impact-metric__value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.impact-metric__title {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}


/* --- Partners Section (Homepage) --- */
.partners-section {
    padding: 4rem 0;
    background-color: var(--bg-medium);
}

.partners-section__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.partners-section__logo-img {
    height: 48px; /* 3rem */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.partners-section__logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Static Pages --- */
.page-header {
        background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--light-text-color);
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header__title {
    font-size: 2.5rem;
    color: var(--bg-brand-soft);
}

.page-header__subtitle {
    font-size: 1.1rem;
    color: #ccc;
}

.content-section {
    padding-bottom: 3rem;
}

/* --- Partners Page Grid --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s;
}
.partner-card a {
    text-decoration: none;
    color: inherit;
}
.partner-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.partner-card__logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
}
.partner-card__name {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}
.partner-card__tier {
    color: #6c757d;
    font-size: 0.9rem;
}


/* --- Footer --- */

/* --- Justice Innovation Map (About Page) --- */

.justice-map {
    padding: 4rem 0;
}

.justice-map__header {
    text-align: center;
    margin-bottom: 4rem;
}

.justice-map__pre-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0;
}

.justice-map__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.5rem 0;
}

.justice-map__subtitle {
    max-width: 600px;
    margin: 1rem auto 0 auto;
    font-size: 1.2rem;
    color: #6c757d;
}

.justice-map__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 992px) {
    .justice-map__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.justice-map__categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-category {
    padding: 1.5rem;
    background-color: #f1f1f1;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.map-category--active {
    background-color: #FCE4EC; /* Light Pink */
    border: 2px solid var(--accent-color);
}

.map-category__title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.map-category__title--active {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
}

.map-focus-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.map-focus-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.map-focus-card__items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-focus-card__item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0 0 0.25rem 0;
}

.map-focus-card__item-text {
    margin: 0;
    color: #6c757d;
}

.justice-map__summary {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* Important for width */
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__submit-button {
    align-self: flex-start; /* Don't stretch the button */
    border: none;
}

.tools-section--light-bg {
    background-color: #f8f9fa; /* Or a light grey that fits your theme */
}

.tool-card--soon {
    opacity: 0.7;
    border-style: dashed;
}

.button--disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
}

* --- Partner Page Enhancements --- */

/* Partner Intro Section */
.partner-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.partner-intro__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.partner-intro__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Partnership Benefits Section */
.partnership-benefits {
    margin-bottom: 4rem;
}
.partnership-benefits__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
}

.benefit-card__icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.benefit-card__title {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}

.benefit-card__text {
    color: #6c757d;
}

/* How to Help Section */
.how-to-help {
    padding: 4rem 0;
    margin: 4rem 0;
    background-color: var(--bg-medium);
}

.how-to-help__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.how-to-help__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.help-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.help-card__title {
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin: 0 0 1rem 0;
}

/* Final Call to Action */
.final-cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 4rem;
}
.final-cta__title {
    font-size: 2rem;
}
.final-cta__text {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

/* Current Partners Section */
.current-partners {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.current-partners__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}