/* ============================================================
   HOMEPAGE IMAGE BUTTONS
   ============================================================ */

.program-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.img-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 220px;
}

.img-button img {
    width: auto;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.img-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.img-button span {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

/* ============================================================
   PAGE CONTAINER (1280px width, gray background)
   ============================================================ */

.page-container {
    width: 1280px;
    margin: 0 auto;
    padding: 20px;
    background-color: #a9a9a9;   /* central gray container */
    color: #333;
}

/* ============================================================
   KICKOFF HEADER
   ============================================================ */

.kickoff-header {
    text-align: center;
    margin-bottom: 30px;
}

.kickoff-header h1 {
    color: #0055a4;
    margin-bottom: 5px;
}

.time-location {
    font-size: 1.1em;
    margin-top: 10px;
}

/* ============================================================
   PACK HEADER IMAGE
   ============================================================ */

.pack-header-image {
    text-align: center;
    margin-bottom: 20px;
}

.pack-header-image img {
    width: 100%;      /* FULL WIDTH */
    height: auto;     /* Maintain aspect ratio */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

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

section {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

section h2 {
    color: #0077c8;
    margin-top: 25px;
}

/* ============================================================
   LISTS
   ============================================================ */

ul {
    list-style-type: disc;
    padding-left: 20px;
}

.month-list {
    list-style-type: none;
    padding-left: 0;
}

.month-list li {
    margin-bottom: 6px;
}

.month-name {
    font-weight: bold;
}

.contact-list {
    list-style-type: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 4px;
}

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

footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
}

.unit-footer-block {
    margin-bottom: 15px;
    line-height: 1.4;
    color: #eee;
}

.unit-footer-copy {
    margin-top: 10px;
    font-size: 0.9em;
    color: #ccc;
}

.visit-counter {
    font-size: 0.85em;
    color: #ccc;
    margin-bottom: 10px;
}


/* ============================================================
   HEADER (1280px width + centered buttons)
   ============================================================ */

.unit-header {
    background-color: var(--accent-color);
    padding: 10px 0;
}

.header-container {
    width: 1280px;
    margin: 0 auto;
}

.header-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.header-img-button img {
    height: 100px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-img-button img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

/* ============================================================
   ROOT HOMEPAGE LAYOUT (1 full-width + 3 columns)
   ============================================================ */

.general-info {
    background-color: #ffffff;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* UPDATED to center donation grid */
.three-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.column {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
    width: 300px;        /* prevents stretching */
    margin: 0 auto;      /* ensures centering */
}

/* ============================================================
   RESOURCE LINKS SECTION
   ============================================================ */

.resource-links {
    background-color: #ffffff;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.resource-links ul {
    list-style-type: none;
    padding-left: 0;
}

.resource-links li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.resource-links a {
    font-weight: bold;
    color: #0055a4;
    text-decoration: none;
}

.resource-links a:hover {
    text-decoration: underline;
}

/* ============================================================
   PROGRAM-SPECIFIC BACKGROUND COLORS (body, not container)
   ============================================================ */

/* Cub Scouts – Navy Blue */
.theme-pack {
    background-color: #001f3f;
}

/* Scouts BSA / Scouting America – Forest Green */
.theme-troop {
    background-color: #228B22;
}

/* Venturing – Kelly Green */
.theme-crew {
    background-color: #4CBB17;
}

/* ============================================================
   ROOT HOMEPAGE BACKGROUND IMAGE
   ============================================================ */

.root-home {
    background-image: url('../images/logo_alr.png');
    background-size: 150px auto;
    background-repeat: repeat;
    background-position: center;
}

/* ============================================================
   DONATE BUTTON (centered + rounded + no overlap)
   ============================================================ */

.donate-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.donate-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.donate-button img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.donate-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.donate-button span {
    font-size: 1.1em;
    font-weight: bold;
}

/* ============================================================
   CUSTOM OVAL DONATE BUTTON (Yellow + Blue)
   ============================================================ */

.donate-oval-button {
    display: inline-block;
    background: #FFD700;
    color: #0055A4;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-oval-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.donate-button-image img {
    width: 400px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-button-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

/* ============================================================
   CUSTOM POPCORN BUTTON
   ============================================================ */

.popcorn-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.popcorn-button-wrapper img {
    width: 400px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popcorn-button-wrapper img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
