/*

Theme Name: Fiart Rent

Theme URI: https://github.com/elementor/hello-theme/

Description: Tema Fairt Rent

Author: Innovah

Author URI: https:www.innovah.it

Template: hello-elementor

Version: 1.0.1

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/




A:LINK {
  position: relative;
  text-decoration: none !important;
  transition: color 0.4s ease;
}

A:LINK::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px; /* 🔽 LINEA PIÙ SOTTILE */
  background-color: #fff;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

A:hover {
  color:#fff !important;
}

A:hover::after {
  opacity: 1;
  transform: scaleX(1);
  color:#fff !important;
}


A:visited::after {
  opacity: 1;
  transform: scaleX(1);
  color:#fff !important;
}


.link-button-fr,
.link-button-fr:visited,
.link-button-fr:hover {
  text-decoration: none !important;
}



a.link-footer-gast {
  color: #FFF !important;
}

a:visited.link-footer-gast {
  color: #FFF;
}

a:hover.link-footer-gast {
  color: #FFF !important;
}


a.hover-trigger {
  color: #000 !important;
}

a:visited.hover-trigger {
  color: #000;
}

a:hover.hover-trigger {
  color: #000 !important;
}

.privacy-label {
	font-family: Montserrat, Sans Serif;
	font-size: 0.7rem;
	color: #666666;
	line-height: 0px;
}

.privacy-menu {
	font-family: Montserrat, Sans Serif;
	font-size: 0.7rem;
	color: #fff;
	line-height: 0px;
}
@media (max-width: 767px) {
.elementor-button-icon svg {
  height: 100px !important;
  width: 4em !important;
	}
}


/* Impedisce lo scroll orizzontale */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Rende le immagini responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Imposta il box-sizing per tutti gli elementi */
*, *::before, *::after {
  box-sizing: border-box;
}
/* Colore e spessore hamburger menu */
.st0 {
  fill: #FFF;
  stroke: #B3B3B3 !important;
  stroke-width: 4 !important;
  stroke-miterlimit: 10;
}
/* Rimuove la linea decorativa da tutti i bottoni Elementor */
a.elementor-button::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  transform: none !important;
}
/* Nascondi SVG di default */
a.dialog-close-button svg.eicon-close {
  display: none;
}

/* Mostra nuova X personalizzata */
.dialog-close-button::before {
  content: "×";
  font-size: 70px;
  font-weight: 100;
  color: white;
  display: inline-block;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 40px;
  z-index: 9999;
}

/* Rimuove sfondo bianco */
.dialog-close-button {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Nessuna sottolineatura su link immagine logo */
.elementor-widget-image a,
.elementor-widget-image a:visited,
.elementor-widget-image a:hover {
  text-decoration: none !important;
}

.elementor-widget-image a::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  transform: none !important;
}

.innova-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px 0;

  font-family: "Torque", sans-serif;
  font-weight: 500; /* Medium */
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.2;
  opacity:.9;
}

.innova-breadcrumb a{
  position:relative;
  color:#6e6e6e !important; /* grigio testo */
  text-decoration:none;
}

.innova-breadcrumb a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:1px;
  background:#6e6e6e; /* linea nera */
  transition:width .25s ease;
}

.innova-breadcrumb a:hover{
  color:#6e6e6e !important; /* non cambia colore */
}

.innova-breadcrumb a:hover::after{
  width:100%;
}



.flotta-button a:hover {
  color:#fff !important;
}

.flotta-button a:hover::after {
  opacity: 1;
  transform: scaleX(1);
  color:#fff !important;
}
.flotta-button a:visited {
  color:#000;
}



/* =========================================================
   FIART — MONOCHROME LUXURY GALLERY (FINAL)
   Main slider + Thumbs + Fullscreen Modal (Swiper) + Reveal
   ========================================================= */

