:root {
    color-scheme: light;
    --primary: #8B5CF6; 
    --bg-dark: #0b0b12; 
    --accent: #f472b6 !important; 
    --secondary: #2d1b4e; 
    --text-light: #f3f4f6;

    /* Font */
  --font-main: 'Inter', sans-serif;
  --font-code: 'Nunito Sans', monospace;
}

h1, h2, h3, .HOMMY {
font-family: var(--font-code, var(--font-main, monospace));
    font-weight: 800; /* Per un titolo impattante */
}

button, input, select, textarea {
    font-family: var(--font-main);
}

/* Il corpo del testo usa Lato */
body, .lead, p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

/* La tua label sopra il titolo principale */
.uppercase-label {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.no-wrap {
  white-space: nowrap;
}



body {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Blocca lo scroll laterale cattivo */
    width: 100%;
      max-width: 100vw;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem); /* Dimensione dinamica: piccola su mobile, grande su desktop */
    line-height: 1.2;
    white-space: normal; /* FONDAMENTALE: deve poter andare a capo! */
    word-wrap: break-word;
    margin-bottom: 20px;
    color: var(--secondary);
}

/* Stile globale per i titoli H2 */
h2 {
font-size: clamp(1.8rem, 6vw, 2.4rem) !important;  line-height: 1.2;
  margin-bottom: 25px; /* Spazio sotto il titolo */
}

h3 {
  font-size: 1.5rem; /* Circa 24px */
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Stile globale per i paragrafi */
p {
  font-size: 1.3rem;
  line-height: 1.7;    
}

.help h1 {
  color: var(--secondary);font-family: var(--font-code);}




  
.my-nav {
  width: 100%;
    max-width: 100vw; /* Non oltrepassare lo schermo */
    padding: 0 5%;
    box-sizing: border-box;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100px;
    z-index: 9999;
    background: var(--bg-dark);
    -webkit-backdrop-filter: blur(12px); /* Per Safari e iOS */
    backdrop-filter: blur(12px);
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo img { height: 50px; width: auto; transition: transform 0.3s; }
.nav-links { display: flex; list-style: none; gap: 30px; margin: 0; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 1.1rem; }

/* BURGER MENU - Nascosto su Desktop */
.my-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around; /* Meglio di between per le barre */
    width: 30px;
    height: 24px; 
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.my-bar {
 width: 100%;
    height: 3px;
    background-color: var(--text-light) !important;
    display: block; /* Essenziale */
    transition: 0.3s;
}



/* --- 2. NAV LINKS & HOVER EFFETTI --- */
.nav-links a { 
    text-decoration: none; 
    color: var(--text-light); 
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease; /* Transizione fluida */
    position: relative;
}

/* Hover: il testo diventa rosa */
.nav-links a:hover {
    color: var(--accent);
}

/* Link Selezionato (Stato Attivo): Gradiente tra Primary e Accent */
.nav-links a.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark) !important; /* Testo bianco sopra il gradiente */
    font-weight: 700;
    box-shadow: 0 4px 15px var(--secondary);
}

/* Opzionale: Sottolineatura animata per l'hover (molto pro) */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 70%;
}

/* Se il link è attivo, non mostrare la sottolineatura */
.nav-links a.active::after {
    display: none;
}






.sect1 {
    padding-top: 100px; /* Esattamente l'altezza della tua .my-nav */
}









/* Applica la stessa leggibilità dei paragrafi alla lista dei dettagli del progetto */
.sect2 .list-unstyled li {
    font-size: 1.3rem;
    line-height: 1.7;
}
















.sfondo-progetto-kbbbeauty {
    background-color: var(--bg-dark); 
    background-image: url('../img/sfondi/kbbbeautysfondopaolagrillo.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    
    /* MODIFICA DA PRO: Usa le vh o un'altezza minima più alta */
    min-height: 80vh; /* Significa: occupa il 60% dell'altezza di QUALSIASI schermo */
}











.btn-global {
    text-decoration: none !important; /* Toglie la sottolineatura blu dei link */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
width: 100%;
}


.btn-custom-wide:focus-visible {
    outline-offset: 4px; /* Crea il distacco necessario per non fondersi col nero */
    box-shadow: 0 0 15px var(--text-light); /* Alone luminoso per visibilità extra */
}

.btn-custom-wide {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* Dimensioni */
    min-width: 180px; 
    padding: 14px 28px;
    margin: 0 5px;
    
    /* Estetica Base */
    background-color: var(--bg-dark);
    /* Se non hai un'immagine o gradiente, commentalo o rimuovilo */
    /* background-image: none; */ 

    border: 2px solid var(--text-light);
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    z-index: 1;
    
    /* Transizione fluida */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}


/* L'onda di colore che esplode dal centro usando i tuoi colori */
.btn-custom-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
    
    /* Invece di partire da un punto, lo teniamo pronto ma invisibile */
    transform: scaleX(0); 
    transform-origin: left; /* L'onda partirà da sinistra verso destra */
    opacity: 0;
    z-index: -1;
    
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Riflesso che attraversa */
.btn-custom-wide::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
    z-index: 0;
    transition: all 0.6s ease;
}

