/* NUOVO STILE PER STAFF.HTML */
/* Manteniamo solo le parti relative a navbar e footer */


:root {
    --primary-color: #edf2fc; /* Sfondo personalizzato */
    --secondary-color: #212529;
    --accent-color: #ff6b6b;
    --card-bg: #ffffff;
    --text-color: #333333;
}

.dark-theme {
    --primary-color: #121212;
    --secondary-color: #e0e0e0;
    --accent-color: #ff8a80;
    --card-bg: #1e1e1e;
    --text-color: #f5f5f5;
}

body {
    background: var(--primary-color)
}

/* NAVBAR (mantenuta uguale) */
#icon {
    width: 30px;
    cursor: pointer;
}

nav ul {
    flex: 1;
    text-align: right;
}

nav {
    background: var(--primary-color);
    width: 84%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nome {
    margin: 20px;
    color: var(--secondary-color);
}

.logo {
    width: 100px;
    cursor: pointer;
    border-radius: 50%;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* NUOVO STILE PER IL CONTENUTO STAFF */
.staff-page {
    background: var(--primary-color);
    min-height: 100vh;
    padding: 40px 0;
}

.staff-header {
    text-align: center;
    padding: 60px 0 40px;
}

.staff-header h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.staff-header h1 span {
    color: var(--accent-color);
}

.staff-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.staff-header p {
    color: var(--secondary-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.staff-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.staff-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    flex-shrink: 0;
}

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

.staff-card-content {
    padding: 20px;
}

.staff-role {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.staff-card iframe {
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 0;
}

.staff-info {
    margin-top: 15px;
}

.staff-name {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.staff-bio {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FOOTER (mantenuto uguale) */
.containerFooter {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.rowFooter {
    display: flex;
    background-color: #1a1a1d;
    flex-wrap: wrap;
    justify-content: flex-start;  
    gap: 30px;
}

.footer {
    background-color: #1a1a1d;
    padding: 40px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-col {
    background-color: #1a1a1d;

    flex: 1;
    min-width: 180px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    background-color: #4e73df;
    height: 2px;
    width: 40px;
}

.footer-col ul {
    background-color: #1a1a1d;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #b1b1b1;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    background-color: #1a1a1d;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d2d30;
    margin-top: 20px;
}

.footer-bottom p {
    color: #777;
    font-size: 13px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .staff-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .staff-header h1 {
        font-size: 2.5rem;
    }
    
    .staff-header p {
        font-size: 1rem;
    }
    
    .staff-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .staff-header {
        padding: 40px 0 30px;
    }
    
    .staff-header h1 {
        font-size: 2rem;
    }
    
    .staff-row {
        gap: 20px;
    }
}

/* AGGIUNGI QUESTO AL TUO CSS */
.staff-section {
    margin-bottom: 40px;
    padding: 0 20px;
}

.staff-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 2px solid #ff4321;
    padding-bottom: 5px;
    display: inline-block;
}

.staff-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.staff-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 350px;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-role {
    color: #ff4321;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.staff-card iframe {
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .staff-card {
        width: 100%;
        max-width: 400px;
    }
}