body, html {
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
    background-color: #f4f4f0; /* bianco neve */
    color: #2b2b2b;
}

/* HEADER */
header {
    text-align: center;
    padding: 10px 0;
}
.logo img {
    max-width: 150px;
    height: auto;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
}
.hero-image {
    display: block;
    width: 100%;
    height: auto;
}
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(34, 51, 34, 0.5); /* verde bosco trasparente */
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
}
.overlay h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0;
}
.overlay h2 {
    color: white;
    font-size: 1.2rem;
    margin: 5px 0 0;
}

/* WEBCAM */
.webcam-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
.iframe-container {
    position: relative;
    width: 80%;
    padding-bottom: 45%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.iframe-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: white;
    z-index: 2;
}

/* SPLIT SECTIONS */
.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 40px auto;
    max-width: 1200px;
    gap: 20px;
}
.split-section.reverse {
    flex-direction: row-reverse;
}
.split-text, .split-image {
    flex: 1 1 50%;
    padding: 20px;
}
.split-text h3 {
    color: #2e4e32;
}
.split-text ul {
    padding-left: 20px;
}
.split-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #555;
}

