.newsletter-form button:hover {
  background: white;
  color: #667eea;
}

/* About Page Styles */
.profile-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease;
}

.profile-image {
  position: relative;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.profile-content h3 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.profile-subtitle {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile-intro {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-weight: 500;
}

.profile-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Section Title */
.section-title {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

/* Timeline */
.timeline-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s ease;
}

.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -38px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  z-index: 1;
}

.timeline-content h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
}

/* Skills Section – Aree di competenza */
.skills-section {
  background: rgba(255, 255, 255, 0.95); /* bianco semitrasparente */
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease;
  width: 100%;
  box-sizing: border-box;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: rgba(245, 247, 250, 0.95); /* leggero gradiente chiaro */
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.skill-icon {
  font-size: 2rem;
}

.skill-card h4 {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.skill-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo h1 {
  font-size: 1.4rem;
  color: #667eea;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.logo p {
  font-size: 0.85rem;
  color: #666;
  font-weight: 300;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #667eea;
}

.nav a:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #667eea;
}

/* Hero Section */
.hero {
  padding: 6rem 5% 5rem;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h2 {
  font-size: 3.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: white;
  color: #667eea;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #667eea;
  color: white;
}

.btn span {
  font-size: 1.2rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: -2rem auto 3rem;
  padding: 0 5%;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.card h3 {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Services Section */
.services {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease;
}

.services h3 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-icon {
  font-size: 2rem;
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.service-text {
  flex: 1;
}

.service-text h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.service-text p {
  color: #666;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: white;
  padding: 2.5rem 5%;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.socials {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.socials a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
  text-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Hero Small (per pagine interne) */
.hero-small {
  padding: 4rem 5% 3rem;
}

.hero-small .hero-text h2 {
  font-size: 2.5rem;
}

.hero-small .hero-text p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Contact Page Styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-form-card,
.quick-contacts-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.6s ease;
}

.contact-form-card h3,
.quick-contacts-card h3 {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-intro,
.contacts-intro {
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.btn-submit span {
  font-size: 1.2rem;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.contact-icon.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-icon.email {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-icon.phone {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact-info h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Availability Info */
.availability-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem;
  border-radius: 15px;
  color: white;
}

.availability-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.availability-info p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.availability-info p:last-child {
  margin-bottom: 0;
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #667eea;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-date,
.blog-reading-time {
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-content h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.read-more .arrow {
  transition: transform 0.3s ease;
}

.read-more:hover {
  gap: 0.8rem;
}

.read-more:hover .arrow {
  transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.newsletter-content h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1;
  min-width: 300px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: white;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  padding: 0.9rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: white;
  color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .quick-contacts-card {
    padding: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-section {
    padding: 2rem;
    text-align: center;
  }

  .newsletter-content h3 {
    font-size: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    min-width: auto;
  }

  .newsletter-form button {
    width: 100%;
  }
}
