/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
}

/* Header Section */
header {
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #B22222;
}

.poppy-icon {
    display: none;
}

/* Navigation Styles */
.navbar {
    width: 100%;
    padding: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    margin: 10px 15px 10px 15px;
}

.nav-links ::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B22222;
    transition: width 0.3s ease;
}

.nav-links :hover::after {
    width: 100%;
}

#active {
    border-bottom: 2px solid #B22222;
}

.cta-button {
    background-color: #B22222;
    color: #FFFFFF;
    padding: 6px 15px;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

.cta-button:hover {
    background-color: #FFFFFF;
    border-color: #B22222;
    color: #B22222;
}


/* HERO SECTION STYLING */
.homepage-hero {
    background: url("../images/homepage-hero-image.webp") no-repeat center center;
    /* I used AI to help me with this as I stuggled to apply the overlay correctly */
    background-size: cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-align: center;
    border-bottom: 2px solid #B22222;
}

.homepage-hero::after,
.homepage-sophies-story::after,
.donation-hero::after,
.contact-us-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.homepage-hero-content,
.donation-hero-content,
.contact-us-hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.homepage-hero h1,
.donation-hero h1,
.contact-us-hero h1 {
    font-size: 26px;
}

.homepage-hero #p1,
.donation-hero #p1,
.contact-us-hero #p1 {
    font-size: 16px;
}

.homepage-hero #p2,
.donation-hero #p2,
.contact-us-hero #p2 {
    font-size: 12px;
    margin-bottom: 20px;
}

/* MISSION AND IMPACT SECTION STYLING */
.homepage-mission,
.homepage-impact,
.donation-mission,
.donation-salvation-army {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    background-color: #FFFFFF;
    color: #000000;
    border-bottom: 2px solid #B22222;
}

.homepage-mission-image,
.homepage-impact-image,
.donation-mission-image {
    order: 2;
    max-width: 100%;
}

.homepage-mission-image img,
.homepage-impact-image img,
.donation-mission-image img {
    order: 2;
    max-width: 100%;
    padding: 0;
    border-radius: 10px;
    border: 2px solid #B22222;
}

.homepage-mission-container,
.homepage-impact-container,
.donation-mission-container,
.donation-salvation-army-container {
    order: 1;
    max-width: 100%;
    text-align: center;
}

.homepage-mission h2,
.homepage-impact h2,
.donation-mission h2,
.donation-salvation-army h2,
.contact-us-details-content h2,
.contact-video-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #B22222;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.homepage-mission p,
.homepage-impact p,
.donation-mission p,
.donation-salvation-army p,
.contact-us-details-content p {
    font-size: 12px;
    margin-bottom: 20px;
}

/* SOPHIES STORY ARTICLE STYLING*/
.homepage-sophies-story {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    background: url("../images/homepage-sophies-story-image-sophie.webp") no-repeat center center;
    /* I used AI to help me with this as I stuggled to apply the overlay correctly */
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
    height: 100vh;
    border-bottom: 2px solid #B22222;
    position: relative;
}

.homepage-sophies-container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    text-align: center;
}

.homepage-sophies-story h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.homepage-sophies-story p {
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
}


/* DONATION HERO STYLING*/
.donation-hero {
    background: url("../images/donate-page-hero-image.webp") no-repeat center center;
    /* I used AI to help me with this as I stuggled to apply the overlay correctly */
    background-size: cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #FFFFFF;
    text-align: center;
    border-bottom: 2px solid #B22222;
}

/* Donation-Mission Section - Overview of how and what users can donate*/

/* donation-salvation-army - A section to an external partners website when clicking the logo */

