/* ============================================
   Mion Design - Custom CSS (moderno, responsive, SEO)
   ============================================ */

/* ---- Sito 100% width ---- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
#wrapper {
  width: 100%;
  max-width: 100%;
}
.row,
.row.max_width,
.row.expanded {
  max-width: 100% !important;
  width: 100%;
}

/* ---- Globale: scroll fluido, focus accessibilità, transizioni ---- */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible {
  outline: 2px solid #e03737;
  outline-offset: 2px;
}
a, button {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
/* Touch target minimo 44px su mobile per link/button principali */
@media (max-width: 1023px) {
  .cta-phone, .btn-footer-cta, .home-cta-btn, .mobile-toggle, #menu-close {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- Preloader disattivato ---- */
.thb-preloader {
  display: none !important;
}

/* ---- Header ---- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  width: 100%;
  pointer-events: none;
  box-sizing: border-box;
  transform: translateZ(0);
}
#header > * {
  pointer-events: all;
}
.logo {
  margin-left: 20px;
  display: inline-block;
}
.logoimg,
#header .logo .logoimg {
  height: 58px;
  max-height: 58px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}
/* Logo: override specificità del tema (evita sparizioni al cambio slide) */
#header .logo .logoimg.logo_light { display: block; opacity: 1; }
#header .logo .logoimg.logo_dark { display: none; opacity: 0; }
body.logo-dark #header .logo .logoimg.logo_light { display: none; opacity: 0; }
body.logo-dark #header .logo .logoimg.logo_dark { display: block; opacity: 1; }

/* ---- Mobile Toggle / Hamburger ---- */
.mobile-toggle {
  cursor: pointer;
  width: 30px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1100;
  padding: 5px;
  flex-shrink: 0;
}
/* Hamburger 3 linee */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  border-radius: 1px;
}
/* Tutte le pagine: hamburger nero (linee con border) */
#header .mobile-toggle.hamburger-dark .hamburger-line {
  background: transparent !important;
  background-color: transparent !important;
  height: 0 !important;
  border: none !important;
  border-top: 2px solid #000 !important;
  margin: 5px 0 !important;
}
.mobile-toggle {
  flex-direction: column;
  justify-content: center;
}
/* Quando menu aperto: X bianca (sul pannello scuro) */
body.nav-open .mobile-toggle.hamburger-dark .hamburger-line {
  border-top-color: #fff !important;
}
body.nav-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
body.nav-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Navigation Menu (lateral overlay) ---- */
#navigation-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  max-width: 100%;
  height: 100%;
  background: #0f0f0f;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 80px;
  box-sizing: border-box;
}
#navigation-menu.open {
  transform: translateX(0);
}

/* Intestazione menu: logo + X, sotto il telefono */
.nav-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 20px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 15;
}
.nav-menu-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}
.nav-menu-logo {
  display: block;
}
.nav-menu-logo img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.nav-menu-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  position: relative;
  z-index: 20;
}
.nav-menu-close:hover {
  color: #e03737;
}
.nav-menu-close span {
  display: block;
}
.nav-menu-phone-header {
  margin: 12px 0 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-family: "Rajdhani", sans-serif;
}
.nav-menu-phone-header a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu-phone-header a:hover {
  color: #e03737;
}

#navigation-menu .menu-scroll-inner,
#navigation-menu #menu-scroll {
  position: absolute;
  top: 115px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.navigation-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.navigation-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navigation-menu li a {
  display: block;
  padding: 14px 30px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s, padding-left 0.2s;
}
.navigation-menu li a:hover {
  color: #e03737;
  padding-left: 40px;
}
.navigation-menu li.social-menu-item a {
  color: #888;
  font-size: 12px;
}
.navigation-menu li.social-menu-item a:hover {
  color: #3b5998;
}

/* ---- Menu overlay ---- */
.menu_overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.menu_overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---- Wrapper ---- */
#wrapper {
  min-height: 100vh;
  padding-bottom: 0;
}

