/* 5G National Overview Italy - Tech Report Style */

:root {
    --bg-white: #ffffff;
    --text-charcoal: #2c2c2c;
    --text-grey: #4a4a4a;
    --highlight-red: #c41e3a;
    --separator-silver: #d4d4d4;
    --light-grey: #f5f5f5;
    --dark-grey: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    line-height: 1.8;
    font-size: 16px;
}

/* Header & Navigation */
header {
    background-color: var(--dark-grey);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
}

.logo span {
    color: var(--highlight-red);
}

nav {
    flex-grow: 1;
    margin-left: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}

nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

nav a:hover,
nav a.active {
    color: var(--highlight-red);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 80vh;
}

/* Page Styling */
.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-grey);
    border-bottom: 3px solid var(--highlight-red);
    padding-bottom: 15px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--highlight-red);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--separator-silver);
    margin-top: 10px;
}

.content-block {
    background-color: var(--light-grey);
    padding: 30px;
    margin-bottom: 25px;
    border-left: 4px solid var(--highlight-red);
}

.content-block h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-charcoal);
}

.content-block p,
.content-block li {
    margin-bottom: 12px;
    color: var(--text-grey);
}

/* Lists */
ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
    color: var(--text-grey);
}

/* Infographic Blocks */
.infographic {
    background-color: var(--dark-grey);
    color: var(--bg-white);
    padding: 40px;
    margin: 40px 0;
    border-radius: 8px;
}

.infographic h3 {
    color: var(--highlight-red);
    font-size: 24px;
    margin-bottom: 20px;
}

.infographic p {
    color: #d0d0d0;
}

/* Diagrams */
.diagram-container {
    background-color: var(--light-grey);
    padding: 40px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid var(--separator-silver);
}

.diagram-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-charcoal);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--light-grey);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--separator-silver);
}

.comparison-table th {
    background-color: var(--dark-grey);
    color: var(--bg-white);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #e8e8e8;
}

/* Disclaimers */
.disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.disclaimer p {
    color: var(--text-charcoal);
    font-size: 14px;
    margin: 0;
}

.main-disclaimer {
    background-color: var(--light-grey);
    border-left: 4px solid var(--highlight-red);
    padding: 20px;
    margin: 50px 0;
}

.main-disclaimer p {
    color: var(--text-grey);
    font-size: 14px;
    font-style: italic;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--separator-silver);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--highlight-red);
    color: var(--bg-white);
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #a01832;
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--bg-white);
    padding: 50px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: var(--highlight-red);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--highlight-red);
}

.footer-bottom {
    border-top: 1px solid var(--separator-silver);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin: 20px 0 0 0;
    }
    
    nav ul {
        justify-content: center;
        gap: 15px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    main {
        padding: 40px 20px;
    }
    
    .infographic {
        padding: 25px;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
    }
    
    nav a {
        font-size: 13px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .content-block {
        padding: 20px;
    }
}