/* style/win79-community.css */

/* Variables */
:root {
    --page-win79-community-primary-color: #FFD700; /* Gold */
    --page-win79-community-secondary-color: #2C3E50; /* Dark Blue/Charcoal */
    --page-win79-community-text-light: #f8f8f8;
    --page-win79-community-text-dark: #333;
    --page-win79-community-accent-color: #E74C3C; /* Red for CTA */
    --page-win79-community-border-color: rgba(255, 255, 255, 0.1);
}

.page-win79-community {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-win79-community-text-dark); /* Default text color for light backgrounds */
    background-color: #f0f2f5;
}

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

.page-win79-community__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-win79-community__section:nth-child(even) {
    background-color: var(--page-win79-community-secondary-color);
    color: var(--page-win79-community-text-light);
}

.page-win79-community__section:nth-child(even) .page-win79-community__section-title,
.page-win79-community__section:nth-child(even) .page-win79-community__text-content,
.page-win79-community__section:nth-child(even) .page-win79-community__feature-title,
.page-win79-community__section:nth-child(even) .page-win79-community__feature-description,
.page-win79-community__section:nth-child(even) .page-win79-community__link-text,
.page-win79-community__section:nth-child(even) .page-win79-community__step-number {
    color: var(--page-win79-community-text-light);
}

.page-win79-community__section:nth-child(even) .page-win79-community__link-text:hover {
    color: var(--page-win79-community-primary-color);
}

.page-win79-community__section-title {
    font-size: 2.5em;
    color: var(--page-win79-community-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-win79-community__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-win79-community-primary-color);
    border-radius: 2px;
}

.page-win79-community__hero {
    background: linear-gradient(135deg, var(--page-win79-community-primary-color), var(--page-win79-community-secondary-color));
    color: var(--page-win79-community-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-win79-community__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:win79,abstract,geometric,pattern]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-win79-community__hero > .page-win79-community__container {
    position: relative;
    z-index: 1;
}

.page-win79-community__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-win79-community-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-win79-community__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-win79-community__hero-actions .page-win79-community__btn {
    margin: 0 10px;
}

.page-win79-community__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-win79-community__btn--primary {
    background-color: var(--page-win79-community-accent-color);
    color: var(--page-win79-community-text-light);
    border-color: var(--page-win79-community-accent-color);
}

.page-win79-community__btn--primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-win79-community__btn--secondary {
    background-color: transparent;
    color: var(--page-win79-community-text-light);
    border-color: var(--page-win79-community-text-light);
}

.page-win79-community__btn--secondary:hover {
    background-color: var(--page-win79-community-text-light);
    color: var(--page-win79-community-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-win79-community__btn--outline {
    background-color: transparent;
    color: var(--page-win79-community-primary-color);
    border-color: var(--page-win79-community-primary-color);
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
}

.page-win79-community__btn--outline:hover {
    background-color: var(--page-win79-community-primary-color);
    color: var(--page-win79-community-secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-win79-community__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-win79-community__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-win79-community__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

.page-win79-community__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-win79-community__section:nth-child(even) .page-win79-community__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--page-win79-community-text-light);
}

.page-win79-community__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.page-win79-community__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.page-win79-community__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-win79-community-secondary-color);
}

.page-win79-community__section:nth-child(even) .page-win79-community__feature-title {
    color: var(--page-win79-community-primary-color);
}

.page-win79-community__feature-description {
    font-size: 1em;
    color: #666;
}

.page-win79-community__section:nth-child(even) .page-win79-community__feature-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-win79-community__step-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-win79-community__step-number {
    background-color: var(--page-win79-community-primary-color);
    color: var(--page-win79-community-secondary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-win79-community__link-text {
    color: var(--page-win79-community-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-win79-community__link-text:hover {
    color: var(--page-win79-community-accent-color);
    text-decoration: underline;
}

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

.page-win79-community__testimonial-item {
    background-color: var(--page-win79-community-secondary-color);
    color: var(--page-win79-community-text-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page-win79-community__testimonial-item::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 8em;
    color: rgba(255, 215, 0, 0.1);
    z-index: 0;
    line-height: 1;
}

.page-win79-community__testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--page-win79-community-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-win79-community__testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-win79-community__testimonial-author {
    font-weight: bold;
    color: var(--page-win79-community-primary-color);
    position: relative;
    z-index: 1;
}

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

.page-win79-community__detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-win79-community__detail-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.page-win79-community__detail-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--page-win79-community-secondary-color);
}

.page-win79-community__detail-title a {
    color: var(--page-win79-community-secondary-color);
    text-decoration: none;
}

.page-win79-community__detail-title a:hover {
    color: var(--page-win79-community-primary-color);
    text-decoration: underline;
}

.page-win79-community__detail-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-win79-community__cta {
    background: linear-gradient(90deg, var(--page-win79-community-secondary-color), #40526b);
    color: var(--page-win79-community-text-light);
    text-align: center;
    padding: 80px 0;
    margin-bottom: 0; /* No margin for the last section */
    border-radius: 0;
}

.page-win79-community__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-win79-community-primary-color);
}

.page-win79-community__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-win79-community__hero-title {
        font-size: 2.8em;
    }
    .page-win79-community__section-title {
        font-size: 2em;
    }
    .page-win79-community__feature-grid, .page-win79-community__testimonial-grid, .page-win79-community__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-win79-community__hero-title {
        font-size: 2.2em;
    }
    .page-win79-community__hero-description {
        font-size: 1.1em;
    }
    .page-win79-community__hero-actions .page-win79-community__btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    .page-win79-community__section {
        padding: 40px 0;
    }
    .page-win79-community__section-title {
        font-size: 1.8em;
    }
    .page-win79-community__cta-title {
        font-size: 2.5em;
    }
    .page-win79-community__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .page-win79-community__hero-title {
        font-size: 1.8em;
    }
    .page-win79-community__hero-description {
        font-size: 1em;
    }
    .page-win79-community__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-win79-community__btn--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .page-win79-community__section-title {
        font-size: 1.5em;
    }
    .page-win79-community__feature-grid, .page-win79-community__testimonial-grid, .page-win79-community__detail-list {
        grid-template-columns: 1fr;
    }
    .page-win79-community__step-list li {
        font-size: 1em;
    }
    .page-win79-community__cta-title {
        font-size: 2em;
    }
}