/* style/user-community.css */
.page-user-community {
    font-family: 'Arial', sans-serif;
    color: #f8f8f8; /* Light text for dark background */
    background-color: #121f2d; /* Darker background to complement main color */
}

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

/* Hero Section */
.page-user-community-hero {
    background: linear-gradient(135deg, #1A2E44, #E44D26);
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-user-community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-user-community-hero .page-user-community-container {
    position: relative;
    z-index: 2;
}

.page-user-community-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.page-user-community-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* General Section Styling */
.page-user-community-section-title {
    font-size: 2.5em;
    color: #E44D26; /* Accent color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    padding-top: 40px;
}

.page-user-community-section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    color: #d0d0d0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-user-community-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin: 10px;
}

.page-user-community-btn-primary {
    background-color: #E44D26; /* Accent color */
    color: #ffffff;
    border: 2px solid #E44D26;
}

.page-user-community-btn-primary:hover {
    background-color: #c93b1f;
    transform: translateY(-2px);
}

.page-user-community-btn-secondary {
    background-color: #1A2E44; /* Main color */
    color: #ffffff;
    border: 2px solid #1A2E44;
}

.page-user-community-btn-secondary:hover {
    background-color: #2b4562;
    transform: translateY(-2px);
}

.page-user-community-btn-tertiary {
    background-color: transparent;
    color: #E44D26;
    border: 2px solid #E44D26;
}

.page-user-community-btn-tertiary:hover {
    background-color: #E44D26;
    color: #ffffff;
    transform: translateY(-2px);
}

/* About Section */
.page-user-community-about {
    padding: 60px 0;
    background-color: #1A2E44; /* Main color */
}

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

.page-user-community-grid-item {
    background-color: #2b4562; /* Slightly lighter than main for contrast */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-user-community-grid-item:hover {
    transform: translateY(-5px);
}

.page-user-community-grid-item h3 {
    color: #E44D26; /* Accent color */
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-user-community-grid-item p {
    color: #d0d0d0;
    font-size: 1em;
    line-height: 1.6;
}

.page-user-community-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Detail List Section */
.page-user-community-sections {
    padding: 60px 0;
    background-color: #121f2d;
}

.page-user-community-detail-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-user-community-detail-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #1A2E44; /* Main color */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.page-user-community-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-user-community-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    flex: 1 1 40%;
}

.page-user-community-detail-content {
    flex: 1 1 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-user-community-detail-content h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.page-user-community-detail-content h3 a {
    color: #E44D26; /* Accent color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-user-community-detail-content h3 a:hover {
    color: #ff6a4d;
}

.page-user-community-detail-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 25px;
}

/* Guidelines Section */
.page-user-community-guidelines {
    padding: 60px 0;
    background-color: #1A2E44;
}

.page-user-community-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 30px auto 0 auto;
    max-width: 800px;
}

.page-user-community-guidelines li {
    background-color: #2b4562;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #d0d0d0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-user-community-guidelines li strong {
    color: #E44D26;
}

.page-user-community-guidelines p {
    text-align: center;
    font-size: 1.1em;
    color: #d0d0d0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.page-user-community-cta {
    padding: 80px 0;
    text-align: center;
    background-color: #121f2d;
}

/* More Info Section */
.page-user-community-more-info {
    padding: 60px 0;
    background-color: #1A2E44;
}

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

.page-user-community-info-card {
    background-color: #2b4562;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-user-community-info-card:hover {
    transform: translateY(-5px);
    background-color: #3f5a77;
}

.page-user-community-info-card h4 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #E44D26;
}

.page-user-community-info-card p {
    color: #d0d0d0;
    font-size: 0.95em;
    line-height: 1.5;
}

.page-user-community-info-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-user-community-hero-title {
        font-size: 2.5em;
    }

    .page-user-community-hero-subtitle {
        font-size: 1.2em;
    }

    .page-user-community-section-title {
        font-size: 2em;
    }

    .page-user-community-grid {
        grid-template-columns: 1fr;
    }

    .page-user-community-detail-item {
        flex-direction: column;
    }

    .page-user-community-detail-item:nth-child(even) {
        flex-direction: column;
    }

    .page-user-community-detail-image {
        max-height: 250px;
    }

    .page-user-community-detail-content {
        padding: 20px;
    }

    .page-user-community-detail-content h3 {
        font-size: 1.6em;
    }

    .page-user-community-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-user-community-hero-title {
        font-size: 2em;
    }

    .page-user-community-hero-subtitle {
        font-size: 1em;
    }

    .page-user-community-btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-user-community-section-title {
        font-size: 1.8em;
    }
}