/**
* Template Name: Day
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/day-multipurpose-html-template-for-free/
* product: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/* ==========================================================================
   CUSTOM STYLES FOR AGRISITESANLEO
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. FONTS & TYPOGRAPHY
   Definisce i font personalizzati caricati localmente.
   - StoryScript-Regular: Utilizzato per il corpo del testo e i paragrafi.
   - Dancing Script: Utilizzato principalmente per i titoli (h1, h2, h3) per dare un tocco elegante.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "StoryScript-Regular";
  src: url('assets/fonts/StoryScript-Regular.ttf');
}

@font-face {
  font-family: "Dancing Script";
  src: url('assets/fonts/DancingScript-VariableFont_wght.ttf');
}

body {
  color: #444444;
  background-color: #FAF7F3;
  font-family: 'StoryScript-Regular';
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'StoryScript-Regular';
}

.whoweare h3,
#ospitalita h3,
#products h1,
#products h2,
#contact h1,
#contact h2,
#contact_page h1,
#contact_page h2,
#contact_page h4,
.glicine_intestazione h2,
.glicine_intestazione h3 {
  font-family: 'Dancing Script', cursive;
}

.glicine_intestazione p,
.glicine_info_service p,
.oil_poetry,
#footer .footer-top .footer-info p {
  font-family: 'StoryScript-Regular';
}

/* --------------------------------------------------------------------------
   02. HEADER, TOPBAR & NAVBAR
   Gestisce i colori e lo stile della barra di navigazione superiore.
   - #topbar: Colore di sfondo verde scuro (#1A3636).
   - #header: Sfondo semi-trasparente che diventa solido (#798777) allo scroll.
   - Contiene anche le regole per nascondere il logo o alcune voci su mobile (@media max-width: 991px).
   -------------------------------------------------------------------------- */
#topbar {
  background: #1A3636;
}

#topbar .contact-info a {
  color: rgba(255, 255, 255, 0.6);
}

#topbar .contact-info i {
  color: rgba(121, 135, 119, 0.95);
}

#header {
  background: rgba(121, 135, 119, 0.95);
}

#header.fixed-top {
  background: #798777;
}

.navbar .dropdown ul {
  background: #A2B29F;
}

.navbar .dropdown ul a {
  color: #191919;
}

.navbar .dropdown ul li:hover>a {
  color: #fff;
}

#logo_navbar {
  background: rgba(1, 1, 1, 0.0);
}

/* Cambiato logo, messo nuovo codice per renderlo
/* più piccolino
#id_img_logo {
  width: 80px;
  height: 100px;
  scale: 2;
  margin-top: 10px;
}
*/

#id_img_logo {
  width: 100px;
  height: 80px;
  object-fit: contain;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .logo-li {
    display: none;
  }
}

.mobile-only {
  display: none;
}

@media (max-width: 991px) {
  .mobile-only {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   03. HERO SECTION
   Stili per il titolo principale grande sopra l'immagine di sfondo iniziale.
   I background specifici per ogni pagina sono definiti più in basso nel file o via HTML.
   -------------------------------------------------------------------------- */
#hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 80px;
  margin-top: 100px;
  margin-bottom: 100px;
  margin: 0 0 10px 0;
  color: #fff;
}

#hero .btn-get-started {
  font-family: 'StoryScript-Regular';
}

/* --------------------------------------------------------------------------
   04. BUTTONS & CALL TO ACTION (CTA)
   Stile uniforme per tutti i pulsanti del sito (es. "Scopri di più", "Glicine").
   Include transizioni fluide e cambiamenti di colore (hover) in oro scuro (#a47e0c).
   -------------------------------------------------------------------------- */
.cta-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta .cta-btn,
.cta-btn {
  font-family: 'StoryScript-Regular';
}

.cta .cta-btn:hover,
.cta-btn:hover {
  background: #a47e0c;
  border: 2px solid #a47e0c;
}

.cta-btn {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #000;
  color: #000;
  flex: 1 1 200px;
  max-width: 250px;
}

/* --------------------------------------------------------------------------
   05. SECTIONS & COMPONENTS
   Regole specifiche per singole sezioni come la pagina Contatti.
   Include gli stili per i riquadri informativi (sfondo verde scuro, icone dorate)
   e il modulo di contatto.
   -------------------------------------------------------------------------- */
.whoweare a:hover {
  color: #000;
}

