/* General styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #312b3c; /* Dark Purple */
    color: #c9bbaf; /* Light Gold */
    font-family: 'Glacial Indifference', sans-serif;
}

header {
    position: fixed; /* Make the header always visible */
    top: 0; /* Stick to the top of the page */
    left: 0;
    width: 100%; /* Make sure the header spans the full width of the page */
    background-color: #312b3c; /* Dark Purple background for header */
    z-index: 1000; /* Ensure the header is on top of other elements */
    padding: 20px 0;
    text-align: center;
}

header .logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
}

nav {
    display: inline-block;
}

nav a {
    color: #c9bbaf; /* Light Gold */
    text-decoration: none;
    padding: 0 15px;
}

nav a:hover {
    color: #c59e60; /* Gold on hover */
}

/* Adjust content to avoid overlap with fixed header */
body, .landing, .about-us, .team {
    padding-top: 80px; /* Adjust padding to avoid content being hidden behind the fixed header */
}

/* Landing Page */
.landing {
    text-align: center;
    padding-top: 150px;
}

.large-logo {
    width: 300px;
    margin-bottom: 20px;
}

.landing h1 {
    font-size: 40px;
}

.landing p {
    font-size: 20px;
    color: #c59e60; /* Gold */
}

/* About Us Page Styles */
.about-us {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    align-items: center; /* Horizontally center the content */
    min-height: 80vh; /* Ensure the section takes up at least 80% of the viewport height */
    text-align: center; /* Center the text itself */
    padding: 20px;
}

.about-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-us p {
    max-width: 800px; /* Set a max width for text readability */
    margin-bottom: 15px;
    color: #c9bbaf; /* Light Gold */
}

/* Section Heading (Center Title) */
.section-heading {
    font-size: 36px; /* Adjust size as needed */
    text-align: center;
    margin-bottom: 30px;
    color: #c9bbaf; /* Light Gold */
}

/* Management Team Member Box Styles */
.team-member {
    background-color: #463c5b; /* Light Purple background for team member bios */
    color: #c9bbaf; /* Light Gold text */
    padding: 20px;
    margin: 20px auto; /* Center the team member bios */
    border: 2px solid #c59e60; /* Gold border around team member bios */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px; /* Set a max width for the bios */
    text-align: center; /* Center text within each bio box */
}

.team-member img {
    border: 3px solid #c59e60; /* Gold frame around image */
    border-radius: 50%;
    background-color: #dadada; /* Light Grey background for team images */
    margin-bottom: 20px;
    width: 128px; /* Ensure all images are the same size */
    height: 128px;
}

.team-member h3 {
    margin-top: 0; /* Remove margin at the top of the heading */
}

.team-member p {
    margin: 10px 0; /* Space between paragraphs */
}

/* Management Team Page - Staff Name Links (Remove hyperlink style) */
.team-member a {
    color: inherit; /* Use the inherited text color */
    text-decoration: none; /* Remove underline from links */
}

.team-member a:hover {
    color: #c59e60; /* Gold on hover */
}

/* Connected Entities Page - Hyperlinks in the same color as text */
.entity a {
    color: #c9bbaf; /* Light Gold */
    text-decoration: none; /* No underline */
}

.entity a:hover {
    color: #c59e60; /* Gold on hover */
}

/* Entity Styling */
.entity {
    background-color: #463c5b; /* Light Purple background for entities */
    color: #c9bbaf; /* Light Gold text */
    padding: 20px;
    margin: 20px auto; /* Center the entity divs */
    border: 2px solid #c59e60; /* Gold border around entities */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px; /* Set a max width for the entity boxes */
}

/* Bull Image Styling */
.bull-image {
    text-align: center;
    margin: 40px auto; /* Center the bull image container */
    max-width: 800px; /* Match the max width of the entity boxes */
}

.bull-image img {
    width: 100%; /* Scale the image to match the width of the container */
    height: auto; /* Preserve the aspect ratio */
    border-radius: 10px; /* Optional: Give the image rounded corners like the entity boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow to match the entity boxes */
    opacity: 0.9; /* Optional: Slight transparency for visual effect */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        align-items: flex-start;
    }

    .framed-image {
        margin-bottom: 15px;
    }

    .bio {
        max-width: 100%;
    }
}

/* Footer Styles */
footer {
    background-color: #312b3c; /* Dark Purple */
    color: #dadada; /* Light Gray */
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Ensures footer sticks to the bottom unless pushed by content */
}

footer a {
    color: #c9bbaf; /* Light Gold */
    text-decoration: none;
}

footer a:hover {
    color: #c59e60; /* Gold on hover */
}
