/*
Theme Name:  lpn_theme
Theme URI:   https://yourwebsite.com
Author:      Your Name
Author URI:  https://yourwebsite.com
Description: A custom WordPress theme.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lpn_theme
Tags:        custom
*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0d1f3c;
    --navy-mid: #162e52;
    --red: #cc2936;
    --red-light: #e03d4a;
    --red-dark: #a81f2b;
    --cream: #f0f4fa;
    --white: #ffffff;
    --gray: #6b7589;
    --light-bg: #f0f4f9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--navy);
    overflow-x: hidden;
}

.wrapper{ margin: 0 auto; }

/* GENERAL */
.inside_page_content a:not(".btn-primary"){ color: var(--red); transition: all 0.3s;}
.inside_page_content a:not(".btn-primary"):hover{ color: var(--navy);}

/* HEADER */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    background: rgba(13, 31, 60, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(204, 41, 54, 0.3);
}

.nav-logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-logo-badge {
    background: var(--red);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.2s;
    font-family: 'Work Sans', sans-serif;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--red);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Work Sans', sans-serif;
}

.nav-cta:hover {
    background: var(--red-light);
    transform: translateY(-1px);
}

/* HERO */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 60px 80px;
}
.has_alert_bar .hero{padding-top: calc(120px + 40px);}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 75% 35%, rgba(204, 41, 54, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 10% 80%, rgba(204, 41, 54, 0.07) 0%, transparent 55%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-stripe {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 45%;
    height: 120%;
    background: linear-gradient(135deg, transparent 30%, rgba(204, 41, 54, 0.055) 30%, rgba(204, 41, 54, 0.055) 70%, transparent 70%);
    transform: skewX(-8deg);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
    animation: fadeUp 0.9s ease forwards;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-light);
    font-weight: 700;
    margin-bottom: 24px;
    background: rgba(204, 41, 54, 0.12);
    border: 1px solid rgba(204, 41, 54, 0.25);
    padding: 7px 16px;
    border-radius: 20px;
}

h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h1 em {
    color: var(--red-light);
    font-style: normal;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
    max-width: 540px;
    margin: 0 auto 44px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--red);
    color: white;
    padding: 15px 34px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.83rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(204, 41, 54, 0.35);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 34px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2.5s infinite;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), transparent);
}

/* STATS BAR */
.stats-bar {
    background: var(--red);
    padding: 26px 60px;
    display: flex;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    margin-top: 5px;
    font-family: 'Work Sans', sans-serif;
}

/* SECTIONS */
section {
    padding: 6rem 3.75rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
}

.lead {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 560px;
}

/* VALUE PROPS */
/*.value-section { background: var(--light-bg);}*/
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 52px;
}

.value-card {
    padding: 42px 38px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(13, 31, 60, 0.07);
    position: relative;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(13, 31, 60, 0.04);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 31, 60, 0.1);
    border-color: rgba(204, 41, 54, 0.18);
}

.value-card:hover .vc-icon {
    background: var(--red);
}

.vc-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    transition: background 0.25s;
    font-size: 1.3rem;
}

.value-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.88rem;
    line-height: 1.78;
    color: var(--gray);
}

.vc-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(13, 31, 60, 0.04);
    line-height: 1;
}

/* MEMBERSHIP */
.membership-section {
    background: var(--navy);
    color: var(--white);
}

.membership-section h2 {
    color: var(--white);
}

.membership-section .lead {
    color: rgba(255, 255, 255, 0.5);
}

.membership-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 68px;
    align-items: center;
    margin-top: 52px;
}

.membership-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
}

.membership-card .btn-primary {
    margin-top: 1.5rem;
}

.fee-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 6px;
    font-weight: 700;
}

.fee-badge {
    font-family: 'Work Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.fee-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.benefit-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.tax-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 41, 54, 0.1);
    border: 1px solid rgba(204, 41, 54, 0.28);
    color: var(--red-light);
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 0.73rem;
    letter-spacing: 0.05em;
    margin-top: 24px;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
}

.membership-copy p {
    font-size: 0.91rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.85;
    margin-bottom: 16px;
}

.membership-copy h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* MISSION */
.mission-section {
    background: var(--cream);
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 68px;
    align-items: start;
    margin-top: 52px;
}

.impact-blocks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.impact-block {
    padding: 22px 26px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
}

.impact-block:hover {
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.65);
}

.impact-block h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.impact-block p {
    font-size: 0.84rem;
    color: var(--gray);
    line-height: 1.72;
}

.mission-text p {
    font-size: 0.91rem;
    color: var(--gray);
    line-height: 1.88;
    margin-bottom: 14px;
}

