/* 🎨 PALETTE ROSSOBLU */
:root {
    --blu: #0A2463;
    --rosso: #D72638;
    --oro: #FFD700;
    --grigio: #2E2E2E;
    --bianco: #F7F7F7;
}

/* 🔁 RESET E STILI BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bianco);
    color: var(--grigio);
    line-height: 1.6;
}

/* 🚀 HEADER */
header {
    background: linear-gradient(90deg, var(--blu) 0%, var(--rosso) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-weight: 900;
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 🎯 X SPECIALE (logo calciatore) */
.x-special {
    display: inline-block;
    font-size: 1.5em;
    transform: rotate(-45deg) scale(1.2);
    color: var(--oro);
    position: relative;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.x-special::before {
    content: "⚽";
    position: absolute;
    font-size: 0.5em;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav a:hover {
    color: var(--oro);
    background: rgba(255, 255, 255, 0.1);
}

.exclusive-tag {
    background-color: var(--oro);
    color: var(--blu);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.exclusive-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 🚧 SEZIONE ALLESTIMENTO */
.construction {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(215, 38, 56, 0.9)), 
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    color: white;
    padding: 2rem;
}

.construction-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.construction-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--oro);
}

.construction-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.countdown {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--rosso), var(--oro));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* 📱 FOOTER */
footer {
    background-color: var(--grigio);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.footer-column h3 {
    color: var(--oro);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--oro);
    transform: translateY(-3px);
}

.collab-button {
    background-color: var(--rosso);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.collab-button:hover {
    background-color: var(--oro);
    color: var(--blu);
    transform: scale(1.05);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .construction-content {
        padding: 1.5rem;
    }
    
    .construction-content h1 {
        font-size: 2rem;
    }
    
    .construction-content p {
        font-size: 1.1rem;
    }

    /* 🎨 PALETTE ROSSOBLU */
:root {
    --blu: #0A2463;
    --rosso: #D72638;
    --oro: #FFD700;
    --grigio: #2E2E2E;
    --bianco: #F7F7F7;
}

/* 🔁 RESET E STILI BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bianco);
    color: var(--grigio);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 🚀 HEADER */
header {
    background: linear-gradient(90deg, var(--blu) 0%, var(--rosso) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-weight: 900;
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 🎯 X SPECIALE (logo calciatore) */
.x-special {
    display: inline-block;
    font-size: 1.5em;
    transform: rotate(-45deg) scale(1.2);
    color: var(--oro);
    position: relative;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.x-special::before {
    content: "⚽";
    position: absolute;
    font-size: 0.5em;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav a:hover {
    color: var(--oro);
    background: rgba(255, 255, 255, 0.1);
}

.exclusive-tag {
    background-color: var(--oro);
    color: var(--blu);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.exclusive-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 🚧 SEZIONE ALLESTIMENTO */
.construction {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(215, 38, 56, 0.9)), 
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    color: white;
    padding: 2rem;
}

.construction-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.construction-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--oro);
}

.construction-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.countdown {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--rosso), var(--oro));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* 📱 FOOTER */
footer {
    background-color: var(--grigio);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.footer-column h3 {
    color: var(--oro);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--oro);
    transform: translateY(-3px);
}

.collab-button {
    background-color: var(--rosso);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.collab-button:hover {
    background-color: var(--oro);
    color: var(--blu);
    transform: scale(1.05);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .construction-content {
        padding: 1.5rem;
    }
    
    .construction-content h1 {
        font-size: 2rem;
    }
    
    .construction-content p {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 🎯 ANIMAZIONI */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 🌟 HERO SECTION */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(215, 38, 56, 0.7)), 
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--rosso);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--oro);
    color: var(--blu);
}

/* 📰 NEWS GRID */
.news-section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--blu);
    font-size: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background-color: var(--blu);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--blu);
}

.news-excerpt {
    color: var(--grigio);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--rosso);
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    transition: 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 🎙️ ABOUT SECTION */
.about-section {
    background-color: var(--blu);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--rosso);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* 🎙️ ABOUT SECTION */
.about-section {
    background-color: var(--blu);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--rosso);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Miglioramenti footer */
.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    line-height: 2;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--oro);
}
.email-contact {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bianco);
}

.email-contact i {
    color: var(--oro);
}

