:root {
    --maroon: #003300;
    --dark: #002200;      /* darker shade for gradients */
    --gold: #dabc5e;
    --ink: #18202a;
    --muted: #6d7580;
    --line: #e7e8ec;
}


/* --------------------------------------------------
   Base
-------------------------------------------------- */

body {
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
} 


/* --------------------------------------------------
   Public Navigation
-------------------------------------------------- */

.site-nav {
    background: linear-gradient(
        135deg,
        var(--dark),
        var(--maroon)
    );

    box-shadow: 0 8px 25px rgba(48, 0, 13, 0.27);
}

.navbar-brand small {
    color: rgba(255, 255, 255, 0.6);

    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.brand-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: var(--dark);
    background: var(--gold);

    border-radius: 50%;
}

/* --------------------------------------------------
   Public Navigation Active Link
-------------------------------------------------- */

.site-nav .nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.65);

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: #ffffff;
}

.site-nav .nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.site-nav .nav-link.active::after {
    content: "";

    position: absolute;
    right: 0.75rem;
    bottom: -0.4rem;
    left: 0.75rem;

    height: 3px;

    background: var(--gold);

    border-radius: 999px;
}


/* --------------------------------------------------
   Home Hero
-------------------------------------------------- */

.hero {
    display: flex;
    align-items: center;

    min-height: 72vh;

    background: linear-gradient(
        135deg,
        var(--dark),
        var(--maroon)
    );
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
}

.hero p,
.page-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.73);

    font-size: 1.15rem;
}

.hero-card {
    padding: 35px;

    text-align: center;

    background: #ffffff;

    border-radius: 28px;

    box-shadow: 0 25px 70px rgba(32, 0, 8, 0.4);
}

.hero-card i {
    display: block;

    color: var(--gold);

    font-size: 2.8rem;
}

.hero-card strong {
    display: block;

    font-size: 2.8rem;
}

.hero-card span {
    color: var(--muted);
}


/* --------------------------------------------------
   Shared Typography
-------------------------------------------------- */

.eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.text-maroon {
    color: var(--maroon);
}


/* --------------------------------------------------
   Shared Sections
-------------------------------------------------- */

.section-space {
    padding: 75px 0;
}

.section-heading {
    max-width: 760px;
    margin: auto;

    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
}


/* --------------------------------------------------
   Shared Cards
-------------------------------------------------- */

.campaign-card,
.content-card,
.donation-form,
.player-card {
    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 24px;

    box-shadow: 0 14px 38px rgba(26, 29, 36, 0.07);
}


/* --------------------------------------------------
   Campaign Cards
-------------------------------------------------- */

.campaign-image {
    position: relative;

    height: 190px;

    background: linear-gradient(
        135deg,
        var(--dark),
        var(--maroon)
    );
}

.campaign-image::after {
    content: "⚾";

    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 6rem;
    opacity: 0.18;
}

.campaign-card h2,
.campaign-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.campaign-card p {
    color: var(--muted);
}


/* --------------------------------------------------
   Progress Bars
-------------------------------------------------- */

.progress {
    height: 10px;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        var(--maroon),
        #c51843
    );
}


/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.btn-maroon {
    color: #ffffff;
    background: var(--maroon);
    border-color: var(--maroon);
}

.btn-maroon:hover,
.btn-maroon:focus {
    color: #ffffff;
    background: var(--dark);
    border-color: var(--dark);
}

.btn-outline-maroon {
    color: var(--maroon);
    border-color: var(--maroon);
}

.btn-outline-maroon:hover,
.btn-outline-maroon:focus {
    color: #ffffff;
    background: var(--maroon);
    border-color: var(--maroon);
}


/* --------------------------------------------------
   Calls to Action
-------------------------------------------------- */

.cta {
    padding: 70px 0;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--dark),
        var(--maroon)
    );
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 850;
}


/* --------------------------------------------------
   Page Hero
-------------------------------------------------- */

.page-hero {
    padding: 70px 0;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--dark),
        var(--maroon)
    );
}


/* --------------------------------------------------
   Content and Donation Forms
-------------------------------------------------- */

.content-card {
    padding: 32px;
}

.donation-form {
    max-width: 820px;
    padding: 40px;
}

.amount-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.amount-choice {
    padding: 15px;

    background: #ffffff;

    border: 2px solid var(--line);
    border-radius: 14px;

    font-size: 1.1rem;
    font-weight: 800;
}

