/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   SFONDO GLOBALE DEL SITO - Background Pattern
   Pattern leggero ed elegante per tutte le pagine
   ============================================ */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('/assets/images/background-pattern.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.4; /* Effetto leggero ed elegante */
    pointer-events: none;
}

/* Container for the main content */
.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Headings */
.legal-container h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #343a40;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.legal-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #495057;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    color: #0d9488; /* Teal color for emphasis */
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Paragraphs */
.legal-container p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Links */
.legal-container a {
    color: #0d9488;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-container a:hover {
    color: #134e4a;
    text-decoration: underline;
}

/* Lists */
.legal-container ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-container li {
    margin-bottom: 10px;
}

/* Horizontal Rule */
.legal-container hr {
    border: 0;
    height: 1px;
    background-color: #e9ecef;
    margin: 40px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px;
        margin: 20px;
    }

    .legal-container h1 {
        font-size: 2em;
    }

    .legal-container h2 {
        font-size: 1.5em;
    }
}