body {
    background-color: #0b131e;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #070d14;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #ff4d4d;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    max-height: 50px;
}

header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
}

.slogan {
    font-style: italic;
    color: #b0b0b0;
    margin-top: 5px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #ff4d4d;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    color: #ff4d4d;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

h3, h4 {
    color: #ffffff;
    margin-top: 25px;
}

ul {
    margin-left: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #070d14;
    color: #777;
    margin-top: 40px;
    border-top: 1px solid #222;
}

.contact-form fieldset {
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.contact-form legend {
    color: #ff4d4d;
    font-weight: bold;
    padding: 0 5px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

/* ==========================================================
   NUOVI STILI PER LA PAGINA RECENSIONI A DUE COLONNE CON SCROLL
   ========================================================== */

.reviews-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.reviews-sidebar {
    flex: 1;
    min-width: 300px;
}

.reviews-main-content {
    flex: 1.2;
    min-width: 300px;
}

.reviews-scroll-area {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.reviews-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.reviews-scroll-area::-webkit-scrollbar-track {
    background: #0f0f1a;
    border-radius: 4px;
}

.reviews-scroll-area::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.reviews-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #ff4d4d;
}

.review-form-container {
    background-color: #1a1a2e;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
}

.review-form-container h3 {
    color: #ff4d4d;
    margin-top: 0;
    margin-bottom: 15px;
}

.review-form-container label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: bold;
}

.review-form-container input[type="text"], 
.review-form-container input[type="email"], 
.review-form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #0f0f1a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
}

.review-form-container button {
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
}

.review-form-container button:hover {
    background-color: #e03b3b;
}

.testimonial-card {
    background-color: #1a1a2e;
    border-left: 4px solid #ff4d4d;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.testimonial-card p {
    color: #ccc;
    font-style: italic;
    margin: 0 0 10px 0;
}

.testimonial-card span {
    display: block;
    color: #ff4d4d;
    font-weight: bold;
    font-style: normal;
}

.alert-success {
    background-color: #2e7d32;
    color: white;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}

.no-reviews {
    color: #888;
    font-style: italic;
    margin-bottom: 20px;
}

/* ==========================================================
   PULSANTE E PAGINA URGENZE (FILTRO PROFESSIONALE)
   ========================================================== */

.emergency-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid #fff;
}

.emergency-float-btn:hover {
    background-color: #e03b3b;
    transform: scale(1.05);
}

.urgency-notice-box {
    background-color: #1a1a2e;
    border: 1px solid #ff4d4d;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.urgency-notice-box h3 {
    color: #ff4d4d;
    margin-top: 0;
}

/* ==========================================================
   STILI AGGIUNTIVI PER LA PAGINA ARTICOLI (SFONDO SCURO & FILIGRANA)
   ========================================================== */

.articolo-box {
    background: #12141c !important;
    border: 1px solid #2a2e3d !important;
    border-left: 4px solid #ff4d4d !important;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.articolo-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
}

.articolo-box span {
    font-size: 0.85rem;
    color: #aaaaaa !important;
    display: block;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.articolo-box p {
    color: #d0d0d0 !important;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: pre-line;
    font-family: Arial, sans-serif;
    font-size: 14pt !important;
}

@media (max-width: 768px) {
    .reviews-layout {
        flex-direction: column;
    }
}