body, html { margin: 0; padding: 0; font-family: 'Helvetica', sans-serif; scroll-behavior: smooth; }

/* Header */
header { position: fixed; width: 100%; z-index: 1000; padding: 20px 0; background: #c2b0a8; backdrop-filter: blur(5px); }


nav {
    display: flex;
    justify-content: space-between; /* Logo a sx, Link a dx */
    align-items: center; /* Allineamento verticale perfetto */
    padding: 0 50px; /* Spazio ai lati all'interno della nav */
    max-width: 1400px; /* Opzionale: per non far allargare troppo su schermi giganti */
    margin: 0 auto; /* Centra la nav se c'è max-width */
}
nav ul {
    /* Manteniamo flex qui solo per allineare i link tra loro, non per posizionare l'ul */
    display: flex; 
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li { margin: 0 20px; }
nav ul li a { text-decoration: none; color: #000; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }


/* Styling specifico per il Logo nell'Header */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002; /* Sopra il menu mobile aperto */
}

.logo-img {
    height: 40px; /* Regola l'altezza desiderata del tuo logo */
    width: auto; /* Mantiene le proporzioni */
    transition: transform 0.3s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05); /* Piccolo effetto hover */
}




/* Hero */
.hero { height: 100vh; background-size: cover; background-position: center; position: relative; }
.hero-name { position: absolute; bottom: 50px; left: 50px; color: white; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-name h1 { font-size: 3rem; margin: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; }
.square-img { aspect-ratio: 1 / 1; background-size: cover; background-position: center; transition: transform 0.3s; }
.square-img:hover { transform: scale(0.98); opacity: 0.8; }

/* Bio Section */
.bio-section { display: flex; padding: 80px 10%; align-items: center; }
.bio-left { flex: 1; }
.bio-right { flex: 1; font-size: 1.1rem; line-height: 1.6; color: #555; }

/* Mid Banner */
.mid-banner { height: 60vh; background-size: cover; background-attachment: fixed; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.mid-banner h2 { font-size: 4rem; letter-spacing: 10px; }

/* Form */
.contact-section { padding: 80px 20%; background: #f9f9f9; text-align: center; }
form { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
input, textarea { padding: 15px; border: 1px solid #ddd; border-radius: 5px; }
button { padding: 15px; background: #000; color: #fff; border: none; cursor: pointer; text-transform: uppercase; }

/* --- Aggiornamento Footer con Logo --- */

footer {
    padding: 60px 20px; /* Più respiro al footer */
    text-align: center;
    border-top: 1px solid #eee;
    background: #fff; /* O lo sfondo che preferisci */
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px; /* Spazio tra logo e testo */
}

.footer-logo-img {
    height: 50px; /* Logo nel footer spesso è un po' più grande o diverso */
    width: auto;
    filter: grayscale(100%) opacity(0.6); /* Opzionale: logo grigio e semitrasparente per eleganza */
    transition: 0.3s;
}

.footer-logo-img:hover {
    filter: grayscale(0%) opacity(1); /* Torna a colori al passaggio del mouse */
}

.copyright {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}


/* Experience Hero */
.experience-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.experience-hero .overlay {
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Skills Section */
.skills-container { padding: 80px 10%; background: #fff; }
.section-title { margin-bottom: 50px; text-align: center; }
.section-title span { text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; color: #888; }
.section-title h2 { font-size: 2.5rem; margin-top: 10px; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.skill-card h3 { font-size: 1.2rem; margin-bottom: 10px; text-transform: uppercase; }
.skill-card p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }

/* Skill Bars */
.skill-bar { width: 100%; height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.skill-bar .fill { height: 100%; background: #000; }

/* Timeline simple style */
.timeline-section { padding: 50px 10% 100px; background: #fafafa; }
.experience-item { margin-bottom: 30px; border-left: 2px solid #000; padding-left: 20px; }
.experience-item .year { font-weight: bold; color: #888; font-size: 0.9rem; }
.experience-item h4 { margin: 5px 0; font-size: 1.3rem; }


/* Wrapper per centrare il contenuto della pagina contatti */
.contact-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    padding-top: 80px; /* Spazio per l'header fisso */
}

.contact-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

/* Colonna Immagine */
.contact-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
}

.image-overlay h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Colonna Form */
.contact-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header h1 { font-size: 2rem; margin-bottom: 10px; }
.form-header p { color: #777; margin-bottom: 30px; font-size: 0.95rem; line-height: 1.5; }

/* Styling del Form */
.styled-form .form-group { margin-bottom: 20px; }
.styled-form label { display: block; font-size: 0.8rem; text-transform: uppercase; font-weight: bold; margin-bottom: 8px; color: #333; }
.styled-form input, 
.styled-form textarea, 
.styled-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

.styled-form input:focus { border-color: #000; outline: none; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover { background: #333; }

.social-links { margin-top: 30px; font-size: 0.85rem; }
.social-links a { text-decoration: none; color: #000; font-weight: bold; }

/* --- Pagina Bio --- */
.bio-page-wrapper {
    padding-top: 80px; /* Spazio per l'header fisso */
    background: #fff;
    color: #333;
}

/* Sezione Intro */
.bio-intro {
    display: flex;
    align-items: center;
    padding: 100px 10%;
    gap: 50px;
    background: #fafafa;
}

.bio-intro-image {
    flex: 1;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bio-intro-text {
    flex: 1.2;
}

.bio-intro-text .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.bio-intro-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.bio-intro-text .lead {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
}

.bio-intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* Sezione Dettagli (Layout Alternato) */
.bio-details {
    padding: 100px 10%;
}

.bio-details-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.bio-block {
    display: flex;
    align-items: center;
    gap: 40px;
}

.bio-block.reverse {
    flex-direction: row-reverse;
}

.bio-block-text {
    flex: 1;
}

.bio-block-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-block-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.bio-block-image {
    flex: 1;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* Sezione Citazione */
.bio-quote {
    background: #000;
    color: #fff;
    padding: 100px 10%;
    text-align: center;
}

.quote-container blockquote {
    font-family: 'Georgia', serif; /* Font con grazie per la citazione */
    font-style: italic;
    font-size: 2rem;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.quote-author {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #bbb;
}


/* --- Pagina Errore 404 --- */

.error-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9; /* Sfondo leggermente diverso per staccare */
    padding-top: 80px; /* Spazio per l'header fisso */
    padding-bottom: 40px;
}

.error-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.07);
    border-radius: 4px;
    overflow: hidden;
}

/* Colonna Immagine 404 */
.error-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center; /* Centra il 404 nell'immagine */
    justify-content: center;
    color: #fff;
}

.error-image .image-overlay h2 {
    font-size: 8rem; /* Grande numero 404 */
    font-weight: 900;
    letter-spacing: -5px;
    opacity: 0.2; /* Molto trasparente sull'immagine */
    margin: 0;
}

/* Colonna Testo 404 */
.error-text-side {
    flex: 1.2;
    padding: 80px;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 450px;
}

.error-content .brand-name {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: bold;
}

.error-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.error-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Bottoni di Azione */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    border-color: #000;
}


/* --- Pagina Hub Shooting --- */
.shooting-hub-wrapper {
    padding: 120px 0 80px 0; /* Spazio per header e footer */
    background: #fff;
    color: #333;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header span {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: #888;
}
.section-header h1 {
    font-size: 3.2rem;
    margin-top: 15px;
    letter-spacing: -1px;
}

.row-title {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.row-title h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* --- Stile PROGETTI (Showcase) --- */
.projects-showcase { margin-bottom: 100px; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Griglia flessibile */
    gap: 30px;
}

.project-card {
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    display: block;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.project-cover {
    height: 550px; /* Grandi immagini editoriali */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.proj-category {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: #bbb;
}

.project-overlay h3 {
    font-size: 2.2rem;
    margin: 10px 0;
    letter-spacing: -1px;
}

.project-overlay p {
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(10px);
}

.project-card:hover .project-cover {
    transform: scale(1.03); /* Zoom delicato */
}
.project-card:hover .project-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Stile ALBUM (Griglia) --- */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Più piccole e quadrate */
    gap: 40px;
}

.album-card {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1; /* Forza l'anteprima quadrata */
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
}
.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-info h4 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}
.album-info p {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.album-card:hover .album-cover img {
    transform: scale(1.08); /* Zoom più forte al clic */
}
.album-card:hover { opacity: 0.8; }







/* --- STILE MOSAICO (ALBUM) --- */
.masonry-gallery {
    column-count: 3; /* 3 colonne su desktop */
    column-gap: 15px;
    padding: 20px;
}
.masonry-item {
    margin-bottom: 15px;
    break-inside: avoid;
}
.masonry-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s;
}

/* --- STILE PROGETTO (SPLIT) --- */
.project-container {
    display: flex;
    gap: 40px;
    padding: 100px 5%;
}
.project-visuals { flex: 1.5; }
.project-info { flex: 1; position: sticky; top: 100px; height: fit-content; }

.main-image img { width: 100%; height: 70vh; object-fit: cover; }

.thumbnails-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 10px;
}
.thumb-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
}
.thumb-item:hover { opacity: 1; }

.btn-download {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .masonry-gallery { column-count: 2; }
    .project-container { flex-direction: column; }
}

/* Responsive */
@media (max-width: 768px) {
    .project-cover { height: 400px; }
    .project-overlay h3 { font-size: 1.8rem; }
}

/* Responsive Mobile 404 */
@media (max-width: 900px) {
    .error-container {
        flex-direction: column;
        width: 95%;
    }
    .error-image {
        min-height: 350px;
    }
    .error-image .image-overlay h2 {
        font-size: 5rem;
    }
    .error-text-side {
        padding: 50px 30px;
        text-align: center;
    }
    .error-content h1 {
        font-size: 2.2rem;
    }
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}


/* --- Gestione Menu Mobile --- */

/* Nascondi il toggle su Desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}




/* Query per Mobile */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block; /* Mostra l'hamburger */
        position: absolute;
        right: 40px;
        top: 6px;
        z-index: 1001;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: -100%; /* Nascosto sopra lo schermo */
        left: 0;
        width: 100%;
		height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        text-align: center;
        transition: 0.4s;
        padding: 80px 0 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        z-index: 1000;
		opacity: 0;
		visibility: hidden;
		
    }

    .nav-list.active {
        top: 0; /* Scivola verso il basso quando attivo */
		opacity: 1;
		visibility: visible;
    }

    .nav-list li {
        margin: 20px 0;
    }

    /* Animazione Hamburger a "X" */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	
	
	nav {
        padding: 0 20px; /* Meno spazio ai lati su mobile */
    }

    .logo-img {
        height: 30px; /* Logo leggermente più piccolo su mobile */
    }
}

/* Responsive Mobile per Bio */
@media (max-width: 900px) {
    .bio-intro {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }
    .bio-intro-image {
        width: 100%;
        min-height: 400px;
    }

    .bio-block, .bio-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .bio-block-image {
        width: 100%;
        min-height: 300px;
    }
    .bio-intro-text h1 {
        font-size: 2.5rem;
    }
    .quote-container blockquote {
        font-size: 1.5rem;
    }
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .contact-container { flex-direction: column; width: 100%; }
    .contact-image { min-height: 300px; }
    .contact-form-side { padding: 40px 20px; }
}



/* Responsive per Tablet/Mobile */
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .bio-section { flex-direction: column; text-align: center; }
    .hero-name { left: 20px; }
}


/* Animation CSS */


	.preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      background-color: #c2b0a8;
    }
	
	
    .preloader .loading {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      font: 14px arial;
    }
	
	.sectionOne {display: none;}
	.sectionTwo {display: none;}
	.sectionThree {display: none;}
	.sectionFour {display: none;}
	
	
	/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