.contact .section-title span,
.contact .section-title h1 {
  font-family: 'StoryScript-Regular';
  font-size: 80px;
  margin-top: 100px;
  margin-bottom: 100px;
  margin: 0 0 10px 0;
  color: #fff;
}

.contact .section-title h1 {
  font-size: 50px;
}

.contact .section-title p {
  color: #dcd2d2;
}

.contact .section-title a {
  color: #dcd2d2;
  border: 2px solid #dcd2d2;
  text-decoration: none;
}

.contact .section-title a:hover {
  color: #dcd2d2;
  text-decoration: none;
  border: 2px solid #a47e0c;
}

.contact .info-box {
  color: #ffffff;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  background-color: #1A3636;
  opacity: 0.7;
}

.contact .info-box i {
  font-size: 32px;
  color: #89690a;
  border: 2px dotted #89690a;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #dcd2d2;
}

.contact .php-email-form {
  background-color: rgba(26, 54, 54, 0.85);
  backdrop-filter: blur(5px);
}

/* --------------------------------------------------------------------------
   06. MISCELLANEOUS UTILITIES
   Piccole utilità visive:
   - #preloader: L'animazione di caricamento iniziale.
   - .back-to-top: Il pulsante per tornare in cima alla pagina.
   -------------------------------------------------------------------------- */
#preloader:before {
  border: 6px solid #1A3636;
}

.back-to-top {
  background: #1A3636;
}

.back-to-top:hover {
  background: #e72323;
  color: #fff;
}

.back-to-top.active {
  border-radius: 15px;
  background-color: #798777;
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  width: 40px;
  height: 40px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border-top-color: #efefef;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  font-size: 15px;
  height: 40px;
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
}

#topbar .contact-info a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #fff;
}

#topbar .contact-info i {
  line-height: 0;
  margin-right: 5px;
}

#topbar .contact-info .phone-icon {
  margin-left: 15px;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  height: 85px;  /*Modificare anche il .scrolled-offset e .navbar-brand della stessa quantità*/
}

#header.fixed-top {
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 40px;
}

.scrolled-offset {
  margin-top: 85px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  margin-left: 5px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 35px 24px 35px;
  font-size: 19px;
  font-size: 19px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 19px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  /*background: #cc1616;*/
  background: #A2B29F;
  border-radius:75px;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 20px; /* Arrotondamento */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Effetto ombra */
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

.navbar-brand {
    height: 85px;
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #798777;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #798777;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #191919;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #89690a;
  background: none;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  /*background: #fff;*/
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #cc1616;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/*#hero {
  width: 100%;
  height: calc(100vh - 110px);
  background: url("../img/landscape/landscape_sunrise.png") top center;
  background-size: cover;
  position: relative;
}*/

body[data-page="index"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/landscape/landscape_sunrise.png") center;
    background-size: cover;
    position: relative;
}

body[data-page="glicine"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/hospitality/glicine_external.JPG") center;
    background-size: cover;
    position: relative;
}

body[data-page="melograno"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/hospitality/melograno1_2.jpg") center;
    background-size: cover;
    position: relative;
}

body[data-page="olio"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/oil/foto7_crop.jpg") center;
    background-size: cover;
    position: relative;
}

body[data-page="wine"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/wine/uva_hero.jpg") center;
    background-size: cover;
    position: relative;
}

body[data-page="contact"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/contact/contact8.JPG") center;
    background-size: cover;
    position: relative;
}

body[data-page="whoweare_page"] #hero {
    width: 100%;
    height: calc(100vh - 110px);
    background: url("../img/whoweare/peschiera1.JPG") center;
    background-size: cover;
    position: relative;
}



#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

/*Aggiunto l'ombra per gestire il bianco del titolo su sfondo luminoso*/
body[data-page="glicine"] #hero h1 {
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}
body[data-page="melograno"] #hero h1 {}

#hero h2 {
  color: #eee;
  margin-bottom: 30px;
  font-size: 24px;
}

#hero .btn-get-started {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 10px 28px;
  transition: 0.5s;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-started:hover {
  background: #cc1616;
  border-color: #cc1616;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

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

  #hero .container {
    padding-top: 40px;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #191919;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 30px;
  color: #f4f4f4;
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 0;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/

/*Commentato per metterlo più chiaro
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), url("../img/landscape/landscape_sun.jpeg") fixed center center;
  background-size: cover;
  padding: 120px 0;
}
*/

.cta {
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.30),
      rgba(0, 0, 0, 0.15)
    ),
    url("../img/landscape/landscape_sunset_2.png") fixed center center;

  background-size: cover;
  padding: 120px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}


