/* =============================================
   RESET BASE
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f5;
    color: #1a1a1a;
    line-height: 1.6;
}

/* =============================================
   NAVIGAZIONE FISSA
============================================= */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 3px solid #1a1a1a;
    z-index: 100;
}

#nav-inner {
    position: relative;
    width: 960px;
    height: 56px;
    margin: 0 auto;
}

#nav-logo {
    position: absolute;
    left: 0;
    top: 0;
    height: 56px;
    line-height: 56px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    font-weight: bold;
}

#nav-links {
    position: absolute;
    right: 0;
    top: 0;
    height: 56px;
}

#nav-links ul {
    list-style: none;
    height: 56px;
    padding: 0;
}

#nav-links ul li {
    display: inline;
}

#nav-links ul li a {
    display: inline-block;
    height: 56px;
    line-height: 56px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #666;
}

#nav-links ul li a:hover {
    color: #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
}

/* =============================================
   CONTENUTO CENTRATO — usato dentro ogni sezione
============================================= */
.inner {
    width: 960px;
    margin: 0 auto;
}

/* =============================================
   ABOUT ME
============================================= */
#about {
    padding-top: 56px; /* compensa nav fissa */
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

#about .inner {
    padding: 60px 0 50px 0;
}

/* testo e scheda affiancati con position */
#hero-blocco {
    position: relative;
    height: 260px;
}

#hero-testo {
    position: absolute;
    left: 0;
    top: 0;
    width: 560px;
}

#hero-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
}

#hero-testo h1 {
    font-size: 44px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 16px;
}

#hero-testo h1 span {
    color: #777;
    font-weight: normal;
}

#hero-testo p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

#hero-scheda {
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    padding: 20px;
}

#hero-scheda h3 {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.scheda-riga {
    margin-bottom: 10px;
}

.scheda-label {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 2px;
}

.scheda-valore {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: bold;
}

/* =============================================
   SEZIONI GENERICHE
   — ogni sezione occupa tutta la larghezza
     con il suo colore di sfondo
   — il contenuto è centrato dall'inner
============================================= */
.sezione {
    border-bottom: 1px solid #ddd;
    background-color: #f7f7f5;
}

.sezione-bianca {
    background-color: #ffffff;
}

.sezione .inner {
    padding: 50px 0 40px 0;
}

/* intestazione sezione: numero + titolo + barra */
.sezione-header {
    position: relative;
    height: 44px;
    margin-bottom: 28px;
}

.sezione-numero {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    line-height: 44px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #bbb;
}

.sezione-titolo {
    position: absolute;
    left: 52px;
    top: 0;
    height: 44px;
    line-height: 44px;
    font-size: 26px;
    font-weight: bold;
    color: #1a1a1a;
}

.sezione-barra {
    position: absolute;
    right: 0;
    top: 21px;
    height: 2px;
    width: 260px;
    background-color: #1a1a1a;
}

/* =============================================
   CARD PROGETTO
============================================= */
.card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #1a1a1a;
    padding: 28px 28px 24px 28px;
    margin-bottom: 10px;
}

.card-verde  { border-top-color: #3a7a5a; }
.card-blu    { border-top-color: #3a5a7a; }
.card-grigio { border-top-color: #555; }
.card-giallo { border-top-color: #b07a10; }

.card-etichetta {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 8px;
}

.card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* =============================================
   DUE COLONNE — float
============================================= */
.due-colonne {
    overflow: hidden;
    margin-bottom: 20px;
}

.col-sx {
    float: left;
    width: 440px;
}

.col-dx {
    float: right;
    width: 440px;
}

.col-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 10px;
}

.col-sublabel {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin: 10px 0 6px 0;
}

/* =============================================
   LISTE BULLET
============================================= */
.lista-bullet {
    list-style: disc;
    padding-left: 18px;
}

.lista-bullet li {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* =============================================
   BOX RIFLESSIONE
============================================= */
.barra-sep {
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
    clear: both;
}

.box-riflessione {
    background-color: #f5f5f3;
    border-left: 3px solid #1a1a1a;
    padding: 14px 20px;
}

.box-label {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
}

.box-riflessione p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

/* =============================================
   GALLERIA TRE FOTO
============================================= */
.galleria-tre {
    overflow: hidden;
    margin-top: 24px;
}

.gf-1 {
    float: left;
    width: 300px;
    margin-right: 30px;
}

.gf-2 {
    float: left;
    width: 300px;
    margin-right: 30px;
}

.gf-3 {
    float: left;
    width: 300px;
}

.gf-1 img, .gf-2 img, .gf-3 img {
    width: 100%;
    height: auto;
}

/* =============================================
   GALLERIA DUE FOTO
============================================= */
.galleria-due {
    overflow: hidden;
    margin-top: 24px;
}

.gd-1 {
    float: left;
    width: 470px;
    margin-right: 20px;
}

.gd-2 {
    float: left;
    width: 470px;
}

.gd-1 img, .gd-2 img {
    width: 100%;
    height: auto;
}

.foto-label {
    clear: both;
    font-size: 11px;
    color: #aaa;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* =============================================
   FOOTER
============================================= */
#barra-footer {
    height: 4px;
    background-color: #1a1a1a;
    clear: both;
}

#footer {
    background-color: #1a1a1a;
    padding: 26px 0;
    text-align: center;
}

#footer p {
    font-size: 12px;
    color: #888;
    letter-spacing: 2px;
}
