/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #EAE2F8; /* Lavender */
    color: #4A4A4A; /* Slate Gray */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh; /* Minimum height is 100% of the viewport */
    display: flex;
    flex-direction: column; /* Arrange header, main, and footer vertically */
}

/* Header with bluebonnet background */
header {
    background: url('images/bluebonnet1.jpg') no-repeat center center / cover;
    color: white;
    text-align: center;
    padding: 50px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adds depth */
    border-bottom: 5px solid #FFF5E1; /* Light Beige for contrast */
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    animation: fadeIn 1.5s ease-out; /* Smooth entry */
}

header p {
    font-size: 1.2em;
    font-style: italic;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background-color: #91A8D0; /* Dusty Blue */
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Slight shadow for layering */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #FFF5E1; /* Light Beige */
    color: #4A4A4A; /* Slate Gray */
    transform: scale(1.1); /* Slight grow effect */
}

nav ul li a.active {
    background-color: #EAE2F8; /* Lavender */
    color: #4A4A4A; /* Slate Gray */
    padding: 10px 15px;
}

/* Main content grows to fill available space */
main {
    flex: 1; /* Allows the main section to take up remaining space */
}

/* Mission Section */
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background-color: #FFF5E1; /* Light Beige */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
    animation: slideIn 1s ease-out; /* Smooth entry */
}

section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #4A4A4A; /* Slate Gray */
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #91A8D0; /* Dusty Blue */
    padding-bottom: 5px;
    display: inline-block;
}

/* Hearts Image */
.hearts-image {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 30%;
    border: none; /* Removes any faint border */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hearts-image:hover {
    transform: scale(1.05); /* Slight grow effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
}

/* Bluebonnet Divider */
.bluebonnet-divider {
    background: url('images/bluebonnet2.jpg') repeat-x center;
    height: 50px;
    margin: 20px 0;
    opacity: 0.8;
    animation: fadeIn 2s ease-out; /* Smooth entry */
}

/* Footer */
footer {
    text-align: center;
    background-color: #91A8D0; /* Dusty Blue */
    color: white;
    padding: 20px;
    border-top: 5px solid #FFF5E1; /* Light Beige */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 0.9em;
    animation: fadeIn 1s ease-out;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .hearts-image {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
        max-width: 60%;
    }
}