/*--------------------------------------------------------------
# Gallery apartaments
--------------------------------------------------------------*/

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(25, 25, 25, 0.08);
}

.portfolio-details .accordion .accordion-item .accordion-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}


/*--------------------------------------------------------------
# Contact - Home
--------------------------------------------------------------*/
.contact {
  background: url("../img/contact/contact8.JPG") fixed center center;
  background-size: cover;
  padding: 120px 0;
}

.contact .info-box {
  text-align: center;
  padding: 20px 0 30px 0;
  border-radius:15px;
}

.contact .info_box_map{
  border-radius:15px;
}

.contact .info_box_form{
  border-radius:15px;
}

.contact .info-box i {
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 30px;
  border-radius: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #cc5555;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #798777;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #89690a;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input::focus,
.contact .php-email-form textarea::focus {
  border-color: #89690a;
  background-color: #fff;
  outline: none;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #89690a;
  border: 2px solid #89690a;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 25px;
  font-family: 'StoryScript-Regular';
  font-size: 16px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #a47e0c;
  border-color: #a47e0c;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}






/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  /*background: #0c0c0c;*/
  background: #1A3636;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 15px;
  background: #191919;
  color: #fff;
  border-top: 4px solid #cc1616;
  text-align: center;
  padding: 30px 20px;
}

#footer .footer-top .footer-info h3 {
  font-size: 36px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #262626;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #cc1616;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ed5b5b;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #eb4444;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #cc1616;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #e82d2d;
}

#footer .copyright {
  border-top: 1px solid #262626;
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  color: #e82d2d;
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}


.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Product Profile Section
--------------------------------------------------------------*/
.product-profile .product-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.product-profile .product-card .product-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-profile .product-card .product-image img {
  width: 500px;
  /*height: 180px;*/
  border-radius: 50%;
  object-fit: cover;
}

.product-profile .product-content .product-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.product-profile .product-card .product-info {
  text-align: center;
}

