


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f4f2;
    color: #1a1a1a;
    font-family: "Source Serif Pro", serif;
    line-height: 1.75;
}



/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* altezza fissa: la barra NON cresce più */
    padding: 0 32px; /* niente padding verticale */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid #e2e2de;
    z-index: 1000;
}


/* LOGO (immagine + testo) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: 1.5px;
    color: #000;
	display: inline-block !important;
    white-space: nowrap !important; /* Questo impedisce fisicamente di andare a capo */
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
}

.w-black {
    color: #000000;
}

.l-orange {
    color: #E67E22; /* Questo è l'arancione vivo. Se preferisci un arancione più "Saturno", puoi provare #E67E22 */
}

/* NAVIGAZIONE DESKTOP */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
	text-transform: uppercase; /* Trasforma tutto in MAIUSCOLO */
    text-decoration: none;
    color: #1a1a1a;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    transition: opacity .2s;
}

.nav a:hover {
    opacity: 0.6;
}

/* Questo cambierà colore al link della pagina in cui ti trovi */
.nav a.active {
    color: #E67E22; 
    font-weight: bold;
    
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #1a1a1a;
}

/* Se vuoi che l'icona del menu richiami il tuo brand */
.hamburger-icon {
    color: #1a1a1a; /* Colore standard */
    transition: color 0.3s ease;
}

.hamburger-icon:hover {
    color: #FF8C00; /* L'arancione del tuo logo al passaggio del mouse */
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.current-lang {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
}

.current-lang img {
  width: 22px;
}

.arrow {
  font-size: 10px;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 100;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.lang-menu a img {
  width: 20px;
}

.lang-menu a:hover {
  background: #f0f0f0;
}

.lang-menu.open {
  display: block;
}


/* RESPONSIVE */
@media (max-width: 768px) {

    /* Nasconde la nav e mostra l’hamburger */
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Logo più grande sul mobile */
    .logo-img {
        height: 85px; /* prima 60px */
    }

    .logo-text {
        font-size: 32px; /* prima 20px */
        letter-spacing: 1.4px;
    }

    /* Manteniamo l’header compatto e centrato */
    .header {
		background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        height: 90px; /* stessa altezza del desktop */
        padding: 0 20px; /* niente padding verticale */
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
	
	
}

/* Contenitore esterno per dare respiro sopra e sotto */
.sezione-mappa {
    padding: 40px 20px; 
    background-color: #ffffff; /* O il colore di fondo del tuo sito */
}

/* Il box che contiene la mappa */
.mappa-box {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Ombra leggermente più marcata per far risaltare i colori */
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

/* La mappa sempre a colori */
.mappa-box iframe {
    display: block;
    width: 100%;
    /* Abbiamo rimosso il filtro grayscale */
    transition: transform 0.3s ease; /* Opzionale: un leggero zoom invece del cambio colore */
}

/* Se vuoi un piccolo effetto al passaggio del mouse (senza cambiare colori) */
.mappa-box:hover iframe {
    transform: scale(1.02); /* La mappa si ingrandisce leggermente, come se si avvicinasse */
}

/* Adattamento per schermi piccoli */
@media (max-width: 768px) {
    .mappa-box {
        margin: 0 10px;    /* Riduce i margini laterali su mobile */
    }
}

/* Assicurati che la sezione hero sia il riferimento per il posizionamento */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* O l'altezza che preferisci */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rendi l'immagine uno sfondo a tutto schermo */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fondamentale: mantiene le proporzioni ritagliando */
    object-position: center;
    z-index: 1; /* Sta alla base */
}

/* L'overlay deve stare sopra l'immagine ma sotto il testo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Esempio di oscuramento */
    z-index: 2;
}

/* Il contenuto deve stare sopra a tutto */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem; /* I font Serif sembrano più piccoli, quindi alziamo la dimensione */
    font-weight: 600;
    font-style: italic; /* Opzionale: l'italico del Cormorant è stupendo */
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-content p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem; /* Aumentiamo un po' perché i serif sono più sottili */
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}



@media (max-width: 768px) {
    .hero-image {
        background: url('../../img/cielo stellato-mobile.webp') center/cover no-repeat;
    }
}

.identita {
    text-align: center;
    padding: 60px 25px;
}

#cookie-policy,
#privacy-policy {
    padding-top: 140px; /* valore ideale per scendere sotto l’header */
}

@media (max-width: 768px) {
    #cookie-policy,
    #privacy-policy {
        padding-top: 160px;
    }
}


 




 
.identita-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 25px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(3px);
    text-align: left;
    line-height: 1.6;
}

.servizi {
    padding: 110px 25px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-family: "Inter Tight", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.servizi-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.servizio-card {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e2de;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.servizio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.servizio-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
}

.servizio-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px;
    color: white;
    text-align: center;
    z-index: 2;
}

.servizio-content h3 {
    font-family: "Inter Tight", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.servizio-content p {
    font-size: 1rem;
    opacity: 0.9;
}


/* SECTIONS */
.section {
    padding: 110px 25px;
    max-width: 900px;
    margin: auto;
}

.section h2 {
    margin-bottom: 28px;
    font-family: "Inter Tight", sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
}

/* CARDS */
.cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    padding: 28px;
    border-radius: 8px;
    flex: 1 1 calc(33% - 24px);
    min-width: 260px;
    border: 1px solid #e2e2de;
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.card h3 {
    font-family: "Inter Tight", sans-serif;
    margin-bottom: 12px;
}

/* Sezione Portfolio */
.portfolio {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.identita-title,
.servizi-title,
.portfolio-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 42px;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
	text-transform: uppercase;
}


.portfolio-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-card {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 20px;
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-card h3 {
    margin: 20px 0 10px;
}

.portfolio-card p {
    padding: 0 15px;
    font-size: 0.95rem;
    color: #555;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 230px;
        padding: 24px;
        display: none;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

.contatti {
  margin-bottom: 0;
}

.footer {
  margin-top: 0;
}

.contatti {
  background: #000;
  color: #fff;
  padding: 60px 20px;
}

.contatti-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}
  
.contatti h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.contatti a {
  color: #fff;
  text-decoration: none;
}

.contatti a:hover {
  opacity: 0.7;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.6;
  cursor: default;
}


@media (max-width: 768px) {
  .contatti-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

#cookie-banner-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 10000;
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid #007bff;
}

#cookie-banner h3 { margin-top: 0; font-size: 18px; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }

.btn-accept { background: #28a745; color: #fff; border: none; padding: 10px 15px; cursor: pointer; border-radius: 5px; }
.btn-reject { background: #f8f9fa; color: #333; border: 1px solid #ccc; padding: 10px 15px; cursor: pointer; border-radius: 5px; }
.btn-settings { background: #007bff; color: #fff; border: none; padding: 10px 15px; cursor: pointer; border-radius: 5px; }

#cookie-settings-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001; /* Sopra il banner */
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: left;
}

.setting-item { margin-bottom: 15px; padding: 10px; border-bottom: 1px solid #eee; }
.setting-item label { display: block; cursor: pointer; }
.desc { display: block; font-size: 12px; color: #666; }

.btn-save { background: #007bff; color: white; border: none; padding: 10px; width: 100%; cursor: pointer; margin-top: 10px; }
.btn-close { background: transparent; color: #666; border: none; width: 100%; cursor: pointer; margin-top: 5px; font-size: 13px; }