/* Lively and aspirational styling for DIY Listing with image background */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ecf0f1;
}

header {
    background: url('images/top_banner.webp') no-repeat center center/cover;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.header-content {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    padding: 20px;
    border-radius: 10px;
}

header p {
    font-size: 1.4em;
    margin: 0;
}

main {
    padding: 20px;
    max-width: 960px;
    margin: auto;
}

section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background: #0b3456;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
    clear: both;
}

/* Styling for links in the main content area */
main a {
    color: #0067a5; /* A shade of blue that stands out in the white background */
    text-decoration: none; /* Removes underline */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

main a:hover, main a:focus {
    color: #004d7a; /* Darker shade of blue for hover and focus */
    text-decoration: underline; /* Adds underline on hover for better visibility */
}

/* Styling for links in the footer */
footer a {
    color: #a0c4ff; /* A light blue that contrasts well against the dark footer background */
    text-decoration: none; /* Removes underline */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

footer a:hover, footer a:focus {
    color: #bfd8ff; /* Even lighter blue for hover and focus states */
    text-decoration: underline; /* Adds underline on hover for accessibility */
}