@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/ethnocentric/Ethnocentric-Italic.woff2') format('woff2'),
         url('../fonts/ethnocentric/Ethnocentric-Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.logo {
    font-family: 'Ethnocentric', sans-serif;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

.btn-primary {
    background-color: #dc2626; /* Tailwind bg-red-600 */
    color: #ffffff;            /* Tailwind text-white */
    padding-top: 0.75rem;      /* py-3 */
    padding-bottom: 0.75rem;
    padding-left: 1.5rem;      /* px-6 */
    padding-right: 1.5rem;
    border-radius: 0.5rem;     /* rounded-lg */
    font-size: 1.125rem;       /* text-lg */
    font-weight: 600;          /* font-semibold */
    transition: all 0.2s ease-in-out; /* transition-all */
}

.btn-primary:hover {
    background-color: #b91c1c; /* Tailwind hover:bg-red-700 */
}

.btn-secondary {
    background-color: #1f2937; /* Tailwind bg-gray-800 */
    color: #ffffff;            /* text-white */
    padding-top: 0.5rem;       /* py-2 */
    padding-bottom: 0.5rem;
    padding-left: 1rem;        /* px-4 */
    padding-right: 1rem;
    border-radius: 0.5rem;     /* rounded-lg */
    font-size: 1.125rem;       /* text-lg */
    font-weight: 600;          /* font-semibold */
    transition: all 0.2s ease-in-out; /* transition-all */
}

.btn-secondary:hover {
    background-color: #111827; /* Tailwind hover:bg-gray-900 */
}

.card {
    background-color: rgba(255, 255, 255, 0.4); /* bg-white/40 */
    border-radius: 0.5rem;                      /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    overflow: hidden;                           /* overflow-hidden */
    backdrop-filter: blur(12px);                /* backdrop-blur-md */
    -webkit-backdrop-filter: blur(12px);        /* Safari support */
}

.card-auto {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: white;
}
.singola {
    text-align: center;
}
.card-auto img {
    width: 100%;
    max-width: 600px; /* Limita la larghezza massima */
    height: auto;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-auto h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444; /* rosso tailwind */
    margin-bottom: 0.25rem;
}

.card-auto .descrizione {
    font-style: italic;
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.card-auto ul {
    font-size: 0.875rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.btn-dettagli {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    background-color: #dc2626; /* Rosso */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.375rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
}

.btn-dettagli:hover {
    background-color: #b91c1c; /* Rosso scuro */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.content {
    max-width: 800px;
    margin: 120px auto 40px; /* spazio per header fisso */
    padding: 0 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb; /* tailwind gray-200 */
    padding-bottom: 0.5rem;
    color: #111827; /* gray-900 */
}

.content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1f2937; /* gray-800 */
}

.content p {
    margin-bottom: 1rem;
    color: #374151; /* gray-700 */
}

.content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    color: #374151;
}

.content a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
}

.content a:hover {
    color: #1d4ed8; /* blue-700 */
}

footer a[href*="privacy-policy.html"] {
    color: #2563eb; /* Tailwind blue-600 */
    text-decoration: underline;
}

footer a[href*="privacy-policy.html"]:hover {
    color: #1d4ed8; /* Tailwind blue-700 */
}

@media (max-width: 768px) {
    #mobile-menu nav a {
        display: block;
        padding: 0.5rem 0;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 1rem;
    }
}
