/*
Theme Name: Vito Ascoli – Portfolio Professionale 2.0
Theme URI: https://www.vitoascoli.it
Author: Vito Ascoli
Description: Tema WordPress professionale e minimale per portfolio dirigenziale ICT.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: vitoascoli-portfolio
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&display=swap');

body {
  font-family: "Inter", Arial, sans-serif;
  color: #222;
  margin: 0;
  background-color: #f8f9fb;
}

/* ----- NAVBAR ----- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0a2f5a;
  padding: 12px 0;
  text-align: center;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #d3e3ff;
}

/* ----- HEADER ----- */
header {
  background-color: #0a2f5a;
  color: white;
  text-align: center;
  padding: 140px 20px 80px;
}

header p {
    /* Roboto Slab per l'autorevolezza del motto */
    font-family: 'Roboto Slab', serif; 
    font-weight: 700; /* Molto marcato */
    font-size: 1.4em; /* Leggermente più grande */
    color: #ffffff; /* Assicuriamo il contrasto */
    margin-top: -10px;
    margin-bottom: 20px;
}

header h1 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

header h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  font-weight: 300;
}

/* ----- CONTENT ----- */
section {
  padding: 10px 20px;
  max-width: 900px;
  margin: 0 auto;
}

h3 {
  color: #0a2f5a;
  border-bottom: 2px solid #0a2f5a;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

a.button {
  display:inline-block;
  margin-top:20px;
  background:#ffffff;
  color:#0a2f5a;
  padding:10px 20px;
  border-radius:4px;
  text-decoration:none;
  font-weight:600;
}

a.button:hover {
  background:#d3e3ff;
}

/* ----- FOOTER ----- */
footer {
  text-align: center;
  padding: 40px;
  font-size: 0.9em;
  color: #666;
}

@media (max-width: 768px) {
  header div {
    flex-direction: column;
    text-align: center;
  }
  header img {
    margin-top: 20px;
  }
}

/* ----- FADE-IN ANIMATION ----- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

footer img {
  transition: transform 0.3s ease;
}
footer img:hover {
  transform: scale(1.05);
}
@media (max-width: 600px) {
  footer {
    padding: 30px 10px;
  }
  footer p {
    font-size: 13px;
  }
}

