/* ------------------------------------------------------ */
/* BASE */
/* ------------------------------------------------------ */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-top: 72px;
}

/* ------------------------------------------------------ */
/* NAVBAR con sfumatura verde-acqua → blu tech */
/* ------------------------------------------------------ */
.navbar {
    background: linear-gradient(
        90deg,
        #22e8c2 0%,
        #16bfa3 30%,
        #0a7aa4 70%,
        #064a6b 100%
    ) !important;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #b9fff3 !important;
}

/* ------------------------------------------------------ */
/* DROPDOWN MENU */
/* ------------------------------------------------------ */
.dropdown-menu {
    background: rgba(10, 30, 45, 0.94) !important;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.dropdown-menu .dropdown-item {
    color: #e9fefe !important;
    padding: 10px 18px;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #b9fff3 !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* ------------------------------------------------------ */
/* HERO SECTION */
/* ------------------------------------------------------ */
.hero-section {
  min-height: 70vh;
  background: radial-gradient(
    circle at top left,
    #82ffe8 0%,
    #33dbc3 35%,
    #0072ad 85%
  );
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 50px 0;
}

/* HERO BOX */
.hero-box {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-box h1,
.hero-box h2,
.hero-box p {
  color: #e9f8ff;
}

/* ------------------------------------------------------ */
/* SERVICE CARDS */
/* ------------------------------------------------------ */
.service-card {
  background: #eaf6f0;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}

.service-card img {
  height: 60px;
  margin-bottom: 12px;
}

/* ------------------------------------------------------ */
/* FEATURE CARDS */
/* ------------------------------------------------------ */
.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}

/* ------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------ */
footer {
  background-color: #0b1724;
  padding: 40px 0;
  color: #fff;
}

footer a {
  color: #8bd9c9;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------ */
/* EXTRA */
/* ------------------------------------------------------ */
.skill-badge {
  display: inline-block;
  padding: 8px 14px;
  background: #eaf6f0;
  border-radius: 20px;
  margin: 6px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

.about-img {
  border-radius: 12px;
  box-shadow: 0 6px 26px rgba(0,0,0,0.18);
}

.progress-container {
  margin-top: 12px;
  background: #eaf6f0;
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #198754, #27ae60);
  width:0;
  border-radius:20px;
  transition: width 1.4s ease-in-out;
}

/* Soft icon animation */
@keyframes pulse {
  0% { transform:scale(1); opacity:.8; }
  50% { transform:scale(1.15); opacity:1; }
  100% { transform:scale(1); opacity:.8; }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }
}

/* ===========================================================
   🔥 RIPRISTINO WHATSAPP – VERSIONE COMPLETA FUNZIONANTE
   =========================================================== */
.whatsapp-float,
#whatsapp-chat,
.wa-widget,
.whatsapp_button {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 999999 !important;

    /* MOSTRA L’ICONA (non solo testo) */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #25D366 !important;
    color: #ffffff !important;

    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.18);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;

    opacity: 1 !important;
    visibility: visible !important;
}

.whatsapp-float:hover {
    background: #1EBE57 !important;
    transform: translateY(-1px);
}

/* Forza icona WhatsApp */
.whatsapp-float img,
#whatsapp-chat img,
.wa-widget img,
.whatsapp_button img,
.whatsapp-float svg,
#whatsapp-chat svg,
.wa-widget svg,
.whatsapp_button svg {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

/* Rimuove interferenze da altri componenti */
.whatsapp-float a {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