/* ---------- Global tokens (monochrome) ---------- */
:root{
  --fiart-white: #ffffff;
  --fiart-black: #0b0b0c;
  --fiart-gray-1: rgba(255,255,255,.92);
  --fiart-gray-2: rgba(255,255,255,.72);
  --fiart-gray-3: rgba(255,255,255,.55);
  --fiart-gray-4: rgba(255,255,255,.35);

  --fiart-glass: rgba(255,255,255,.12);
  --fiart-glass-hover: rgba(255,255,255,.22);

  --fiart-shadow: 0 18px 60px rgba(0,0,0,.55);

  --fiart-radius-xl: 18px;
  --fiart-radius-lg: 14px;
  --fiart-radius-md: 12px;
}

/* ---------- Wrapper ---------- */
.fiart-gallery{ width: 100%; }

/* =========================================================
   MAIN slider
   ========================================================= */
.fiart-main{
  position: relative;
  overflow: hidden;
  background: #111; /* fallback */
  transform: translateZ(0);
}

/* Link cliccabile sopra immagine */
.fiart-main .fiart-open{
  display: block;
  width: 100%;
  height: 100%;
}

/* Immagine principale */
.fiart-main .swiper-slide img{
  width: 100%;
  height: clamp(320px, 60vh, 720px);
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transform: translateZ(0);
  filter: saturate(1.02) contrast(1.02);
}

/* Overlay leggero per contrasto controlli */
.fiart-main::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(120% 80% at 70% 0%, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 52%),
    linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 45%);
  opacity: .9;
}

/* Nav container */
.fiart-nav{
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

/* Buttons (monochrome glass) */
.fiart-prev,
.fiart-next{
  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid var(--fiart-gray-3);
  background: var(--fiart-glass);
  color: var(--fiart-white);

  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: background .25s ease, border-color .25s ease, opacity .25s ease;
  opacity: .92;

  -webkit-appearance: none;
  appearance: none;
}

.fiart-prev:hover,
.fiart-next:hover{
  background: var(--fiart-glass-hover);
  border-color: var(--fiart-gray-1);
  opacity: 1;
}

.fiart-prev:focus-visible,
.fiart-next:focus-visible{
  outline: 2px solid var(--fiart-white);
  outline-offset: 2px;
}

/* =========================================================
   THUMBS
   ========================================================= */
.fiart-thumbs{ margin-top: 14px; }

.fiart-thumbs .swiper-slide{
  height: 86px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transform: translateZ(0);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;

  filter: grayscale(1) contrast(1.05);
}

.fiart-thumbs .swiper-slide:hover{
  opacity: .85;
  transform: translateY(-1px);
}

.fiart-thumbs .swiper-slide img{
  width: 100%;
  height: 86px;
  object-fit: cover;
  display: block;
}

.fiart-thumbs .swiper-slide-thumb-active{
  opacity: 1;
  filter: grayscale(0) contrast(1.02);
  outline: 2px solid var(--fiart-white);
  outline-offset: -2px;
}

/* =========================================================
   Reveal on Scroll (FAIL-SAFE)
   ========================================================= */
.fiart-reveal{
  opacity: 1;
  transform: none;
  filter: none;
}

.fiart-js .fiart-reveal{
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity .85s ease, transform .85s ease, filter .85s ease;
  will-change: opacity, transform, filter;
}

.fiart-js .fiart-reveal.is-inview{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* =========================================================
   MODALE Fullscreen (Swiper in modale)
   ========================================================= */
.fiart-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;

  /* blocco bounce / gesture */
  overscroll-behavior: contain;
  touch-action: none;
}

.fiart-modal.is-open{ display: block; }

.fiart-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  touch-action: none;
}

/* Dialog: flex per centrare robusto (meglio di grid su iOS) */
.fiart-modal__dialog{
  position: absolute;
  inset: 24px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  touch-action: none;
}

/* Swiper modale occupa l'area e centra sempre */
.fiart-modal-swiper{
  width: 100%;
  height: 100%;
}

