:root {
   
    --primary: #0B3D2E;
   
    --secondary: #F2C400;
   
    --accent: #B10F1C;
   

    --dark: #111111;
    --light: #F7F5EF;
    --border: #E6E1D6;
    --surface: #FFFFFF;

    --text-on-light: #111111;
    --text-on-dark: #FFFFFF;

    --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 12px;
    --shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--light);
    color: var(--text-on-light);
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--accent);
    color: var(--text-on-dark);
    padding: .6rem 1rem;
    z-index: 999;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    background: var(--primary);
    color: var(--text-on-dark);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: .8rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--text-on-dark);
}

.logo {
    width: 50px;
    height: 50px;
}


.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: .45rem .7rem;
    font-size: 1.25rem;
    background: transparent;
    color: var(--text-on-dark);
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 10px;
    cursor: pointer;
}


.nav-menu {
    display: none;
    width: 100%;
}


.nav-menu.active {
    display: block;
}


.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: .75rem 0 0;
}

.nav-menu a {
    display: block;
    color: var(--text-on-dark);
    text-decoration: none;
    padding: .75rem .85rem;
    font-weight: 700;
    border-radius: 10px;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu a:focus-visible {
    background-color: rgba(0, 0, 0, 0.25);
    outline: none;
}

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
    background-color: rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--secondary);
    
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

h1 {
    font-family: var(--font-heading);
    margin: .2rem 0 .4rem;
}

/* ---------- Home Page Styles Start ---------- */

.page-title {
    font-family: var(--font-heading);
    margin: 1rem 0 .6rem;
}

.hero {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-cta {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 800;
    padding: .65rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18);
}

.hero-cta:hover,
.hero-cta:focus-visible {
    filter: brightness(.95);
}


.home-panels {
    display: grid;
    gap: 1rem;
    margin-top: .8rem;
}


.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-title {
    margin: 0;
    padding: .55rem .8rem;
    background: var(--primary);
    color: var(--text-on-dark);
    font-family: var(--font-heading);
    font-size: 1rem;
}

.panel-body {
    padding: .85rem;
}

.events-list {
    margin: 0;
    padding-left: 1rem;
}

.weather-box {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: .6rem;
    align-items: center;
}

.weather-line {
    margin: .15rem 0;
    font-size: .95rem;
}
.weather-temp {
    margin: 0;
    font-weight: 800;
    font-size: 1.15rem;
}

.weather-desc {
    margin: .15rem 0 0;
    text-transform: capitalize;
}

.forecast-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.forecast-list li {
    padding: .35rem 0;
    border-bottom: 1px dashed var(--border);
}

.forecast-list li:last-child {
    border-bottom: none;
}


.spotlights {
    margin-top: 1rem;
}

.spotlight-grid {
    display: grid;
    gap: 1rem;
}

.spotlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.spotlight-card .spotlight-head {
    background: var(--primary);
    color: var(--text-on-dark);
    padding: .55rem .8rem;
}

.spotlight-card .spotlight-head h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.spotlight-card .spotlight-head p {
    margin: .15rem 0 0;
    opacity: .95;
    font-size: .9rem;
}

.spotlight-card .spotlight-body {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: .8rem;
    padding: .85rem;
    align-items: center;
}

.spotlight-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: block;
}

.spotlight-card .spotlight-body p {
    margin: .15rem 0;
    font-size: .95rem;
}

.spotlight-card a {
    color: var(--primary);
    word-break: break-word;
}

.spotlight-card a:hover {
    color: var(--accent);
}

/* ------------Home Page Styles End -----------*/
.lead {
    margin-top: 0;
}

.view-controls {
    display: flex;
    gap: .6rem;
    margin: 1rem 0;
}

.view-btn {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: .55rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.view-btn.active {
    background: var(--primary);
    color: var(--text-on-dark);
}



.members {
    display: grid;
    gap: .9rem;
}


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

.members.grid .member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}

.members.grid .member-card img {
    width: 100%;
    max-width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    margin: 0 auto .75rem;
    transition: transform 180ms ease;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: .2rem 0 .4rem;
}

.member-address,
.member-phone {
    margin: .15rem 0;
    font-size: .95rem;
}

.member-link {
    display: inline-block;
    margin-top: .35rem;
    color: var(--primary);
    word-break: break-word;
}

.member-link:hover {
    color: var(--accent);
}



.members.list {
    grid-template-columns: 1fr;
    gap: 0;
   
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
   
    background: var(--surface);
}

.members.list .member-card {
    display: grid;
    grid-template-columns: 1fr;
   
    gap: .25rem;
    padding: .9rem 1rem;
    box-shadow: none;
    border: 0;
}




.member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
    will-change: transform;
}


.member-card:hover,
.member-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
    border-color: rgba(11, 61, 46, 0.35);
   
}


.members.grid .member-card:hover img,
.members.grid .member-card:focus-within img {
    transform: scale(1.03);
}


@media (prefers-reduced-motion: reduce) {

    .member-card,
    .members.grid .member-card img {
        transition: none;
    }

    .member-card:hover,
    .member-card:focus-within {
        transform: none;
    }
}