/* STATO HOVER */
.btn-custom-wide:hover {
    transform: scale(1.05) translateY(-3px);
    border-color: var(--accent); /* Il bordo diventa Rosa */
    color: var(--text-light) !important;
}

.btn-custom-wide:hover::before {
    transform: scaleX(1); 
    opacity: 1;
}

.btn-custom-wide:hover::after {
    left: 150%;
}





.sect2 {
        background: linear-gradient(135deg, var(--bg-dark), var(--secondary));
        color: var(--text-light);
    
}



i, strong {
        background: linear-gradient(135deg, var(--primary), var(--accent));
-webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    text-decoration: bold;
}





.six {
    background-color: #0b0b12;
    color: var(--text-light);
}










.rettangolo-font {
    /* Usiamo le stesse dimensioni dei tuoi quadrati colore */
    width: 150px;
    height: 150px;
    border-radius: 15px;
    border: 1px solid var(--bg-dark);
    
    /* Centriamo la lettera "Aa" perfettamente */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Stile della lettera */
    font-size: 3rem;
    color: var(--text-light);
    background-color: var(--bg-dark); /* Un tocco di grigio appena accennato */
}







.rettangolo {

    border:1px solid var(--bg-dark);
    width: 150px;
    height: 150px;
    border-radius: 15px;
}


.color {
background-color: var(--text-light);
color: var(--bg-dark);
    border:1px solid var(--text-light);

}




/* TESTI DA MODIFICARE */






/* kbbbeauty */
.color-1 {
        background-color: #D49393;
}
.color-2 {
        background-color: #4A3F3F;
}
.color-3 {
        background-color: #FFF9F9;
}
.color-4 {
        background-color: #A67C52;
}



.fontino-title-1 {
font-family: Playfair Display, serif;

}

.fontino-testo-1 {
font-family: Montserrat, sans-serif;
}


/* il pugno gentile */


.sfondo-ilpugnogentile {
    background-image: url('../img/sfondi/ilpugnogentilesfondopaolagrillo.webp'); 
    }

.color-1I {
        background-color: #bc0000;
}
.color-2I {
        background-color: #121212;
}
.color-3I {
        background-color: #FFF9fff9;
}



.fontino-title-1I {
    font-family: 'Oswald', sans-serif;

}

.fontino-testo-1I {
    font-family: 'Roboto', sans-serif;
}





















/* ==========================================
   STILE NAV DI FILTRO (Copiato e Ripulito)
   ========================================== */
.filter-nav {
    display: flex;
    flex-wrap: wrap;           /* FONDAMENTALE: permette ai bottoni di andare a capo */
    justify-content: center;   /* Li tiene centrati */
    gap: 10px;                 /* Spazio uniforme tra i bottoni */
    margin: 30px auto 40px auto;
    padding: 10px 20px;
    max-width: fit-content;    /* Racchiude i bottoni a pennello */
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1); /* Leggero sfondo trasparente per attivare il blur */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Stile dei bottoni singoli */
.filter-nav button {
    background: transparent;
    border: 1px solid #6f42c1; /* Colore del bordo (puoi cambiarlo con il tuo colore principale) */
    color: #6f42c1;            /* Colore del testo */
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Stato Attivo e Hover (Effetto Neon) */
.filter-nav button.active, 
.filter-nav button:hover {
    background: #6f42c1;       /* Il bottone si colora completamente */
    color: #ffffff;            /* Il testo diventa bianco */
    box-shadow: 0 0 15px rgba(111, 66, 193, 0.6); /* Spettacolare effetto bagliore neon */
}

/* ==========================================
   CORNICE MOCKUP VIDEO (Dimensione fissa)
   ========================================== */
.mockup-frame {
    width: 100%;
    max-width: 800px; 
    margin: 0 auto;
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
}

.mockup-frame video {
    width: 100%;
    display: block;
    height: auto;
}



















.attenzione {
        background: linear-gradient(135deg, var(--bg-dark), var(--secondary));
        color: var(--text-light);
        border-radius: 15px;
}

.attenzione p {
    font-size: 1rem;
      line-height: 1.7;    
}


























/* ==========================================
   CTA PERSONALIZZATA PORTFOLIO PAOLA GRILLO
   ========================================== */
.cta-paola {
    background-color: var(--bg-dark);
    /* Sfrutta la linea superiore sfumata che hai usato anche nel footer */
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent) 1;
    position: relative;
    z-index: 1;
}