.product-profile .product-card .product-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-profile .product-card .product-info .designation {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-profile .product-card .product-info .product-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-profile .product-card .product-stats {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 1rem 0;
}

.product-profile .product-card .product-stats .stat-item h4 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.product-profile .product-card .product-stats .stat-item p {
  font-size: 0.85rem;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.product-profile .product-card .social-links {
  margin-top: 1.5rem;
}

.product-profile .product-card .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.product-profile .product-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.product-profile .product-card .social-links a i {
  font-size: 1rem;
}

.product-profile .product-content {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.product-profile .product-content .content-header {
  margin-bottom: 1.5rem;
}

.product-profile .product-content .content-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.product-profile .product-content .content-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.product-profile .product-content .content-body .expertise-areas h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.product-profile .product-content .content-body .expertise-areas .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-profile .product-content .content-body .expertise-areas .tags span {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.product-profile .product-content .content-body .expertise-areas .tags span:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.product-profile .product-content .content-body .featured-articles h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-profile .product-content .content-body .featured-articles .article-card {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-profile .product-content .content-body .featured-articles .article-card:hover {
  transform: translateY(-5px);
}

.product-profile .product-content .content-body .featured-articles .article-card .article-img {
  height: 200px;
  overflow: hidden;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-img:hover img {
  transform: scale(1.1);
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details {
  padding: 1.25rem;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details .post-category {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details h5 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details h5 a:hover {
  color: var(--accent-color);
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details .post-meta {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details .post-meta span {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.product-profile .product-content .content-body .featured-articles .article-card .article-details .post-meta span i {
  margin-right: 0.35rem;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .product-profile .product-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .product-profile .featured-articles .article-card {
    margin-bottom: 1.5rem;
  }
}


/*--------------------------------------------------------------
# apartment_glicine
--------------------------------------------------------------*/

.glicine_intestazione{
    margin-bottom: 2%;
}

.glicine_info_service{
    margin-top: 3%;
}

.swiper-img {
  object-fit: cover; /* taglia l'immagine per riempire lo spazio */
  width: 100%;
  height: 500px;
}

/*IMMAGINE DI BACKGROUND CHE SI MUOVE*/

.background-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centra l'immagine */
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.decor-glicine-lapis {
  position: fixed;
  z-index: -1;
  opacity: 0.4;
  height:170%
  pointer-events: fill;
  background-size: contain;       /* Adatta l'immagine all'intero schermo */
  background-position: center;  /* Centra l'immagine */
  background-repeat: space; /* Evita ripetizioni */
  /*height: 100vh; */               /* Altezza pari alla finestra */
  -webkit-animation:spin 500s linear infinite;
  -moz-animation:spin 500s linear infinite;
  animation:spin 500s linear infinite;
}
@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

/*##############################*/

.glicine_info_service {
   padding-bottom:10px;
}

.glicine_info_service h3{
    padding-bottom:15px;
}

.glicine_info_service_info li{
    padding-bottom:15px;
}

.glicine_info_service_list{
   padding-bottom:15px;
   justify-content: center;
   align-items: flex-start;
}

.glicine_info_service_list_image{
   padding-bottom:25px;
}

.glicine_info_service_list_image img {
  width: 100%;
  object-fit: cover;                 /* Ritaglia mantenendo le proporzioni */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombra leggera */
}

.glicine_info_service_list ul{
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.glicine_info_service_info{
   padding-bottom:15px;
}

.glicine_info_service_info h3{
    padding-bottom:20px;
    padding-top:10px;
}

/*--------------------------------------------------------------
# apartment_melograno
--------------------------------------------------------------*/


.melograno_intestazione{
    margin-bottom: 2%;
}

.melograno_info_service{
    margin-top: 3%;
}



.swiper-img {
  object-fit: cover; /* taglia l'immagine per riempire lo spazio */
  width: 100%;
  height: 500px;
}

/*IMMAGINE DI BACKGROUND CHE SI MUOVE

.background-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); *//* centra l'immagine *//*
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}*/

.decor-melograno-lapis {
  position: fixed;
  z-index: -1;
  opacity: 0.4;
  height:200%;
  pointer-events: fill;
  background-size: contain;       /* Adatta l'immagine all'intero schermo */
  background-position: center center;  /* Centra l'immagine */
  background-repeat: space; /* Evita ripetizioni */
  /*height: 100vh; */               /* Altezza pari alla finestra */
  -webkit-animation:spin 450s linear infinite;
  -moz-animation:spin 450s linear infinite;
  animation:spin 450s linear infinite;
}
@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

/*##############################*/

.melograno_info_service {
   padding-bottom:10px;
}

.melograno_info_service h3{
    padding-bottom:15px;
}

/* Aggiunto questo codice per nuovo SLIDER con gestione immagine precisa */

/*--------------------------------------------------------------
# Slider foto Melograno
--------------------------------------------------------------*/

.melograno-multi-slider {
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.melograno-multi-slider .swiper-slide {
  height: 420px;
  overflow: hidden;
  border-radius: 10px;
}

.melograno-multi-slider .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.melograno-multi-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.melograno-multi-slider .swiper-slide:hover img {
  transform: scale(1.08);
  cursor: pointer;
}

/* Frecce dello slider */

.melograno-multi-slider .swiper-button-prev,
.melograno-multi-slider .swiper-button-next {
  color: #fff;
  opacity: 1;
  visibility: visible;
  z-index: 50;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
}

.melograno-multi-slider .swiper-button-prev {
  left: 20px;
}

.melograno-multi-slider .swiper-button-next {
  right: 20px;
}

.melograno-multi-slider .swiper-button-prev::after,
.melograno-multi-slider .swiper-button-next::after {
  font-size: 26px;
  font-weight: bold;
}

/* Animazioni GLightbox */

.gzoomIn,
.gzoomOut,
.gslideInRight,
.gslideOutLeft,
.gslideInLeft,
.gslideOutRight {
  animation-duration: 0.9s !important;
}

/* Posizionamento personalizzato delle fotografie */

.melograno-multi-slider img[src*="melograno1_0"] {
  object-position: 40% center;
}

.melograno-multi-slider img[src*="melograno3_0"] {
  object-position: 34% center;
}

.melograno-multi-slider img[src*="melograno3_1"] {
  object-position: 59% center;
}


.melograno-multi-slider img[src*="melograno4_0"] {
  object-position: 10% center;
}



.melograno-multi-slider img[src*="melograno5_0"] {
  object-position: 83% center;
}

.melograno-multi-slider img[src*="melograno7_0"] {
  object-position: 73% center;
}

.melograno-multi-slider img[src*="melograno7_3"] {
  object-position: 4% center;
}

.melograno-multi-slider img[src*="melograno7_4"] {
  object-position: 38% center;
}

.melograno-multi-slider img[src*="melograno8_0"] {
  object-position: 10% center;
}

.melograno-multi-slider img[src*="melograno10_0"] {
  object-position: 18% center;
}

.melograno-multi-slider img[src*="melograno13_0"] {
  object-position: 60% center;
}

.melograno-multi-slider img[src*="melograno13_2"] {
  object-position: 100% center;
}


.melograno_info_service_info li{
    padding-bottom:15px;
}

.melograno_info_service_list{
   padding-bottom:15px;
   justify-content: center;
   align-items: flex-start;
}

.melograno_info_service_list_image{
   padding-bottom:25px;
}

.melograno_info_service_list_image img {
  width: 100%;
  object-fit: cover;                 /* Ritaglia mantenendo le proporzioni */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombra leggera */
}

.melograno_info_service_list ul{
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.melograno_info_service_info{
   padding-bottom:15px;
}

.melograno_info_service_info h3{
    padding-bottom:20px;
    padding-top:10px;
}


/*################OLIO################*/

#oil_poetry{
padding-bottom:10px
}

.decor-olive-lapis {
  position: absolute;
  margin-left: 10%;
  z-index: -1;
  opacity: 0.4;
  pointer-events: fill;
  background-size: contain;       /* Adatta l'immagine all'intero schermo */
  background-position: center center;  /* Centra l'immagine */
  background-repeat: space; /* Evita ripetizioni */
  height: 100vh;
  background-image: url("assets/img/oil/ulivi_back.png");

}

/* Sfondo unico su mobile */
@media (max-width: 768px) {
  .decor-olive-lapis {
    content: url("../img/oil/ulivo2.png");
    background-size: cover;
    background-position: center;
    image:none;
    position: absolute;
    margin-left:20%;
    height: 125vh;
  }
}

.content-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: black;
  padding: 20px;
  z-index: 2;
  position: relative;

  font-family: cursive;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #1a3636;
  text-align: left;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  background: #19875433;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Indentazione per ogni paragrafo */
.content-overlay p {
  text-indent: 2em;
  margin-bottom: 1.5em;
}

/* Gestione del <br> finale */
.content-overlay p:last-child {
  font-style: italic;
  text-align: center;
}

#olive_grove{
padding-top:30px;
padding-bottom:10px;
}

#olive_grove h3{
    font-family: 'Dancing Script', cursive;
    font-size: 30px;
    padding-bottom: 15px;
}

.olive_grove_info_text{
   padding-bottom:15px;
   justify-content: center;
   align-items: flex-start;
   flex-direction:column;
   display:flex;
}

@media (max-width: 1028px) {
  .olive_grove_info_text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .olive_grove_info_text {
    font-size: 18px;
  }
}

.olive_grove_info_image{
   padding-bottom:25px;
}

.olive_grove_info_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* Ritaglia mantenendo le proporzioni */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombra leggera */
}

.our_oil_info_text{
   padding-bottom:15px;
   justify-content: center;
   align-items: flex-start;
   flex-direction:column;
   display:flex;
}

@media (max-width: 1028px) {
  .our_oil_info_text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .our_oil_info_text {
    font-size: 18px;
  }
}

#our_oil{
padding-top:10px;
padding-bottom:10px;
}

#our_oil h3{
    font-family: 'Dancing Script', cursive;
    font-size:30px;
    padding-bottom: 15px;
}

.our_oil_info_image{
   padding-bottom:25px;
}

.our_oil_info_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* Ritaglia mantenendo le proporzioni */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombra leggera */
}

/*#######VINO################*/

.decor_wine_lapis {
  position: absolute;
  margin-left: 10%;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  height: 140vh;
  width: 80%;
  }

#wine_grove{
padding-top:30px;
padding-bottom:10px;
}

#wine_grove h3{
    font-family: 'Dancing Script', cursive;
    font-size: 30px;
    padding-bottom: 15px;
}

.wine_grove_info_text{
   padding-bottom:15px;
   justify-content: center;
   align-items: flex-start;
   flex-direction:column;
   display:flex;
}

@media (max-width: 1028px) {
  .wine_grove_info_text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .wine_grove_info_text {
    font-size: 18px;
  }
}

.wine_grove_info_image{
   padding-bottom:25px;
}

.wine_grove_info_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* Ritaglia mantenendo le proporzioni */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombra leggera */
}

/* Singola card vino */
.card-vino {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  padding: 10px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  column-gap: 10px;
  width: 80%;
  margin-left: 10%;
  margin-bottom: 20px;
}

/* Immagine bottiglia */
.card-vino img {
  width: 280px;
  height: auto;
  margin-right: 10px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

/* Effetto zoom su hover */
.card-vino:hover {
  transform: scale(1.10);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.card-vino:hover img {
  transform: scale(1.05);
}

#fonte_lattaia_rosso:hover {
   background: rgba(177, 0, 0 , 45%);
}
#fonte_lattaia_bianco:hover{
    background: rgba(235, 219, 67 , 45%);
}
#vin_santo_classico:hover{
    background: rgba(255, 157, 15 , 45%);
}
#vin_santo_pernice:hover{
    background: rgba(220, 81, 0 , 45%);
}


/* Sezione descrittiva del vino */
.descrizione-vino {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1;
}

.descrizione-vino h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 25px;
  font-weight: 550;
  line-height: 1.3;
  margin-bottom: 18px;
  margin-left: -290px;
  letter-spacing: 0.5px;
  white-space: pre-line;
}

.descrizione-vino p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #514343;
  margin-bottom: 10px;
  margin-left: -40px;
}

/* Posizionamento personalizzato delle fotografie del vino */

.wine_gallery img[src*="vino11.JPG"] {
  object-position: 50% center;
}

.wine_gallery img[src*="vino2.JPG"] {
  object-position: 50% center;
}

.wine_gallery img[src*="vino3.JPG"] {
  object-position: 90% center;
}

.wine_gallery img[src*="vino4.JPG"] {
  object-position: 50% center;
}

.wine_gallery img[src*="vino5.JPG"] {
  object-position: 90% center;
}

.wine_gallery img[src*="vino6.JPG"] {
  object-position: 90% center;
}

.wine_gallery img[src*="vino7.JPG"] {
  object-position: 30% center;
}

.wine_gallery img[src*="vino8.JPG"] {
  object-position: 40% center;
}

.wine_gallery img[src*="vino9.JPG"] {
  object-position: 50% center;
}

.wine_gallery img[src*="vino16.JPG"] {
  object-position: 10% center;
}

@media (max-width: 768px) {
  .card-vino {
    flex-direction: column;
    padding: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
  }

  .card-vino img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
  }

  .descrizione-vino h3 {
    margin-left: 0;
    font-size: 22px;
    text-align: center;
  }

  .descrizione-vino p {
    margin-left: 0;
    font-size: 0.95rem;
    text-align: center;
  }
}



