/* --- Global Header Styles --- */
/* Keep the pill styling for H2 */
h2 {
    color: #ffffff !important;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 0.4em 0.75em;
    display: inline-block; /* Keeps the background only as wide as the text */
    width: fit-content;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Force H3 to its own line */
h3 {
    display: block !important; /* This is the "secret sauce" to force the break */
    width: 100%;               /* Ensures it takes up the full width */
    margin-top: 20px;
    color: #000000;
    clear: both;               /* Extra insurance to move past the H2 box */
}



/* --- Link Styles --- */
a {
    font-weight: 700;
    color: #FE8057;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    background-color: #f6f6f6; /* light gray pop background */
}

/* --- Layout & Base Styles --- */
* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Navigation Styles --- */
nav {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #FE8057;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

nav .site-title {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
}

nav .logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    color: #FE8057;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    order: 4;
    margin-top: 10px;
}

nav ul.mobile-open {
    display: flex;
}

nav li {
    position: relative;
    padding: 6.72px 0;
}

nav a {
    color: #000000;
    padding: 0; /* Keeps nav clean from global link padding */
}

nav a:hover {
    color: #FE8057;
    background-color: transparent; /* Prevents background pop in the menu */
}

/* --- Dropdowns --- */
.dropdown {
    display: none;
    position: static;
    background-color: #ffffff;
    padding: 10px 0 10px 20px;
    margin-top: 10px;
}

.dropdown li {
    padding: 4.48px 0;
}

nav li.dropdown-open .dropdown {
    display: block;
}

/* --- Content & Footer --- */
p {
    margin-bottom: 20px;
    font-size: 18px;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid #FE8057;
    text-align: center;
}

footer p {
    font-size: 16px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    nav .site-title {
        font-size: 16px;
        order: 2;
    }
    nav .logo {
        order: 1;
    }
    .mobile-menu-toggle {
        order: 3;
    }
}
