/* style/user-community.css */
.page-user-community {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1A2B4C; /* Dark blue for main text */
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-user-community__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A2B4C 0%, #3a4c6e 100%); /* Dark blue gradient */
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.page-user-community__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-user-community__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-user-community__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-user-community__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0; /* Light grey for description */
}

/* General Section Styling */
.page-user-community__section-title {
    font-size: 2.5em;
    color: #1A2B4C; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

.page-user-community__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-user-community__text-content {
    font-size: 1.1em;
    color: #333; /* Slightly lighter dark for paragraphs */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Intro Section */
.page-user-community__intro {
    background-color: #fff;
    padding: 60px 0;
}

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

.page-user-community__feature-item {
    background-color: #f0f4f8; /* Light blue-grey background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-user-community__feature-title {
    font-size: 1.5em;
    color: #1A2B4C; /* Dark blue */
    margin-bottom: 15px;
}

.page-user-community__feature-item p {
    color: #555; /* Medium grey for body text */
    font-size: 1em;
    line-height: 1.7;
}

/* Detail List Section */
.page-user-community__sections-overview {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-user-community__detail-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-user-community__detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-user-community__detail-title {
    font-size: 1.6em;
    margin: 20px 15px 10px;
    color: #1A2B4C; /* Dark blue */
}

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

.page-user-community__detail-title a:hover {
    color: #FFD700; /* Gold on hover */
}

.page-user-community__detail-description {
    color: #555;
    font-size: 0.95em;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.page-user-community__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A2B4C; /* Dark blue text on gold */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.page-user-community__cta-button:hover {
    background-color: #e5c100; /* Darker gold on hover */
    color: #0d1a2f; /* Even darker blue */
    transform: translateY(-2px);
}

.page-user-community__cta-button--small {
    font-size: 0.9em;
    padding: 8px 15px;
    margin-bottom: 20px;
}

.page-user-community__cta-button--secondary {
    background-color: #1A2B4C; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-user-community__cta-button--secondary:hover {
    background-color: #0d1a2f; /* Even darker blue */
    color: #fff;
    border-color: #fff;
}

/* Safety Commitment Section */
.page-user-community__safety-commitment {
    background-color: #1A2B4C; /* Dark blue background */
    color: #e0e0e0; /* Light text */
    padding: 80px 0;
}

.page-user-community__safety-commitment .page-user-community__section-title {
    color: #FFD700; /* Gold title */
}

.page-user-community__safety-commitment .page-user-community__section-title::after {
    background-color: #e0e0e0; /* Light underline */
}

.page-user-community__safety-commitment .page-user-community__text-content {
    color: #c0c0c0; /* Lighter grey for text */
}

.page-user-community__safety-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-user-community__safety-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    flex: 1 1 45%; /* Allows two items per row on larger screens */
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-user-community__safety-heading {
    font-size: 1.8em;
    color: #FFD700; /* Gold heading */
    margin-bottom: 15px;
}

.page-user-community__safety-item p {
    color: #c0c0c0;
    font-size: 1em;
    line-height: 1.7;
}

/* CTA Join Section */
.page-user-community__cta-join {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-user-community__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Future Vision Section */
.page-user-community__future-vision {
    background-color: #f0f4f8;
    padding: 60px 0 80px;
}

/* 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__safety-item {
        flex: 1 1 100%; /* One item per row on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-user-community__hero {
        height: 400px;
    }

    .page-user-community__hero-title {
        font-size: 2.2em;
    }

    .page-user-community__hero-description {
        font-size: 1em;
    }

    .page-user-community__feature-item,
    .page-user-community__detail-item {
        padding: 25px;
    }

    .page-user-community__feature-title {
        font-size: 1.3em;
    }

    .page-user-community__detail-title {
        font-size: 1.4em;
    }

    .page-user-community__safety-heading {
        font-size: 1.5em;
    }

    .page-user-community__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    .page-user-community__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

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

    .page-user-community__text-content {
        font-size: 0.95em;
    }

    .page-user-community__cta-button {
        width: 90%;
    }
    .page-user-community__cta-buttons {
        gap: 15px;
    }
}