/* --------------------------------------------------
   GLOBAL RESET & BODY
-------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}


.text-highlight {
  background: #fff3a0;   /* pale yellow */
  padding: 2px 4px;
  border-radius: 4px;
}
/* --------------------------------------------------
   HEADER + NAVIGATION
-------------------------------------------------- */
.page-header {
    background-color: #004d40;
    color: #ecf0f1;
    padding: 0.5rem 0;
    border-bottom: 2px solid #e74c3c;
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.page-title {
    margin: 0;
    font-size: 1.7rem;
    padding-left: 0.5rem;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #e74c3c;
}

/* --------------------------------------------------
   MOBILE MENU (hamburger)
-------------------------------------------------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    padding-right: 1rem;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ecf0f1;
    transition: all 0.3s ease;
}

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */
main {
    padding: 2rem 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

main p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
/* --- Reusable Rise & Glow effect for any text block --- */
.interactive-text {
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
    padding: 12px;
    border-radius: 6px;
}

.interactive-text:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    background-color: #f9f9f9;
}



/* --------------------------------------------------
   HERO FLEX LAYOUT
-------------------------------------------------- */
.hero-content-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.hero-left {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
}

.hero-right {
    flex: 1;
}

/* Remove underline from links + button text */
a button,
a {
    text-decoration: none !important;
}

/* --------------------------------------------------
   REPLY BUTTON (replaces <button>)
-------------------------------------------------- */
.reply-button {
    display: inline-block;
    padding: 12px 20px;
    background: #0077cc;
    color: white;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    text-decoration: none !important;
}

.reply-button:hover {
    background: #005fa3;
}

/* --------------------------------------------------
   POP PARAGRAPH (Hover effect)
-------------------------------------------------- */
.pop-para {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;

    /* Ensures iPhone does NOT center text */
    text-align: left !important;
}

.pop-para:hover {
    color: #080;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
/* --- Paragraph Hover Interaction: Rise & Glow --- */
.pop-para {
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
    padding: 12px;
    border-radius: 6px;
}

.pop-para:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    background-color: #f9f9f9;
}


/* --------------------------------------------------
   VENMO ROW: image + button
-------------------------------------------------- */
.side-by-side {
    display: flex;
    align-items: center;
    gap: 120px;
}

.side-by-side img {
    width: 310px;
    height: auto;
}

.side-by-side .venmo-button {
    width: 250px;
    padding: 14px 0;
    background-color: #3D95CE;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: block;
    text-decoration: none !important;
}

/* --------------------------------------------------
   COMMUNITY LINK CARDS
-------------------------------------------------- */
.community-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background-color: #bbb;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.community-card {
    background-color: #d8e2dc;
    border-radius: 8px;
    width: 200px;
    height: 150px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.community-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 15px;
}

.community-card a img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 6px;
}

.card-title {
    color: #4a4e69;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
    background-color: #004d40;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    width: 100%;
}

/* --------------------------------------------------
   RESPONSIVE RULES
-------------------------------------------------- */
@media (max-width: 768px) {

    /* Header Adjustments */
    .page-title {
        font-size: 1.35rem;
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        flex-basis: 100%;
    }

    .main-nav.active {
        max-height: 350px;
    }

    .main-nav ul {
        flex-direction: column;
        background-color: #34495e;
        padding: 0;
    }

    .main-nav a {
        padding: 1rem 1.5rem;
        text-align: center;
        font-size: 1.1rem;
    }

    /* HERO SECTION MOBILE */
    .hero-content-flex {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
        align-items: center;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
        flex: none;
    }

    .hero-left img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        border-radius: 6px;
        display: block;
    }

    /* NEW: Mobile layout for reply button */
    .hero-left .reply-button {
        width: 80%;
        max-width: 260px;
        font-size: 1.05rem;
        margin: 12px auto 0 auto;
        display: block;
    }

    /* VENMO ROW */
    .side-by-side {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-top: 10px;
    }

    .side-by-side img {
        width: 95%;
        max-width: 260px;
    }

    .side-by-side .venmo-button {
        width: 90%;
        max-width: 300px;
        font-size: 0.9rem;
    }

    /* COMMUNITY CARD GRID MOBILE */
    .community-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
        padding: 1rem 0.5rem;
    }

    .community-card {
        width: 150px;
        height: 140px;
    }

    .community-card a img {
        width: 70px;
        height: 70px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 1rem 0.5rem;
        font-size: 0.95rem;
    }
}
