/*
    Adam Sylvester
    File Name: styles.css
    Date: 11/09/2026
*/

/* Hero image background */
.hero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../images/baby-hawk.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    min-height: 100vh; /* Fallback if jQuery is unavailable */
    position: relative;
}

/* Welcome content over the hero image */
.welcome {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
}

/* Wild Rescues title */
.display-1 {
    font-size: 4em;
}

/* Brown background for the navbar, button, and footer */
.bg-brown {
    background-color: #2a1f14;
}

/* Keep the three image thumbnails consistent and aligned */
main figure img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Preserve the full image on smaller devices */
@media (max-width: 575.98px) {
    .welcome {
        padding: 0 1rem;
    }
    .display-1 {
        font-size: 3em;
    }
    main figure img {
        height: auto;
    }
}
