/*
Theme Name:   FIVE
Theme URI:    https://www.gneous.com.au/
Template:     twentytwentyfive
Description:  FIVE, built on Twenty Twenty-Five.
Author:       North Queensland Miners Association
Version:      1.25
*/

/* ── NQMA "Outback Sunset" Brand Colours ──────────────────
   Palette extracted from the red-dirt outback road photo.
   Sunset Terracotta  : #A6503C  (primary — headings, links, buttons)
   Deep Rust Shadow   : #5C2A22  (nav/footer bg, hover states)
   Dusk Lavender-Blue : #CECCE1  (cool secondary accent)
   Blush Pink Horizon : #FBE6E1  (labels/tags on dark backgrounds)
   Soft Cream Sky     : #EEF2F5  (page background)
   Muted Sage Foliage : #5D6058  (muted secondary text/borders)
   NQMA Green         : #03a900
   White              : #FFFFFF
   #4a613e
──────────────────────────────────────────────────────────── */

body {
    background-color: #EEF2F5;
    font-family: Helvetica, 'Times New Roman', serif;
    color: #1A1A1A;
    margin: 0;
    padding: 0;
}

/* ── Headings & links ─────────────────────────────────── */
h1, h2, h3 {
    color: #A6503C;
    font-family:Helvetica, 'Times New Roman', serif;
}

