/* Personalizzazioni Daniele Borrello (navigazione, lingue, footer) */

/* Selettore lingue nell'header laterale */
.lang-switch { display: flex; justify-content: center; gap: 10px; margin: 14px 0 6px; }
.lang-switch a { display: inline-block; border-radius: 50%; line-height: 0; transition: transform .2s, opacity .2s; }
.lang-switch img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; border: 2px solid transparent; }
.lang-switch a.active img { border-color: #149ddd; }
.lang-switch a:hover { transform: scale(1.1); }
.lang-switch a.disabled { opacity: .35; cursor: not-allowed; }
.lang-switch a.disabled:hover { transform: none; }

/* Titoli dei gruppi nella sezione Competenze */
.skills .skills-group { font-size: 18px; font-weight: 700; color: #173b6c; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 2px solid #149ddd; display: inline-block; }

/* Portfolio: didascalia sotto ogni progetto */
.portfolio .portfolio-caption { display: block; padding: 12px 4px 6px; color: inherit; }
.portfolio .portfolio-caption h4 { font-size: 17px; font-weight: 700; color: #173b6c; margin: 0 0 4px; }
.portfolio .portfolio-caption p { font-size: 14px; color: #6c757d; margin: 0; }
.portfolio .portfolio-caption:hover h4 { color: #149ddd; }
.portfolio .portfolio-wrap img { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; }

/* Pagine progetto */
.portfolio-details .slide-caption { text-align: center; font-size: 14px; color: #6c757d; margin: 8px 0 0; }
.portfolio-details .portfolio-details-slider img { width: 100%; border-radius: 6px; }
.portfolio-details .project-points { list-style: none; padding: 0; }
.portfolio-details .project-points li { padding: 4px 0 4px 26px; position: relative; }
.portfolio-details .project-points i { position: absolute; left: 0; top: 5px; color: #149ddd; }
.portfolio-details .project-video iframe { border-radius: 6px; }
.portfolio-details .project-nav a { font-weight: 600; }

/* Contatti: pulsanti al posto del modulo PHP */
.contact .contact-actions { padding: 30px; background: #fff; box-shadow: 0 0 24px 0 rgba(0,0,0,.12); }
.contact .contact-actions h3 { font-size: 22px; font-weight: 700; color: #173b6c; }
.contact .btn-contact { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; background: #149ddd; color: #fff; font-weight: 600; }
.contact .btn-contact:hover { background: #37b3ed; color: #fff; }

/* Gallerie progetto: immagini alte o larghe sempre contenute */
.portfolio-details .portfolio-details-slider .swiper-slide img { max-height: 520px; object-fit: contain; background: #f5f8fd; }