.amount-choice.active,
.amount-choice:hover {
    background: #fff2f5;
    border-color: var(--maroon);
}

.form-control,
.form-select {
    border-radius: 12px;
}

.receipt {
    display: grid;

    grid-template-columns: 1fr 1fr;

    margin: 25px 0;
    padding: 18px;

    text-align: left;

    border: 1px solid var(--line);
    border-radius: 15px;
}


/* --------------------------------------------------
   Public Player Cards
-------------------------------------------------- */

.player-card {
    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 24px;

    box-shadow: 0 14px 38px rgba(26, 29, 36, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.player-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 20px 45px rgba(26, 29, 36, 0.13);
}


/* Player photo area */

.player-photo {
    position: relative;

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

    width: 100%;
    height: 360px;

    overflow: hidden;

    background: #f4f4f4;
}

.player-photo::before,
.player-photo::after {
    display: none !important;
    content: none !important;
}


/*
 * Use contain instead of cover.
 * This displays the complete image without cropping.
 */

.player-card-photo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    background: #f4f4f4;
}


/* Placeholder when no image exists */

.player-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        150deg,
        #f8dce3,
        var(--gold)
    );
}

.player-card-placeholder span {
    position: static;

    padding: 0;

    color: var(--maroon);
    background: transparent;

    font-size: 3rem;
    font-weight: 900;
}


/* Jersey badge */

.player-jersey-number {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;

    padding: 7px 11px;

    color: #ffffff;
    background: var(--maroon);

    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 800;
}


/* Player card body */

.player-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 22px;
}

.player-card h2 {
    margin: 0 0 10px;

    font-size: 1.3rem;
    font-weight: 800;
}


/* Player details */

.player-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 16px;
}

.player-meta span {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    color: var(--maroon);
    background: #fff2f5;

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;
}


/* Biography */

.player-bio {
    margin-bottom: 22px;

    color: var(--muted);

    font-size: 0.95rem;
    line-height: 1.65;
}


/* Push button to bottom */

.player-card-actions {
    margin-top: auto;
}


/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
    margin-top: 70px;
    color: rgba(255,255,255,.72);
    background: #12161d;
    border-top: 4px solid #dabc5e;
}

.site-footer a {
    display: block;

    margin: 0.5rem 0;

    color: rgba(255, 255, 255, 0.67);

    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-heading {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    transition: .2s;
}

.footer-links a:hover {
    color: #dabc5e;
    transform: translateX(4px);
}

.footer-links i {
    width: 18px;
    text-align: center;
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 991.98px) {

    .site-nav .nav-link.active::after {
        right: auto;
        bottom: 0;
        left: 0;

        width: 36px;
    }
	
    .player-photo {
        height: 320px;
    }	

}

@media (max-width: 768px) {

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

    .hero {
        text-align: center;
    }

    .hero-card {
        margin-top: 35px;
    }

    .section-space {
        padding: 50px 0;
    }

    .donation-form {
        padding: 24px;
    }

    .player-photo {
        height: 320px;
    }

}

@media (max-width: 575.98px) {

    .player-photo {
        height: 290px;
    }

}

/* --------------------------------------------------
   Contact Page
-------------------------------------------------- */

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    color: var(--gold);
    background: var(--maroon);

    border-radius: 15px;

    font-size: 1.2rem;
}

.contact-map-section {
    background: #f5f6f8;
}

.contact-map-heading {
    padding: 65px 20px 35px;
}

.contact-map-heading h2 {
    margin: 0.35rem 0;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
}

.contact-map {
    min-height: 500px;

    overflow: hidden;

    border-top: 1px solid var(--line);
}

.contact-map {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-card .input-group-text {
    min-width: 52px;

    justify-content: center;

    color: var(--maroon);
    background: #f8f9fa;

    border-color: #dee2e6;
}

.g-recaptcha {
    max-width: 100%;

    overflow: hidden;
}

.contact-form-card {
    height: auto;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.contact-info-card {
    height: auto;
    padding: 26px;
}

.contact-info-card h2 {
    font-weight: 800;
}

.contact-info-card address,
.contact-info-card p {
    line-height: 1.6;
}


@media (max-width: 575.98px) {

    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;

        margin-bottom: -8px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 390px;
        height: 390px;
    }

}