.mission-quote {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--navy);
    border-left: 3px solid var(--red);
    padding-left: 20px;
    margin: 26px 0;
    letter-spacing: -0.01em;
}

/* MEMBERS */
.events-section {
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
}

.event-card {
    background: var(--light-bg);
    border: 1px solid rgba(13, 31, 60, 0.07);
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card:hover {
    background: var(--navy);
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(13, 31, 60, 0.15);
}

.event-card:hover .event-title,
.event-card:hover .event-location {
    color: var(--white);
}

.event-card:hover .event-type {
    color: var(--red-light);
}

.event-card:hover .event-date-badge {
    background: var(--red);
    border-color: transparent;
}

.event-card:hover .event-date-badge .date-month,
.event-card:hover .event-date-badge .date-day {
    color: white;
}

.event-date-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(13, 31, 60, 0.1);
    margin-bottom: 16px;
    transition: all 0.25s;
    flex-shrink: 0;
}

.date-month {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1px;
    transition: color 0.25s;
}

.date-day {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    transition: color 0.25s;
}

.event-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
    transition: color 0.25s;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.35;
}

.event-type {
    font-size: 0.7rem;
    color: var(--red);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 3px;
    transition: color 0.25s;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
}

.event-location {
    font-size: 0.78rem;
    color: var(--gray);
    transition: color 0.25s;
}

.event-register {
    display: inline-block;
    margin-top: 14px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    border-bottom: 1px solid rgba(204, 41, 54, 0.3);
    padding-bottom: 2px;
    transition: all 0.2s;
}

.event-card:hover .event-register {
    color: var(--red-light);
    border-color: rgba(224, 61, 74, 0.5);
}

/* CTA */
.cta-section {
    background: var(--navy);
    padding: 108px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(204, 41, 54, 0.1) 0%, transparent 65%);
}

.cta-section::before {
    content: 'LPN';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Work Sans', sans-serif;
    font-size: 32vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.05em;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/********** FOOTER */
footer {
    background: #07111f;
    padding: 42px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo a{ color: var(--white); text-decoration: none;}

.footer-logo-badge {
    background: var(--red);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    border-radius: 3px;
}

.footer-copy {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.26);
}

.footer-501 {
    font-size: 0.71rem;
    color: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

/******** INSIDE PAGES *********************/
.page_title_container{ padding: 3rem 0;}
.page_title{ color: var(--navy);}
.inside_page_content{ padding-top: 120px; padding-bottom: 4rem;}
.has_alert_bar .inside_page_content{padding-top: calc(120px + 40px);}

    /*** Single Event Post ***/
    .event_post_template .event_image{ display: block; max-width: 100%; margin: 1.5rem auto 0; height: auto;}
    .event_post_template .event_details_container{ margin: 1.5rem auto 0;}

    /***** Join LPN Page template ****/
    .join_lpn_form_page .page_title_container{ text-align: center;}
    .join_lpn_form_page .lpn-form{margin: 0 auto;}

/** Popup Announcement **/
#visitor_popup_container{ display: none;}
#visitor_popup{ z-index: 9999; position: fixed; top: 50%; left: 50%; width: 98%; max-width: 600px; transform: translateX(-50%) translateY(-50%); background: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.15); padding: 1.5rem; border-radius: 8px;}
.popup_close{ margin: 0 0 1rem auto; text-align: right; font-size: 0.8rem; cursor: pointer; display: block; background: none; border: none; color: var(--gray);}
.popup_img img{ display: block; max-width: 100%; height: auto;}
#visitor_popup .button_container{ margin-top: 2rem; display: block; text-align: center;}
#visitor_popup .popup_text_container{ margin: 1rem auto 0;}

#visitor_popup_overlay{ position: fixed; z-index: 9998; background: #000; opacity: 0.6; top: 0; left: 0; width: 100%; height: 100%;}

/******* Alert Bar *******/
#alert_bar{ background-color: var(--red-dark); width: 100%; padding: 10px 60px; color: var(--white); font-size: 0.8rem; text-align: center;}
#alert_bar a{ color: var(--light-bg); font-weight: bold;}

/******** Golf Tournament Page Template ********/
.golf_tourney_page .content_container > div + div{ margin-top: 2rem;}
.golf_tourney_graphic_container img{ display: block; max-width: 100%; height: auto;}

/*************** ANIMATIONS ***********************/

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/******************** MEDIA QUERIES **********************/

@media (max-width: 900px) {
    nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 68px 24px;
    }

    .hero {
        padding: 100px 24px 68px;
    }
    .inside_page_content{ padding-top: 100px; padding-bottom: 3rem;}

    .stats-bar {
        padding: 22px 24px;
        gap: 32px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .membership-layout,
    .mission-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    footer {
        padding: 36px 24px;
    }
}