/* style/user-community.css */

/* General Styles for the User Community Page */
.page-user-community {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-user-community__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Hero Section */
.page-user-community__hero-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker gradient for depth */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-user-community__hero-section .page-user-community__container {
    position: relative;
    z-index: 1;
}

.page-user-community__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    line-height: 1.2;
}

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

.page-user-community__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-user-community__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Why Join Section */
.page-user-community__why-join-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-user-community__feature-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-user-community__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 5px rgba(0, 51, 102, 0.3)); /* Shadow for icons */
}

.page-user-community__feature-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
}

.page-user-community__feature-text {
    color: #555;
    font-size: 1em;
}

/* Discussion Topics Section */
.page-user-community__discussion-topics-section {
    padding: 80px 0;
    background-color: #f0f4f7;
}

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

.page-user-community__topic-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-user-community__topic-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-user-community__topic-item h3, .page-user-community__topic-item p {
    padding: 0 20px;
}

.page-user-community__topic-title {
    font-size: 1.4em;
    color: #003366;
    margin: 20px 0 10px;
}

.page-user-community__topic-text {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* How to Join Section */
.page-user-community__how-to-join-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-user-community__step-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-left: 5px solid #003366;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.page-user-community__step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #FFD700;
    color: #003366;
    font-size: 1.5em;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-user-community__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-top: 10px;
    margin-bottom: 15px;
}

.page-user-community__step-text {
    color: #555;
}

.page-user-community__inline-link {
    color: #003366;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-user-community__inline-link:hover {
    color: #FFD700;
}

.page-user-community__join-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #003366;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.page-user-community__join-button:hover {
    background-color: #004080;
    transform: translateY(-3px);
}

/* Featured Activities Section */
.page-user-community__featured-activities-section {
    padding: 80px 0;
    background-color: #f0f4f7;
}

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

.page-user-community__activity-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-user-community__activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-user-community__activity-item h3, .page-user-community__activity-item p {
    padding: 0 20px;
}

.page-user-community__activity-title {
    font-size: 1.4em;
    color: #003366;
    margin: 20px 0 10px;
}

.page-user-community__activity-text {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Commitment Section */
.page-user-community__commitment-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-user-community__commitment-text {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.1em;
    color: #444;
}

/* CTA Bottom Section */
.page-user-community__cta-bottom {
    background: linear-gradient(90deg, #003366, #001a33);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-user-community__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

.page-user-community__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-user-community__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Detail Pages Section */
.page-user-community__detail-pages-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

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

.page-user-community__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-user-community__detail-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-user-community__detail-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-user-community__detail-title a:hover {
    color: #FFD700;
}

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

.page-user-community__detail-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-user-community__detail-button:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-user-community__hero-title {
        font-size: 2.8em;
    }
    .page-user-community__hero-description {
        font-size: 1.1em;
    }
    .page-user-community__section-title {
        font-size: 2em;
    }
    .page-user-community__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-user-community__hero-section,
    .page-user-community__why-join-section,
    .page-user-community__discussion-topics-section,
    .page-user-community__how-to-join-section,
    .page-user-community__featured-activities-section,
    .page-user-community__commitment-section,
    .page-user-community__cta-bottom,
    .page-user-community__detail-pages-section {
        padding: 60px 0;
    }
    .page-user-community__hero-title {
        font-size: 2.2em;
    }
    .page-user-community__hero-description {
        font-size: 1em;
    }
    .page-user-community__section-title {
        font-size: 1.8em;
    }
    .page-user-community__features-grid,
    .page-user-community__topics-grid,
    .page-user-community__steps-grid,
    .page-user-community__activities-grid,
    .page-user-community__detail-list {
        grid-template-columns: 1fr;
    }
    .page-user-community__cta-title {
        font-size: 1.8em;
    }
    .page-user-community__cta-description {
        font-size: 1em;
    }
    .page-user-community__step-item {
        border-left: none;
        border-top: 5px solid #003366;
    }
    .page-user-community__step-number {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .page-user-community__hero-section,
    .page-user-community__why-join-section,
    .page-user-community__discussion-topics-section,
    .page-user-community__how-to-join-section,
    .page-user-community__featured-activities-section,
    .page-user-community__commitment-section,
    .page-user-community__cta-bottom,
    .page-user-community__detail-pages-section {
        padding: 40px 0;
    }
    .page-user-community__hero-title {
        font-size: 1.8em;
    }
    .page-user-community__hero-description {
        font-size: 0.9em;
    }
    .page-user-community__section-title {
        font-size: 1.5em;
    }
    .page-user-community__cta-title {
        font-size: 1.6em;
    }
    .page-user-community__hero-button,
    .page-user-community__join-button,
    .page-user-community__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}