/* Migliora i social links */
.social-links a {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--rosso);
    transform: translateY(-3px);
}

.news-title.rosso {
    color: var(--rosso) !important;
}

/* Aggiungi questa regola nella sezione "COMPONENTI REUTILIZZABILI" (dopo le variabili e i reset, prima delle sezioni specifiche) */

/* 🏟️ IMMAGINE STADIO HERO */
.stadio-hero {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-bottom: 5px solid var(--rosso);
    border-top: 5px solid var(--blu);
    filter: brightness(0.9);
}

/* ARCHIVIO */
.archive-section {
    padding: 2rem;
    background: #f5f5f5;
    margin-top: 3rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.archive-card {
    background: white;
    padding: 1rem;
    border-left: 4px solid var(--rosso);
}

.archive-title {
    font-size: 1rem;
    color: var(--grigio);
}

.archive-date {
    font-size: 0.8rem;
    color: #999;
}

/* Auto-archiviazione con JavaScript */
.news-card {
    transition: all 0.3s;
}
.news-card {
    max-height: none; /* rimuove ogni limite all'altezza */
    padding-bottom: 2rem;
}

.news-content h4 {
    font-size: 1.1rem;
    color: var(--rosso);
    margin-top: 1rem;
}

.news-card.archived {
    opacity: 0.6;
    transform: scale(0.98);
}

/* Reset e variabili */
:root {
  --primary-color: #cc0000;
  --secondary-color: #003366;
  --accent-color: #ffcc00;
  --dark-color: #222;
  --light-color: #f4f4f4;
  --text-color: #333;
  --text-light: #777;
  --white: #fff;
  --black: #000;
  --font-heading: 'Playfair Display', serif;
  --font-brand: 'Permanent Marker', cursive;
  --font-body: 'Roboto', sans-serif;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
}

/* Header */
.main-header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-ball {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  color: var(--white);
}

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

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 25px;
  position: relative;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.nav-item.exclusive .nav-link {
  color: var(--accent-color);
  font-weight: 900;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  background: url('https://raw.githubusercontent.com/MaxT68/LO-DICE-Max/main/img/lavagna-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.hero-cta:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.article-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .card-image img {
  transform: scale(1.05);
}

.card-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.card-excerpt {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.card-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rating-label {
  font-weight: 700;
  margin-right: 5px;
}

.rating-value {
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.social-share {
  display: flex;
  align-items: center;
}

.share-text {
  font-size: 0.8rem;
  margin-right: 5px;
  color: var(--text-light);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #f0f0f0;
  color: var(--text-light);
  border-radius: 50%;
  margin-left: 5px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-footer {
  text-align: center;
  margin-top: 30px;
}

.archive-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}

.archive-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* About Section */
.about-section {
  background-color: var(--white);
  padding: 60px 0;
  margin: 60px 0;
  box-shadow: var(--box-shadow);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-content {
  padding: 20px;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.text-red {
  color: var(--primary-color);
}

.about-text {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-cta {
  margin-top: 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Footer */
.main-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo .logo-ball {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.footer-logo .logo-text {
  font-size: 1.5rem;
}

.footer-slogan {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr));
  gap: 30px;
}

.links-column h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.links-list {
  list-style: none;
}

.links-list li {
  margin-bottom: 10px;
}

.links-list a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.links-list a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.links-list i {
  margin-right: 8px;
  width: 15px;
  text-align: center;
}

.social-links {
  display: flex;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-top: 50px;
  text-align: center;
}

.copyright, .credits {
  font-size: 0.9rem;
  color: #aaa;
}

.credits a {
  color: var(--accent-color);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    min-height: 300px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 15px;
  }
  
  .logo-link {
    margin-bottom: 15px;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
/* Aggiungi queste regole al tuo CSS esistente */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff; /* Sfondo bianco per l'header */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Ombra per distinguerlo dal contenuto */
}

/* Aggiungi un padding al body per compensare l'header fisso */
body {
    padding-top: 80px; /* Regola questo valore in base all'altezza del tuo header */
}

/* Per dispositivi mobile */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Menù più piccolo su mobile */
    }
    
    .main-header {
        padding: 10px 0; /* Riduci il padding su mobile */
    }
}
.main-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-header.scrolled .logo {
    font-size: 1.5rem;
}
