:root {
--bg-dark: #121212; /* Nero profondo */
--accent-pink: #f8d7f1; /* Rosa pastello/lavanda */
--text-white: #ffffff;
--red:#9b1b1d 
}


body {
background-color: var(--bg-dark);
color: var(--text-white);
font-family: 'Inter', sans-serif;
margin: 0;
overflow: hidden; /* Mantiene il look da poster */
}


.hero-container {
height: 100vh;
width: 100%;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 40px;
}



/* Navigazione superiore */
.nav-top {
display: flex;
justify-content: space-between;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 2px;
z-index: 10;
border-bottom: 1px solid rgba(255,255,255,0.1);
padding-bottom: 15px;
}



/* Il testo gigante "PORTFOLIO" (Layer 1 - Sfondo) */
.bg-text-massive {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Archivo Black', sans-serif;
font-size: 20vw;
color: var(--verde);
margin: 0;
z-index: 1;
letter-spacing: -0.05em;
pointer-events: none;
}



/* Scritta in corsivo (Layer 2 - Mezzo) */
.script-overlay {
    position: absolute;
    bottom: 45vh; /* Allineamento rispetto alla versione precedente */
    left: 30%;
    transform: translateX(-50%);
    font-family: 'Dancing Script', cursive;
    font-size: 10vw; /* Ridotto rispetto al tuo 20vw per evitare che copra tutto */
    color: var(--text-white);
    z-index: 2;
    opacity: 1; /* Piena opacità per massima chiarezza */
    white-space: nowrap;

    /* AGGIUNTA: Ombra morbida per profondità e contrasto */
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
    
    /* OPZIONALE: Un leggero bordo per staccare ancora di più */
    /* -webkit-text-stroke: 1px rgba(0,0,0,0.1); */
}



/* Immagine Profilo (Layer 3 - Primo piano) */
.profile-wrapper {
position: absolute;
bottom: 0;
left: 40%;
transform: translateX(-50%);
z-index: 3;
width: 90%; /* Regola in base alla tua foto */
max-width: 950px;
}



.profile-wrapper img {
width: 100%;
height: auto;
display: block;

/* Filtro BN per adattarsi al tema dark */
filter: grayscale(100%) contrast(1.1);
}



/* Citazione in basso a sinistra */
.footer-quote {
max-width: 350px;
font-size: 0.85rem;
line-height: 1.5;
color: rgba(255,255,255,0.7);
z-index: 10;
}



/* Bottone in basso a destra (ispirato alla seconda immagine) */
.btn-contact {
position: absolute;
bottom: 40px;
right: 40px;
background: transparent;
border: 1px solid var(--accent-pink);
color: var(--accent-pink);
padding: 12px 30px;
border-radius: 50px;
text-transform: uppercase;
font-size: 0.75rem;
font-weight: 700;
text-decoration: none;
transition: 0.3s;
z-index: 10;
}



.btn-contact:hover {
background: var(--accent-pink);
color: var(--bg-dark);
}



/* Responsive */
@media (max-width: 768px) {
.bg-text-massive { font-size: 25vw; }
.profile-wrapper { width: 80%; }
.nav-top { font-size: 0.6rem; }
.script-overlay { font-size: 15vw; top: 30%; }
}