/* La label sopra il titolo principale */
.cta-label-paola {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Titolo coordinato con la tua gerarchia */
.cta-title-paola {
    font-family: var(--font-code, var(--font-main, monospace)) !important;
    font-weight: 800 !important;
    color: var(--text-light) !important;
    font-size: clamp(2rem, 5vw, 2.8rem) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--text-light) !important;
}

/* Descrizione che riprende lo stile dei tuoi paragrafi del footer */
.cta-desc-paola {
    font-family: 'Lato', sans-serif !important;
    font-size: 1.2rem !important;
    line-height: 1.7;
    color: #b0b0b0 !important; /* Grigio pulito che non stanca l'occhio */
    max-width: 750px;
}

/* Bottone secondario "Vedi altri progetti" svuotato */
.btn-portfolio-outline {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px; 
    padding: 14px 28px;
    background-color: transparent;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    color: var(--text-light) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Hover per il secondo bottone */
.btn-portfolio-outline:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.15); /* Bagliore rosa accennato */
}

/* Ottimizzazione per Mobile */
@media (max-width: 576px) {
    .cta-paola .btn-custom-wide,
    .btn-portfolio-outline {
        width: 100% !important;
        margin: 5px 0;
    }
}





















/*FOOTER */
footer {
    background-color: var(--bg-dark);
    /* Linea superiore sfumata (come la navbar opzione 3) */
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent) 1;
    
    padding: 60px 5% 30px 5%;
    color: var(--text-light);
    font-family: var(--font-main);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}



.footer-section h3 {
    font-family: var(--font-code);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.95rem;
opacity: 1;
    color: #b0b0b0;
        line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
opacity: 1;
}

.footer-links a:hover {
    opacity: 1;
background: linear-gradient(to right, var(--primary), var(--accent));
/* 2. Fondamentale: ritaglia il gradiente sulla forma delle lettere */
  -webkit-background-clip: text;
  background-clip: text;

  /* 3. Fondamentale: rende trasparente il colore del testo per mostrare il gradiente sotto */
  color: transparent;

  transform: translateY(-1px);

  display: inline-block;
    padding-left: 5px; /* Piccolo movimento fluido */
}

/* Sezione Bottom per Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--secondary);
    font-size: 0.85rem;
    font-family: var(--font-code);
}

.footer-bottom span {
    color: var(--accent);
}

.hero-description {
  font-family: var(--font-main);
  font-size: 1.25rem; /* Leggermente più grande del testo normale */
  line-height: 1.6;
  color: var(--text-light);
  max-width: 800px;
}

.highlight-primary {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-code); /* Dà un tocco tecnico ai servizi */
  transition: text-shadow 0.3s ease;
}

.highlight-accent {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-code);
  transition: text-shadow 0.3s ease;
}

/* Effetto glow opzionale al passaggio del mouse */
.highlight-primary:hover, 
.highlight-accent:hover {
  text-shadow: 0 0 8px currentColor;
  cursor: default;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid var(--primary);
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e; /* Verde acceso */
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}


.footerpolicy {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.footerlink {
  text-decoration: none;
  color: var(--text-light);
  display: inline-block; 
  transition: color 0.3s; 
}

.footerlink:hover {
background: linear-gradient(to right, var(--primary), var(--accent));

/* 2. Fondamentale: ritaglia il gradiente sulla forma delle lettere */
  -webkit-background-clip: text;
  background-clip: text;

  /* 3. Fondamentale: rende trasparente il colore del testo per mostrare il gradiente sotto */
  color: transparent;

  /* 4. Sposta il link verso l'alto (come avevi scritto tu) */
  transform: translateY(-1px);

}


.nav-logofooter {
    display: inline-block;
    text-align: center;
}

.nav-logofooter img {
    height: 100px; 
    width: auto;
    display: block; /* Mantiene l'immagine come blocco dentro il link */
    margin: 0 auto; /* Sicurezza extra per la centratura */
    transition: transform 0.3s ease;
}

.nav-logofooter img:hover {
    transform: scale(1.1); /* Leggero zoom per interattività */
}