/* wrapper e slide a tutta altezza */
.fiart-modal-swiper .swiper-wrapper{
  height: 100%;
}

.fiart-modal-swiper .swiper-slide{
  height: 100%;
  display: flex;
  align-items: center;     /* centro verticale */
  justify-content: center; /* centro orizzontale */
}

/* Immagine in modale */
.fiart-modal-swiper img{
  display: block;
  margin: 0 auto;

  max-width: min(1320px, 92vw);
  max-height: 86vh;

  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: var(--fiart-radius-lg);
  box-shadow: var(--fiart-shadow);

  transform: translateZ(0);
}

/* Close + arrows (monochrome glass) — forzati per evitare colori tema */
.fiart-modal__close,
.fiart-modal__arrow{
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.60) !important;
  color: #fff !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: .92;
  transition: background .25s ease, border-color .25s ease, opacity .25s ease;

  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  filter: none !important;

  -webkit-appearance: none !important;
  appearance: none !important;

  z-index: 20;
  pointer-events: auto;
}

.fiart-modal__close:hover,
.fiart-modal__arrow:hover{
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.92) !important;
  opacity: 1;
}

/* Close */
.fiart-modal__close{
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Arrows (desktop) — centratura senza “salti” */
.fiart-modal__arrow{
  top: 50%;
  transform: translateY(-50%); /* non sovrascrivere con hover! */
  width: 56px;
  height: 56px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.fiart-modal__arrow--prev{ left: 14px; }
.fiart-modal__arrow--next{ right: 14px; }

.fiart-modal__close:focus-visible,
.fiart-modal__arrow:focus-visible{
  outline: 2px solid var(--fiart-white);
  outline-offset: 2px;
}

/* Anti tap highlight */
.fiart-modal-swiper,
.fiart-modal-swiper *{
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   Mobile tweaks
   ========================================================= */
@media (max-width: 768px){
  .fiart-modal__dialog{ inset: 14px; }

  .fiart-thumbs .swiper-slide,
  .fiart-thumbs .swiper-slide img{
    height: 72px;
  }

  .fiart-prev,
  .fiart-next{
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  /* MOBILE: nascondi navigazione modale */
  .fiart-modal__arrow{
    display: none !important;
  }

  /* Mobile: evita che l'immagine tocchi la X */
  .fiart-modal-swiper img{
    max-height: 78vh;
  }

  .fiart-modal__close{
    width: 44px;
    height: 44px;
    font-size: 26px;
    top: 10px;
    right: 10px;
  }
}
/* =========================================================
   FORCE MONOCHROME — MAIN NAV BUTTONS (fix colori Elementor)
   Metti in FONDO al CSS
   ========================================================= */
.fiart-gallery .fiart-nav button.fiart-prev,
.fiart-gallery .fiart-nav button.fiart-next{
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.60) !important;
  color: #fff !important;

  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;

  -webkit-appearance: none !important;
  appearance: none !important;
}

.fiart-gallery .fiart-nav button.fiart-prev:hover,
.fiart-gallery .fiart-nav button.fiart-next:hover{
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.92) !important;
  color: #fff !important;
}

.fiart-gallery .fiart-nav button.fiart-prev:focus-visible,
.fiart-gallery .fiart-nav button.fiart-next:focus-visible{
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
}

.blog-link {
  position: relative;
  text-decoration: none !important;
  transition: color 0.4s ease;
}

.blog-link A:LINK::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px; /* 🔽 LINEA PIÙ SOTTILE */
  background-color: #004E59;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.blog-link A:hover {
  color:#004E59 !important;
}

.blog-link A:hover::after {
  opacity: 1;
  transform: scaleX(1);
  color:#004E59 !important;
}


.blog-link A:visited::after {
  opacity: 1;
  transform: scaleX(1);
  color:#004E59 !important;
}


