/*
Theme Name: Villa gina
Theme URI: https://villagina.itc
Author: Mutart
Author URI: https://villagina.it
Description: Villa Gina custom theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: villagina
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #11695d; /* Cyan */
  --secondary-color: #fff5e4;
  --text-color: #11695d; /* Dark Gray */
  --transition: all 0.3s ease;
}

@font-face {
  font-family: "Epicene Display";
  src: url("assets/fonts/EpiceneDisplay-Medium.woff2") format("woff2"),
    url("assets/fonts/EpiceneDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Epicene Display";
  src: url("assets/fonts/EpiceneDisplay-Bold.woff2") format("woff2"),
    url("assets/fonts/EpiceneDisplay-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Epicene Display";
  src: url("assets/fonts/EpiceneDisplay-RegularItalic.woff2") format("woff2"),
    url("assets/fonts/EpiceneDisplay-RegularItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Epicene Display";
  src: url("assets/fonts/EpiceneDisplay-Regular.woff2") format("woff2"),
    url("assets/fonts/EpiceneDisplay-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Epicene Display";
  src: url("assets/fonts/EpiceneDisplay-Light.woff2") format("woff2"),
    url("assets/fonts/EpiceneDisplay-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.home {
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  font-size: 20px;

  transition: background-color 0.75s ease-in-out;

  -webkit-animation: caricamento 1.5s ease-in 1 forwards;
  -moz-animation: caricamento 1.5s ease-in 1 forwards;
  -o-animation: caricamento 1.5s ease-in 1 forwards;
  animation: caricamento 1.5s ease-in 1 forwards;
}

.bg-villa {
  background: var(--secondary-color);
}

.bg-piscina {
  background: #03d3d34f;
}

.bg-giardino {
  background: #81c4816b;
}

.bg-secondary {
  background-color: #fff5e4;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.overflow-hidden {
  overflow: hidden;
}

p {
  margin-bottom: 20px;
}

/* CONTAINER AND GRID */

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

.container-min {
  max-width: 980px;
  margin: 0 auto;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}

.gap-50 {
  gap: 50px;
}

.gap-100 {
  gap: 100px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

@media (max-width: 768px) {
  [class^="grid-"],
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 25px !important;
  }

  .intro-section:after {
    display: none;
  }

  .flex {
    flex-direction: column !important;
    gap: 20px;
  }
}

.flex--center {
  justify-content: center;
}

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

.min-grid {
  max-width: 1200px;
  margin: 40px auto 25px auto;
}

.col {
  flex: 1;
}

[class*="col-"] {
  position: relative;
  padding: 0 25px;
}

.col-20 {
  width: 20%;
}

.col-25 {
  width: 25%;
}

.col-30 {
  width: 30%;
}

.col-33 {
  width: 33.33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-70 {
  width: 70%;
}

.col-80 {
  width: 80%;
}

.col-90 {
  width: 90%;
}

.col-100 {
  width: 100%;
}

@media (max-width: 991px) {
  .tab-20 {
    width: 20%;
  }

  .tab-25 {
    width: 25%;
  }

  .tab-33 {
    width: 33.33%;
  }

  .tab-50 {
    width: 50%;
  }

  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .col-20 {
    width: 100%;
  }

  .col-25 {
    width: 100%;
  }

  .col-30 {
    width: 100%;
  }

  .col-33 {
    width: 3100%;
  }

  .col-40 {
    width: 100%;
  }

  .col-50 {
    width: 100%;
  }

  .col-60 {
    width: 100%;
  }

  .col-70 {
    width: 100%;
  }

  .col-80 {
    width: 100%;
  }

  .col-90 {
    width: 100%;
  }

  .col-100 {
    width: 100%;
  }

  .flex-reverse {
    flex-direction: column-reverse;
  }
}

/* Nested Grid */
.grid .grid {
  margin-left: -15px;
  margin-right: -15px;
}

/********/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Epicene Display";
  margin-bottom: 15px;
  font-weight: 300 !important;
}

h1 {
  font-size: clamp(68px, 10vw, 48px);
}

h2 {
  font-size: clamp(52px, 10vw, 42px);
  font-weight: 300;
}

h3 {
  font-size: clamp(32px, 10vw, 24px);
}

h4 {
  font-size: clamp(24px, 10vw, 18px);
}

/* HEADER */

header {
  transition: all 0.3s ease-in-out;
}

.desktop-header {
  margin: 25px auto 80px auto;
  position: fixed !important;
  top: 0px !important;
  left: 50%;
  width: 50%;
  transform: translateX(-50%);
  z-index: 9999999 !important;
}

.main-navigation {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  list-style: none;
}

header nav ul a {
  text-transform: uppercase;
  font-size: 16px;
}

.page:not(.home) header nav ul a {
  color: white;
}

header h5 {
  font-family: "Epicene Display", sans-serif;
  font-size: 24px;
  margin: 0 80px;
  text-align: center;
}

.page:not(.home) header h5 {
  color: white;
}

.fixed {
  top: 0px !important;
  background: white;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  border-radius: 5px;
  z-index: 9999999 !important;
}

.fixed.desktop-header li a,
.fixed.desktop-header li h5,
.page:not(.home) .fixed.desktop-header h5 {
  color: black !important;
}

.fixed .icon-menu .line {
  background: black;
  color: black;
}

.fixed .logo h5 {
  color: black;
}

.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .mobile-header {
    position: absolute;
    z-index: 20;
    top: 10px !important;
    width: 100%;
    display: flex !important;
  }

  .fixed {
    position: fixed !important;
    top: 00px !important;
    left: 50%;
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%);
    border-radius: 5px;
    z-index: 9999999 !important;
  }

  .desktop-header {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .main-navigation {
    width: 100%;
    display: flex !important;
    flex-direction: row-reverse;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
  }

  header h5 {
    margin: 0 10px;
  }

  .home header:has(.outside-menu-wrapper.open) {
    width: 100%;
    top: 0;
  }

  .menu-mobile-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh !important;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  nav ul li a {
    text-decoration: none;
    font-size: 24px;
    text-transform: uppercase;
    color: black;
    font-weight: 500;
    position: relative;
  }

  .header-desk {
    display: none !important;
  }

  .icon-menu {
    width: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2000;
  }

  .home .icon-menu.open {
    position: relative;
  }

  .icon-menu.open .line {
    background: black;
  }

  .icon-menu.open .line:nth-child(1) {
    transform: rotate(45deg) translate(0px, 8px);
  }

  .icon-menu.open .line:nth-child(2) {
    opacity: 0;
  }

  .icon-menu.open .line:nth-child(3) {
    transform: rotate(-45deg);
    translate: -7px -7px;
  }

  .line {
    background: black;
    height: 2px;
    display: block;
    transition: all 0.3s ease-in-out;
  }

  .outside-menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    z-index: 999 !important;
    transform: translateX(-200%);
    transition: all 0.3s ease-in-out;
  }

  .outside-menu-wrapper.open {
    transform: translateX(0%);
  }

  .outside-menu-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    height: 100dvh;
  }

  nav ul li a {
    position: relative;
    z-index: 10;
    display: inline-block;
  }

  nav ul li a:hover {
    color: var(--primary-color);
  }

  nav ul li a:before {
    position: absolute;
    content: "HOME";
    z-index: -1;
    color: #bababa;
    opacity: 0.25;
    font-size: 60px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 40%;
    text-align: center;
  }

  nav ul li:nth-child(2) a:before {
    content: "SERVIZI";
  }
  nav ul li:nth-child(3) a:before {
    content: "GALLERY";
  }
  nav ul li:nth-child(4) a:before {
    content: "CONTATTI";
  }
	
	  nav ul li:nth-child(5) a:before {
    content: "LINGUA";
  }
	
	
	.lang-en nav ul li a:before {
  content: "HOME";
}
.lang-en nav ul li:nth-child(2) a:before {
  content: "SERVICES";
}
.lang-en nav ul li:nth-child(3) a:before {
  content: "GALLERY";
}
.lang-en nav ul li:nth-child(4) a:before {
  content: "CONTACT";
}
.lang-en nav ul li:nth-child(5) a:before {
  content: "LANGUAGE";
}

	
}

/* HOME SLIDER */

.home-slider {
  height: 700px;
  width: 100%;
  background-size: cover;
  position: relative;
  background-position: center center;
  margin-bottom: 60px;
}

.home-slider:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.home-slider h1 {
  font-size: clamp(68px, 10vw, 130px) !important;

  position: relative;
  line-height: 1;
  z-index: 10;

  font-weight: 300;
  margin-bottom: 0;
}

.home-slider .text-wrapper {
  width: 100%;
  padding: 0 25px;
}

.content-slide {
  height: 100%;
}

.content-slide h1 {
  text-align: center;
  margin: 100px auto 40px auto;
}

.content-testo-slide {
  display: grid;
  place-items: center;
  height: 100%;
}

.content-testo-slide p {
  z-index: 10;

  position: relative;
  max-width: 510px;
  font-size: 20px;
  line-height: 28px;
}

.content-testo-slide h4 {
  font-size: 34px;
  font-weight: 300;
  margin-bottom: 10px;
  z-index: 10;
  color: white;
  position: relative;
}

.content-testo-slide a.btn {
  z-index: 10;
  position: relative;
  margin-top: 15px;
  display: inline-block;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  color: white;
}

.after-slider p,
.after-slider h2,
.after-slider a {
  text-align: center;
}

.after-slider a {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.swiper-pagination-bullet-active {
  background: white !important;
}

@media (max-width: 768px) {
  .home-slider {
    height: 450px;
  }

  .content-testo-slide h4 {
    font-size: 25px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 90% !important;
  }
}

/* INTRO TEXT */

.intro-text h2,
.home h2 {
  font-size: 42px;
  line-height: 1.15;
}

.intro-text {
  padding: 70px;
  text-align: center;
}

.intro-img {
  padding-left: 50px;
}

.intro-section {
  margin: 120px auto 120px auto;
  position: relative;
}

.intro-section:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 100%;
  height: 90%;
  background-color: var(--secondary-color);
  z-index: -1;
  border-radius: 20px;
}

.intro-section:after {
  content: "ANACAPRI";
  position: absolute;
  bottom: -280px;
  transform: 0;
  right: 520px;
  width: 0;
  height: 100%;
  color: #ffffffad;
  /* rotate: -90deg; */
  z-index: 10000;
  font-size: 98px;
  font-family: "Epicene Display", sans-serif;
}

a.btn {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

a.btn:hover, .wpforms-submit:hover {
  background-color: var(--secondary-color) !important;
  color: black;
}

@media (max-width: 768px) {
  .intro-text {
    padding: 0 40px;
  }
}

/* SPAZI INTERNI */

.gallery img {
  aspect-ratio: 12/16;
  border-radius: 5px;
  width: 300px !important;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 5px;
    width: 100% !important;
    height: 400px;
    object-fit: cover;
  }
}

.gallery ul {
  display: flex;
  gap: 10px;
  list-style: none;
}

.spazi-text,
.map-text {
  position: relative;
  margin-bottom: 45px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.spazi-section,
.eventi-section {
  margin: 200px auto !important;
  text-align: center;
}

.villa-gina-text-overlay {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 100%;
  height: 100%;
  color: var(--secondary-color);
  z-index: 5;
  font-size: clamp(148px, 10vw, 48px) !important;
  font-weight: 300;
  z-index: -1;
  opacity: 0.65;
}

.btn-center a {
  display: inline-block;
  margin: 20px auto;
  text-align: center;
}

/* STORIA */

.storia-section {
  margin: 200px auto 0 auto !important;
}

.storia-section h2 {
  text-align: center;
}

.storia-section p {

}

.storia_img img {
  margin-top: 50px;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

/* SERVIZI */

.servizi-section {
  margin: 280px auto !important;
  position: relative;
}

.servizi-text-overlay {
  position: absolute;
  bottom: -150px;
  left: 5%;
  color: var(--primary-color);
  z-index: 15;
  font-size: clamp(245px, 10vw, 48px) !important;
  font-weight: 300;
  z-index: 10;
  top: inherit;
  opacity: 0.25;
}

@media (max-width: 768px) {
  .servizi-text {
    text-align: center;
  }

  .servizi-text ul {
    list-style: none;
  }
}

/* GALLERY HOME */

.gallery .swiper {
  margin-bottom: 25px;
}

.gallery-text-overlay {
  position: absolute;
  top: -9% !important;
  left: 0;
  color: var(--primary-color);
  z-index: 5;
  font-size: clamp(158px, 10vw, 500px) !important;
  font-weight: 300;
  z-index: -1;
  top: inherit;
  opacity: 0.15;
}

.piscina-gallery-inside {
  position: relative;
  margin-top: 340px;
}

.gallery-piscina-text-overlay {
  position: absolute;
  top: -370px !important;
  left: 0px;
  color: var(--primary-color);
  z-index: 5;
  font-size: clamp(108px, 10vw, 500px) !important;
  font-weight: 300;
  z-index: -1;
  top: inherit;
  opacity: 0.15;
}

@media (min-width: 768px) {
  .gallery-piscina-text-overlay {
    top: -450px !important;
  }

  .piscina-gallery-inside {
    margin-top: 500px;
  }
}

.grid-2 .gap-100 {
  row-gap: 180px;
}

.grid-center {
  place-items: center;
}

.gallery-home-section {
  margin: 320px auto 200px auto !important;
  position: relative;
}

.grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.grid img:hover {
  transform: scale(1.025);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.grid-item:nth-child(1) img {
  aspect-ratio: 1 / 1;
}
.grid-item:nth-child(2) img {
  aspect-ratio: 3 / 2;
}
.grid-item:nth-child(3) img {
  aspect-ratio: 4 / 3;
}
.grid-item:nth-child(4) img {
  aspect-ratio: 14 / 16;
}
.grid-item:nth-child(5) img {
  aspect-ratio: 12 / 16;
}
.grid-item:nth-child(6) img {
  aspect-ratio: 1 / 1;
}
.grid-item:nth-child(6) img {
  aspect-ratio: 3 / 2;
}
.grid-item:nth-child(6) img {
  aspect-ratio: 14 / 16;
}
.grid-item:nth-child(7) img {
  aspect-ratio: 4 / 3;
}
.grid-item:nth-child(8) img {
  aspect-ratio: 1 / 1;
}
.grid-item:nth-child(9) img {
  aspect-ratio: 12 / 16;
}
.grid-item:nth-child(10) img {
  aspect-ratio: 9 / 16;
}

/* POSIZIONE SECTION */

.posizione-section {
  margin: 250px auto 150px auto;
}

.contact-section ul {
  list-style: none;
}

.map {
  margin-top: 0px;
}

.map-text {
  margin-bottom: 25px;
}

.map-text ul {
  list-style: none;
}

.map iframe {
  border-radius: 15px;
}

/* FORM */

.wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
  padding: 8px 0;
  position: relative;
}

/* footer */

footer h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -40%;
  text-align: center;
  font-size: clamp(28px, 10vw, 180px) !important;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.home footer h2 {
  top: -30%;
}

@media (max-width: 768px) {
  footer h2 {
    display: none;
  }

  .home footer h2 {
    top: -40px !important;
  }
}

footer {
  margin-top: 120px;
  background-color: var(--secondary-color);
  position: relative;
  padding: 90px 15px 20px 15px;
  border-radius: 10% 10% 0 0;
}

.page-id-144 footer {
  margin-top: 0px;
}

.copyrights {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

footer ul {
  list-style: none;
}

footer a {
  /* color: black; */
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  footer {
    margin-top: 120px;
    background-color: var(--secondary-color);
    position: relative;
    padding: 60px 15px;
    border-radius: 50px 50px 0px 0;
  }

  footer h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -6%;
    text-align: center;
    font-size: clamp(50px, 10vw, 28px) !important;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 70px !important;
  }

  footer .col-100 {
    padding: 0 !important;
  }
}

/* SINGLE PAGE */

.main-bg-page {
  background: #fffbeb;
  padding: 100px 20px;
  background-image: url(https://villaginacapri.it/wp-content/uploads/2025/04/villagina-servizi-hd.jpg);
  background-size: cover;
  background-position: center center;
  /* background-attachment: fixed; */
  position: relative;
}

.page-content {
  margin: 40px auto 80px;
}

.main-bg-page h1 {
  color: white;
  position: relative;
  z-index: 10;
}

.sidebar .widget {
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 5px;
}

.sidebar-wrapper {
  position: relative;
}

.sidebar {
  position: sticky;
  top: 120px;
}

@media (max-width: 767px) {
  .main-bg-page {
    background-position: center center;
  }
}

.main-bg-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* FORM */

div.wpforms-container-full input[type="submit"]:not(:hover):not(:active),
div.wpforms-container-full button[type="submit"]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active),
.wp-core-ui
  div.wpforms-container-full
  input[type="submit"]:not(:hover):not(:active),
.wp-core-ui
  div.wpforms-container-full
  button[type="submit"]:not(:hover):not(:active),
.wp-core-ui
  div.wpforms-container-full
  .wpforms-page-button:not(:hover):not(:active) {
  background-color: var(--primary-color) !important;
  color: white;
}

div.wpforms-container-full input[type="date"],
div.wpforms-container-full input[type="datetime"],
div.wpforms-container-full input[type="datetime-local"],
div.wpforms-container-full input[type="email"],
div.wpforms-container-full input[type="month"],
div.wpforms-container-full input[type="number"],
div.wpforms-container-full input[type="password"],
div.wpforms-container-full input[type="range"],
div.wpforms-container-full input[type="search"],
div.wpforms-container-full input[type="tel"],
div.wpforms-container-full input[type="text"],
div.wpforms-container-full input[type="time"],
div.wpforms-container-full input[type="url"],
div.wpforms-container-full input[type="week"],
div.wpforms-container-full select,
div.wpforms-container-full textarea,
.wp-core-ui div.wpforms-container-full input[type="date"],
.wp-core-ui div.wpforms-container-full input[type="datetime"],
.wp-core-ui div.wpforms-container-full input[type="datetime-local"],
.wp-core-ui div.wpforms-container-full input[type="email"],
.wp-core-ui div.wpforms-container-full input[type="month"],
.wp-core-ui div.wpforms-container-full input[type="number"],
.wp-core-ui div.wpforms-container-full input[type="password"],
.wp-core-ui div.wpforms-container-full input[type="range"],
.wp-core-ui div.wpforms-container-full input[type="search"],
.wp-core-ui div.wpforms-container-full input[type="tel"],
.wp-core-ui div.wpforms-container-full input[type="text"],
.wp-core-ui div.wpforms-container-full input[type="time"],
.wp-core-ui div.wpforms-container-full input[type="url"],
.wp-core-ui div.wpforms-container-full input[type="week"],
.wp-core-ui div.wpforms-container-full select,
.wp-core-ui div.wpforms-container-full textarea {
  border: 0 !important;
  border-bottom: 1px solid #c4c4c4 !important;
}

/* PAGINA SERVIZI */

.villa-gina-servizi ul {
  list-style: none;
  padding-left: 0;
}

.villa-gina-servizi li {
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.villa-gina-servizi li i {
  margin-right: 20px;
  color: var(--primary-color); /* colore carino tipo arancione soft */
}

.fa,
.fas {
  font-size: 18px;
}

.page-id-140 .fa,
.page-id-140 .fas {
  font-weight: 900;
  background: var(--secondary-color);
  width: 10px;
  height: 10px;
  padding: 15px;
  border-radius: 5px;
  /* margin-right: 10px; */
  display: block;
}

/* PAGINA GALLERY */

.gallery-images {
  margin: 80px auto;
}

.villa,
.giardino,
.piscina {
  position: relative;
  margin: 200px auto !important;
}

.text-overlay {
  position: absolute;
  left: 50%;
  top: -7% !important;
  transform: translateX(-65%);
  text-align: center;
  color: var(--primary-color);
  z-index: 5;
  font-size: clamp(300px, 10vw, 68px) !important;
  font-weight: 300;
  z-index: -1;
  top: inherit;
  opacity: 0.15;
  text-transform: capitalize;
}

.gallery-images .gap-100 {
  place-items: center;
  row-gap: 200px;
}

.villa .text-overlay {
  left: 50% !important;
  top: -1.5% !important;
}

.giardino .text-overlay {
  top: -250px !important;
  left: 65% !important;
  font-size: clamp(250px, 10vw, 68px) !important;
}

.piscina .text-overlay {
  color: #015252;
  top: -200px !important;
}

@media (max-width: 768px) {
  .gallery-images {
    margin: 50px auto;
    padding: 20px;
  }

  .giardino .text-overlay {
    top: -110px !important;
    left: 65% !important;
    font-size: clamp(60px, 10vw, 48px) !important;
  }

  .gallery-images .gap-100 {
    gap: 50px !important;
  }

  .villa .text-overlay {
    left: 65% !important;
    top: -142px !important;
    font-size: 110px !important;
  }

  .text-overlay {
    position: absolute;
    left: 65%;
    top: -60px !important;
    font-size: 60px !important;
  }

  .villa,
  .giardino,
  .piscina {
    position: relative;
    margin: 240px auto !important;
  }

  .villa {
    margin-top: 120px !important;
  }

  .piscina .text-overlay {
    color: #015252;
    top: -120px !important;
    font-size: 80px !important;
  }
}

/* * {
  outline: 1px solid red;
} */

/* PAGE CONTATTI  */

.recapiti {
  margin-bottom: 50px;
}

.recapiti a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

ul.recapiti {
  list-style: none;
}

/* PAGINA SERVIZI */

.villa-gina-servizi {
  margin: 20px auto 120px auto !important;
  position: relative;
}

.villa-gina-servizi li:hover i:before {
  font-size: 25px;
  filter: drop-shadow(0 5px 2px #00000025);
}

.villa-gina-servizi .fa,
.villa-gina-servizi .fas {
  font-size: 20px;
  transition: all 0.25s ease-in;
}

.villa-gina-servizi li:hover i:before {
  transition: all 0.25s ease-in;
}

/* General Responsive */

@media (max-width: 768px) {
  .servizi-section,
  .spazi-section {
    margin: 120px auto !important;
  }

  .servizi-section img {
    margin-top: 65px;
  }

  .posizione-section {
    margin: 120px auto 80px auto !important;
  }

  .home-slider,
  footer,
  .home-slider:after {
    border-radius: 0 0 3% 3%;
  }
}

/* animation */

img[data-speed],
.gallery-text-overlay[data-speed],
li[data-speed] {
  opacity: 0;
  transition: opacity 0.65s ease-out;
}

img[data-speed].reveal,
li[data-speed].reveal {
  opacity: 1;
}

.gallery-text-overlay[data-speed].reveal {
  opacity: 0.25 !important;
}

h1[data-speed] {
  opacity: 0;
  translatey: -190px;
  transition: all 0.65s ease-out;
}

h1[data-speed].reveal {
  opacity: 1;
}

.overflow-hd {
  overflow: hidden;
}
@keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.language {
	position: fixed;
    top: 20px;
    right: 50px;
	margin: 25px auto 80px auto;
	z-index:9999;
}

@media(max-width:768px){
	.language {
	display: none !important;
}
}

.wpml-ls-native {
	display: none;
}

.language ul {
	width:fit-content;
}

.wpml-ls-legacy-dropdown a {
    display: block;
    text-decoration: none;
    color: #444;
    /* border: 1px solid #cdcdcd; */
    background-color: #fff;
    padding: 5px 10px;
    line-height: 1;
    box-shadow: 0 5px 10px #00000013;
    border-radius: 5px;
}

footer .menu-item-object-wpml_ls_menu_item, footer .wpml-ls-last-item {
	display: none !important;
}


.socials ul {
	gap:20px;
}