/****************contact_page page*****************/


#intro_contact{
    margin-bottom: 20px;
    color: #fff;
}

.contact_page {
  background: url("../img/contact/contact8.JPG") fixed center center;
  background-size: cover;
  padding: 20px 0;
  margin-top: 15px;
  margin-bottom: 15px;
  box-shadow: 15px 1px 6px 0px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  transition: background-image 2s ease-in-out;
}

.contact_page .info-box {
  text-align: center;
  padding: 20px 0 30px 0;
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  background-color: #1A3636;
  opacity: 0.7;
  margin: 10px;
}

.contact_page .info-box i {
  border-radius: 50%;
  padding: 8px;
  font-size: 32px;
  color: #89690a; /*7b3016*/
  border: 2px dotted #89690a;
}

.contact_page .info-box h3 {
  font-weight: 700;
  margin: 10px 0;
  font-size: 22px;
  color: #fff;
}

.contact_page .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 18px;
  margin-bottom: 0;
}

.contact_page .php-email-form {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 30px;
  border-radius: 20px;
  background-color: rgba(26, 54, 54, 0.85);
  backdrop-filter: blur(5px);
  margin:10px;
}

.contact_page .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #cc5555;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.contact_page .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact_page .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #798777;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.contact_page .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact_page .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #89690a;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact_page .php-email-form input,
.contact_page .php-email-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  font-size: 14px;
}

