/* =========================
   1. GLOBAL VARIABLES (Updated from Logo)
========================== */
:root {
    /* Brand Colors pulled directly from the new logo */
    --primary-color: #a32020; /* The deep crimson red */
    --secondary-color: #dca73a; /* The golden yellow */
    
    /* Neutral Colors - Darker theme */
    --text-dark: #1a1a1a; /* Darker text */
    --text-light: #ffffff;
    --bg-light: #2b2b2b; /* Dark gray for alternating sections */
    --bg-dark: #1f1f1f; /* Darker background */
    --bg-white: #2b2b2b; /* Card backgrounds */
    
    /* Typography - Using native system fonts for maximum speed */
    --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout Variables */
    --max-width: 1200px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

/* =========================
   2. CSS RESET & BASE STYLES
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding doesn't affect overall width */
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================
   3. UTILITY CLASSES
========================== */
/* Keeps content centered and prevents it from stretching too far on large monitors */
.section-wrapper, .hero-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Reusable alternating background class */
.bg-light {
    background-color: var(--bg-light);
}

/* =========================
   4. HEADER & NAVIGATION (FLEXBOX)
========================== */
.site-header {
    display: flex;
    justify-content: space-between; /* Pushes logo left, nav right */
    align-items: center; /* Centers items vertically */
    padding: 1rem 5%; /* Fluid padding acting as a wrapper */
    background-color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Subtle drop shadow */
    position: sticky; /* Keeps the menu at the top when scrolling */
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo {
    height: 80px;
    width: auto;
    display: block;
}

/* Flexbox for the list items - Desktop horizontal menu */
.nav-links {
    display: flex;
    gap: 2rem; /* Evenly spaces the links */
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* Hover effects and active state */
.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Hide the hamburger button on desktop screens */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* =========================
   5. BUTTON STYLES
========================== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* =========================
   6. BUTTONS & LINKS
========================== */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color); /* The warm rust/orange */
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* =========================
   7. HERO SECTION (Updated with Image)
========================== */
.hero {
    /* The linear-gradient creates a dark overlay, the url() loads the image */
    background: linear-gradient(rgba(43, 43, 43, 0.75), rgba(43, 43, 43, 0.75)), 
                url('../resources/old millport.avif') center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 8rem 1rem; /* Increased padding to show off more of the photo */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto; /* Centers the paragraph under the heading */
    opacity: 0.9; /* Softens the text slightly */
}

/* =========================
   8. CHAMBER BUZZ & CARDS
========================== */
.chamber-buzz {
    padding: 4rem 0; /* Vertical spacing */
    background-color: var(--bg-light); /* Subtle gray background */
}

.chamber-buzz h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* CSS Grid Magic */
.news-grid {
    display: grid;
    /* This creates columns that are at least 300px wide, and expands them to fill the space */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; /* Spacing between cards */
}

.news-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px; /* Soft, rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Very subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Make the card "lift" when the user hovers over it */
.news-card:hover {
    transform: translateY(-5px); /* Moves the card up slightly */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5); /* Darkens the shadow */
}

.news-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.read-more:hover {
    text-decoration: underline;
}

/* =========================
   9. MOBILE RESPONSIVENESS
========================== */
/* Triggers when the screen is tablet-sized or smaller */
@media (max-width: 768px) {
    /* Reveal the hamburger menu button */
    .mobile-toggle {
        display: block;
    }

    /* Change the nav-links from a row to a stacked column */
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-dark);
        position: absolute;
        top: 100%; /* Drops it directly below the header */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        gap: 0; /* Adjusts spacing between stacked links */
    }

    /* Full-width clickable areas for mobile */
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: rgba(220, 167, 58, 0.1);
        border-left: 3px solid var(--secondary-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* This class will be toggled on and off by JavaScript */
    .nav-links.active {
        display: flex;
    }
}

/* =========================
   10. BLOG POST PAGE
========================== */
.blog-post {
    padding: 4rem 0;
    background-color: var(--bg-dark);
    min-height: 80vh;
}

.blog-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.blog-post h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.blog-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.blog-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 1rem;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .blog-images {
        grid-template-columns: 1fr;
    }

    .blog-images img {
        height: 250px;
    }
}

/* =========================
   11. ABOUT PAGE
========================== */
.about-page {
    background-color: var(--bg-dark);
}

