/* css/pages.css */

/*
   Contains styles specific to individual pages to keep
   the main stylesheets clean.
*/

/* <<<<<<<< Home page >>>>>>>> */
.trails-banner {
    background-color: var(--stripe-clr-1);
    color: var(--clr-text-light);
    padding: 0.5rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem; /* Remove top margin to sit flush with nav */
    border-bottom: 5px solid var(--clr-header-border-bottom);
}

.banner-wrapper {
    max-width: var(--max-w-readable);
    margin-inline: auto;
}

.banner-headline {
    font-size: var(--font-size-800);
    font-family: var(--font-family-cursive);
    color: #000;
}

.park-head {
    background-color: var(--clr-bg);
    text-align: center;
    font-size: var(--font-size-500);
    max-width: 45ch;
    margin-inline: auto;
    margin-block: .75rem;
}

.location-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
  
.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 750px;
    border: 2px solid var(--clr-link-border);
    border-radius: 8px;
    margin-top: .5rem;
    padding: .5rem;
}
  
.location-image {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: 8px;
}

.location-description {
    background-color: var(--clr-card-bg);
    border-radius: 10px;
    padding: 15px;
    max-width: 38ch;
}

.social {
    display: flex;
    justify-content: center;
    gap: 25px;

    .social-btn {
        color: var(--clr-text-primary);
    }
}

#contact-us-footer-btn {
    margin-top: 1rem;
}

#back-to-top-nav-btn .up-arrow {
    font-size: 2.2em;
    vertical-align: text-bottom;
    line-height: 0.5;
}

.donation {
    margin-bottom: 1.5rem; /* Add some space below the cards */

    h2 {
        margin-bottom: 20px;
    }
}

.donation-cards-container {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
}

.donation-card {
    border: 2px solid var(--clr-link-border);
    background-color: var(--clr-card-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to the bottom */
    border-radius: 8px;
    padding: .5rem;
    max-width: 35ch;
    text-align: center; /* Center text for h2 and p */

    h2 {
        color: var(--clr-text-primary);
        text-indent: 0; /* Override inherited text-indent to fix centering */
    }
}

.map-banner-container {
    border-bottom: 5px solid var(--clr-header-border-bottom);
    line-height: 0; /* Removes extra space below the iframe */
}

.feature-link-container {
    text-align: center;
    padding-block: 1rem;
    margin-top: 1rem;
    border-bottom: 5px solid var(--clr-header-border-bottom);
}

.feature-link-button {
    display: block;
    width: fit-content;
    margin: 1.5rem auto;
    padding: 0.75rem 1.5rem;
    background-color: var(--clr-bg);
    border: 2px solid var(--clr-link-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--clr-link);
    font-size: var(--font-size-600);
    font-weight: var(--font-weight-700);
}

.notes {
    color: var(--clr-text-primary);
    background-color: var(--clr-notes-bg);
    border: 1px solid var(--clr-border);
    border-radius: 0px 0px 8px 8px;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    margin-top: 2rem;
    text-align: left;
}

.notes ul {
    padding-left: 1.25rem;
    list-style-type: none;
}

.notes li {
    padding-block: 0.25rem;
}
/* <<<<<<<< Home page End >>>>>>>> */

/* <<<<< tallgrass Page >>>>> */
#tall-note1 {
    border-radius: 8px; /* to fix the .notes half sq */
}

#trail-parking {
    background-color: var(--clr-card-bg);
    text-indent: 0px;
    border: 2px solid var(--clr-link-border);
    border-radius: 8px;
    max-width: 80ch;
    margin: 0 1rem;
    padding-inline: .5rem;
    padding-block: 1rem;

    address {
        margin-inline: 0px;
    }

    p {
        margin-block: 0.25rem; /* Reduce vertical space for parking descriptions */
    }
}

.address-button-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align items to the bottom */
    gap: 1rem;
    margin-top: 0.5rem;
}

#bookwalk {
    display: flex;
    justify-content: center;
}

#tallgrass-map {
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
        max-width: 90%;
        margin-block: 1.25rem;
    }
}

#map-download {
    margin-inline: auto;
}

/* This is the container for a parking spot description and its map button */
#trail-parking .map-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the text and button */
    gap: 1rem;
    border-bottom: 1px solid var(--clr-border); /* Add a separator */
    padding-bottom: 0.5rem; /* Add some space below */
}

/* Remove the border from the last item in the list */
#trail-parking li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* <<<<< tallgrass Page End >>>>> */

/* <<<<<< Foundation  >>>>>> */
#p1 {
    display: flex;
    flex-direction: column;
}

#foundation {

    h2 {
        text-align: center;
        border-bottom: 2px solid var(--clr-header-border-bottom);
        margin-block: 2rem;
    }

    img {
        margin-block: 1rem;
    }

    li {
        padding-block: .25rem;
    }

    li::marker {
        color: var(--clr-accent-danger);
        content: "♦ "; /* Use a diamond and add a space */
        font-size: 1rem;
      }
}
.content-box {
    background-color: var(--clr-notes-bg);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: .75rem;
    margin-block: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
}