.contact_page .php-email-form input::focus,
.contact_page .php-email-form textarea::focus {
  border-color: #89690a;
  background-color: #fff;
  outline: none;
}

.contact_page .php-email-form input {
  padding: 10px 15px;
}

.contact_page .php-email-form textarea {
  padding: 12px 15px;
}

.contact_page .php-email-form button[type=submit] {
  background: #89690a;
  border: 2px solid #89690a;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 25px;
  font-family: 'StoryScript-Regular';
  font-size: 16px;
}

.contact_page .php-email-form button[type=submit]:hover {
  background: #a47e0c;
  border-color: #a47e0c;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#box_map{
    margin-top:15px;
    display: flex;
    justify-content: center;
}

#map_casa_peschiera{
    border-radius: 20px;
    margin-left:10px;
    margin-right:10px;
}

 .contact_page .section-title a {
/*    color: #444444;*/
   color: #dcd2d2;
   border : 2px solid #dcd2d2;
   text-decoration: none;
 }

 .contact_page .section-title a:hover {
   color: #dcd2d2;
   text-decoration: none;
   border: 2px solid #a47e0c;
 }

.contact_page .section-title span {
  font-family: 'StoryScript-Regular';
  font-size: 80px;
  margin-top: 100px;                      /* Spazio sopra il titolo */
  margin-bottom: 100px;
  margin: 0 0 10px 0;
  color: #fff;
  color: #fff;
}

