/* --- 1. CORE STYLES --- */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #595959;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #f4cccc26;
    padding: 12px 20px;
    font-family: Caveat, Arial, Helvetica, sans-serif;
}

.nav-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative; 
    /* Removed min-height to keep it slim */
}

ul li a {
    color: #595959;
    text-decoration: none;
}

/* --- 2. DESKTOP STYLES --- */
#menu-toggle, 
#nav-brand-mobile {
    display: none;
}

#nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 24px;
    width: 100%; 
}

#nav-main {
    font-weight: bolder;
    font-size: 32px;
}

/* --- 3. MOBILE STYLES --- */
@media (max-width: 768px) {
    #nav-main {
        display: none;
    }

    #nav-brand-mobile {
        display: block;
        font-weight: bolder;
        font-size: 32px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        margin: 0; /* Ensures no extra vertical space is created */
    }

    #menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        padding: 0; /* Slims down the button area */
    }

    #nav-list {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: white; 
        text-align: center;
        padding: 10px 0; /* Reduced padding */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    #nav-list.is-open {
        display: flex;
    }

    #nav-list li {
        padding: 10px 0;
    }
}

/* --- 4. MAIN CONTENT & FOOTER (Restored to your style) --- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

main img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #f4cccc26;
    /* Removed extra padding to keep it slim like your original */
}