/*!------------------------------------------------------------------
[MAIN STYLESHEET]

PROJECT:    Project Name
VERSION:    Version Number
-------------------------------------------------------------------*/


/* ==================== TIPOGRAFIA BASE ==================== */
/* Importazione font da Google Fonts */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Playfair+Display:400,700");

/* Definizione font personalizzato */
@font-face {
  font-family: "hanskendrick";
  src: url("/src/plugins/fonts/hanskendrick-regular-webfont.woff2") format("woff2");
  src: url("/src/plugins/fonts/hanskendrick-regular-webfont.woff") format("woff");
  font-style: normal;
  font-display: swap; /* Ottimizzazione caricamento font */
}

    .contenitore {
      display: flex;
      justify-content: center;   /* Centra orizzontalmente */
      align-items: center;
      padding: 2em;
    }

    .testo {
      max-width: 600px;
      padding: 1.5em;
      border-radius: 8px;S
      line-height: 1.6;
    }
/* Stili base per il body */
body {
  line-height: 1.5;
  font-family: "Lexend", sans-serif;
  -webkit-font-smoothing: antialiased; /* Migliora la leggibilità su macOS */
  font-size: 15px;
  color: #585757;
}

/* Stili paragrafi */
p, .paragraph {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  font-family: "Lexend", sans-serif;
}

/* Stili intestazioni */
h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-family: "hanskendrick";
  font-weight: 600;
  line-height: 1.2;
}

/* Dimensioni responsive per h1 */
h1, .h1 {
  font-size: 80px;
}
@media (max-width: 767px) {
  h1, .h1 {
    font-size: 55px; /* Riduzione dimensione su mobile */
  }
}

/* Dimensioni responsive per h2 */
h2, .h2 {
  font-size: 50px;
}
@media (max-width: 767px) {
  h2, .h2 {
    font-size: 45px;
  }
}

/* Dimensioni per h3-h6 */
h3, .h3 { font-size: 40px; }
h4, .h4 { font-size: 30px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 16px; }

/* ==================== STILE BOTTONI GALLERIA HOMEPAGE ==================== */
.btn {
  position: relative;
  bottom: 15px;
  font-size: 10px;
  font-family: "Open Sans", sans-serif;
  text-transform: capitalize;
  padding: 8px 20px;
  border-radius: 0;
  font-weight: 600;
  border: 2px solid;
  transition: 0.2s ease; /* Transizione fluida */
}

.en {
  position: relative;
  margin: -48PX;
  top: 14px;
}

.it {
  position: relative;
  margin: 15px;
  bottom: 14px;
}

/* Rimuove outline al focus per accessibilità */
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.btn:active {
  box-shadow: none;
}

/* Variante primary */
.btn-primary {
  background: #068D9D;
}
.btn-primary:active {
  background: #068D9D !important;
}
.btn-primary:hover {
  background: #056974; /* Scurisce al hover */
}

.btn-outline-light {
    background: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px);
    border: 1px solid #068D9D !important;
    font-size: clamp(0.7rem, 2vw, 0.9rem);

    padding: 5px 10px !important;

    transition: all 0.3s ease !important;
    border-width: 2px;

    /* Centratura ORIZZONTALE */
      display: inline-block;    /* Larghezza si adatta al testo */
      margin: 10px auto;       /* Centra orizzontalmente */

      /* Gestione del TESTO su Mobile */
      white-space: nowrap;     /* Impedisce al testo di andare a capo */
      max-width: 90vw;         /* Massima larghezza = 90% dello schermo */

      /* Mobile-specific fixes */
      @media (max-width: 768px) {
        padding: 3px 2px;     /* Padding più stretto su mobile */
      }

  }


.btn-outline-light:hover {
background: rgba(255,255,255,0.8) !important;
color: #056974 !important;
}


.btn-outline-light.active,
.btn-outline-light:focus {
  background-color: rgba(245, 240, 230, 0.9) !important; /* Beige trasparente */
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #056974 !important; /* Testo in turchese scuro */
  backdrop-filter: blur(4px); /* Effetto vetro smerigliato */
}

/* Transizione fluida per tutti gli stati */
.btn {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==================== LAYOUT BASE ==================== */
body {
  background: #F5F0E6;
  margin: 0;
  padding: 0;
  min-height: 100vh; /* Altezza minima viewport */
}

/* Stili selezione testo */
::-moz-selection {
  background: #056974;
}
::selection {
  background: #056974;
}

/* ==================== PRELOADER ==================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999; /* Sopra tutto */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animazione punti caricamento */
.preloader .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142px;
  height: 40px;
  margin: -20px 0 0 -71px;
  background: white;
}