.contact_page .section-title h1 {
  font-family: 'StoryScript-Regular';
  font-size: 50px;
  margin-bottom: 100px;
  margin: 0 0 10px 0;
  color: #fff;
  color: #fff;
}

.contact_page .section-title p {
 color: #dcd2d2;
}

#info_utils{
    text-align: justify;
    margin-top:20px;
}

#info_utils p,h1{
margin-left: 10px;
}

#come_raggiungerci{
    text-align: justify;
    margin-top:20px;

}

#come_raggiungerci p,h1{
    margin-left: 10px;
}

#come_raggiungerci:hover {
  opacity: 0.9;
}

#info_utils:hover {
  opacity: 0.9;
}

#box_recapiti:hover {
  opacity: 0.8;
}

#box_indirizzi:hover {
  opacity: 0.8;
}

.contact_page .php-email-form:hover {
  opacity: 0.8;
}

/* Stili comuni per entrambe le sezioni */
#info_utils,
#come_raggiungerci {
  max-width: 800px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  line-height: 1.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
}

/* Titoli principali */
#info_utils h2,
#come_raggiungerci h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  text-align: center;
}

/* Sottotitoli */
#info_utils h3,
#come_raggiungerci h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4a6b3c; /* verde oliva */
}

/* Paragrafi */
#info_utils p,
#come_raggiungerci p {
  margin-bottom: 1rem;
}

/* Liste */
#info_utils ul,
#come_raggiungerci ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

#info_utils li,
#come_raggiungerci li {
  margin-bottom: 0.5rem;
}

/****************whoweare page*****************/

/* Gestione immagine per questo commentato
.family_cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.1)), url("../img/whoweare/family1.jpeg")  center center;
  background-size: cover;
  padding: 120px 0;
  min-height: 450px;
  background-attachment: scroll;
}

@media (max-width: 768px) {
  #whowearefamily {
    padding: 60px 20px;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  #whowearefamily {
    padding: 40px 15px;
    min-height: 250px;
  }
}


.whowearefamily {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  #whowearefamily {
    background: linear-gradient(rgba(2, 2, 2, 0.7), rgba(0, 0, 0, 0.3)),
                url("../img/whoweare/family1.jpeg") center center / cover no-repeat;
  }
}
*/

.family_cta {
  padding: 0;
  min-height: auto;
  background: none;
  border-radius: 10px;
  overflow: hidden;
}

.family-image {
  display: block;
  width: 100%;
  height: auto;
}


#citazione_whoweare h3 {
    /*color: #a47e0c;*/
    color: #1A3636;
    font-size: 1.3rem;
    line-height: 1.7;
    letter-spacing: 1.4px;
    font-weight: 600;
}

#citazione_whoweare .cta-btn {
    color:#1A3636;
    border: 2px solid #1A3636;
}

#citazione_whoweare .cta-btn:hover {
  background: #1A3636;
  border: 2px solid #1A3636;
  color: white;
}


#citazione_whoweare{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow:hidden;
  min-height:450px;
  /*font-family: cursive*/;
  font-size: 1.2rem;
  line-height: 1.8;
  /*color: #1a3636;*/
  text-align: left;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  /*background: #19875433;*/
  background: #D1E6DC; /* messo questo perchè #19875433 essendo trasparente mi faceva vedere i logi volatili*/
  border-radius: 12px;
  box-shadow: 11 7px 12px rgba(0, 0, 0, 0.3);
}

/* Indentazione per ogni paragrafo */
#citazione_whoweare p {
  text-indent: 2em;
  margin-bottom: 1.5em;

}

#citazione_whoweare {
    position: relative;
    background:
        radial-gradient(
            circle at center,
            rgba(26, 54, 54, 0.15) 0%,
            rgba(26, 54, 54, 0.45) 70%,
            rgba(26, 54, 54, 0.65) 100%
        ),
        url("../img/logo.png") center center / cover no-repeat,
        #D1E6DC;
    overflow: hidden;
}