.page-header {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.hero-small {
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-statement {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-story {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.story-text h2,
.impact-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-text h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.story-text p,
.impact-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.event-list {
    list-style: none;
    margin: 1rem 0;
}

.event-list li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color);
}

/* Leadership Team */
.leadership-team {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-center:last-of-type {
    margin-top: -2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.officer-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.officer-card:hover {
    transform: translateY(-5px);
}

.officer-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--secondary-color);
}

.officer-card h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.officer-title {
    color: var(--secondary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .officer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .officer-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .officer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   12. FOOTER
========================== */
.site-footer {
    background-color: var(--bg-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.footer-contact a {
    color: var(--secondary-color);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-social h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-social a {
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-social a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact p {
        font-size: 0.85rem;
    }
}

/* =========================
   13. DIRECTORY PAGE
========================== */
.directory-page {
    background-color: var(--bg-dark);
    min-height: 80vh;
}

.directory-header {
    padding: 3rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.directory-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.directory-header p {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.controls-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

#searchInput,
#categoryFilter {
    padding: 1rem 1.25rem;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
    min-width: 220px;
}

#searchInput::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

#searchInput:focus,
#categoryFilter:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(163, 32, 32, 0.5);
}

.directory-content {
    padding: 3rem 0;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.member-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--secondary-color);
}

.member-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-card .member-category {
    color: #e8b84d;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-details {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.member-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.member-details a {
    color: var(--secondary-color);
}

.member-details a:hover {
    text-decoration: underline;
}

.member-details em {
    color: var(--text-light);
    opacity: 0.8;
    font-style: italic;
}

.member-card .btn-outline {
    display: inline-block;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-card .btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
}

@media (max-width: 768px) {
    .directory-header h1 {
        font-size: 2rem;
    }

    .controls-wrapper {
        flex-direction: column;
        align-items: center;
    }

    #searchInput,
    #categoryFilter {
        width: 100%;
        max-width: 300px;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   14. FORM PAGES (Member & Vendor Forms)
========================== */
.form-page {
    background-color: var(--bg-dark);
    min-height: 80vh;
}

.form-page .page-header {
    padding: 3rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.form-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-page .page-header p {
    color: var(--text-light);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.form-section {
    padding: 3rem 0;
}

.standard-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(220, 167, 58, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.standard-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

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

.form-nav .btn-outline {
    margin-top: 0;
}

@media (max-width: 768px) {
    .form-page .page-header h1 {
        font-size: 2rem;
    }

    .standard-form {
        padding: 1.5rem;
    }
}

/* =========================
   15. THANK YOU PAGE
========================== */
.thanks-page {
    background-color: var(--bg-dark);
    min-height: 100vh;
}

.thanks-main {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.thanks-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.thanks-content h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thanks-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.next-steps {
    background-color: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps p {
    margin-bottom: 1rem;
}

.next-steps address {
    font-style: normal;
    color: var(--text-light);
    padding-left: 1rem;
    border-left: 2px solid var(--secondary-color);
}

.next-steps address strong {
    color: var(--secondary-color);
}

.btn-gold {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

@media (max-width: 768px) {
    .thanks-main {
        padding: 2rem 0;
    }

    .thanks-content {
        padding: 2rem 1.5rem;
    }

    .thanks-content h1 {
        font-size: 1.5rem;
    }

    .success-icon {
        font-size: 3rem;
    }
}

/* =========================
   16. VENDOR REGISTRATION PAGE
========================== */
.membership-invite {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.invite-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
}

.invite-content h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.invite-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.invite-content strong {
    color: var(--secondary-color);
}

.events-highlight {
    background-color: var(--bg-dark);
    padding: 1.25rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.events-highlight p {
    margin-bottom: 0;
    color: var(--text-light);
}

.signatures {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.sig-block p {
    margin-bottom: 0;
}

.sig-block strong {
    color: var(--text-light);
    font-size: 1.1rem;
}

.sig-block span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-style: italic;
}

/* =========================
   16. VENDOR REGISTRATION PAGE
========================== */
.vendor-notice {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.notice-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.notice-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.notice-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.notice-content a {
    color: var(--secondary-color);
}

.notice-content a:hover {
    text-decoration: underline;
}

.event-address {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-box {
    background-color: var(--bg-dark);
    padding: 1.25rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border-left: 3px solid var(--secondary-color);
}

.notice-box h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.notice-box p {
    margin-bottom: 0;
}

.mlm-notice {
    border-left-color: var(--primary-color);
    background-color: rgba(163, 32, 32, 0.1);
}

.mlm-notice p {
    color: var(--text-light);
}

.mailing-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-dark);
    border-radius: 4px;
}

.mailing-info p {
    margin-bottom: 1rem;
}

.mailing-info address {
    font-style: normal;
    color: var(--text-light);
    padding-left: 1rem;
    border-left: 2px solid var(--secondary-color);
}

.mailing-info address strong {
    color: var(--secondary-color);
}

.important-info {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background-color: rgba(220, 167, 58, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
}

.important-info p {
    margin-bottom: 0.75rem;
}

.important-info p:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.05rem;
}

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

.form-notice {
    background-color: var(--bg-dark);
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    margin: 1.5rem 0;
}

.form-notice p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.form-notice strong {
    color: var(--secondary-color);
}

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    min-width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-label span {
    line-height: 1.5;
}

/* =========================
   17. MEMBERSHIP TIERS SECTION
========================== */
.membership-tiers {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.membership-tiers h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.tier-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tier-price {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tier-valid {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tier-benefits {
    list-style: none;
    text-align: left;
}

.tier-benefits li {
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* =========================
   16. MEMBERSHIP PAGE (Updated)
========================== */
.membership-page {
    background-color: var(--bg-dark);
    min-height: 80vh;
}

.membership-page .page-header {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.membership-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.membership-page .page-header p {
    color: var(--text-light);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.jump-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.membership-section {
    padding: 4rem 0;
}

.membership-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.membership-section > .section-wrapper > p {
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.info-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .membership-invite {
        padding: 2rem 0;
    }

    .invite-content {
        padding: 1.5rem;
    }

    .invite-content h2 {
        font-size: 1.4rem;
    }

    .signatures {
        flex-direction: column;
        gap: 1.5rem;
    }

    .vendor-notice {
        padding: 2rem 0;
    }

    .notice-content {
        padding: 1.5rem;
    }

    .notice-content h2 {
        font-size: 1.3rem;
    }

    .notice-box {
        padding: 1rem;
    }

    .mailing-info {
        padding: 1rem;
    }

    .important-info {
        padding: 1rem;
    }

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

    .membership-tiers h2 {
        font-size: 1.5rem;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .tier-price {
        font-size: 1.5rem;
    }

    .membership-page .page-header h1 {
        font-size: 2rem;
    }

    .jump-links {
        flex-direction: column;
        align-items: center;
    }

    .membership-section {
        padding: 3rem 0;
    }
}