/* Punto animato */
.preloader .loader .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #068D9D;
  border-radius: 50%;
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
          animation: dot 2.8s infinite;
}

/* Punti statici */
.preloader .loader .dots {
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
          animation: dots 2.8s infinite;
}

.preloader .loader .dots span {
  display: block;
  float: left;
  width: 11px;
  height: 11px;
  margin-left: 16px;
  background: #068D9D;
  border-radius: 50%;
}

/* Animazioni */
@-webkit-keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@-webkit-keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}
@keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}

/* ==================== RESET ELEMENTI BASE ==================== */
/* Rimuove stili liste */
ol, ul {
  list-style-type: none;
  margin: 0px;
}

/* Reset immagini */
img {
  vertical-align: middle;
  border: 0;
}

/* Reset link */
a, a:hover, a:focus {
  text-decoration: none;
}

/* Cursore puntatore */
a, button, select {
  cursor: pointer;
  transition: 0.2s ease;
}
a:focus, button:focus, select:focus {
  outline: 0;
}

/* Colore hover link */
a:hover, a.text-dark:hover {
  color: #068D9D !important;
}

/* ==================== COMPONENTI ==================== */
/* Slick slider */
.slick-slide {
  outline: 0;
}

/* Sezioni */
.section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.section-sm {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-title {
  margin-bottom: 30px;
}

/* Background */
.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.bg-fixed {
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Border */
.border-primary {
  border-color: #ababab !important;
}

/* Overlay */
.overlay {
  position: relative;
}
.overlay::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.5;
}

/* Utility */
.outline-0 {
  outline: 0 !important;
}
.d-unset {
  display: unset !important;
}

/* Colori */
.bg-primary {
  background: #068D9D !important;
}
.bg-secondary {
  background: #d4cec7 !important;
}
.text-primary {
  color: #ff6f00 !important;
}
.text-color {
  color: #585757;
}
.text-dark {
  color: #068D9D !important;
}
.font-secondary {
  font-family: "hanskendrick" !important;
  color: #068D9D !important;
}

/* Margini bottom */
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-70 { margin-bottom: 70px !important; }
.mb-80 { margin-bottom: 80px !important; }
.mb-90 { margin-bottom: 90px !important; }
.mb-100 { margin-bottom: 100px !important; }

/* Z-index */
.zindex-1 {
  z-index: 1;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Form controls */
.form-control {
  border: 0;
  border-bottom: 1px solid #ababab;
  border-radius: 0;
}
.form-control:focus {
  outline: 0;
  box-shadow: none;
  border-color: #068D9D;
}

textarea.form-control {
  height: 150px;
}

/* ==================== NAVBAR ==================== */
.navigation {
  z-index: 9;
}

/* Sticky header */
.headroom {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.4s ease-in-out;
  padding: 10px 40px;
  background-color: #fff;
}
@media (max-width: 575px) {
  .headroom {
    padding: 10px;
  }
}

/* Comportamento sticky */
.headroom--unpinned {
  top: -150px;
}
@media (max-width: 991px) {
  .headroom--unpinned {
    top: 0;
  }
}
.headroom--pinned {
  top: 0;
}

/* Link navbar */
.navbar .nav-item .nav-link {
  padding: 20px 15px;
}
@media (max-width: 991px) {
  .navbar .nav-item .nav-link {
    padding: 10px;
  }
}

/* Dropdown menu */
.navbar .dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.navbar .dropdown-menu {
  box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
  padding: 10px;
  border: 0;
  top: 100%;
  left: -10px;
  border-radius: 0;
  display: block;
  visibility: hidden;
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
  background: #fff;
}
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    text-align: center;
  }
}
.navbar .dropdown-menu.show {
  visibility: hidden;
}
@media (max-width: 991px) {
  .navbar .dropdown-menu.show {
    visibility: visible;
    display: block;
  }
}
.navbar .dropdown-item:active {
  color: #fff;
  background-color: #068D9D;
}

/* Search icon */
.search-icon {
  border: 0;
  background: transparent;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ==================== CARD ==================== */
/* Overlay immagine card */
.card-img-overlay::before {
  position: absolute;
  content: "";
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.5));
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

