/*@import url('https://fonts.googleapis.com/css2?family=Great+Vibes:wght@400&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Crimson+Text&display=swap'); 
​



*{
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;  /* ← Spazio per header fisso se ce l'hai */
}

body {
	background: linear-gradient(90deg, #F1F1F1 0%, #F1F1F1 65%, #E0B8C8 90%, #BC84A5 100%);
	font-family: 'Crimson Text', Georgia, serif !important;
    line-height: 1.5;
    color: #403228;
    font-size: 18px;
}

h1, h2, h3, .logo {
    font-family: 'Poppins', -apple-system, sans-serif !important; /* Titoli caldi per fotografi */
    font-weight: 600;
}

h1 { font-size: 1.5rem; font-weight:bold;}
h2 { font-size: 1.3rem; font-weight:bold;}
h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }

.fotografo-card h3 {
    font-size: 1.3rem;
}

.nav-menu a {
    font-family: 'Poppins', -apple-system, sans-serif !important; /* Titoli caldi per fotografi */
    font-weight: 500;
	font-size: 15px;
}


.header {
    background: linear-gradient(90deg, #F1F1F1 0%, #F1F1F1 65%, #E0B8C8 90%, #BC84A5 100%);
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
	color: #403228;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    background-color: #9798BC;
    color: white;
}

.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.fotografi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
	margin-top: 1rem;
}

.hero-section {
    width: 100%;
	background: linear-gradient(90deg, #F1F1F1 0%, #F1F1F1 65%, #E0B8C8 90%, #BC84A5 100%);
    padding: 2rem 0;
	margin-top: 1rem;
	border:0px solid #5a6c7d;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;  /* ← ALLUNGA i figli */

}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;  /* Centra i box */
}


.hero-text-top,
.hero-text-bottom {
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    /*width: fit-content;    */
	max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
    }
}

.hero-image {
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Copre tutto mantenendo proporzioni */
    object-position: center;
    display: block;
}

.fotografi-grid {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.fotografo-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;  /* ← QUESTO È OBBLIGATORIO */
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: 200px !important;
    display: flex !important;
    padding: 0 !important;  /* ← PAD UNICO */
	transition: transform 0.3s ease;
}


.fotografo-foto {
    flex: 0 0 40% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    height: 100% !important;
}



.fotografo-foto img {
    width: 100%;
    height: 100%;  /* ← RIEMPIE il genitore */
    object-fit: cover;
    display: block;
}

.fotografo-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}


.fotografi-grid, .fotografi-grid * {
    box-sizing: border-box !important;
}

.fotografo-info {
    margin: 0 !important;
    padding: 1rem !important;  /* ← DA 1.5rem A 1rem */
    background: white;
    display: flex !important;
    flex-direction: column !important;
    /*justify-content: center !important;  /* ← CENTER */
    height: 100% !important;
    justify-content: space-between !important;  /* ← TEXT E BOTTONI SEMPRE IN FONDO */
    height: 100% !important;
    gap: 0.5rem !important;           /* ← SPAZIO UNIFORME */
}

.fotografo-nome {
    padding-top: 0.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    height: 3.2rem;        /* ← ALTEZZA FISSA 3.2rem */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;  /* ← Testo in alto */
    line-height: 1.2;
    margin-bottom: 0 !important;      /* ← ZERO margine */
    min-height: 2.4rem;         
}

.fotografo-nome small {
    font-family: 'Poppins', sans-serif;
    font-size: 0.60em;
    opacity: 1;
    display: block;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;    /* ← Spazio minimo */
    color: #2c3e50;
	font-style: italic;
	/*line-height: 1.1;*/    
    
    
    
    
    
}

.fotografo-desc {
    color: #5a6c7d;
    font-size: 1rem;               /* ← Leggermente più piccolo */
    line-height: 1.35;                /* ← Più compatto */
    margin: 0 !important;
    padding-bottom: 0.4rem !important; /* ← SPAZIO EXTRA per "pgy" */
    height: 2.8rem !important;        /* ← ALTEZZA FISSA */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;     
}

/* ALIAS Fotografi - Sotto nome/cognome */

.fotografo-link {
    align-self: flex-start;
    background: #9798BC;
    color: white;
    /*padding: 0.6rem 1.2rem;*/
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
	margin-bottom: 1rem;
    align-self: flex-start;
    margin-top: auto !important;       /* ← SEMPRE IN FONDO */
    padding: 0.5rem 1rem !important;  /* ← Un po' più piccolo */
}

