/* =========================================================
   FCA PORTAL — MASTER STYLESHEET
   FedPoNaM Comrades Association
   Forged In Kaura, Destined for Greatness
   ========================================================= */

/* =========================================================
   COLOR SYSTEM
   ========================================================= */

:root {
    --fca-blue: #0B3D91;
    --fca-dark-blue: #062b63;
    --fca-gold: #D4AF37;
    --fca-white: #ffffff;
    --fca-light: #f5f7fa;
    --fca-text: #222222;
    --fca-muted: #555555;
    --fca-border: #dddddd;
    --fca-success: #198754;
    --fca-danger: #dc3545;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fca-light);
    color: var(--fca-text);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   GENERAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.25;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
}

p {
    font-size: 17px;
    color: var(--fca-text);
}

.section-title {
    color: var(--fca-blue);
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
    color: var(--fca-muted);
    font-size: 17px;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

header {
    background: var(--fca-blue);
    color: var(--fca-white);
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo h2 {
    margin: 0;
    color: var(--fca-white);
    text-align: left;
    font-size: 21px;
}

.logo small {
    color: var(--fca-gold);
    display: block;
    margin-top: 3px;
}

.site-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    list-style: none;
    padding: 0;
    margin: 0;

    gap: 5px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    padding: 9px 10px;

    color: var(--fca-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;

    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a:focus {
    background: rgba(255, 255, 255, 0.12);
    color: var(--fca-gold);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: linear-gradient(
        135deg,
        var(--fca-blue),
        var(--fca-dark-blue)
    );

    color: var(--fca-white);
    text-align: center;

    padding: 85px 20px;
}

.hero-content {
    max-width: 850px;
    margin: auto;
}

.hero .welcome {
    color: var(--fca-gold);
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero h1 {
    color: var(--fca-white);
    font-size: 52px;
    margin-bottom: 10px;
}

.hero h2 {
    color: var(--fca-gold);
    font-size: 28px;
    margin-bottom: 20px;
}

.hero p {
    color: var(--fca-white);
    max-width: 750px;
    margin: 12px auto;
    font-size: 18px;
}

.hero .motto {
    color: var(--fca-gold);
    font-weight: bold;
    font-size: 19px;
    margin-top: 25px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-block;

    background: var(--fca-blue);
    color: var(--fca-white);

    text-decoration: none;
    border: 2px solid var(--fca-blue);

    padding: 12px 24px;
    border-radius: 7px;

    font-weight: bold;
    cursor: pointer;

    transition: 0.2s ease;
}

.btn:hover {
    background: var(--fca-dark-blue);
    border-color: var(--fca-dark-blue);
}

.btn.secondary {
    background: var(--fca-gold);
    color: var(--fca-dark-blue);
    border-color: var(--fca-gold);
}

.btn.secondary:hover {
    background: #c39d25;
    border-color: #c39d25;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 65px 20px;
    background: var(--fca-white);
}

.section.light {
    background: var(--fca-light);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-content {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: stretch;
}

.about-content > div {
    background: var(--fca-white);
    padding: 30px;
    border-radius: 12px;
}

.about-content h3 {
    color: var(--fca-blue);
    font-size: 23px;
}

.about-content p {
    color: var(--fca-text);
    text-align: left;
}

.info-card {
    border-top: 5px solid var(--fca-gold);
}

.info-card p {
    font-weight: bold;
    color: var(--fca-dark-blue);
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    max-width: 750px;
    margin: 20px auto;

    padding: 30px;

    background: var(--fca-white);

    border-radius: 12px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: var(--fca-blue);
}

.card p {
    color: var(--fca-text);
}


/* =========================================================
   EXECUTIVES / BOARD
   ========================================================= */

.executive-grid {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.executive-card {
    background: var(--fca-white);

    padding: 25px 20px;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);

    border-top: 4px solid var(--fca-gold);
}

.executive-card h3 {
    color: var(--fca-blue);
    margin: 12px 0 5px;
    font-size: 19px;
}

.executive-card p {
    color: var(--fca-text);
    margin: 0;
    font-weight: bold;
    font-size: 16px;
}

.home-executive-photo {
    width: 160px;
    height: 200px;

    object-fit: contain;

    display: block;
    margin: 0 auto 15px;

    border-radius: 10px;
    border: 2px solid var(--fca-gold);

    background: #eeeeee;
}

.executive-photo {
    width: 180px;
    height: 220px;

    object-fit: contain;

    display: block;
    margin: 0 auto 15px;

    border-radius: 10px;
}


/* =========================================================
   MEMBERSHIP
   ========================================================= */

.membership-container {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.membership-info,
.membership-actions {
    background: var(--fca-white);

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.membership-info h3,
.membership-actions h3 {
    color: var(--fca-blue);
}

.membership-info p,
.membership-actions p {
    text-align: left;
    color: var(--fca-text);
}

.fees {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.fees > div {
    flex: 1;

    padding: 20px;

    background: var(--fca-light);

    border-radius: 10px;

    text-align: center;

    border-bottom: 4px solid var(--fca-gold);
}

.fees strong {
    display: block;
    color: var(--fca-blue);
    font-size: 25px;
}

.fees span {
    display: block;
    color: var(--fca-muted);
    margin-top: 5px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-box {
    max-width: 750px;
    margin: auto;

    padding: 30px;

    background: var(--fca-white);

    border-radius: 12px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-box p {
    text-align: left;
    color: var(--fca-text);
}

.contact-box strong {
    color: var(--fca-blue);
}


/* =========================================================
   FORMS
   ========================================================= */

form {
    max-width: 600px;
    margin: auto;
}

form h3 {
    color: var(--fca-blue);
    margin-bottom: 20px;
    font-size: 24px;
}

form label {
    display: block;
    margin-bottom: 6px;

    font-weight: bold;
    color: var(--fca-text);
}

input,
select,
textarea {
    width: 100%;

    padding: 13px;

    margin-bottom: 15px;

    border: 1px solid #cccccc;
    border-radius: 6px;

    background: var(--fca-white);
    color: var(--fca-text);

    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--fca-blue);

    box-shadow: 0 0 0 2px rgba(11, 61, 145, 0.12);
}

textarea {
    resize: vertical;
}

button {
    background: var(--fca-blue);
    color: var(--fca-white);

    padding: 12px 22px;

    border: none;
    border-radius: 6px;

    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: var(--fca-dark-blue);
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    background: var(--fca-blue);
    color: var(--fca-white);

    text-align: center;
    padding: 50px 20px;
}

.stats h2 {
    color: var(--fca-white);
}

.stat-card {
    display: inline-block;

    width: 180px;

    margin: 15px;
    padding: 20px;

    background: var(--fca-white);
    color: var(--fca-text);

    border-radius: 10px;
}

.stat-card h3 {
    color: var(--fca-blue);
    font-size: 32px;
    margin: 0;
}


/* =========================================================
   NEWS
   ========================================================= */

.news {
    padding: 50px 20px;
    background: var(--fca-white);
}

.news-card {
    max-width: 700px;
    margin: 20px auto;

    padding: 20px;

    border-left: 5px solid var(--fca-gold);

    background: #f8f8f8;

    text-align: left;

    border-radius: 8px;
}

.news-card h3 {
    color: var(--fca-blue);
}

.news-card p {
    text-align: left;
}


/* =========================================================
   EVENTS
   ========================================================= */

.events {
    background: var(--fca-light);
    padding: 50px 20px;
    text-align: center;
}

.event-card {
    background: var(--fca-white);

    margin: 20px auto;

    max-width: 600px;

    padding: 25px;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    text-align: left;
}

.event-card h3 {
    color: var(--fca-blue);
}

.event-card p {
    text-align: left;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: var(--fca-dark-blue);

    color: var(--fca-white);

    text-align: center;

    padding: 40px 20px;
}

footer h3 {
    color: var(--fca-gold);
}

footer h4 {
    color: var(--fca-white);
}

footer p {
    color: var(--fca-white);
    margin: 8px 0;
}

footer a {
    color: var(--fca-gold);
    text-decoration: none;
    font-weight: bold;
}

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

footer hr {
    max-width: 600px;
    margin: 25px auto;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-logo {
    margin: 0 auto 15px;
}


/* =========================================================
   FCA MEMBER ID CARD
   ========================================================= */

.id-page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 25px;

    padding: 30px;

    background: #f2f4f8;
}

.id-card {
    width: 520px;
    min-height: 300px;

    background: var(--fca-white);

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    border: 3px solid var(--fca-gold);
}

.id-header {
    background: var(--fca-dark-blue);
    color: var(--fca-white);

    text-align: center;

    padding: 18px;
}

.id-header h2 {
    margin: 0;
    color: var(--fca-white);
    font-size: 20px;
}

.id-header p {
    margin: 5px 0 0;
    color: var(--fca-gold);
    font-weight: bold;
}

.id-body {
    display: flex;

    gap: 25px;

    padding: 25px;

    align-items: center;
}

.photo-section {
    width: 120px;
    height: 145px;

    border: 3px solid var(--fca-gold);

    border-radius: 8px;

    overflow: hidden;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    background: #eeeeee;
}

.photo-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-details {
    flex: 1;
}

.member-details h2 {
    margin-top: 0;
    margin-bottom: 12px;

    color: var(--fca-blue);
}

.member-details p {
    margin: 7px 0;
    font-size: 14px;
    text-align: left;
}

.member-details strong {
    color: var(--fca-blue);
}

.id-footer {
    background: var(--fca-dark-blue);
    color: var(--fca-white);

    text-align: center;

    padding: 12px;
}

.id-footer p {
    margin: 0;
    color: var(--fca-gold);
    font-weight: bold;
    text-align: center;
}


/* =========================================================
   MEMBER DETAILS PAGE
   ========================================================= */

.member-details-page {
    min-height: 100vh;

    padding: 40px 20px;

    background: #f2f4f8;
}

.member-details-container {
    max-width: 900px;

    margin: auto;

    background: var(--fca-white);

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.member-details-container h1 {
    text-align: center;

    color: var(--fca-blue);

    margin-bottom: 30px;
}

.member-profile {
    display: flex;

    gap: 35px;

    align-items: flex-start;
}

.member-photo {
    width: 180px;
    height: 220px;

    border: 4px solid var(--fca-gold);

    border-radius: 10px;

    overflow: hidden;

    background: #eeeeee;

    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-information {
    flex: 1;
}

.member-information h2 {
    color: var(--fca-blue);

    margin-top: 0;
    margin-bottom: 20px;
}

.member-information p {
    padding: 10px 0;

    margin: 0;

    border-bottom: 1px solid #eeeeee;

    text-align: left;
}

.member-information strong {
    color: var(--fca-blue);
}

.member-details-container button {
    margin-top: 25px;
    margin-right: 10px;

    padding: 12px 20px;

    border: none;

    border-radius: 6px;

    background: var(--fca-blue);

    color: var(--fca-white);

    cursor: pointer;
}

.member-details-container button:hover {
    background: var(--fca-gold);
    color: var(--fca-dark-blue);
}


/* =========================================================
   MEMBER PROFILE
   ========================================================= */

.member-profile-section {
    margin-top: 30px;

    padding: 25px;

    background: var(--fca-white);

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.member-profile-section h2 {
    color: var(--fca-blue);

    margin-bottom: 20px;

    border-bottom: 2px solid var(--fca-gold);

    padding-bottom: 10px;
}

.profile-content {
    display: flex;

    gap: 30px;

    align-items: flex-start;
}

.profile-photo {
    width: 150px;
    min-width: 150px;
}

.profile-photo img {
    width: 150px;
    height: 180px;

    object-fit: cover;

    border-radius: 8px;

    border: 3px solid var(--fca-gold);
}

.profile-information {
    flex: 1;
}

.profile-information p {
    margin: 10px 0;

    padding: 8px;

    border-bottom: 1px solid #eeeeee;

    text-align: left;
}

.profile-information strong {
    color: var(--fca-blue);
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    body {
        margin: 0;
        background: white;
    }

    .id-page {
        padding: 0;
        min-height: auto;
        background: white;
    }

    .id-card {
        box-shadow: none;
    }

    .id-page > button {
        display: none;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
    }

    .logo {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .membership-container {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .navbar {
        padding: 15px 10px;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    .logo h2 {
        text-align: center;
        font-size: 19px;
    }

    .logo small {
        font-size: 12px;
    }

    .site-logo {
        width: 60px;
        height: 60px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 8px 7px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 90%;
        max-width: 320px;
        text-align: center;
    }

    .section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 27px;
    }

    .section-intro {
        font-size: 15px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
    }

    .about-content > div {
        padding: 22px;
    }

    .executive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .executive-card {
        width: 100%;
    }

    .home-executive-photo {
        width: 145px;
        height: 185px;
    }

    .membership-container {
        display: flex;
        flex-direction: column;
    }

    .fees {
        flex-direction: column;
    }

    .contact-box {
        padding: 20px;
    }

    footer {
        padding: 35px 15px;
    }

    footer p {
        font-size: 14px;
    }

    .member-profile {
        flex-direction: column;
        align-items: center;
    }

    .member-information {
        width: 100%;
    }

    .member-photo {
        width: 150px;
        height: 185px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
    }

    .profile-information {
        width: 100%;
    }

    .id-card {
        width: 95%;
    }

    .id-body {
        gap: 15px;
        padding: 18px;
    }

    .photo-section {
        width: 90px;
        height: 115px;
    }

    .member-details h2 {
        font-size: 17px;
    }

    .member-details p {
        font-size: 12px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .logo h2 {
        font-size: 17px;
    }

    .logo small {
        font-size: 11px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 7px 6px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .section-title {
        font-size: 24px;
    }

    .home-executive-photo {
        width: 140px;
        height: 180px;
    }

    .card {
        padding: 22px;
    }
}