/* Contenuto card */
.card-content {
  padding: 30px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
}

/* Bordi titoli */
.title-border {
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 30px;
}
.title-border::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 100px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  background: #ababab;
}

.title-border-lg {
  position: relative;
}
.title-border-lg::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 300px;
  left: -45px;
  bottom: -50px;
  background: #ababab;
}

/* ==================== PAGINAZIONE ==================== */
@media (max-width: 575px) {
  .pagination {
    overflow: auto;
    white-space: nowrap;
  }
  .pagination::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
}
.pagination .page-item .page-link {
  font-family: "hanskendrick";
  font-size: 30px;
  border: 0;
  color: #585757;
}
@media (max-width: 767px) {
  .pagination .page-item .page-link {
    font-size: 16px;
  }
}
.pagination .page-item .page-link:hover {
  color: #000000;
  background-color: transparent;
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 16px;
}
.pagination .page-item.active .page-link {
  color: #000000;
  text-decoration: underline;
  background: transparent;
}

/* ==================== INSTAGRAM POST ==================== */
.instagram-post {
  position: relative;
}
.instagram-post::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}
.instagram-post ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}
.instagram-post ul a {
  transition: 0.2s ease;
  font-size: 20px;
}
.instagram-post ul a:hover {
  color: #068D9D !important;
}
.instagram-post:hover::before {
  visibility: visible;
  opacity: 1;
}
.instagram-post:hover ul {
  visibility: visible;
  opacity: 1;
}

/* ==================== HOMEPAGE 2 ==================== */
.hero-section {
  padding: 70px 0 0;
  background-image: linear-gradient(#fff 45%, #fdefe6 0);
}

/* Divisori */
.dividers {
  display: flex;
  align-items: center;
  width: 1200px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.dividers .divider {
  border-right: 1px solid #edeef0;
  flex-basis: 50%;
  height: 100vh;
  opacity: 0.6;
}
.dividers .divider:first-child {
  border-left: 1px solid #edeef0;
}

/* Articoli full width */
.article-full-width {
  display: flex;
  flex-wrap: nowrap;
}
@media (max-width: 767px) {
  .article-full-width {
    flex-direction: column;
  }
}
.article-full-width .post-image {
  margin-right: 20px;
}
@media (max-width: 767px) {
  .article-full-width .post-image {
    margin: 0 0 20px 0;
  }
}
.article-full-width .post-image img {
  height: 400px;
  width: auto;
}
@media (max-width: 767px) {
  .article-full-width .post-image img {
    height: auto;
    width: 100%;
  }
}
.article-full-width .post-content {
  width: 50%;
}
@media (max-width: 767px) {
  .article-full-width .post-content {
    width: 100%;
  }
}

.article-full-width .post-content .btn {
  padding-left: 0;
}

.article-full-width .post-meta {
  width: 250px;
}
@media (max-width: 991px) {
  .article-full-width .post-summary {
    display: none;
  }
}
@media (max-width: 767px) {
  .article-full-width .post-summary {
    display: block;
  }
}
.article-full-width.article-right {
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .article-full-width.article-right {
    flex-direction: column-reverse;
  }
}
.article-full-width.article-right .post-image {
  order: 2;
  margin: 0 0 0 20px;
}
@media (max-width: 767px) {
  .article-full-width.article-right .post-image {
    margin: 0 0 20px 0;
  }
}
.article-full-width.article-right .post-content {
  order: 1;
}
.article-full-width.article-right .post-meta {
  margin-left: auto;
}
@media (max-width: 767px) {
  .article-full-width.article-right .post-meta {
    margin-left: 0;
  }
}
.article-full-width.article-right .author {
  text-align: right;
}
@media (max-width: 767px) {
  .article-full-width.article-right .author {
    text-align: left;
  }
}

/* Thumbnail post */
.post-thumb {
  height: 400px;
}

/* Blockquote */
blockquote {
  font-style: italic;
  color: #000000;
  background: #fdefe6;
  padding: 20px;
  font-weight: 600;
}

/* Contenuto generico */
.content * {
  margin-bottom: 20px;
}

/* Widget */
.widget {
  padding: 15px 0;
}
.widget:not(:last-child) {
  margin-bottom: 30px;
  border-bottom: 1px solid #f4f4f4;
}

/* Search box */
.search-box {
  position: relative;
}
.search-box i {
  position: absolute;
  left: 0;
  top: 25px;
  color: #767575;
}

/* Thumbnail small */
.post-thumb-sm {
  max-width: 75px;
  max-height: 75px;
  overflow: hidden;
}

/* Tag list */
.tag-list li a {
  display: block;
  background: #f4f4f4;
  padding: 2px 5px;
  color: #000000;
}
.tag-list li a:hover {
  color: #068D9D;
}

/* ==================== VARIABILI CSS ==================== */
:root {
  --beige: #FFFCF5;
  --beige-scuro: #F5F0E6;
  --turchese: #068d9d;
  --turchese-scuro: #056974;
  --testo: #5a716a;
}

/* ==================== STRUTTURA BASE ==================== */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Lexend', sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  background-color: var(--beige);
}
.page-content {
  /*flex: 1 0 auto; /* Flex grow, flex shrink, flex basis */
  margin-top: 90px !important;  /* Regola questo valore a piacere */
}

/* ==================== HEADER ==================== */
.navigation {
  background: linear-gradient(to top, var(--beige) 0%, var(--beige-scuro) 100%);
  border-bottom: 1px solid rgba(90, 113, 106, 0.1);
}
.navbar-brand img {
  width: 100px;
  height: auto;
  transition: all 0.3s ease;
}

/* ==================== NAVBAR ==================== */
.nav-link {
  color: var(--turchese-scuro);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
}
/* Effetto hover sottolineato */
.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--turchese-scuro);
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--turchese-scuro);
  opacity: 0.8;
}
.nav-link:hover:after {
  width: 100%;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
  margin-left: 15px;
}