.members.list .member-card:nth-child(even) {
    background: rgba(11, 61, 46, 0.06);
   
}

.members.list .member-card img {
    display: none;
   
}

.members.list .member-link {
    margin-top: 0;
}


/* ===== JOIN PAGE ===== */
.join-layout {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.join-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: .85rem;
}

.join-form label {
    display: grid;
    gap: .35rem;
    font-weight: 600;
}

.join-form input,
.join-form select,
.join-form textarea {
    font: inherit;
    padding: .65rem .75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.join-form input:focus-visible,
.join-form select:focus-visible,
.join-form textarea:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

.submit-btn {
    background: var(--primary);
    color: var(--text-on-light);
    border: none;
    border-radius: 999px;
    padding: .75rem 1rem;
    font-weight: 800;
    cursor: pointer;
}

.submit-btn:hover {
    filter: brightness(.95);
}

/* membership cards */
.membership-cards {
    display: grid;
    gap: 1rem;
}

/* initial load animation (NOT hover) */
.level-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;

    opacity: 0;
    transform: translateY(10px);
    animation: cardIn 650ms ease forwards;
}

.level-card:nth-child(1) {
    animation-delay: 80ms;
}

.level-card:nth-child(2) {
    animation-delay: 160ms;
}

.level-card:nth-child(3) {
    animation-delay: 240ms;
}

.level-card:nth-child(4) {
    animation-delay: 320ms;
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .level-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.level-card h2 {
    margin: 0 0 .25rem;
    font-family: var(--font-heading);
}

.level-price {
    margin: 0 0 .7rem;
    font-weight: 800;
    color: var(--primary);
}

.modal-link {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--accent);
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.modal-link:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* modals */
dialog.modal {
    border: none;
    padding: 0;
    border-radius: var(--radius);
    width: min(560px, 92vw);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

dialog::backdrop {
    background: rgba(0, 0, 0, .55);
}

.modal-box {
    background: var(--surface);
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
}

.modal-box h2 {
    margin-top: 0;
    font-family: var(--font-heading);
}

.modal-close {
    background: var(--primary);
    color: var(--text-on-dark);
    border: none;
    border-radius: 999px;
    padding: .6rem .9rem;
    font-weight: 800;
    cursor: pointer;
}

/* ------ THANK YOU PAGE STYLES------ */
.thankyou-card {
    margin-top: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.thankyou-dl {
    margin: 0;
    display: grid;
    gap: .75rem;
}

.thankyou-dl>div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: .75rem;
    align-items: baseline;
}

.thankyou-dl dt {
    font-weight: 800;
    color: var(--primary);
}

.thankyou-dl dd {
    margin: 0;
    word-break: break-word;
}

/* -------Join and Thank You Page Styles End------ */


/* -------------- DISCOVER PAGE -------------------- */
.visit-message {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .9rem 2.5rem .9rem 1rem;
    margin: .9rem 0 1rem;
}

.visit-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: .35rem .55rem;
    cursor: pointer;
}

.discover-grid {
    display: grid;
    gap: 1rem;

    /* small: grid areas in one column */
    grid-template-areas:
        "a"
        "b"
        "c"
        "d"
        "e"
        "f"
        "g"
        "h";
}

.area-a {
    grid-area: a;
}

.area-b {
    grid-area: b;
}

.area-c {
    grid-area: c;
}

.area-d {
    grid-area: d;
}

.area-e {
    grid-area: e;
}

.area-f {
    grid-area: f;
}

.area-g {
    grid-area: g;
}

.area-h {
    grid-area: h;
}

.discover-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 1rem;
}

.discover-card h2 {
    font-family: var(--font-heading);
    margin: 0 0 .6rem;
    font-size: 1.1rem;
}

.discover-card figure {
    margin: 0 0 .6rem;
}

.discover-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: block;
}

.discover-card address {
    font-style: normal;
    font-weight: 600;
    margin: .25rem 0 .35rem;
}

.learn-more {
    margin-top: .6rem;
    background: var(--primary);
    color: var(--text-on-dark);
    border: none;
    border-radius: 999px;
    padding: .6rem .9rem;
    font-weight: 800;
    cursor: pointer;
}

.learn-more:hover {
    filter: brightness(.95);
}

/* ------------------Discover page styles End------------- */
.site-footer {
    margin-top: 2rem;
    background: var(--primary);
    color: var(--text-on-dark);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    text-align: left;
}

.footer-title {
    font-family: var(--font-heading);
    margin: 0 0 .4rem;
    font-size: 1.1rem;
}


.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: .5rem 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
}

.social-links a:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.social-links a img {
    width: 34px;
    height: 34px;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:nth-child(1):hover img {
    filter: brightness(0) saturate(100%) invert(100%);
    transform: scale(1.2);
}

.social-links a:nth-child(2):hover img {
    filter: invert(34%) sepia(82%) saturate(2871%) hue-rotate(192deg) brightness(96%) contrast(97%);
    transform: scale(1.2);
}

.social-links a:nth-child(3):hover img {
    filter: invert(25%) sepia(95%) saturate(5856%) hue-rotate(356deg) brightness(94%) contrast(105%);
    transform: scale(1.2);
}

.dev-info {
    text-align: left;
}