/* 
   Secondo Minisito Mario Pitò - CSS Principale
   Focus: Visione Strategica
   Design: Minimalista con scorrimento orizzontale
*/

:root {
  --primary-color: #1a5f7a;    /* Verde smeraldo */
  --secondary-color: #e6b31e;  /* Oro/Ambra */
  --light-color: #f5f5f5;      /* Grigio chiaro */
  --dark-color: #2c3e50;       /* Grigio antracite */
  --font-title: 'Playfair Display', serif;
  --font-text: 'Raleway', sans-serif;
  --transition-speed: 0.5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-text);
  color: var(--dark-color);
  background-color: var(--light-color);
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

section {
  min-width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  position: relative;
}

/* Header e Navigazione */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color var(--transition-speed);
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed);
}

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

nav ul li a:hover:after {
  width: 100%;
}

/* Sezione Intro/Hero */
.intro {
  background-color: var(--dark-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.intro h1 {
  font-family: var(--font-title);
  font-size: 4rem;
  margin-bottom: 20px;
  position: relative;
}

.intro h1:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

.intro h2 {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.intro-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
  z-index: 3;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(5px);
  }
}

/* Sezione La Visione */
.vision {
  background-color: var(--light-color);
  position: relative;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote {
  font-family: var(--font-title);
  font-size: 2rem;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  padding: 0 40px;
}

.quote:before, .quote:after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.3;
  position: absolute;
}

.quote:before {
  top: -20px;
  left: 0;
}

.quote:after {
  bottom: -40px;
  right: 0;
}

.vision p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Sezione Approccio Strategico */
.strategy {
  background-color: white;
}

.strategy-content {
  width: 100%;
}

.strategy-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  text-align: center;
}

.pillars {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pillar {
  width: 22%;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: var(--light-color);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.pillar:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Sezione Impatto nel Settore */
.impact {
  background-color: var(--primary-color);
  color: white;
}

.impact-content {
  max-width: 800px;
}

.impact-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
}

.impact-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

.impact p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
}

.impact-link {
  display: inline-block;
  margin-top: 30px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

.impact-link:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: height var(--transition-speed);
}

.impact-link:hover:after {
  height: 4px;
}

/* Sezione Contatti */
.contact {
  background-color: var(--light-color);
}

.contact-content {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  width: 40%;
}

.contact-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  margin-right: 15px;
  text-decoration: none;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.contact-form {
  width: 55%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: white;
  border-radius: 5px;
  font-family: var(--font-text);
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(44, 62, 80, 0.9);
  color: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-links li {
  margin-left: 20px;
}

.footer-links li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition-speed);
}

.footer-links li a:hover {
  opacity: 1;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
  }
  
  section {
    min-width: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    padding: 100px 5%;
  }
  
  header {
    padding: 15px 20px;
  }
  
  nav ul li {
    margin-left: 15px;
  }
  
  .intro-image {
    width: 100%;
    height: 100%;
    opacity: 0.3;
  }
  
  .intro-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .intro h1:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scroll-indicator {
    flex-direction: column;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(10px);
    }
    60% {
      transform: translateY(5px);
    }
  }
  
  .pillars {
    flex-direction: column;
  }
  
  .pillar {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
  
  footer {
    flex-direction: column;
    padding: 15px;
  }
  
  .footer-links {
    margin-top: 10px;
  }
  
  .footer-links li {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .intro h1 {
    font-size: 3rem;
  }
  
  .intro h2 {
    font-size: 1.2rem;
  }
  
  .quote {
    font-size: 1.5rem;
    padding: 0 20px;
  }
  
  .strategy-title, .impact-title, .contact-title {
    font-size: 2rem;
  }
}

/* Schema.org markup styles */
.schema-org {
  display: none;
}