/* Dropdown menu personalizzato */
.language-switcher .dropdown-menu {
  min-width: auto !important;
  width: max-content !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  margin-top: 5px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  border: 1px solid rgba(90, 113, 106, 0.1) !important;
}

.language-switcher .dropdown-item {
  padding: 8px 15px !important;
  white-space: nowrap !important;
}

/* Freccetta dropdown personalizzata */
.language-switcher .dropdown-toggle::after {
  border-top-color: var(--turchese-scuro) !important;
  border-bottom-color: var(--turchese-scuro) !important;
}

/* Versione mobile */
@media (max-width: 991.98px) {
  .language-switcher .dropdown-toggle::after {
    display: inline-block !important;
    border-top-color: var(--turchese-scuro) !important;
    border-bottom-color: var(--turchese-scuro) !important;
  }
}

/* Pulsante lingua */
.btn-lang {
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-lang:hover {
  opacity: 0.8;
}

/* Bandiere */
.flag-icon {
  width: 34px;
  height: 18px;
  background-size: cover;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}
.flag-it {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="%23009234" d="M0 0h3v6H0z"/><path fill="%23FFF" d="M3 0h3v6H3z"/><path fill="%23CE2B37" d="M6 0h3v6H6z"/></svg>');
}
.flag-gb {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="30" fill="%23012169"/><path d="M0 0l60 30M60 0L0 30" stroke="%23FFF" stroke-width="6"/><path d="M30 0v30M0 15h60" stroke="%23FFF" stroke-width="10"/><path d="M30 0v30M0 15h60" stroke="%23C8102E" stroke-width="6"/></svg>');
}
.lang-text {
  color: var(--turchese-scuro);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==================== FEATURED POST SLIDER ==================== */
.featured-post-slider {
  padding-left: 15px;
  padding-right: 15px;
}

.featured-post-slider .card {
  height: 250px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-post-slider .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(6, 141, 157, 0.2);
}
.card-img-overlay {
  background: rgba(6, 141, 157, 0.7);
  display: flex;
  align-items: flex-end;
}

/* ==================== FOOTER ==================== */
.sticky-footer {
  background: linear-gradient(to bottom, var(--beige) 50%, var(--beige-scuro) 100%);
  padding: 0.1rem 0;
  flex-shrink: 0;
  border-top: 1px solid rgba(90, 113, 106, 0.1);
}
.footer-turchese {
  color: var(--turchese-scuro);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 767.98px) {
  .language-switcher {
    margin-left: 0;
    justify-content: center;
  }
}

/* Logo responsive */
.navbar-brand .logo-header {
  width: auto;
  height: 65px;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .navbar-brand .logo-header {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .navbar-brand .logo-header {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .navbar-brand .logo-header {
    height: 45px;
  }
}

/* Card responsive */
@media (max-width: 576px) {
  .featured-post-slider .card {
    height: 250px;
  }
}

/* Footer logo responsive */
.footer-logo {
  height: 30px;
  width: auto;
}

@media (min-width: 576px) {
  .footer-logo {
    height: 35px;
  }
}

@media (min-width: 768px) {
  .footer-logo {
    height: 40px;
  }
}

@media (min-width: 992px) {
  .footer-logo {
    height: 45px;
  }
}

@media (min-width: 1200px) {
  .footer-logo {
    height: 50px;
  }
}

/* ==================== CARD GENERICHE ==================== */
.card {
  min-height: 150px;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-radius: 8px !important;
  overflow: hidden;
}

.card-img {
  object-fit: cover;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(6,141,157,0.15);
}

.card-img {
  transition: transform 0.8s ease;
}

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

.card-titolo-monumento {
  font-family: 'Lexend', sans-serif;
  font-size: 1.0rem;
  color: #056974;
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

.card-titolo-monumento:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: #d4cec7;
  bottom: -5px;
  left: 25%;
  transition: all 0.3s ease;
}

.card:hover .card-titolo-monumento:after {
  width: 80%;
  background: #068D9D;
}



/* ==================== DROPDOWN MENU ==================== */
.dropdown-menu {
  background-color: var(--beige-scuro);
  border: 1px solid rgba(90, 113, 106, 0.1);
  border-radius: 0;
}
.dropdown-item {
  color: var(--turchese-scuro);
  font-size: 0.85rem;
  font-weight: 500;
}
.dropdown-item:hover {
  background-color: rgba(5, 105, 116, 0.1);
  color: var(--turchese-scuro);
}

/* ==================== ICONE SOCIAL ==================== */
.social-icon {
  color: var(--turchese-scuro);
  transition: all 0.3s ease;
}
.social-icon:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* ==================== NAVBAR TOGGLER ==================== */
.navbar-toggler {
  color: var(--turchese-scuro);
  border-color: var(--turchese-scuro);
}

/* ==================== LAYOUT GENERALE ==================== */
body {
  display: flex;
  flex-direction: column;
  background-color: var(--beige);
  overflow-x: hidden;
}

/* Footer fisso */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Lexend', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
  padding-bottom: 60px;
}

.sticky-footer {
  width: 100%;
  background: linear-gradient(to bottom, var(--beige) 50%, var(--beige-scuro) 100%);
  border-top: 1px solid rgba(90, 113, 106, 0.1);
  z-index: 1000;
}

main {
  margin-bottom: 80px;
}

/* ==================== SEZIONE MONUMENTI ==================== */
.galleria-monumenti {
  /*margin-top: 50px;
  padding: 30px 0;*/
  margin-top: 110px;
  padding-top: 0;
  margin-left: 10px;
  margin-right: 10px;
  overflow: hidden;
}

.slider-section {
  padding: 60px 0;
}

.monument-info {
  padding-right: 40px;
}

.monument-name {
  color: var(--turchese-scuro);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.monument-description {
  color: var(--testo);
  line-height: 1.6;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;

}

.monument-slider {
  width: 100%;
}

.monument-slider .slick-slide {
  padding: 0 10px;
}

.monument-slider .slick-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.monument-slider .slick-slide img:hover {
  transform: scale(1.02);
}

/* Frecce slider */
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--turchese-scuro);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slick-arrow:hover {
  background: var(--turchese-scuro);
  color: white;
}

/*
.slick-prev {
  left: -20px;
}

.slick-next {
  right: -20px;
}
*/


/*Animazione galleria*/
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.galleria-monumenti .col-lg-3 {
  animation: float 6s ease-in-out infinite;
}

.galleria-monumenti .col-lg-3:nth-child(2) {
  animation-delay: 0.5s;
}

.galleria-monumenti .col-lg-3:nth-child(3) {
  animation-delay: 1s;
}

.galleria-monumenti .col-lg-3:nth-child(4) {
  animation-delay: 1.5s;
}

/* ==================== STILE TITOLI PAGINE ==================== */
.titoli{
  font-family: 'Allison';
  font-size: 4.0rem;
  color: #6b522a;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(107, 82, 42, 0.2);
}
.startParagrafo{
  font-family: 'Allison';
  font-size: 3.0rem;
  color: #6b522a;
}

/* ==================== STILE MOTTO ==================== */
.brand-container {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

/* Motto desktop */
.motto-text {
  font-family: 'Allison', cursive;
  font-size: 1.3rem;
  color: #6b522a;
  position: relative;
  display: inline;
  opacity: 1;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.motto-text[style*="display: none"] {
  opacity: 0;
}

.motto-text {
  margin-left: 15px;
}

/* Nascondi motto su mobile */
@media (max-width: 900px) {
  .motto-text {
    display: none;
  }
}

/* Stile motto nel body (versione mobile) */
.motto-text-body {
  font-family: 'Allison', cursive;
  color: #6b522a;
  text-align: center; /* Allineamento centrale */
  font-size: clamp(2.6rem, 5vw, 2.8rem);
  margin: 0 auto; /* Centratura orizzontale */
  display: none;
  padding: 0 1rem; /* Riduci il padding laterale */
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(107, 82, 42, 0.2);
  width: 100%; /* Occupa tutta la larghezza */
  box-sizing: border-box; /* Include padding nella larghezza */

  /* Reset eventuali float o posizionamenti ereditati */
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

  /* Contenitore genitore */
.navbar-brand {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  padding-right: 0 !important;
}

/* Mostra motto body su mobile */
@media (max-width: 900px) {
  .motto-text-body {
    display: block;
    padding: 0 1rem; /* Padding ridotto e uniforme */
    margin: 0.5rem 0; /* Aggiungi margine verticale */
  }
}

@media (max-width: 820px) {
  .motto-text-body {
    display: block;
    padding: 0 1rem; /* Padding ridotto e uniforme */
    margin: 0.5rem 0; /* Aggiungi margine verticale */
  }
}

/* Regolazioni per mobile piccolo */
@media (max-width: 480px) {
  .motto-text-body {
    padding: 0 0.5rem; /* Padding ancora più stretto */
    font-size: clamp(2.0rem, 5vw, 2.2rem); /* Dimensione più piccola */
  }
}

/* ==================== MENU MONUMENTI ==================== */
.menu-monumenti-barra-link{
  font-size: 1.2em;
  opacity: 0.5;
  line-height: 1.8;
}

/* ==================== NAVBAR BRAND ==================== */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.mosaic-container .navbar-brand {
  padding: 0 !important;
  margin: 0 !important;
}

.mosaic-image {
  width: auto !important;
  height: 65px !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
}

.motto-text {
  display: inline-block !important;
  white-space: nowrap !important;
  position: relative !important;
  margin-left: 0 !important;
  font-size: 1.3rem !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(107, 82, 42, 0.2);
}

.navbar-brand {
  position: relative;
  display: flex !important;
  align-items: center !important;
  padding-right: 200px !important;
}

.mosaic-image {
  width: auto !important;
  height: 65px !important;
  flex-shrink: 0 !important;
}

.motto-text {
  position: absolute !important;
  left: calc(100% + 15px) !important;
  white-space: nowrap !important;
  font-size: 2.5rem !important;
  transition: opacity 0.3s ease !important;
  margin-left: 0 !important;
}

/* Mantiene spazio per entrambe le versioni */
.motto-lang-it,
.motto-lang-en {
  left: calc(100% + 15px) !important;
}

/* Nascondi motto su mobile */
@media (max-width: 900px) {
  .navbar-brand {
    padding-right: 0 !important;
  }
  .motto-text {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .navbar-brand {
    padding-right: 0 !important;
  }
  .motto-text {
    display: none !important;
  }
}


/* Stile per le connessioni tra tappe */

.itinerary-connection {
  position: relative;
  margin: 20px 0;
  padding-left: 60px; /* Allinea con il numero della tappa */
}

.connection-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--turchese);
  border-radius: 2px;
}

.connection-arrow {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid var(--turchese);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-arrow i {
  color: var(--turchese);
  font-size: 10px;
}

.connection-info {
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  color: var(--turchese-scuro);
  border: 1px solid #e0e0e0;
  margin-left: 0;
  padding: 10px 15px;
}

.connection-info i {
  margin-right: 5px;
}

.info-separator {
  border-top: 1px solid var(--turchese-scuro);
   opacity: 0.3;
  margin: 10px 30px;
  width: calc(100% - 60px);
}


.titolo-recensioni {
    font-family: 'Verdana';
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(107, 82, 42, 0.2);
}

/* per testing

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