.donation-salvation-army-image {
    order: 2;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.donation-salvation-army-image a {
    display: inline-block;
    text-decoration: none;
    padding: 20px;
    margin: 0;
}

.donation-salvation-army-image img {
    max-width: 100%;
    width: 150px;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* Contact Us  */
.contact-us-hero {
    background: url("../images/contact-us-page-hero-image.webp") no-repeat center center;
    /* I used AI to help me with this as I stuggled to apply the overlay correctly */
    background-size: cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #FFFFFF;
    text-align: center;
    border-bottom: 2px solid #B22222;
}

/* Contact Details Section - Simple yet effective contact details page, including a web contact form */
.contact-us-details {
    padding: 20px 20px;
    text-align: center;
    background-color: #FFFFFF;
    color: #000000;
    border-bottom: 2px solid #B22222;

}

#contact-number,
#email-address {
    text-decoration: none;
    color: inherit;
}

.video-container {
    max-width: 100%;
}

.video-container video {
    width: 80%;
    height: auto;
    border: 2px solid #B22222;

}

/* Contact Us Contact Form */
.contact-us-contact-form {
    background-color: #000000;
    padding: 5px;
    padding-bottom: 20px;
    border-bottom: 2px solid #B22222;
    box-sizing: border-box;
}

.contact-us-contact-form h1 {
    color: #ffffff;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-form-fields input,
.contact-form-fields textarea {
    background-color: #FFFFFF;
    width: 70%;
    font-size: 12px;
    padding: 16px;
    border-radius: 10px;
    border: 2px solid #B22222;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    margin-top: 0px;
}

.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
    outline: none;
    border-color: #B22222;
    border-width: 3px;
}

#contact-us-submit-button {
    display: block;
    margin: 20px auto 0;
    background-color: #B22222;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

#contact-us-submit-button:hover {
    background-color: #FFFFFF;
    border-color: #B22222;
    color: #B22222;
}

/* FOOTER SECTION STYLING */
footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left h2,
.footer-right h2 {
    font-size: 15px;
    margin: 0 10px;
}

.footer-centre h2 {
    display: none;
}