a { color: #A6503C; }
a:hover { color: #4a613e; }

/* ── NQMA Navigation ──────────────────────────────────── */
.nqma-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
   /* background: rgba(92, 42, 34, 0.97);*/
    background: linear-gradient(to right, #5C2A22, #2c3625);
    backdrop-filter: blur(8px);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nqma-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nqma-nav-logo img {
    height: 54px;
    width: auto;
   /* background: #fff;*/
    border-radius: 50%;
    padding: 2px;
}

.nqma-nav-logo-text strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    font-family: Helvetica, serif;
    line-height: 1.25;
}

.nqma-nav-logo-text span {
    display: block;
    color: #FBE6E1;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nqma-nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nqma-nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    padding: 0.55rem 0.85rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: Arial, sans-serif;
}

.nqma-nav-links a:hover,
.nqma-nav-links .current a {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.nqma-nav-links .nqma-nav-cta a {
    background: #A6503C;
    color: #fff !important;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
}

.nqma-nav-links .nqma-nav-cta a:hover { background: #FBE6E1; color: #1A1A1A !important; }

.nqma-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nqma-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ── Homepage Hero (mining photo banner) ────────────────
.nqma-home-hero {
    position: relative;
     */
/*    background: linear-gradient(rgba(46,20,16,0.55), rgba(46,20,16,0.75)),
                url('images/outback-road.jpg') center 60%/cover no-repeat;
*/
/*    background: url('images/outback-road.jpg') center no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}
*/

/*.nqma-home-hero {
    position: relative;
    background: linear-gradient(rgba(20,10,8,0.15), rgba(20,10,8,0.25)),
                url('images/outback-road.jpg') center 60% / cover no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}
*/

.nqma-home-hero {
    position: relative;
    background: url('images/outback-road.jpg') center 60% / cover no-repeat;
    min-height: calc(100vh - 74px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}


/*
.nqma-home-hero .nqma-hero-logo {
    width: 110px;
    height: auto;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
*/

.nqma-home-hero .nqma-hero-logo {
    position: absolute;
    top: 1rem;
   /* right: 2rem;*/
    width: 210px;
    height: auto;
 /* background: #fff;*/
    border-radius: 50%;
    padding: 6px;
/*box-shadow: 0 4px 24px rgba(0,0,0,0.35);*/
}

@media (max-width: 768px) {
    .nqma-home-hero .nqma-hero-logo {
        position: static;
        margin: 0 auto 1.2rem;
    }
}


.nqma-home-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin: 0 0 0.6rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nqma-home-hero p.nqma-hero-tag {
    color: #FBE6E1;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin: 0 0 1.6rem;
}

.nqma-home-hero p.nqma-hero-sub {
    max-width: 640px;
    margin: 0 auto 1.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

.nqma-hero-buttons {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nqma-hero-buttons a {
    display: inline-block;
    padding: 0.8rem 1.7rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.nqma-hero-buttons a.nqma-btn-primary {
   /* background: #A6503C;*/
    background: #03a900;
    color: #fff;
}
.nqma-hero-buttons a.nqma-btn-primary:hover { background: #FBE6E1; color: #1A1A1A; }

.nqma-hero-buttons a.nqma-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.nqma-hero-buttons a.nqma-btn-secondary:hover { background: rgba(255,255,255,0.22); }



/* ── Down arrow ──────────────────── */
.nqma-scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
    cursor: pointer;
    animation: nqma-bounce 2s infinite;
}

.nqma-scroll-down:hover {
    background: rgba(255,255,255,0.28);
}

@keyframes nqma-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}


/* ── Inner-page hero (title bar) ──────────────────────── */
.nqma-page-hero {
    background: linear-gradient(135deg, #4a613e 0%, #A6503C 100%);
    padding: 2.6rem 2rem;
    text-align: center;
}

.nqma-page-hero h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 0.4rem;
    border: none;
}

.nqma-page-hero p {
    color: #FBE6E1;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* ── Main content width ───────────────────────────────── */
.nqma-content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* ── Highlight / activity cards (for homepage use) ────── */
.nqma-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0;
}

.nqma-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.4rem 1.5rem;
    border-top: 4px solid #A6503C;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.nqma-card h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.nqma-card p {
    color: #444;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Membership benefits list ─────────────────────────── */
.nqma-benefits {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.nqma-benefits li {
    background: #fff;
    border-left: 4px solid #A6503C;
    padding: 1rem 1.2rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #333;
}

/* ── Buttons (general) ─────────────────────────────────── */
.nqma-content-wrap .button,
.nqma-content-wrap button,
.nqma-content-wrap input[type="submit"] {
    background: #A6503C;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    padding: 0.65rem 1.4rem;
    transition: background 0.2s ease;
    cursor: pointer;
}

.nqma-content-wrap .button:hover,
.nqma-content-wrap button:hover {
    background: #A6503C;
    color: #fff;
}

/* ── NQMA Footer ──────────────────────────────────────── */
.nqma-footer {
    /*background: #4a613e;*/
    background: linear-gradient(to bottom, #a94331, #5C2A22);
    color: rgba(255,255,255,0.75);
    padding: 3rem 2rem 1.5rem;
}

footer {
  background: linear-gradient(to right, #6fd3b4, #fffae9);
}

.nqma-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.nqma-footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.65);
    font-family: Arial, sans-serif;
}

.nqma-footer-title {
    color: #FBE6E1;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin-bottom: 1rem;
}

.nqma-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nqma-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-family: Arial, sans-serif;
    transition: color 0.2s;
}

.nqma-footer-links a:hover { color: #FBE6E1; }
.nqma-footer-contact p { font-size: 0.88rem; line-height: 1.8; font-family: Arial, sans-serif; }
.nqma-footer-contact a { color: #FBE6E1; text-decoration: none; }

.nqma-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-family: Arial, sans-serif;
}

.nqma-footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }


.nqma-visitor-counter {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.nqma-visitor-counter span { color: #FBE6E1; font-weight: 600; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .nqma-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 74px; left: 0; right: 0;
        background: #4a613e;
        padding: 1rem 2rem 1.5rem;
        gap: 0.25rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .nqma-nav-links.open { display: flex; }
    .nqma-nav-toggle { display: flex; }
    .nqma-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .nqma-footer-bottom { flex-direction: column; text-align: center; }
    .nqma-home-hero { padding: 3.5rem 1.2rem; }
}