#citazione_whoweare::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(209, 230, 220, 0.40); /* velo che attenua il logo */
    backdrop-filter: blur(2px);            /* leggero blur per “ammorbidirlo” */
    z-index: 0;
}

#citazione_whoweare > * {
    position: relative;
    z-index: 1;
}


/* overlay gradiente non lineare */
/*#citazione_whoweare::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: radial-gradient(
        circle at center,
        rgba(26, 54, 54, 0.55) 0%,
        rgba(26, 54, 54, 0.25) 50%,
        rgba(26, 54, 54, 0.05) 100%
    );
}*/
*/

/* contenuto sopra tutto */
#citazione_whoweare_div {
    position: relative;
    z-index: 3;
}


/* Gestione del <br> finale */
 p:last-child {
  font-style: italic;
  text-align: center;
}

.whoweare_info {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.8;
  color: #333;
  /*background: #19875433;*/
  background: #D1E6DC; /* messo questo perchè #19875433 essendo trasparente mi faceva vedere i logi volatili*/
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whoweare_info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  text-align: center;
}

.whoweare_info p {
  margin-bottom: 1rem;
  font-style:italic!important;
}

.whoweare_info .fst-italic{
    padding-top: 30px;
}

.whoweare_info em {
  color: #4a6b3c;
}
.whoweare_info strong {
  color: #2c3e50;
}

#whowearefamily {
    border-radius: 10px;
}

#logo-floating {
  position: fixed;
  width: 200px;
  height: 200px;
  background-image: url("assets/img/logo.png"); /* tuo logo */
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(0.8); /* parte leggermente più piccolo */
  transition:
    opacity 2s ease,
    transform 3s ease; /* zoom morbido */
  pointer-events: none;
  /*transition: opacity 1.5s ease;*/
  pointer-events: none; /* non interferisce con i click */
}

/*#logo-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1; *//* dietro tutto *//*
  overflow: hidden;
}*/

#logo-background-container {
  position: fixed;
  inset: 0;
  z-index: -9999; /* molto più basso */
  pointer-events: none;
  overflow: hidden;
}

.logo-floating {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: url("../img/logo.png");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 2s ease, transform 3s ease;
  z-index: -9999; /* anche loro sotto tutto */
}

/* --------------------------------------------------------------------------
   LANGUAGE SWITCHER
   -------------------------------------------------------------------------- */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 15px;
}
.lang-btn {
  color: rgba(255, 255, 255, 0.6);
  font-weight: normal;
  text-decoration: none;
  padding: 0 4px;
  transition: 0.3s;
  font-family: 'StoryScript-Regular', sans-serif;
}
.lang-btn:hover {
  color: #fff;
}
.lang-btn.active {
  color: #fff;
  font-weight: bold;
}




/* --------------------------------------------------------------------------
   WHATSAPP FLOATING PANEL
   -------------------------------------------------------------------------- */

.whatsapp-widget {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 996;

  opacity: 0;
  visibility: hidden;
  transform: translateY(25px);
  pointer-events: none;
  transition: all 0.4s;
}

.whatsapp-widget.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-main-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: white;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.whatsapp-main-btn:hover {
  transform: scale(1.08);
}

.whatsapp-panel {
  display: none;
  position: absolute;
  left: 0;
  bottom: 75px;
  width: 410px;
  background: #f4fbf7;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-panel.active {
  display: block;
}

.whatsapp-panel-header {
  background: #25D366;
  color: white;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: bold;
}

.whatsapp-title i {
  font-size: 34px;
}

.whatsapp-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.whatsapp-panel-body {
  padding: 24px;
}

.whatsapp-bubble {
  background: white;
  color: #444;
  display: inline-block;
  padding: 14px 18px;
  border-radius: 22px;
  margin-bottom: 14px;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.whatsapp-contact-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-contact-list a {
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-contact-list a:hover {
  background: #1ebe5d;
  color: white;
  transform: scale(1.03);
}

.whatsapp-contact-list i {
  font-size: 22px;
}

/* Mobile */
@media (max-width: 575px) {
  .whatsapp-widget {
    left: 15px;
    bottom: 15px;
  }

  .whatsapp-panel {
    width: calc(100vw - 30px);
    bottom: 70px;
  }

  .whatsapp-bubble {
    font-size: 16px;
  }
}