@media only screen and (min-width: 768px) {

    .poppy-icon {
        display: block;
        width: 40px;
        height: auto;
        margin-right: 15px;
        margin-left: 15px;
    }

    .nav-links a {
        font-size: 20px;
    }

    .homepage-hero h1 {
        font-size: 40px;
        margin-bottom: 0px;
    }

    .homepage-hero #p1 {
        font-size: 20px;
    }

    .homepage-hero #p2 {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .homepage-mission,
    .homepage-impact {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 20px;
    }

    .homepage-mission-image {
        order: 0;
        max-width: 50%;
        padding-left: 10px;
        padding-right: 50px;
    }

    .homepage-impact-image {
        order: 1;
        max-width: 50%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .homepage-mission-image img,
    .homepage-impact-image img {
        height: auto;
        margin-top: 65px;
    }

    .homepage-mission-container {
        flex: 1;
        max-width: 50%;
        padding-right: 30px;
        text-align: left;
    }

    .homepage-impact-container {
        flex: 1;
        max-width: 50%;
        padding-left: 30px;
        text-align: left;
    }


    .homepage-mission h2,
    .homepage-impact h2 {
        font-size: 30px;
        text-decoration-thickness: 4px;
    }

    .homepage-mission p,
    .homepage-impact p {
        font-size: 10px;
        margin-bottom: 30px;
    }

    .homepage-sophies-story {
        height: 50vh;
    }

    .homepage-sophies-story h2 {
        font-size: 30px;
        margin-bottom: 7.5px;
        text-decoration-thickness: 4px;
    }

    .homepage-sophies-story p {
        font-size: 10px;
    }

    .donation-hero h1 {
        font-size: 40px;
        margin-bottom: 0px;
    }

    .donation-hero #p1 {
        font-size: 20px;
    }

    .donation-hero #p2 {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .donation-mission,
    .donation-salvation-army {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 20px;
    }

    .donation-mission-image {
        order: 0;
        max-width: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .donation-mission-image img {
        height: auto;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .donation-mission-container,
    .donation-salvation-army-container {
        flex: 1;
        max-width: 50%;
        padding-left: 30px;
        text-align: left;
    }

    .donation-mission h2,
    .donation-salvation-army h2 {
        font-size: 30px;
        text-decoration-thickness: 4px;
    }

    .donation-mission p,
    .donation-salvation-army p {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .donation-salvation-army-image {
        order: 2;
        max-width: 50%;
        padding-left: 0px;
        padding-right: 50px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .donation-salvation-army-image img {
        height: auto;
        margin-top: 20px;
    }

    .contact-us-hero h1 {
        font-size: 40px;
        margin-bottom: 0px;
    }

    .contact-us-hero #p1 {
        font-size: 20px;
    }

    .contact-us-hero #p2 {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-us-details-content {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .contact-us-details-content h2,
    .contact-video-section h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 10px;
        color: #B22222;
        text-decoration: underline;
        text-decoration-color: #B22222;
        text-decoration-thickness: 4px;
    }

    .contact-us-details-content p {
        text-align: center;
    }

    .contact-item {
        flex: 2;
    }

    .contact-video-section {
        margin-top: 40px;
    }

    .footer-left,
    .footer-right {
        flex-direction: row;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .footer-centre h2 {
        display: flex;
        font-size: 20px;
        font-weight: 400;
    }

    .footer-left h2,
    .footer-right h2 {
        display: none;
    }
}

@media only screen and (min-width: 1024px) {

    .homepage-mission-image img,
    .homepage-impact-image img {
        margin-top: 50px;
    }

    .homepage-mission p,
    .homepage-impact p {
        font-size: 14px;
    }

    .homepage-sophies-story {
        height: 60vh;
    }

    .homepage-sophies-story p {
        font-size: 14px;
    }

    .donation-mission p,
    .donation-salvation-army p {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1440px) {

    .homepage-hero {
        height: 80vh;
    }

    .homepage-hero h1 {
        font-size: 60px;
    }

    .homepage-hero #p1 {
        font-size: 30px;
    }

    .homepage-hero #p2 {
        font-size: 24px;
        margin-bottom: 60px;
    }

    .cta-button {
        padding: 10px 15px;
        font-size: 18px;
    }

    .homepage-mission-image img,
    .homepage-impact-image img {
        margin-top: 0px;
    }

    .homepage-mission p,
    .homepage-impact p {
        font-size: 18px;
    }

    .homepage-sophies-story {
        height: 80vh;
    }

    .homepage-sophies-story p {
        text-align: center;
        font-size: 18px;
    }

    .donation-hero {
        height: 80vh;
    }

    .donation-hero h1 {
        font-size: 60px;
    }

    .donation-hero #p1 {
        font-size: 30px;
    }

    .donation-hero #p2 {
        font-size: 24px;
        margin-bottom: 60px;
    }

    .donation-mission-image img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .donation-salvation-army-image img {
        max-width: 50%;
        width: 350px;
        padding-right: 50px;
    }

    .donation-mission p,
    .donation-salvation-army p {
        font-size: 18px;
    }

    .contact-us-hero {
        height: 80vh;

    }

    .contact-us-hero h1 {
        font-size: 60px;
    }

    .contact-us-hero #p1 {
        font-size: 30px;
    }

    .contact-us-hero #p2 {
        font-size: 24px;
        margin-bottom: 60px;
    }

    .contact-us-details-content p {
        font-size: 18px;
    }

    .contact-form-fields input,
    .contact-form-fields textarea {
        font-size: 20px;
    }

    #contact-us-submit-button {
        padding: 10px 15px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-centre h2 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 2560px) {
    .poppy-icon {
        transform: scale(2);
    }

    .nav-links a {
        font-size: 36px;
    }

    .homepage-hero h1 {
        font-size: 120px;
    }

    .homepage-hero #p1 {
        font-size: 60px;
    }

    .homepage-hero #p2 {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .cta-button {
        padding: 15px 45px;
        font-size: 36px;
    }

    .homepage-mission-image img,
    .homepage-impact-image img {
        margin-top: 30px;
    }

    .homepage-mission h2,
    .homepage-impact h2 {
        font-size: 60px;
    }

    .homepage-mission p,
    .homepage-impact p {
        font-size: 36px;
    }

    .homepage-sophies-story {
        height: 100vh;
    }

    .homepage-sophies-story h2 {
        font-size: 60px;
    }

    .homepage-sophies-story p {
        font-size: 36px;
    }

    .donation-hero h1 {
        font-size: 120px;
    }

    .donation-hero #p1 {
        font-size: 60px;
    }

    .donation-hero #p2 {
        font-size: 48px;
        margin-bottom: 60px;
    }


    .donation-mission h2,
    .donation-salvation-army h2 {
        font-size: 60px;
    }

    .donation-mission p,
    .donation-salvation-army p {
        font-size: 36px;
    }

    .donation-salvation-army-image img {
        max-width: 100%;
        width: 400px;
        padding-right: 150px;
    }

    .contact-us-hero h1 {
        font-size: 120px;
    }

    .contact-us-hero #p1 {
        font-size: 60px;
    }

    .contact-us-hero #p2 {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .contact-us-details-content h2,
    .contact-video-section h2 {
        font-size: 60px;
    }

    .contact-us-details-content p {
        font-size: 36px;
    }

    .footer-centre h2 {
        font-size: 36px;
    }
}