/* Basic reset (optional) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    /*
    font-family: 'Rift Soft', Arial, sans-serif;
    background-color: #fafafa;
    color: #333;
    */


    font-family: 'Rift Soft', Arial, sans-serif;
    background: linear-gradient(to bottom, #fafafa 0%, #A3B9D4 100%);
    color: #333;
    margin: 0;
    padding: 0;

}

/*
   ----------------------------------------------
   HEADER + BANNER
   Give the entire header area a #002B49 background
   so the sides/corners around the banner are filled.
   ----------------------------------------------
*/
header {
    background-color: #fff;
    /* Add some vertical padding if you want more space above/below the banner */
    text-align: center;
}

.top-banner {
    display: block;
    width: 100%;
    height: auto;
    max-width: 700px;  /* Optional limit */
    margin: 0 auto;     /* Centers the image horizontally */
}

/* ------------------------------
   NAVIGATION BAR
   (Remove background-color here,
   so it inherits the header's color)
------------------------------ */
nav {
    background-color: #002B49;
    padding: 0.75rem 0;  /* vertical padding to space out nav items */
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 2rem;
}

.nav-list li a {
    color: #FEC141;
    text-decoration: none;
    font-family: 'Rift Soft', 'Gellar Text', sans-serif;
    font-weight: 600;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.nav-list li a:hover {
    color: #00A3E0;
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
    background-color: #002B49;
    color: #FEC141;
    padding: 1rem;
    margin-top: 2rem;

    /* Use flex to center the footer text horizontally
       while allowing us to position icons on the right */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.site-footer p {
    margin: 0; /* remove default paragraph margin if needed */
}

/* The social icons container: absolute to the bottom-right corner */
.footer-social {
    position: absolute;
    right: 1rem;
    bottom: 0.5rem; /* or 50%/ transform to vertically center if you prefer */

    /* position: static; IF I WANT THE SOCIAL ICONS CENTERED*/
}

/* The links themselves */
.social-link {
    display: inline-block;
    margin-left: 1rem; /* space between the two icons */
    text-decoration: none; /* remove underline if you want */
}

/* The SVG icons */
.social-link svg {
    fill: #FEC141;                 /* default gold color */
    transition: fill 0.2s ease;    /* smooth transition on hover */
}

/* Hover effect: switch to light blue (#00A3E0) */
.social-link:hover svg {
    fill: #00A3E0;
}


/* ------------------------------
   Basic Page Elements
------------------------------ */
.page-title {
    text-align: center;
    margin: 2rem 0;
    color: #002B49;
    font-size: 2rem;
    font-weight: bold;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 5px solid #00A3E0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem; /* increases space after each paragraph */
    line-height: 1.6;
}

.contact-container p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.bold-link,
.email-link {
    color: #002B49;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bold-link:hover,
.email-link:hover {
    color: #00A3E0;
}

.address-heading {
    margin-top: 2rem;
    color: #002B49;
    font-size: 1.25rem;
    font-weight: bold;
}

.address-text {
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.4;
}

.directions-link {
    color: #002B49;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.directions-link:hover {
    color: #00A3E0;
}

/* Reuse the same container style as 'contact-container',
   or create a new class if you want them styled differently. */
.donation-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 5px solid #00A3E0;
    border-radius: 8px;
    padding: 2rem;
}

/* Spacing in paragraphs within the donation container */
.donation-container p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Optional styling for Venmo QR code */
.venmo-qr {
    max-width: 400px;      /* adjust as needed */
    display: block;        /* ensures it can center if desired */
    margin: 0 auto;        /* center horizontally */
}

/* Style the Venmo link similarly to bold-link or with a unique color, if desired */
.venmo-link {
    color: #002B49;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}
.venmo-link:hover {
    color: #00A3E0;
}

.slideshow-container {
    /* Adjust the max width to your preference */
    max-width: 800px;
    /* Center container on page, add top/bottom margin for spacing */
    margin: 2rem auto;
    /* Add horizontal padding so images don't butt against screen edges */
    padding: 0 1rem;

    /* Enforce an aspect ratio so all slides occupy the same area
       e.g., 16:9 ratio for landscape slides
       -> *If your images are mostly 4:3, adjust to aspect-ratio: 4 / 3;
    */
    aspect-ratio: 16 / 9;

    /* Provide a background color for letterbox space
       if images aren't the same ratio
    */
    background-color: rgba(250, 250, 250, 0);

    /* Position + overflow hidden if you want to hide any overflow
       (not strictly necessary for contain, but often used)
    */
    position: relative;
    overflow: hidden;
}

/* Hide all slides by default; script.js handles "display" toggling */
.slide {
    display: none;
    position: absolute; /* so we can layer them in the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 'contain' ensures entire image fits within the container,
       possibly letterboxing with blank space. No cropping occurs. */
    object-fit: contain;
}

/* Article Container:
   a white box with brand-colored border,
   similar to your contact/donate containers.
*/
.article-container {
    max-width: 1200px;
    margin: 2rem auto;
    background-color: #fff;
    border: 5px solid #00A3E0;
    border-radius: 8px;
    padding: 2rem;
}

/* Article Title: center it, navy color, etc. */
.article-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #002B49;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Rift Soft', Arial, sans-serif;
}

/* Floated Article Image:
   - Floats to the right
   - Add margin-left/bottom so text doesn't bump the image
   - A fixed width or max-width keeps it from taking over the page
*/
.article-image {
    float: right;
    width: 40%;             /* or 'max-width: 400px;' if you prefer a set pixel size */
    margin-left: 1rem;      /* spacing on left side for text flow */
    margin-bottom: 1rem;    /* optional spacing below the image */
    border-radius: 4px;     /* optional minor rounding */
    object-fit: cover;      /* if you want the image to crop to fill that 40% area */
    display: block;         /* ensures no extra bottom spacing */
}

/* If the image is large and you don't want cropping,
   switch object-fit to "contain" or remove it.
   If you remove 'object-fit', it will scale proportionally
   (height:auto; width: 40%).
*/

/* Clear the float so the footer doesn't wrap around the image. */
.article-container::after {
    content: "";
    display: block;
    clear: both;
}

/* For the li that has a dropdown */
/* Position the parent dropdown <li> */
.dropdown {
    position: relative; /* so .dropdown-content is absolutely positioned within this <li> */
}

/* The "Gallery ▼" link itself */
.dropbtn {
    cursor: pointer;
    /* Keep existing link styles if you want (font, color, etc.) */
}

/* The sub-menu container */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;              /* directly below the main link */
    left: 0;
    background-color: #002B49; /* same navy as your nav bar, or #fff if you prefer */
    border: 3px solid #00A3E0; /* light-blue border around entire menu */
    min-width: 200px;          /* ensure enough width */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;              /* stay on top */
    padding: 0;                /* no extra padding that might create a gap */
    margin: 0;                 /* remove default <ul> margin */
    list-style: none;
}

/* Each dropdown item */
.dropdown-content li {
    border-top: 1px solid #00A3E0; /* divider line between items */
}
.dropdown-content li:first-child {
    border-top: none; /* don’t show divider above the first item */
}

/* The links inside the dropdown items */
.dropdown-content li a {
    display: block;
    padding: 0.5rem 0;
    color: #FEC141;         /* gold text on navy background */
    text-decoration: none;
    font-weight: 600;       /* consistent with your nav style */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover effect on dropdown items */
.dropdown-content li a:hover {
    background-color: #00A3E0; /* light-blue background */
    color: #fff;              /* white text for contrast */
}

/* Show dropdown on hover (and remain visible while over the .dropdown-content) */
.dropdown:hover .dropdown-content {
    display: block;
}