/* FOTO HOMEPAGE UNIFORMI 250x190 */
.fotografi-grid .fotografo-foto {
    width: 250px !important;  /* Larghezza FISSA */
    height: 190px !important; /* Altezza FISSA */
    flex: 0 0 250px !important;
}

.fotografi-grid .fotografo-foto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;  /* Ritaglia mantenendo proporzioni */
    object-position: center !important;
}

/* Card si adatta alla foto fissa */
.fotografi-grid .fotografo-card {
    height: 190px !important;  /* Stessa altezza foto */
}

/* Responsive: foto più piccole su mobile */
@media (max-width: 768px) {
    .fotografi-grid .fotografo-foto {
        width: 200px !important;
        height: 152px !important; /* 200/250 * 190 = 152px */
    }
}

/* SERVICES HERO */

.services-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet: 2 colonne */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 colonna */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.service-desc {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* SERVICE HERO CAROUSEL */

.services-hero {
    width: 100%;
	background: linear-gradient(90deg, #F1F1F1 0%, #F1F1F1 65%, #E0B8C8 90%, #BC84A5 100%);
    padding: 4rem 0;
    margin-top: 2rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.services-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-carousel {	
	display: flex;
    align-items: center;
    gap: 2rem;  /* ← Più spazio uniforme */
    justify-content: center;  /* ← CENTRA tutto */
}

.carousel-track {
    flex: 1;
    overflow: hidden;
	border-radius: 5px;
    display: flex;         /* ← AGGIUNGI */
	/*width: calc(180px * 4 + 1rem * 3);*/
    /*max-width: 100%;*/
    /*max-width: 870px;  /* ← LIMITA a 4 bullet esatti */
    padding: 0rem 1rem 1rem 1rem;	
}

.services-grid {
    display: flex;  /* ← FLEX invece di GRID */
    gap: 0.75rem;  /* ← 12px gap */
    /*width: calc(212px * 8 + 1rem * 7);*/
    height: 240px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform: translateX(0);  /* ← Posizione iniziale */
}

.service-bullet {
    background: white;
	border-radius: 5px;
    flex: 0 0 212px;  /* ← 220px ULTRA-COMPATTI */
    padding: 2rem 1rem;  /* ← Padding ridotto */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
	box-shadow: 0 8px 8px rgba(0,0,0,0.1);
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.carousel-arrow svg {
    /*color: #3498db;*/
	color: #497BA7;
}

.carousel-prev svg {
    transform: rotate(180deg);
}

.carousel-next {
    margin-left: auto;
	flex-shrink: 0;
}

.carousel-prev {
    flex-shrink: 0;
}

/* Animazioni slide */
.services-grid.slide-1 { transform: translateX(0); }
.services-grid.slide-2 { transform: translateX(calc(-280px - 1.5rem)); }
.services-grid.slide-3 { transform: translateX(calc(-280px - 1.5rem) * 2); }


/*******************/
/* FOTOGRAFI FISSI */
/*******************/

.fotografi-fissi {
    width: 100%;
	background: linear-gradient(90deg, #F1F1F1 0%, #F1F1F1 65%, #E0B8C8 90%, #BC84A5 100%);
    padding: 4rem 0;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fotografi-fissi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

.fotografi-fissi-grid {
    display: flex;
    gap: 0.75rem;  /* Spazio tra bullet come il tuo carousel */
    justify-content: center;
	padding-top:2rem;
}

.service-bullet-fisso {
    background: white;
	border-radius: 5px;
    flex: 1 1 0;  /* ← MAGIC: grow=1 (riempi), shrink=1 (adatta), basis=0 → 5 parti uguali! */
    height: 240px;  /* Altezza fissa uniforme */
    display: flex;
    flex-direction: row;  /* Foto sinistra, testi destra */
    padding: 1.5rem;
    box-shadow: 0 8px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
	min-width: 180px;  /* ← Minimo per non collassare su mobile */
}

.service-bullet-fisso:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.bullet-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bullet-info p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Responsive: Stack su mobile */

@media (max-width: 768px) {
    .fotografi-fissi-grid {
        flex-direction: column;
        align-items: center;
    }
    .service-bullet-fisso {
        flex: 0 0 auto;
        max-width: 320px;  /* ← Limite mobile */
    }
}

/**********/
/* FOOTER */
/**********/

.main-footer {
    background: #497BA7;
    color: #F1F1F1;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-section h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #F1F1F1;
    margin: 0 0 1rem 0;
}

.footer-section p {
    font-family: -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.2rem;
}

.footer-menu a {
    color: #F1F1F1;
    text-decoration: none;
    font-family: -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #A8D5E2;
    padding-left: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.8rem;
    }
}


/**************/
/* LOGIN PAGE */
/**************/

/* LOGIN HERO MODERNO */

.login-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    position: relative;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero-bg.jpg') center/cover; /* Opzionale foto hero */
    opacity: 0.1;
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Glassmorphism */
    border-radius: 20px;
    padding: 0.5rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.login-title {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.login-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.login-form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: #9798BC;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231,76,60,0.3);
}

.register-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.register-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* MESSAGGI LOGIN */
.login-error {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #e74c3c;
    font-weight: 500;
}

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

.login-success-text {
    font-size: 1.3rem;
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 2rem;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .login-hero {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}


/*********************/
/* VETRINA FOTOGRAFI */
/*********************/

/* PAGINA VETRINA FOTOGRAFO */
.fotografo-header {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.fotografo-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: center;
}

.fotografo-profilo-foto img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.fotografo-info-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fotografo-nome-grande {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.fotografo-descrizione {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* SERVIZI 3x2 GRID */
.fotografo-servizi {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.servizi-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.riga-servizi {
    display: contents;
}

.servizio-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servizio-box:hover {
    background: linear-gradient(135deg, #9798BC, #E0B8C8);
    color: white;
    transform: translateY(-5px);
    border-color: #9798BC;
}

.servizio-box.vuoto {
    background: #f1f3f4;
    border-style: dashed;
}

/* CONTATTI */
.fotografo-contatti {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}


.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contatto-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #9798BC;
}

.contatto-item.social a {
    color: #497BA7;
    text-decoration: none;
}

.contatto-item.social a:hover {
    text-decoration: underline;
}

/* GALLERY MASONRY */
.fotografo-gallery {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 150px;
    grid-gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .fotografo-header-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .fotografo-nome-grande {
        font-size: 2rem;
    }
    
    .servizi-grid-3x2 {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 120px;
    }
}


/*********************/
/* VETRINA FOTOGRAFI */
/*********************/

/* ===== VETRINA FOTOGRAFO ===== */
.vetrina-main {
    padding-top: 4rem !important;  /* ← SPAZIO SOPRA (era 2rem) */
    padding-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.fotografo-header {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
}

.fotografo-header-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.fotografo-profilo-foto img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.fotografo-nome-grande {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;         /* ← Più spazio sotto */
    line-height: 1.1;
    display: flex;              /* ← Flex per allineamento */
    flex-direction: column;     /* ← Verticale */
    align-items: flex-start;    /* ← Allineato a sinistra */
}

.fotografo-alias {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;          /* ← Più grande, leggibile */
    color: #666;
    opacity: 0.9;
    font-weight: 500;           /* ← Semi-grasso */
    margin-top: 0.5rem;         /* ← Spazio sopra nome */
    padding: 0.6rem 1.2rem;     /* ← Padding elegante */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 5px;
    border: 1px solid #e9ecef;
    display: inline-block;
    transition: all 0.3s ease;
}

.fotografo-alias:hover {
    background: linear-gradient(135deg, #9798BC, #E0B8C8);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(151,152,188,0.3);
}


.fotografo-descrizione {
    font-size: 1.2rem;
    color: #5a6c7d;
    line-height: 1.8;
    max-width: 650px;
}

.fotografo-contatti-vetrina {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0 0 3rem 0;
    text-align: center;
    font-weight: 600;
}

.servizi-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.servizio-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.servizio-box:hover {
    background: linear-gradient(135deg, #9798BC, #E0B8C8);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(151,152,188,0.4);
}
.contatti-grid {
    display: flex !important;           /* ← UNA RIGA */
    flex-wrap: wrap;                   /* ← WRAP su mobile */
    gap: 1rem;                         /* ← SPAZIO MINIMO */
    align-items: center;               /* ← ALLINEA VERTICALE */
    justify-content: center;           /* ← CENTRA */
    font-size: 0.95rem;                /* ← PIÙ PICCOLO */
}

.contatto-item {
    padding: 0.8rem 1.2rem !important;  /* ← COMPATTO */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 3px solid #9798BC;
    white-space: nowrap;               /* ← NO WRAP */
    font-size: 1.1rem !important;      /* ← TESTO PICCOLO */
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;                    /* ← NO COMPRESSIONE */
}

.contatto-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151,152,188,0.3);
}

.contatto-item strong {
    color: #2c3e50;
    font-size: 0.85rem;                /* ← ICONA PICCOLA */
    display: inline;                   /* ← STESSA RIGA */
    margin-right: 0.3rem;
}

.contatto-item a {
    color: #497BA7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

/* 📱 MOBILE - WRAP 2 COLONNE */
@media (max-width: 768px) {
    .contatti-grid {
        flex-direction: column;        /* ← COLONNA su mobile */
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contatto-item {
        width: 100%;                   /* ← PIENA LARGHEZZA */
        text-align: center;
        padding: 1rem;
    }
}


/* ===== PAGINA FOTOGRAFI ===== */
.fotografi-main {
    /*padding-top: 2rem;*/
    padding-bottom: 2rem;
}

.fotografi-hero {
    text-align: center;
    padding: 2rem 2rem;
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    /*border-radius: 20px;*/
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
	
    font-size: 3.5rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.hero-subtitle {
	
    font-size: 1.3rem;
    color: #5a6c7d;
    margin: 0;
    font-weight: 400;
}

.paginazione {
    max-width: 1000px !important; /* ← UGUALE ai filtri */
    margin: 4rem auto !important;
    padding: 0 2rem !important;
    text-align: center !important;
}

.paginazione-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    justify-content: center !important;
    width: 100% !important;
}

.paginazione-numeri {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.paginazione-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.paginazione-num:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.paginazione-num.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.paginazione-dots {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 500;
    padding: 0 0.75rem;
}

.paginazione-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3b82f6;
    border-radius: 50px;
    background: #fff;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.paginazione-btn:hover:not(.disabled) {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.paginazione-btn.disabled {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.paginazione-info {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.fotografi-start {
    scroll-margin-top: 100px; /* Spazio dall'alto per header fisso */
    height: 0;
    margin: 0;
    padding: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .paginazione-nav {
        gap: 0.75rem;
    }
    
    .paginazione-num {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .paginazione-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}


.filtri-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    max-width: 1200px !important; /* ← come hero */
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto !important;
    padding: 2rem !important;
}

.filtri-container-servizi {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 3rem auto 3rem auto !important; /* ← TOP + BOTTOM */
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto !important;
}



.filtri-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 2rem;
    align-items: start; /* ✅ CAMBIATO: allineamento in alto */
    align-content: start; /* ✅ NUOVO: evita stretching */
    max-width: 1000px !important; /* ← come hero-container */
    margin: 0 auto !important;
}

.filtri-location,
.filtri-servizi, 
.filtri-ordine,
.filtri-reset {
    display: flex;
    flex-direction: column; /* ✅ FIGLI allineati verticalmente */
}

.filtri-location h3,
.filtri-servizi h3,
.filtri-ordine h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.filtri-location-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filtro-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 16px;
    transition: all 0.3s;
    min-height: 50px; /* ✅ ALTEZZA FISSA */
    align-self: flex-start; /* ✅ NO STRETCH */
}

.filtro-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    outline: none;
}

.btn-reset {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start; /* ✅ ALLINEATO IN ALTO */
    white-space: nowrap;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

@media (max-width: 1024px) {
    .filtri-form { 
        grid-template-columns: 1fr 1fr; 
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .filtri-form { 
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .filtri-container { 
        padding: 1.5rem; 
    }
    .filtro-select { 
        min-height: 45px; 
    }
}

.paginazione-dots {
    padding: 0.8rem 1rem;
    color: #999;
    font-weight: 500;
}

/* ===== HEADER DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border: 1px solid #e1e8ed;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Social Icons */
.social-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-instagram {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    text-decoration: none;
}

.nav-private {
    font-weight: 600;
    color: #667eea;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        padding-left: 20px;
    }
    
    .social-nav {
        flex-direction: column;
        gap: 5px;
    }
}

/* ===== RICHIESTA REGISTRAZIONE ===== */

.error-msg {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 8px;
    text-align: center;
}

/* GRID 50/50 */

.registrazione-text h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.benefit-icon {
    position: absolute;
    left: 0;
    top: 0.1rem;
}

/* FORM */

.registrazione-form {
    background: rgba(255,255,255,0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.registrazione-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.form-title {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.registrazione-form-fields .form-group {
    margin-bottom: 1.5rem;
}

.registrazione-form-fields label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.registrazione-form-fields input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.registrazione-form-fields input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
    outline: none;
}

.registrazione-form-fields .btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.registrazione-form-fields .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

/* ===== CONFERMA INVIO MAIL (FIISSATA) ===== */

.hero-title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin: 0 0 1.5rem 0 !important;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem !important;
    margin: 0 0 2.5rem 0 !important;
    opacity: 0.95 !important;
    line-height: 1.6 !important;
}

/* Mobile conferma */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    .registrazione-form {
        order: -1;
    }
}

/* Filtri più piccoli */
.filtri-container-servizi {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 4rem auto 3rem auto;
    max-width: 1200px;
    padding: 1.5rem; /* ← ridotto */
}

.filtro-select {
    font-size: 0.9rem !important; /* ← più piccolo */
    padding: 0.75rem 1rem !important; /* ← ridotto */
}

.filtri-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto; /* ← 5 colonne */
    gap: 1.5rem; /* ← ridotto */
    align-items: start;
}

.filtro-gruppo label {
    font-size: 0.85rem !important; /* ← più piccolo */
    font-weight: 600;
}

.btn-applica {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.btn-applica:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}


/* Filtri ultra-compatti */
.filtri-container-servizi {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 4rem auto 3rem auto;
    padding: 2rem;
    max-width: 1200px;
}

.filtri-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center; /* Centra tutto orizzontalmente */
}

.filtri-colonne {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px; /* Limita la larghezza per evitare stretching eccessivo */
}

.filtri-colonne-generale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px; /* Limita la larghezza per evitare stretching eccessivo */
}

.filtro-colonna {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Ridotto per compattare */
    align-items: center; /* Centra label e select nella colonna */
    text-align: center;
}

.filtro-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    line-height: 1.1; /* Compatta le label */
}

.filtro-select {
    font-size: 0.9rem; /* Leggermente più grande per uniformità */
    padding: 0.75rem;
    height: 48px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    width: 100%; /* Assicura che occupi tutta la colonna */
    box-sizing: border-box;
}

.filtri-bottoni {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding-left: 0; /* Evita padding extra */
}

.btn-applica, .btn-reset {
    padding: 1rem 1rem; /* Larghezza fissa, non si allarga */
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 120px; /* Larghezza minima fissa */
	max-width: 120px; /* Larghezza massima fissa */
	text-align: center;
    box-sizing: border-box;
    flex-shrink: 0; /* Non si restringe */
}

.btn-applica {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-applica:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-reset {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
}

.btn-reset:hover {
    transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(185, 16, 32	, 0.4);
}


/* ========== CONTATTI - LAYOUT 50/50 ISOLATO ========== */
.hero-section-contatti {
    position: relative;
}

.hero-container-contatti {
    display: flex;
    align-items: flex-start; /* ← CAMBIO: flex-start invece di center */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-content-contatti {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ← AGGIUNGI: allinea in alto */
}

.hero-form-contatti {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: flex-start; /* ← CAMBIO: flex-start invece di center */
    justify-content: center;
}

.contatti-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

.contatti-form {
    width: 100%;
}

.form-group-contatti {
    margin-bottom: 1.5rem;
}

.form-group-contatti label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.form-group-contatti input,
.registrazione-form-fields textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group-contatti input:focus,
.form-group-contatti textarea:focus {
    outline: none;
    border-color: #ef5e41;
    box-shadow: 0 0 0 3px rgba(239, 94, 65, 0.1);
}

.form-group-contatti textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit-contatti {
    background: linear-gradient(135deg, #ef5e41, #d94b34);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-submit-contatti:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 94, 65, 0.4);
}

.message-success-contatti,
.message-error-contatti {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.message-success-contatti {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error-contatti {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 🕷️ LEGAL CHECKBOX TRAP - INVISIBILE */
.legal {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.legal-label {
    position: absolute;
    left: -9999px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-container-contatti {
        flex-direction: column !important;
        gap: 3rem;
        padding: 3rem 1rem;
    }
    
    .hero-content-contatti,
    .hero-form-contatti {
        max-width: 100% !important;
        flex: none;
    }
    
    .contatti-form-container {
        padding: 2rem;
    }
    
    .hero-content-contatti h1 {
        font-size: 1.8rem;
        text-align: center;
    }
}

