/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: sans-serif;
}

/* Overall body layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.siteheader {
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 16px;
    background-color: #444;
    color: white;
    font-size: 1.2em;
    height: 60px;
    width: 100%;
    border-bottom: 4px solid #333;
}

/* Main body area (custom tag <hoes>) */
hoes {
    display: flex;
    flex: 1; /* fills space between header and footer */
}

/* Left navigation column */
#theleftone {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 4px solid #444;
    background-color: #ddd;
    width: 3.5%;
    text-align: left;
    transition: width 0.3s ease;
    overflow: hidden;
}

/* Expanded state (added by JS on hover) */
#theleftone.expanded {
    width: 15%;
}

/* Nav list */
#theleftone ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Nav items */
#theleftone li {
    padding: 20px;
    font-size: 1.4em;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Text labels (hidden until expanded) */
.nav-label {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

#theleftone.expanded .nav-label {
    opacity: 1;
}

/* Hover effects */
#theleftone li:hover {
    color: white;
    background-color: #444;
}

/* Bottom nav link */
#bottomnav {
    margin-top: auto;
}

/* Right content area */
#therightone {
    flex: 1; /* fills remaining width */
    background-color: #fff;
    text-align: left;
    padding: 20px;
}

/* Footer */
footer {
    border-top: 4px solid #444;
    background-color: #444;
    color: #ddd;
    text-align: center;
    font-size: 0.7em;
    padding: 10px 0;
    margin-top: auto;
}


