
/* RESET GENERALE & VARIABILI COLORE */
:root {
    --primary: #0284c7;       /* Blu Tech */
    --primary-hover: #0369a1; /* Blu Scuro per hover */
    --accent: #22c55e;        /* Verde Efficienza */
    --dark-bg: #0f172a;       /* Sfondo Hero scuro */
    --light-bg: #f8fafc;      /* Sfondo sezioni chiaro */
    --text-main: #334155;     /* Testo scuro */
    --text-muted: #64748b;    /* Testo secondario */
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}



/* foto centrale pagina web*/
.slider-container {
    width: 100%;
    max-width: 950px; /* Larghezza massima dello slider */
    margin: 0 auto;
    overflow: hidden; /* Nasconde le immagini non attive */
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.slider-wrapper {
    display: flex;
    animation: scorrimento 12s infinite ease-in-out; /* Durata totale del ciclo */
    width: 300%; /* Sostituisci con (Numero di immagini * 100)% */
}

.slide {
    width: 33.333%; /* Sostituisci con (100 / Numero di immagini)% */
    height: auto;
    object-fit: cover;
}

/* Animazione per far scorrere 3 immagini */
@keyframes scorrimento {
    0% { transform: translateX(0); }
    30% { transform: translateX(0); }
    35% { transform: translateX(-33.333%); }
    65% { transform: translateX(-33.333%); }
    70% { transform: translateX(-66.666%); }
    95% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}



/* Dimensione massima della foto piccole nelle griglie e comportamento */
.card-icon .small-icon {
    width: 200px;         /* Scegli la larghezza ideale (es. 32px, 48px o 64px) */
    height: auto;        /* Mantiene le proporzioni corrette dell'immagine */
    object-fit: contain; /* Evita che l'immagine si distorca */
}

/* Opzionale: centra l'immagine all'interno del riquadro dell'icona */
.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Se vuoi dare un'altezza fissa al contenitore dell'icona: */
    height: 100px; 
}


/* Stile del Banner Cookie */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f2937; /* Grigio scuro/antracite */
    color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    z-index: 99999; /* Rimane sopra a qualsiasi altro elemento */
    display: none; /* Nascondiamo di base, gestito via JS */
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Gestione layout orizzontale su schermi grandi */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }
}

.cookie-banner-content p {
    margin: 0;
    text-align: justify;
}

.cookie-link {
    color: #3b82f6; /* Colore blu per i link */
    text-decoration: underline;
}

.cookie-link:hover {
    color: #60a5fa;
}

/* Stile del Pulsante di Accettazione */
.cookie-btn {
    background-color: #10b981; /* Verde smeraldo */
    color: white;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #059669;
}



/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
    font-weight: 550;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 550;
    margin-left: 15px;
    font-size: 1.50rem;
    transition: color 1.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

/* HERO SECTION Scuro e Tecnologico */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

/* primo logo di colore blue */
.badge {
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid var(--primary);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 1.50rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
}

/* scrittura sotto primo logo */
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* scrittura terzo stadio */
.hero p {
    font-size: 1.50rem;
    color: #94a3b8;
    margin-bottom: 40px;
    font-weight: 700;
}

/* BOTTONI */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    margin: 5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* INTESTAZIONI DELLE SEZIONI */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.50rem;
}

/* FEATURES / SICUREZZA */
.features {
    padding: 50px 0;
    background-color: var(--white);
}

.feature-highlight {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    font-size: 1.20rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* SERVIZI A SCHEDE (GRID) */
.services {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.10rem;
    color: var(--dark-bg);
}

.card p {
    color: var(--text-muted);
    font-size: 1.10rem;
    
  
}

/* SEZIONI CALL TO ACTION (CTA) */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-box {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}

.cta-box h2 {
    font-size: 1.20rem;
    margin-bottom: px;
}

.cta-box p {
    color: #cbd5e1;
    font-size: 1.0rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* FOOTER */
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid #1e293b;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

/* REQUISITI RESPONSIVE (MOBILE) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}


/* stile webapp spiegazione */
        .webapp-intro {
            max-width: 920px;
            margin: 0 auto;
            text-align: center;
        }

        .webapp-intro p {
            color: #5f6875;
            line-height: 1.85;
            font-size: 1.05rem;
            margin: 0 auto;
        }

        .webapp-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
            margin-top: 45px;
        }

        .webapp-card {
            position: relative;
            background: #fff;
            border: 1px solid rgba(20, 35, 55, .08);
            border-radius: 18px;
            padding: 28px 26px 30px;
            box-shadow: 0 10px 30px rgba(15, 30, 50, .07);
            transition: transform .25s ease, box-shadow .25s ease;
            overflow: hidden;
        }
	
	
<!--  Codice ShinyStat Modificato -->
.nascondi-logo {
    position: relative;
    width: 60px;       /* Regola la larghezza per mostrare solo l'area dei numeri */
    height: 35px;      /* Regola l'altezza per coprire le righe interessate */
    overflow: hidden;  /* Nasconde tutto ciņ che esce da questo riquadro */
}

.nascondi-logo img, 
.nascondi-logo a img {
    position: absolute;
    top: -15px;        /* Sposta l'immagine verso l'alto per nascondere il logo ShinyStat */
    left: -80px;       /* Sposta l'immagine a sinistra per nascondere i testi "Online" e "Visite tot." */
    max-width: none !important;
}




/* ===============================
   SOCIAL LINKS
   =============================== */
.social-links {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
}
.social-links h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-btn span { display: block; line-height: 1; font-weight: 700; }
.social-btn.facebook span { font-family: Arial, sans-serif; font-size: 1.35rem; }
.social-btn.instagram span { font-size: 1.55rem; }
.social-btn.linkedin span { font-family: Arial, sans-serif; font-size: 1rem; }
.social-btn.youtube span { font-size: 1rem; margin-left: 2px; }
.social-btn.whatsapp span { font-size: 1.25rem; }
.social-btn:hover,
.social-btn:focus-visible {
    transform: translateY(-5px) scale(1.05);
    background: rgba(2, 132, 199, 0.18);
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.28);
    color: #ffffff;
    outline: none;
}
.social-btn:focus-visible { box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28), 0 10px 28px rgba(2, 132, 199, 0.28); }
@media (max-width: 480px) {
    .social-buttons { gap: 10px; }
    .social-btn { width: 44px; height: 44px; }
}
