
/* Footer Styles */
.footer{
background: #111827
color: #fff
padding: 40pc 20px;
text-align: center;
margin-top: 60px;
}


/* Base body and text */
body {
font-family: Arial, sans-serif;
margin: 0;
padding-top: 60px !important;
color: #111;
background-color: #f9f9f9;
}
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}
/* Main content */
main {
padding: 20px;
max-width: 1000px;
margin: auto;
}

/* Headings */
h1, h2 {
text-align: center;
color: #b22234; /* red for patriotic accent */
margin-bottom: 20px;
}

/* Buttons */
.btn {
background: #b22234;
color: white;
padding: 8px 12px;
border-radius: 6px;
border: none;
text-decoration: none;
cursor: pointer;
}
.btn:hover {
background: #002147;
color: #fff;
}

/* index page */
.route-section {
text-align: center;
padding: 20px 20px;
background-color: #f9f9f9;
}

.route-section h2 {
font-size: 2em;
margin-bottom: 10px;
color: #222;
}

.route-section p {
color: #555;
max-width: 600px;
margin: 0 auto 30px;
}

.route-map-container {
display: flex;
justify-content: center;
align-items: center;
}

.route-map {
width: 90%;
max-width: 800px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Registration page */
.swag-section {
text-align: center;
padding: 60px 20px;
background-color: #ffffff;
}

.swag-section h2 {
font-size: 2em;
margin-bottom: 10px;
color: #222;
}

.swag-section p {
color: #555;
max-width: 600px;
margin: 0 auto 30px;
}

.swag-image-container {
display: flex;
justify-content: center;
align-items: center;
}

.swag-image {
width: 80%;
max-width: 600px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Blog page */
.blog-list {
max-width: 800px;
margin: 0 auto;
}

.blog-item {
background: #fff;
padding: 1rem;
border-radius: 6px;
margin-bottom: 1.5rem;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-item a {
color: #007bff;
text-decoration: none;
}

.blog-item a:hover {
text-decoration: underline;
}

.comment-form input, .comment-form textarea {
width: 100%;
margin-bottom: 1rem;
padding: 0.5rem;
}

.comment {
background: #f5f5f5;
padding: 0.75rem;
border-radius: 4px;
margin-bottom: 0.5rem;
}



/* Memes Page */

/* Meme of the Week section */
.meme-showcase {
text-align: center;
margin: 2rem 0;
}

.meme-showcase img {
width: 100%;
max-width: 800px;
height: auto;
display: block;
margin: 0 auto;
border-radius: 10px;
}

/* Meme grid layout */
.meme-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
justify-items: center;
padding: 20px;
}

/* Meme cards */
.meme-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
text-align: center;
transition: transform 0.2s ease;
width: 100%;
max-width: 300px;
}

.meme-card:hover {
transform: scale(1.03);
}

.meme-card img {
width: 100%;
height: auto; /* ensures full image is visible */
object-fit: contain; /* prevent cropping */
display: block;
}

.meme-card p {
margin: 10px 0;
font-weight: bold;
color: #333;
}


.meme-title {
font-weight: bold;
font-size: 1rem;
padding: 0.6rem 0;
}

/* Volunteer Page Banner */ 

.volunteer-banner-container {
width: 100%; /* span the full viewport width */
text-align: center;
justify-content: center;
align-items: center;
object-fit:contain;
object-fit: cover;
margin: 0;
padding: 0;
/* overflow: hidden; /* hide any overflow */
}

.volunteer-banner {
display: block;
width: 100vw; /* force it to the full screen width */ /* never exceed container */
height: 40vh; /* keep aspect ratio */
object-fit: contain;
margin: 0;
padding: 0;
}

.volunteer-banner-container {
max-width: 100%;
height: auto;
display:block;
margin: 0 auto;
object-fit: contain;
border: none;
}

/* Merch Page Banner */

.banner-container-merch
 {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 40vh;
    margin: 0;
    padding: 0;
    border: none;
    object-fit: contain; /* Keeps proportions, no cropping */
    object-fit: cover;
    padding-bottom: 10px;
}

.merch-banner {
    position: fixed !important
    top: 0;
    left: 0;
    width: 100vw;
    height: 40vh;
    object-fit: contain;
    z-index: 1;
    margin: 0;
    padding: 0;
}   


/* Merch grid */

/* Fix for Shopify Buy Button cut-off */
.product-card iframe,
.product-card .shopify-buy__iframe,
.product-card .shopify-buy__embed {
width: 100% !important;
max-width: 280px;!important
overflow: visible !important;
margin: 0 auto;
}

.product-card {
background: #f9f9f9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.2s ease-in-out;
width: 100%;
max-width: 300px; /* increased from 350px */
text-align: center;
overflow: visible;
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
justify-items: center
padding: 2rem
}
.product-card:hover {
transform: scale(1.03);
}
.product-card h3 {
margin-bottom: 15px;
font-size: 1.2em;
font-weight: 600;
}
.product-card img{
display: block;
max-width: 90%;
height: auto;
border-radius: 8px;
margin-bottom: 15px;
}
.shopify-buy-frame {
min-width: 250px !importa

.merch-section {
padding: 60px 0;
text-align: center;
}

.page-title {
font-size: 2.2em;
font-weight: 700;
margin-bottom: 10px;
}

.page-subtitle {
font-size: 1.1em;
color: #555;
margin-bottom: 40px;
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 30px;
justify-items: center;
}

.product-card {
background: #f9f9f9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.2s ease-in-out;
width: 100%;
max-width: 350px;
}

.product-card:hover {
transform: translateY(-5px);
}

.product-title {
font-size: 1.3em;
margin-bottom: 15px;
font-weight: 600;
}
.merch-grid {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
gap: 20px;
margin-top: 20px;
}

.merch-item {
border: 1px solid #ddd;
padding: 16px;
border-radius: 8px;
text-align: center;
background-color: white;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-item:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Merch item images */
.merch-item img {
width: 100%;
max-width: 200px;
height: auto;
margin-bottom: 12px;
}

/* Product titles */
.merch-item h3 {
font-size: 1.1rem;
margin: 8px 0;
color: #002147;
}

/* Product prices */
.merch-item p {
font-size: 1rem;
font-weight: bold;
margin: 6px 0 12px;
color: #b22234;
}

/* Shopify Buy Button container tweaks */
.shopify-buy-frame {
width: 100% !important;
max-width: 220px !important;
margin: auto;
}
.shopify-buy-frame button {
width: 100% !important;
background-color: #b22234 !important;
color: white !important;
}
.shopify-buy-frame button:hover {
background-color: #002147 !important;
color: #fff !important;
}

download-buttons {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin-top: 2rem;
}

.btn {
display: inline-block;
padding: 12px 24px;
text-decoration: none;
font-weight: 600;
border-radius: 6px;
transition: background-color 0.2s ease;
}

.btn-wallet {
background-color: #1a73e8;
color: white;
}

.btn-wallet:hover {
background-color: #125abb;
}

.btn-calendar {
background-color: #28a745;
color: white;
}

.btn-calendar:hover {
background-color: #1e7e34;
}

/* Container for the download buttons */
.download-buttons {
display: flex;
flex-direction: column; /* Stack vertically */
align-items: center; /* Center horizontally */
justify-content: center;
gap: 1rem; /* Space between buttons */
margin-top: 2rem;
}

/* Base button style */
.download-buttons .btn {
display: inline-block;
padding: 12px 24px;
font-weight: 600;
border-radius: 6px;
text-decoration: none;
transition: background-color 0.2s ease, transform 0.1s ease;
text-align: center;
min-width: 220px; /* Ensure all buttons are the same width */
}

/* Apple/Google Wallet button */
.download-buttons .btn-wallet {
background-color: #1a73e8;
color: white;
}

.download-buttons .btn-wallet:hover {
background-color: #125abb;
transform: translateY(-2px);
}

/* Calendar button */
.download-buttons .btn-calendar {
background-color: #28a745;
color: white;
}

.download-buttons .btn-calendar:hover {
background-color: #1e7e34;
transform: translateY(-2px);
}

/* Optional: Add a small shadow for depth */
.download-buttons .btn {
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Center the QR code above the buttons */
.qr-section {
display: flex;
justify-content: center;
margin-top: 2rem;
}

.qr-section img {
width: 200px;
height: 200px;
border: 2px solid #ccc;
border-radius: 8px;
padding: 8px;
background: white;
}


/* ===== Admin Dashboard ===== */
.admin-section {
padding: 40px;
max-width: 1000px;
margin: 0 auto;
color: #fff;
}

.admin-section h2 {
text-align: center;
margin-bottom: 20px;
font-size: 2em;
color: #f4f4f4;
}

.admin-table {
width: 100%;
border-collapse: collapse;
background-color: #1e1e1e;
border: 1px solid #444;
}

.admin-table th, .admin-table td {
border: 1px solid #555;
padding: 10px;
text-align: left;
}

.admin-table th {
background-color: #2a2a2a;
color: #f9f9f9;
}

.admin-table tr:nth-child(even) {
background-color: #2c2c2c;
}

.admin-table tr:hover {
background-color: #3a3a3a;
}

.back-link {
display: inline-block;
margin-bottom: 15px;
color: #00bfff;
text-decoration: none;
}

.back-link:hover {
text-decoration: underline;
}