/* ---- Home Swiper / Slideshow (fullscreen responsive) ---- */
.swiper-container.swiper-gallery {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.swiper-container.swiper-gallery .swiper-wrapper {
  align-items: stretch;
}
.swiper-container.swiper-gallery .swiper-slide {
  height: 100%;
  min-height: 100vh;
}
.swiper-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* Homepage: frasi/CTA al centro ma più in alto */
.home-slider-fullscreen .swiper-slide {
  align-items: center;
}
.home-slider-fullscreen .photo-caption {
  padding: 0 20px;
  margin: 0 auto;
  transform: translateY(-30%);
  text-align: center;
}
.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.photo-caption {
  position: relative;
  z-index: 10;
  padding: 40px 60px;
  color: #ffffff;
  max-width: 700px;
}
.slide-counter {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.slide-title {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
.slide-desc {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.slide-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.slide-btn:hover {
  background: #fff;
  color: #0a0a0a;
}

/* ---- Swiper Navigation Arrows: prev a sinistra, next a destra ---- */
.swiper-container.swiper-gallery .swiper-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100% !important;
  z-index: 25;
  pointer-events: none;
  padding: 0;
  transform: none;
}
/* Frecce: posizione fissa (anche se Swiper le sposta nel DOM) */
.swiper-container.swiper-gallery .swiper-button-prev,
.swiper-container.swiper-gallery .swiper-button-next {
  pointer-events: all;
  position: absolute !important;
  top: 50% !important;
  margin: 0 !important;
  width: 44px !important;
  height: 44px !important;
  transform: translateY(-50%) !important;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.swiper-container.swiper-gallery .swiper-button-prev {
  left: 24px !important;
  right: auto !important;
}
.swiper-container.swiper-gallery .swiper-button-next {
  left: auto !important;
  right: 24px !important;
  margin-left: 0 !important;
}
/* Freccia next fissata al bordo destro dello schermo (solo in homepage) */
body.home .swiper-container.swiper-gallery .swiper-button-next {
  position: fixed !important;
  right: 24px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.swiper-container.swiper-gallery .swiper-button-prev svg,
.swiper-container.swiper-gallery .swiper-button-next svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.swiper-container.swiper-gallery .swiper-button-prev:hover,
.swiper-container.swiper-gallery .swiper-button-next:hover {
  opacity: 1;
}

/* ---- Pagination ---- */
.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.3);
}

/* Home slider: no padding on slides for fullscreen */
.home-slider-fullscreen .swiper-slide {
  padding: 0;
}

/* Homepage: fullscreen senza scroll */
body.home {
  height: 100vh;
  overflow: hidden;
}
body.home #wrapper {
  padding-bottom: 0;
}

/* ---- Page padding (inner pages) ---- */
.page-padding {
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
  background: #fff;
}
.side_padding {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- Album header ---- */
.album-header {
  padding: 40px 0 50px;
}
.album-header .entry-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 20px;
}
.album-description {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.album-description h4 {
  font-size: 17px;
  color: #151515;
  margin-bottom: 12px;
}

/* ---- Masonry Grid (album photos) - compatto (per altre pagine che usano isotope) ---- */
.masonry.isotope-grid,
.album-page .masonry.isotope-grid {
  margin: 0 -4px !important;
}
.masonry.isotope-grid .item,
.album-page .masonry.isotope-grid .item {
  padding: 4px !important;
  overflow: hidden;
}
.photo-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
}
.photo-wrapper img.album-photo {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* ---- Griglia album con grandezze diverse (solo CSS Grid, no Isotope) ---- */
.album-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  grid-auto-flow: dense;
  margin: 20px 0;
}
.album-grid-dynamic .album-grid-item {
  margin: 0;
  overflow: hidden;
  min-height: 0;
}
.album-grid-dynamic .album-grid-item.span-12 { grid-column: span 12; }
.album-grid-dynamic .album-grid-item.span-8  { grid-column: span 8; }
.album-grid-dynamic .album-grid-item.span-6  { grid-column: span 6; }
.album-grid-dynamic .album-grid-item.span-4  { grid-column: span 4; }
.album-grid-dynamic .album-grid-item.span-3  { grid-column: span 3; }
.album-grid-dynamic .photo-wrapper { min-height: 200px; }
.album-grid-dynamic .photo-wrapper.h-normal { height: 220px; }
.album-grid-dynamic .photo-wrapper.h-medium { height: 260px; }
.album-grid-dynamic .photo-wrapper.h-tall { height: 300px; }
.album-grid-dynamic .photo-wrapper.h-wide { height: 180px; }
.album-grid-dynamic .photo-wrapper img.album-photo { min-height: 0; height: 100%; }
.album-grid-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; color: #555; }
@media (max-width: 1023px) {
  .album-grid-dynamic .album-grid-item.span-12,
  .album-grid-dynamic .album-grid-item.span-8,
  .album-grid-dynamic .album-grid-item.span-6,
  .album-grid-dynamic .album-grid-item.span-4,
  .album-grid-dynamic .album-grid-item.span-3 { grid-column: span 6; }
}
@media (max-width: 639px) {
  .album-grid-dynamic .album-grid-item.span-12,
  .album-grid-dynamic .album-grid-item.span-8,
  .album-grid-dynamic .album-grid-item.span-6,
  .album-grid-dynamic .album-grid-item.span-4,
  .album-grid-dynamic .album-grid-item.span-3 { grid-column: span 12; }
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-wrapper:hover .photo-overlay {
  opacity: 1;
}
.photo-wrapper:hover img.album-photo {
  transform: scale(1.05);
}
.photo-icon {
  color: #fff;
  font-size: 24px;
}
.thb-photo-link {
  display: block;
  cursor: pointer;
}

/* ---- Collection page ---- */
.collection-page .collection-header {
  padding: 40px 0 50px;
}
.collection-page .collection-header .entry-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #151515;
}
.collection-albums {
  margin: 0 -5px;
}
.collection-albums-centered {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.collection-albums-centered .collection-album-item {
  flex: 0 0 auto;
}
@media (min-width: 1024px) {
  .collection-albums-centered .columns.large-4 {
    width: 33.333%;
    max-width: 400px;
  }
}
.collection-album-item {
  padding: 5px;
  margin-bottom: 10px;
}
.album-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.album-cover {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  height: 300px;
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.album-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.3s;
}
.album-cover:hover img {
  transform: scale(1.05);
}
.album-cover:hover .album-cover-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}
.album-cover-title h3 {
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

/* ---- Page content ---- */
.page-content .entry-title.page-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #151515;
}
.entry-content {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.entry-content h4 { 
  color: #151515; 
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
}
.entry-content strong { color: #151515; }

/* ---- Privacy Policy ---- */
.privacy-policy-page .privacy-intro {
  margin: -8px 0 24px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}
.privacy-policy-page .privacy-content h4 {
  margin-top: 28px;
}
.privacy-policy-page .privacy-content p {
  margin-bottom: 14px;
}

/* ---- Pagina Chi siamo (pagina rifatta: solo classi dedicate, nero su bianco) ---- */
/* Override tema: con body.page-chi-siamo forziamo nero e centratura */
body.page-chi-siamo #wrapper .chi-siamo-page,
body.page-chi-siamo #wrapper .chi-siamo-page * {
  color: #000 !important;
}
body.page-chi-siamo #wrapper .chi-siamo-page {
  background: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.page-chi-siamo #wrapper .chi-siamo-page h1,
body.page-chi-siamo #wrapper .chi-siamo-page h2,
body.page-chi-siamo #wrapper .chi-siamo-page p {
  text-align: center !important;
}
.chi-siamo-page {
  background: #fff;
  color: #000;
  padding: 4rem 1.5rem 4rem;
  min-height: 50vh;
  text-align: center;
}
.chi-siamo-page__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.chi-siamo-page__title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.chi-siamo-page__subtitle {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000 !important;
  margin: 0 0 1.5rem;
  text-align: center;
}
.chi-siamo-page__text {
  font-size: 1rem;
  line-height: 1.65;
  color: #000 !important;
  margin: 0 auto 1rem;
  text-align: center;
}
.chi-siamo-page__img {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.chi-siamo-page__img img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

/* ---- Contact Page (colore e dinamicità) ---- */
@keyframes contactBlockIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-hero {
  text-align: center;
  margin-bottom: 44px;
  padding: 28px 24px 32px;
  background: linear-gradient(135deg, #151515 0%, #2a2a2a 100%);
  border-radius: 8px;
  color: #fff;
}
.contact-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px 0;
}
.contact-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
  margin: 0;
}
.contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  margin-bottom: 32px;
}
@media (max-width: 639px) {
  .contact-blocks { grid-template-columns: 1fr; }
}
.contact-block {
  text-align: center;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  border-left: 4px solid #151515;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
  animation: contactBlockIn 0.5s ease backwards;
}
.contact-block:nth-child(1) { animation-delay: 0.05s; }
.contact-block:nth-child(2) { animation-delay: 0.12s; }
.contact-block:nth-child(3) { animation-delay: 0.19s; }
.contact-block:nth-child(4) { animation-delay: 0.26s; }
.contact-block:nth-child(5) { animation-delay: 0.33s; }
.contact-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.contact-block--address { border-left-color: #e03737; }
.contact-block--address:hover { border-left-color: #c42e2e; }
.contact-block--phone { border-left-color: #151515; }
.contact-block--phone:hover { border-left-color: #e03737; }
.contact-block--email { border-left-color: #e03737; }
.contact-block--email:hover { border-left-color: #c42e2e; }
.contact-block--hours { border-left-color: #151515; }
.contact-block--hours:hover { border-left-color: #e03737; }
.contact-block--social { border-left-color: #3b5998; }
.contact-block--social:hover { border-left-color: #2d4373; }
.contact-block-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.contact-block:hover .contact-block-icon {
  transform: scale(1.08);
}
.contact-block--address .contact-block-icon { background: #e03737; }
.contact-block--phone .contact-block-icon { background: #151515; }
.contact-block--email .contact-block-icon { background: #e03737; }
.contact-block--hours .contact-block-icon { background: #151515; }
.contact-block--social .contact-block-icon { background: #3b5998; }
.contact-block h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 10px 0;
}
.contact-address,
.contact-link {
  color: #151515;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s;
}
.contact-address:hover,
.contact-link:hover {
  color: #e03737;
}
.contact-address {
  display: inline-block;
  text-align: center;
}
.contact-hours {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  text-align: center;
}
.contact-hours p { margin: 0 0 4px 0; }
.contact-block-social {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  border-left-width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.contact-social-divider {
  width: 60px;
  margin: 14px 0;
  border: none;
  border-top: 1px solid #ccc;
  opacity: 0.8;
}
.contact-fb,
.contact-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #151515;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  transition: color 0.2s, transform 0.2s;
}
.contact-fb:hover {
  color: #3b5998;
  transform: scale(1.02);
}
.contact-ig:hover {
  color: #e4405f;
  transform: scale(1.02);
}
.contact-fb i,
.contact-ig i { font-size: 22px; }
.contact-piva {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 0 0 40px 0;
}
.contact-piva a {
  color: #777;
  text-decoration: underline;
}
.contact-piva a:hover {
  color: #e03737;
}
.contact-map-row {
  margin-top: 10px;
}
.contact-page .map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}
.contact-page .map-container:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.contact-page .map-container iframe {
  display: block;
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
  padding: 0 0 0 40px;
}
.contact-form-wrapper h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 25px;
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 6px;
  font-family: "Rajdhani", sans-serif;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  font-family: "Anonymous Pro", serif;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: #151515;
}
.form-row textarea { resize: vertical; }
.contact-submit {
  background: #151515;
  color: #fff;
  border: 2px solid #151515;
  padding: 13px 35px;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.contact-submit:hover {
  background: #e03737;
  border-color: #e03737;
}

/* ---- Map ---- */
.map-container {
  margin-top: 40px;
  overflow: hidden;
}

/* ---- Footer (in fondo alla pagina, non fixed) ---- */
#footer {
  position: relative;
  margin-top: auto;
  background: #0a0a0a;
  color: #777;
  font-size: 13px;
  padding: 0;
}
.privacy-choice-bar {
  background: #121212;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.privacy-choice-text {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.privacy-choice-actions {
  display: flex;
  gap: 10px;
}
.privacy-choice-btn {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.privacy-choice-btn--accept {
  color: #fff;
  background: #e03737;
}
.privacy-choice-btn--accept:hover {
  color: #fff;
  background: #c42e2e;
}
.privacy-choice-btn--view {
  color: #fff;
  background: #151515;
  border-color: rgba(255,255,255,0.35);
}
.privacy-choice-btn--view:hover {
  color: #fff;
  border-color: #fff;
  background: #222;
}
.privacy-choice-btn--reject {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.35);
}
.privacy-choice-btn--reject:hover {
  color: #fff;
  border-color: #e03737;
  background: rgba(224,55,55,0.15);
}

/* Barra privacy sopra l'immagine dello slider (homepage, overlay in basso) */
body.home .home-slider-fullscreen > .home-slide-privacy-overlay.privacy-choice-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  margin: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: none;
}
body.home .home-slide-privacy-overlay .privacy-choice-text {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.95);
}
body.home .home-slide-privacy-overlay .privacy-choice-actions {
  flex-wrap: wrap;
  justify-content: center;
}
body.home .home-slide-privacy-overlay .privacy-choice-btn {
  font-size: 11px;
  padding: 7px 12px;
}
/* Pallini slider sopra la barra privacy */
body.home .home-slider-fullscreen .swiper-pagination {
  bottom: 56px;
}
body.home.privacy-choice-dismissed .home-slider-fullscreen .swiper-pagination {
  bottom: 20px;
}
.footer-cta-strip {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-cta-text {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-cta-text { width: auto; }
}
.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #e03737;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s;
}
.btn-footer-cta:hover {
  background: #c42e2e;
  color: #fff;
  transform: translateY(-2px);
}
.btn-footer-cta--phone {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-footer-cta--phone:hover {
  border-color: #e03737;
  background: rgba(224,55,55,0.15);
}
.footer-inner {
  padding: 25px 40px;
}
body.home .home-cta-strip {
  margin-bottom: 0;
}
.footer-seo {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #888;
  max-width: 420px;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.footer-menu li a {
  color: #777;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-menu li a:hover { color: #fff; }
#footer .right-side {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-icon {
  color: #777;
  font-size: 16px;
  transition: color 0.2s;
}
.social-icon:hover { color: #3b5998; }

/* ---- 404 ---- */
.not-found-page .error-404-bg {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.not-found-page .error-404-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.not-found-page .error-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 40px;
}
.not-found-page .error-img { 
  max-width: 200px; 
  margin-bottom: 20px;
  opacity: 0.8;
}
.not-found-page h1 {
  font-family: "Rajdhani", sans-serif;
  font-size: 36px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 15px;
}
.back-home {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s;
}
.back-home:hover {
  background: rgba(255,255,255,0.15);
}

/* ---- Foundation Grid (basic) ---- */
.row {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.row.expanded { max-width: 100%; }
.columns { padding: 0 15px; box-sizing: border-box; }
.small-12 { width: 100%; }
.text-center { text-align: center; }
.align-center { justify-content: center; }

@media (min-width: 640px) {
  .medium-6 { width: 50%; }
  .medium-8 { width: 66.666%; }
  .medium-10 { width: 83.333%; }
}
@media (min-width: 1024px) {
  .large-4 { width: 33.333%; }
  .large-5 { width: 41.666%; }
  .large-6 { width: 50%; }
  .large-7 { width: 58.333%; }
  .large-8 { width: 66.666%; }
  .large-12 { width: 100%; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .photo-caption { padding: 20px 25px; }
  .slide-title { font-size: 22px; }
  .side_padding { padding: 0 20px; }
  .contact-form-wrapper { padding: 30px 0 0; }
  #footer .footer-inner { padding: 20px 16px; }
  .footer-cta-strip { padding: 14px 16px; flex-direction: column; }
  #footer .right-side { justify-content: flex-start; margin-top: 15px; }
  .swiper-nav { bottom: 15px; right: 15px; }
}

/* ---- LightGallery: pulsante X in alto a destra ---- */
.lg-backdrop { background: rgba(0,0,0,0.92); }
.lg-actions .lg-close,
.lg-toolbar .lg-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 1081 !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  font-size: 28px !important;
  line-height: 44px !important;
  color: #fff !important;
  opacity: 0.9;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: opacity 0.2s;
}
.lg-actions .lg-close:hover,
.lg-toolbar .lg-close:hover {
  opacity: 1;
}
.lg-toolbar .lg-close:after {
  content: "×" !important;
  font-size: 32px !important;
  line-height: 1;
  font-family: sans-serif;
}
/* Immagini cliccabili in lightbox (tranne logo e griglia album) */
.entry-content img,
.collection-albums .album-cover img {
  cursor: pointer;
}
/* Immagini album: griglia centrata e compatta */
.masonry.isotope-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.masonry.isotope-grid .item {
  display: flex;
  justify-content: center;
}
.photo-wrapper img.album-photo {
  object-fit: cover;
}

/* ---- CTA "Chiamaci per creare il tuo desiderio da zero" ---- */
.cta-section {
  padding: 50px 0 60px;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}
.cta-section.cta-desiderio {
  text-align: center;
}
.cta-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #151515;
  text-align: center;
  margin-bottom: 20px;
}
.cta-desiderio .cta-title {
  margin-bottom: 16px;
}
.cta-phone {
  display: inline-block;
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background: #151515;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.cta-phone:hover {
  background: #e03737;
  color: #fff;
}
.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.cta-link {
  display: inline-block;
  padding: 10px 20px;
  background: #151515;
  color: #fff;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.cta-link:hover {
  background: #e03737;
  color: #fff;
}
@media (max-width: 768px) {
  .cta-links { gap: 10px; }
  .cta-link { padding: 8px 16px; font-size: 12px; }
}

/* ---- Home: CTA sotto lo slider ---- */
.home-cta-strip {
  padding: 36px 24px 42px;
  background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
  text-align: center;
}
.home-cta-strip-text {
  margin: 0 0 22px 0;
  font-size: 16px;
  color: #444;
  letter-spacing: 0.5px;
}
.home-cta-strip-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}
.home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #151515;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
}
.home-cta-btn:hover {
  background: #e03737;
  color: #fff;
  transform: translateY(-2px);
}
.home-cta-btn--outline {
  background: transparent;
  border: 2px solid #151515;
  color: #151515;
}
.home-cta-btn--outline:hover {
  border-color: #e03737;
  color: #e03737;
  background: transparent;
}
@media (max-width: 480px) {
  .home-cta-strip { padding: 28px 16px 36px; }
  .home-cta-strip-btns { flex-direction: column; }
  .home-cta-btn { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* ---- Album: CTA sotto la griglia ---- */
.album-cta-row {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}
.album-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #e03737;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
}
.album-cta-btn:hover {
  background: #c42e2e;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Collection: CTA sotto gli album ---- */
.collection-cta-row {
  text-align: center;
  margin-top: 40px;
  padding: 28px 24px;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  border-radius: 8px;
}
.collection-cta-text {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #555;
}
.collection-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #151515;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
}
.collection-cta-btn:hover {
  background: #e03737;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Pagine interne: articolo e animazione leggera ---- */
.page-inner {
  animation: pageFadeIn 0.4s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-inner { animation: none; }
}

/* ---- Collection cards: hover più dinamico ---- */
.collection-album-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.collection-album-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* (Hamburger nero: vedi regola sopra con border-top) */
