/* FOSS.Network Custom Styles - Production Design */

/* Production Color Palette:
 * Primary Green: #006a40
 * Accent Colors: #10889E, #540b6b, #ff7b00
 * Font: Ubuntu
 */

/* Footer Customization */
#footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
    border-top: 3px solid #006a40;
}

#footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#footer .footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

#footer .footer-section h3 {
    color: #006a40;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-section ul li {
    margin-bottom: 0.5rem;
}

#footer .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer .footer-section a:hover {
    color: #006a40;
}

#footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #95a5a6;
}

#footer .footer-bottom p {
    margin: 0.5rem 0;
}

#footer .social-links {
    margin-top: 1rem;
}

#footer .social-links a {
    display: inline-block;
    margin: 0 0.5rem;
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

#footer .social-links a:hover {
    color: #006a40;
}

/* Global FOSS.Network Branding */
body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a {
    color: #006a40;
}

a:hover {
    color: #10889E;
}

/* Main Content Headings */
#body-wrapper h1 {
    text-align: center;
    color: #006a40;
    font-size: 2.5rem;
    margin: 2rem 0 3rem 0;
}

/* Content Section Layouts */
.content-section {
    padding: 4rem 2rem;
    margin: 0 -2rem;
}

.content-section:nth-child(odd) {
    background: #f8f9fa;
}

.content-section:nth-child(even) {
    background: #ffffff;
}

/* Mission Section */
.mission-section {
    text-align: center;
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.mission-section h2 {
    color: #006a40;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-section h3 {
    color: #006a40;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.mission-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.mission-section ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.mission-section ul li:before {
    content: "✓";
    color: #006a40;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Image Left, Text Right */
.section-container.image-left {
    flex-direction: row;
}

/* Image Right, Text Left */
.section-container.image-right {
    flex-direction: row-reverse;
}

.section-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-text {
    flex: 1;
}

.section-text h2 {
    color: #006a40;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Membership Form Styles */
.membership-form-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.membership-form {
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #006a40;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Ubuntu', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006a40;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #006a40;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: #006a40;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.submit-button {
    background: #006a40;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

.submit-button:hover {
    background: #005030;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 106, 64, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.form-info {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #006a40;
}

.form-info p {
    margin: 0.5rem 0;
    color: #555;
}

.form-info a {
    color: #006a40;
    font-weight: 600;
}

/* CTA Button Hover */
.cta-button:hover {
    background: #005030;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 106, 64, 0.3);
}

/* Community Card Styles */
.community-card {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #006a40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 106, 64, 0.2);
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.community-header h3 {
    color: #006a40;
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
}

.member-badge {
    display: inline-block;
    background: linear-gradient(135deg, #006a40 0%, #10889E 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.community-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.community-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.community-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f8f9fa;
    color: #006a40;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.community-link:hover {
    background: #006a40;
    color: white;
    border-color: #006a40;
    transform: translateY(-2px);
}

.community-link.primary {
    background: #006a40;
    color: white;
    border-color: #006a40;
}

.community-link.primary:hover {
    background: #005030;
    border-color: #005030;
}

/* Responsive */
@media (max-width: 768px) {
    #footer .footer-sections {
        grid-template-columns: 1fr;
    }

    .section-container,
    .section-container.image-left,
    .section-container.image-right {
        flex-direction: column;
    }

    .section-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .content-section {
        padding: 2rem 1rem;
        margin: 0 -1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .membership-form-container {
        padding: 1rem;
        margin: 2rem 1rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem;
    }

    .community-card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .community-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-header h3 {
        font-size: 1.3rem;
    }

    .member-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .community-links {
        flex-direction: column;
    }

    .community-link {
        text-align: center;
        width: 100%;
    }
}
