
/* ================= GENERALE ================= */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

/* ================= HEADER ================= */
header {
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  margin: 0;
  font-size: 38px;
}

header p {
  opacity: 0.7;
}

/* ================= NAVIGAZIONE ================= */
nav {
  text-align: center;
  padding: 10px;
  background: rgba(255,255,255,0.05);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #60a5fa;
}

/* ================= NAVBAR + DROPDOWN ================= */
.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: rgba(255,255,255,0.05);
  padding: 10px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* DROPDOWN PRINCIPALE */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(15, 23, 42, 0.95);
  min-width: 220px;
  border-radius: 10px;
  padding: 10px;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* SUB DROPDOWN */
.sub-dropdown {
  position: relative;
}

.sub-dropdown > a {
  display: block;
  padding: 8px;
}

.sub-content {
  display: none;
  margin-left: 15px;
}

.sub-dropdown:hover .sub-content {
  display: block;
}

.sub-content a {
  display: block;
  padding: 5px;
  color: #cbd5e1;
}

.sub-content a:hover {
  color: #60a5fa;
}

/* ================= SEZIONI GENERALI ================= */
.section {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

h2 {
  color: #60a5fa;
  margin-bottom: 20px;
}

/* ================= CV ================= */
.cv-section {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #60a5fa;
}

/* griglia CV */
.cv-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* responsive CV */
@media (max-width: 768px) {
  .cv-container {
    grid-template-columns: 1fr;
  }
}

/* ================= GIORNATE STAGE ================= */
.day-section {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* header giorno */
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-header h3 {
  color: #60a5fa;
  margin: 0;
}

/* tag */
.tag {
  background: #3b82f6;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
}

/* short */
.short {
  font-weight: bold;
  margin: 10px 0;
  opacity: 0.9;
}

/* content */
.content p {
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 10px;
}
.week {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.week summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 25px;
    background: rgba(255,255,255,0.08);
    color: #60a5fa;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    transition: 0.3s;
}

.week summary:hover {
    background: rgba(96,165,250,0.15);
}

.week[open] summary {
    margin-bottom: 15px;
}

.week summary::-webkit-details-marker {
    display: none;
}

.day-section {
    margin-bottom: 15px;
}

/* ================= CARD (UNICA PER TUTTO) ================= */
.card {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2,
.card h3 {
  margin-top: 0;
  color: #93c5fd;
}

/* LISTE */
ul {
  padding-left: 20px;
  line-height: 1.6;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  opacity: 0.6;
  margin-top: 40px;
}