/* ================= RESET BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #f6f6f6;
  color: #111;
  padding: 80px 60px 60px 60px; /* spazio in alto per menu fisso */
  line-height: 1.6;
}

/* ================= MENU FISSO ================= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu a {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #555;
}

/* ================= HEADER ================= */
.header {
  text-align: center;
  margin-bottom: 60px;
}

.header h1 {
  font-size: 56px;
  font-weight: 700;
}

.header .real-name {
  font-size: 24px;
  font-weight: 400;
  color: #555;
  margin-top: 5px;
  margin-bottom: 20px;
}

.header p {
  max-width: 700px;
  font-size: 18px;
  margin: auto;
}

/* ================= TITOLI ================= */
h2 {
  font-size: 32px;
  font-weight: 600;
  margin-top: 80px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  text-align: center;
}

/* ================= GRID LAVORI ================= */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 20px;
}

.grid img,
.grid video {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid img:hover,
.grid video:hover {
  transform: scale(1.03);
}

/* ================= PHOTO GRID ================= */
.photo-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.photo-grid .left,
.photo-grid .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 48%;
}

.photo-grid img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ================= HOW I WORK ================= */
#how, .how-text {
  text-align: center;
  max-width: 700px;
  margin: 20px auto 60px auto;
  font-size: 18px;
}

/* ================= CONTACT ================= */
#contact, h2#contact {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid #ccc;
  text-align: center;
}

a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
}

a:hover {
  opacity: 0.6;
}