.content-box p {
    background-color: transparent;
    border: none;
    margin-block: 0.5rem; /* Add a little space between paragraphs inside the box */
}
.rules-container {
    background-color: var(--clr-notes-bg);
    border: 1px solid var(--clr-accent-danger);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin-inline: auto;
    margin-top: 1rem;
    text-align: left;

    h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    ul {
        padding-left: 1.25rem; /* Indent the list */
    }

    li {
        padding-block: 0.25rem;
        list-style-type: disc; /* Ensure standard bullets */
    }
}

.two_cal {
    display: flex;
    
    gap: 20px;
    padding: .5rem;
    border-radius: 8px;
    max-width: fit-content;
    margin-inline: auto;

    p {
        background-color: var(--clr-bg);
        height: fit-content;
    }

    img {
        object-fit: cover;
        width: 50%; /* Ensure the image takes up its share of the flex container */
        height: fit-content;
    }
}
/* <<<<<< Foundation End  >>>>>> */

/* <<<<<< Terradise >>>>>>> */
.brochure1 {
    display: flex;
    align-items: center;
    gap: 25px;
}

.tnp {
    text-indent: var(--text-indent);

    p {
        padding-block: 0.25rem;
        margin-block: 0;
    }
}
/* <<<<<< Terradise End >>>>>>> */

/* <<<<<< Myers Woods >>>>>>> */
#kilmer {
    font-size: var(--font-size-200);
    max-width: 100%;
    margin-inline: 2.5rem;
    padding: 0.5rem;
}
/* <<<<<< Myers Woods END >>>>>>> */

/* <<<<<< Greenspur >>>>>>> */
#greenspur {
    address {
        margin-inline: auto;
        margin-block: 0.25rem;
        background-color: var(--clr-bg);
        width: fit-content;
        padding: 1.25rem;
        border-radius: 10px;
    }
}
/* <<<<<< Greenspur END >>>>>>> */

/* <<<<<< Donation >>>>>>> */
.donate {
    li {
        text-indent: 0;
    }

    li::marker {
        color: var(--clr-accent-danger);
        content: "#";
        font-size: 2rem;
      }
}
/* <<<<<< Donation END >>>>>>> */

/* <<<<< Links Page >>>>> */
#links {
    margin-left: .25rem;
}

.link-list {
    background-color: var(--clr-card-bg);
    border: 2px solid #000;
    border-radius: 8px;
    padding-inline: 1rem;
    padding-block: .25rem;
    margin-block: 1rem;

    li {
       list-style-type: none;
       padding-block: .25rem;
    }

    a {
        text-decoration: none;
        color: var(--clr-text-primary);
    }

    a:hover {
        color: var(--clr-link-hover);
    }
}
/* <<<<< Links Page End >>>>> */

/* <<<<< About >>>>> */
#board {
    width: fit-content;
    margin: 0 auto;
}
/* <<<<< About End >>>>> */

/* <<<<< Employment >>>>> */
#emp {
    width: fit-content;
    margin-inline: auto;
    margin-block: 3rem;

    p {
        margin-block: .5rem;
    }
}
/* <<<<< Employment End >>>>> */

/* <<<<<< FAQ  >>>>>>> */
.faq-container {
    border-bottom: 2px solid var(--clr-border);
}

#faq {
    h2 {
        font-size: var(--font-size-700);
        text-align: center;
        border-bottom: 2px solid var(--clr-header-border-bottom);
        margin-block: 2rem;
    }
}

.question {
    font-size: var(--font-size-500);
    margin-bottom: 0.5rem;
}
/* <<<<<< FAQ End >>>>>>> */

/* <<<<<<<< Program Flyers Table >>>>>>>> */
.Program-flyers {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    border: 2px solid var(--clr-link-border);
    border-radius: 8px;
    overflow: hidden; /* Ensures the border-radius is respected by child elements */
    box-shadow: 0 4px 8px var(--clr-shadow-light);
}

.Program-flyers td,
.Program-flyers th {
    padding: 1rem;
    border-bottom: 1px solid var(--clr-border);
}

.Program-flyers tr:nth-child(odd) {
    background-color: var(--clr-table-row-odd-bg);
}

.Program-flyers tr:nth-child(even) {
    background-color: var(--clr-table-row-even-bg);
}

.Program-flyers th {
    background-color: var(--clr-table-header-bg);
    color: var(--clr-text-light);
    font-size: var(--font-size-600);
}

.Program-flyers tr:last-child td {
    border-bottom: none; /* Remove border from the last row */
}

.flyer-not-cell {
    text-align: center;
    font-style: italic;
    text-wrap: pretty;
}

/* <<<<<<<< Program Flyers Table End >>>>>>>> */