* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Menu nel body */
.nav-menu {
    display: flex;
    gap: 0rem;
    margin: 0.1rem 0;
    justify-content: left;
}

.nav-menu a {
    color: white;
    text-decoration: none;
	  background: #2d5a27;
    padding: 0.40rem 1rem;
    border-radius: 0px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #1a3319;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.intro-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color, #4a7c59);
}

.intro-section h2 {
    color: var(--primary-color, #2d5a27);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.intro-section p {
    margin-bottom: 1rem;
    color: #555;
}

.guide-link {
    display: inline-block;
    color: var(--primary-color, #4a7c59);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted var(--primary-color, #4a7c59);
    transition: all 0.3s ease;
}

.guide-link:hover {
    color: var(--secondary-color, #2d5a27);
    border-bottom: 1px solid var(--secondary-color, #2d5a27);
}

/* Opzionali per evidenziare operazioni critiche */
.highlight {
    background: #fff3cd;
    color: #856404;
    font-weight: 600;
}

.warning {
    background: #f8d7da;
    color: #721c24;
    font-weight: 600;
}

.month {
    margin-bottom: 30px;
}
.month h2 {
    background: #4a7c59;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #1b6e10;
    font-size: 1.3rem;
}
tr:hover {
    background-color: #f5f5f5;
}
.plant-link {
    color: #2d5a27;
    text-decoration: none;
    font-weight: bold;
}
.plant-link:hover {
    color: #4a7c59;
    text-decoration: underline;
}
.plant-sci {
    color: #2d5a27;
    text-decoration: none;
    font-weight: bold;
}
.operations {
    color: #333;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4a7c59;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2d5a27;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 124, 89, 0.4);
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 3rem;
}