/* nudeifyIT.love - Stile CSS personalizzato per il sito italiano
   Creato: Agosto 26, 2025
   Colori ispirati alla bandiera italiana */

:root {
    /* Colori della bandiera italiana */
    --verde: #009246;      /* Verde italiano */
    --bianco: #FFFFFF;     /* Bianco */
    --rosso: #CE2B37;      /* Rosso italiano */
    --scuro: #1A1A1A;      /* Testo scuro */
    --grigio: #F0F0F0;     /* Sfondo grigio chiaro */
    --ombra: 0 5px 20px rgba(0, 0, 0, 0.1);
    --curva: 8px;          /* Arrotondamento standard */
}

/* Stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--scuro);
    background-color: var(--bianco);
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

img, svg {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--rosso);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--verde);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--verde), var(--rosso));
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Bottoni */
.bottone {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--rosso);
    color: var(--bianco);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--ombra);
}

.bottone:hover {
    background-color: var(--verde);
    color: var(--bianco);
    transform: translateY(-3px);
}

.bottone-grande {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.bottone-contorno {
    background-color: transparent;
    border: 2px solid var(--rosso);
    color: var(--rosso);
}

.bottone-contorno:hover {
    background-color: var(--rosso);
    color: var(--bianco);
}

/* Header */
.intestazione {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 100;
    box-shadow: var(--ombra);
    transition: padding 0.3s ease;
}

.intestazione.scrolled {
    padding: 10px 0;
}

.intestazione-contenuto {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--scuro);
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

/* Navigazione */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--scuro);
    font-size: 1.8rem;
    cursor: pointer;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 2.5rem;
}

.menu a {
    color: var(--scuro);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--verde), var(--rosso));
    transition: width 0.3s ease;
}

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

/* Hero Section */
.eroe {
    padding: 180px 0 100px;
    background-color: var(--grigio);
    position: relative;
    overflow: hidden;
}

.eroe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 146, 70, 0.05) 0%, rgba(0, 146, 70, 0) 50%),
        linear-gradient(225deg, rgba(206, 43, 55, 0.05) 0%, rgba(206, 43, 55, 0) 50%);
    z-index: 1;
}

.eroe-contenuto {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.eroe h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--verde), var(--rosso));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.eroe p {
    font-size: 1.2rem;
    color: var(--scuro);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Caratteristiche */
.caratteristiche {
    padding: 100px 0;
    background-color: var(--bianco);
}

.titolo-sezione {
    text-align: center;
    margin-bottom: 60px;
}

.titolo-sezione p {
    max-width: 700px;
    margin: 0 auto;
}

.griglia-caratteristiche {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.caratteristica {
    background-color: var(--bianco);
    border-radius: var(--curva);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--ombra);
    transition: transform 0.3s ease;
}

.caratteristica:hover {
    transform: translateY(-10px);
}

.icona-caratteristica {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--verde), var(--rosso));
    border-radius: 50%;
    color: var(--bianco);
}

.icona-caratteristica svg {
    width: 35px;
    height: 35px;
    fill: var(--bianco);
}

/* Come funziona */
.funzionamento {
    padding: 100px 0;
    background-color: var(--grigio);
    position: relative;
}

.funzionamento::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bianco), transparent);
    z-index: 1;
}

.passi {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.passo {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.passo:last-child {
    margin-bottom: 0;
}

.numero-passo {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde), var(--rosso));
    color: var(--bianco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-right: 30px;
    box-shadow: var(--ombra);
}

.contenuto-passo {
    flex: 1;
}

/* Testimonianze */
.testimonianze {
    padding: 100px 0;
    background-color: var(--bianco);
}

.testimonianza {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--curva);
    background-color: var(--grigio);
    box-shadow: var(--ombra);
    position: relative;
}

.testimonianza::before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Georgia', serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.1);
}

.testo-testimonianza {
    font-style: italic;
    margin-bottom: 25px;
    padding-left: 20px;
    font-size: 1.1rem;
}

.autore-testimonianza {
    display: flex;
    align-items: center;
}

.avatar-testimonianza {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde), var(--rosso));
    color: var(--bianco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
}

.info-autore h4 {
    margin-bottom: 5px;
    font-family: 'Lato', sans-serif;
}

/* Call to Action */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--verde), var(--rosso));
    color: var(--bianco);
    text-align: center;
}

.cta h2 {
    color: var(--bianco);
}

.cta h2::after {
    background: var(--bianco);
    left: 50%;
    transform: translateX(-50%);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
}

/* Footer */
.piede {
    padding: 80px 0 0;
    background-color: var(--scuro);
    color: rgba(255, 255, 255, 0.7);
}

.piede-griglia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.logo-piede {
    display: flex;
    align-items: center;
    color: var(--bianco);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.logo-piede svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.piede-info p {
    line-height: 1.8;
}

.titolo-piede {
    color: var(--bianco);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
    position: relative;
    padding-bottom: 10px;
}

.titolo-piede::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--verde), var(--rosso));
}

.links-piede {
    list-style: none;
}

.links-piede li {
    margin-bottom: 12px;
}

.links-piede a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.links-piede a:hover {
    color: var(--rosso);
    padding-left: 5px;
}

.copyright {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .eroe {
        padding: 150px 0 80px;
    }
    
    .eroe h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background-color: var(--bianco);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 99;
    }
    
    .menu.active {
        height: auto;
        padding: 20px 0;
    }
    
    .menu li {
        margin: 0;
        text-align: center;
    }
    
    .menu a {
        display: block;
        padding: 12px 0;
    }
    
    .passo {
        flex-direction: column;
        text-align: center;
    }
    
    .numero-passo {
        margin: 0 auto 20px;
    }
    
    .piede-griglia {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .titolo-piede::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-piede {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .eroe {
        padding: 140px 0 70px;
    }
    
    .eroe h1 {
        font-size: 2.25rem;
    }
    
    .eroe p {
        font-size: 1.1rem;
    }
    
    .caratteristiche, .funzionamento, .testimonianze, .cta {
        padding: 70px 0;
    }
    
    .caratteristica {
        padding: 30px 20px;
    }
}
