/* --- ARRIÈRE-PLAN GLOBAL --- */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;

    background-image: url("../img/paddo.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- HEADER LISIBLE --- */
header {
    background: rgba(31, 61, 43, 0.55); /* vert mousse */
    color: white;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(3px);
}

/* --- NAVIGATION LATÉRALE --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 220px;

    background: rgba(31, 61, 43, 0.65);
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;

    backdrop-filter: blur(4px);
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1rem;
    margin: 0 1rem;
    background: rgba(223, 238, 227, 0.15); /* blanc-vert */
    border: 1px solid rgba(223, 238, 227, 0.35);
    border-radius: 6px;
    transition: 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.35);
}

nav a.active {
    background: rgba(255, 255, 255, 0.55);
    color: black;
}

/* --- CONTENU LISIBLE SUR PHOTO --- */
main {
    margin-left: 260px;
    margin-top: 2rem;
    margin-bottom: 2rem;

    background: rgba(223, 238, 227, 0.80); /* blanc-vert */
    padding: 2rem;
    max-width: 900px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

/* --- FOOTER --- */
footer {
    margin-left: 260px;
    text-align: center;
    padding: 1rem;
    color: #dfeee3;
    text-shadow: 1px 1px 3px #1f3d2b;
}

/* --- TABLEAU VARIETAL --- */
.varietal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(223, 238, 227, 0.85); /* blanc-vert naturel */
    backdrop-filter: blur(3px);
    border-radius: 10px;
    overflow: hidden;
}

.varietal-table th {
    background: rgba(31, 61, 43, 0.85); /* vert mousse */
    color: white;
    padding: 0.8rem;
    text-align: left;
    font-size: 1.1rem;
}

.varietal-table td {
    padding: 0.7rem;
    border-bottom: 1px solid rgba(31, 61, 43, 0.25);
}

.varietal-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.55);
}

.varietal-table tr:hover {
    background: rgba(31, 61, 43, 0.15);
    transition: 0.2s;
}