:root {
    --primary-color: #2d520f;
    --secondary-color: #9ecb3b;
    --header-height: 60px;
    --nav-height: 60px;
}

/* Custom styles for Il Pioppo */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--secondary-color);
}

.prose {
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile App Layout */
.mobile-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.app-header {
    height: var(--header-height);
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    align-items: center;
}

.app-content {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-top: 1rem;
    padding-bottom: calc(var(--nav-height) + 1rem); /* Space for bottom nav */
}

.app-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: #ffffff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--primary-color);
}
