/* style.css */

/* Import shared styles */
@import url("shared.css");

/* Header styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--header-footer-bg);
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    color: black; /* header text is now black */
}

header img {
    max-height: 60px;
    border-radius: 8px;
    margin-right: 20px;
}

header h1 {
    flex-grow: 1;
    font-size: 2.5rem;
    text-align: center;
    margin: 10px 0;
}

/* Ensure links in header are black */
header a {
    color: black;
}

/* Navigation styling */
nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    padding: 10px 15px;
    border-radius: 5px;
}

/* Main content styling */
main {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

main p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Headings styling */
h2, h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* List styling */
ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Image container styling */
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.image-container div {
    text-align: center;
    max-width: 400px;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

/* Footer styling */
footer {
    background-color: var(--header-footer-bg);
    padding: 20px;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
    color: black; /* footer text is now black */
}

footer nav {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}


footer a {
    padding: 5px 10px;
    color: black; /* footer links are now black */
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .image-container {
        flex-direction: column;
        gap: 20px;
    }
}
