
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute!important;
  width: 1px;
  word-wrap: normal!important
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto!important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000
}


.offcanvas {
  background-color: #fff5f5;
}

.offcanvas .nav-link {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

.offcanvas .nav-item.active .nav-link {
  font-weight: bold;
  color: #dc3545;
}

.dropdown-menu a.dropdown-item.active {
  background-color: #f8f9fa;
  font-weight: 600;
}
.dropdown-menu img {
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
}


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 35px !important;
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.25);
  &:hover {
    background: darken(#F76C5E, 8%);
    color: #F4EDE4 !important;
  }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 10000;
  width: 90%;
  max-width: 600px;
  font-family: Arial, sans-serif;
}

.text-tercero {
 color: #9e3939;
}

/* Tamaño por defecto (desktop) */
.logo-svg svg {
  height: 110px;
  width: auto;
  display: block;
}

.text-slogan {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #8C8278;
}

/* Footer Logo */
.footer-logo svg {
  display: block;
  margin: 1.5rem auto;   /* centrado con margen arriba/abajo */
  height: 90px;          /* más pequeño que en el header */
  opacity: 0.85;         /* un poco más tenue */
  transition: opacity 0.3s ease;

  &:hover {
    opacity: 1;          /* al pasar el mouse se ve más fuerte */
    animation: heartbeat-logo 2.5s ease-in-out infinite;
  }
}


.footer-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
  color: #F1E6D6;
  margin-bottom: 1rem; /* mismo espaciado que los otros h3 */
}

.footer-cuori {
  width: 1.4em; /* escala con el tamaño del texto */
  height: auto;
  transform: translateY(2px); /* alinea verticalmente con el texto */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.footer-cuori:hover {
  transform: scale(1.1) rotate(-5deg) translateY(2px);
  opacity: 1;
}

.footer-tagline {
  font-size: 1rem;
  font-style: italic;
  margin-top: 0.5rem;
  opacity: 0.95;
}

.footer-signature {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: -0.2rem;
}


@media (max-width: 768px) {
  .footer-title {
    justify-content: center;
    text-align: center;
  }
}


.footer-links, .footer-links-2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-links-2 li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.4rem;
}

 .footer-links-2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: url("../icons/heart-footer.svg") no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.footer-links-2 li:hover::before {
  animation: heartbeat-footer 1.2s ease-in-out infinite;
}

@keyframes heartbeat-footer {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.3); }
  40% { transform: scale(1); }
  60% { transform: scale(1.15); }
  80% { transform: scale(1); }
}
 

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: url("../icons/heart-footer.svg") no-repeat center;
  background-size: contain;
  opacity: 0.85;
  animation: heartbeat-li-slow 3.5s ease-in-out infinite;
}

@keyframes heartbeat-li-slow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  20% { transform: scale(1.1); opacity: 0.95; }
  40% { transform: scale(0.97); opacity: 0.9; }
  60% { transform: scale(1.05); opacity: 0.92; }
  80% { transform: scale(1); opacity: 0.85; }
}

/* Enlaces generales del footer */
footer.site-footer a {
  color: #e5e7eb; /* gris claro */
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Subrayado animado */
footer.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #D96E4B ; /* coral  #f76c5e (color acento) */
  transition: width 0.3s ease;
}


footer.site-footer a:hover {
  color: #D96E4B; /* cambia a coral */
  text-decoration: none;
}

footer.site-footer a:hover::after {
  width: 100%; /* la línea se desliza bajo el texto */
}

/* Variante “latido” para íconos sociales */
footer .social-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .social-icon:hover {
  transform: scale(1.15);
  animation: pulse 1s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}


/* Animación */
@keyframes heartbeat-logo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  20% {
    transform: scale(1.05);
    opacity: 1;
  }
  40% {
    transform: scale(0.97);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.03);
    opacity: 0.95;
  }
  80% {
    transform: scale(0.99);
    opacity: 0.9;
  }
}

/* .legal-note {
    background: #04263c; 
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    padding: 12px 0;
} */

.legal-note {
  background: darken(#264653, 6%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  padding: 12px 0;
}

address i {
    color: #D4A24B; /* tono dorado sugerido */
    margin-right: 0.3rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.page-header {

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url('../images/header-bg-desktop.jpg');

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    image-set(
      url('../images/header-bg-desktop.avif') type('image/avif'),
      url('../images/header-bg-desktop.webp') type('image/webp'),
      url('../images/header-bg-desktop.jpg') type('image/jpeg')
    );

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 400px;
}

.page-header.poi {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
    url('../images/header-vista-via-dell-amore.jpg');

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
    image-set(
      url('../images/header-vista-via-dell-amore.avif') type('image/avif'),
      url('../images/header-vista-via-dell-amore.webp') type('image/webp'),
      url('../images/header-vista-via-dell-amore.jpg') type('image/jpeg')
    );
}

.page-header.blog {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url('../images/header-vista-porticciolo-riomaggiore.jpg');

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    image-set(
      url('../images/header-vista-porticciolo-riomaggiore.avif') type('image/avif'),
      url('../images/header-vista-porticciolo-riomaggiore.webp') type('image/webp'),
      url('../images/header-vista-porticciolo-riomaggiore.jpg') type('image/jpeg')
    );
}



.hero,
.hero--legal {
  position: relative;
  min-height: 542px;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--legal{
    min-height:380px;
    height:45vh;
}
.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__background picture,
.hero__background img{
    width:100%;
    height:100%;
}


.hero__background img {
  object-fit: cover;
  object-position: center;
}



.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      rgba(0,0,0,0.10),
      rgba(0,0,0,0.32)
    );
}


.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: .01em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 800px;
  text-shadow:
    0 3px 10px rgba(0,0,0,.45);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 620px;
  color: rgba(255,255,255,0.92);
  text-shadow:
    0 2px 8px rgba(0,0,0,.4);
}


.hero__background--mobile{
    display:none;
}



#site-navigation .navbar {
 border-radius: 5px;
  box-shadow: 0 12px 45px rgba(0,0,0,0.08);
}
.breadcrumb-wrapper {
  position: relative;
  margin-top: -30px;
  z-index: 30;
}

.breadcrumb-container {
  background: rgba(244, 237, 228, 0.92);

  backdrop-filter: blur(12px);

  border-radius: 14px;

  padding: 16px 28px;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.08);

  border: 1px solid rgba(255,255,255,0.45);
}

.breadcrumb {
  margin: 0;
  gap: 8px;
}

.breadcrumb-item {
  font-size: 0.95rem;
}

.breadcrumb-item a {
  color: #6b625b;
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb-item a:hover {
  color: #c96f4a;
}

.breadcrumb-item a.active {
  color: #1f2f39;
  font-weight: 600;
}

.blog-item {
  border-radius: 30px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: 0.5s;
}
.blog-item .blog-btn-one {
  display: inline-block;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}
.blog-item .blog-btn-one:hover {
  text-decoration: none;
  letter-spacing: 1px;
}
.post-detail {
  padding-left: 0;
  margin-bottom: 0;
}
.post-detail li {
  list-style-type: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  color: #797878;
  margin-right: 25px;
}
.post-detail li:last-child {
  margin-right: 0;
}
.post-detail i {
  margin-right: 4px;
}
.post-detail i::before {
  font-size: 14px;
}

.blog-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-date {
  position: absolute;
  width: 60px;
  height: 45px;
  top: 30px;
  left: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  background: #b74a4a;
}

.blog-date::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: -15px;
  left: 0;
  border: 8px solid;
  border-color: transparent #f76c5e #f76c5e transparent;
  z-index: -1;
}


/* Contenedor principal de la galería */
.isotopeContainer {
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Clase que activa el efecto */
.isotope-fading {
    opacity: 0.3;
    filter: blur(2px);
    pointer-events: none; /* evita clics durante la animación */
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.image-section {
  margin: 0;
}

.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;

    width: 56px;
    height: 56px;

    border-radius: 50%;
    background-color: #25D366;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 1.8rem;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,.20);

    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}


@media(min-width: 992px) {

  .hero,
  .hero--legal {
    margin-top:-42px
  }

}

@media (max-width: 768px) {
  .image-section {
    padding: 0;
  }
    .hero__background--desktop{
        display:none;
    }

    .hero__background--mobile{
        display:block;
    }
  .hero__overlay {
    background:
      linear-gradient(
        rgba(0,0,0,0.28),
        rgba(0,0,0,0.48)
      );
  }
  .hero{
      min-height:500px;
  }
  .hero--legal{
      min-height:350px;

  }
  .hero__content{
      justify-content:flex-start;
      padding-top:80px;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .logo-svg svg {
    height: 80px;
  }
  .text-slogan {
    font-size: 0.8rem;  
  }
}

@media (min-width: 768px) {
  footer a {
    text-decoration: none;
  }
}




/* ---------- Tablet (768–1199px) ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-header {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-bg-tablet.jpg');

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-bg-tablet.avif') type('image/avif'),
        url('../images/header-bg-tablet.webp') type('image/webp'),
        url('../images/header-bg-tablet.jpg') type('image/jpeg')
      );
  }
  .page-header.blog {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-vista-porticciolo-riomaggiore-tablet.jpg');

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-vista-porticciolo-riomaggiore-tablet.avif') type('image/avif'),
        url('../images/header-vista-porticciolo-riomaggiore-tablet.webp') type('image/webp'),
        url('../images/header-vista-porticciolo-riomaggiore-tablet.jpg') type('image/jpeg')
      );
  }
  .page-header.poi {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      url('../images/header-vista-via-dell-amore-tablet.jpg');

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      image-set(
        url('../images/header-vista-via-dell-amore-tablet.avif') type('image/avif'),
        url('../images/header-vista-via-dell-amore-tablet.webp') type('image/webp'),
        url('../images/header-vista-via-dell-amore-tablet.jpg') type('image/jpeg')
      );
  }

}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {

  .page-header {

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-bg-mobile.jpg');

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-bg-mobile.avif') type('image/avif'),
        url('../images/header-bg-mobile.webp') type('image/webp'),
        url('../images/header-bg-mobile.jpg') type('image/jpeg')
      );
  }
  .page-header.blog {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-vista-porticciolo-riomaggiore-mobile.jpg');

    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-vista-porticciolo-riomaggiore-mobile.avif') type('image/avif'),
        url('../images/header-vista-porticciolo-riomaggiore-mobile.webp') type('image/webp'),
        url('../images/header-vista-porticciolo-riomaggiore-mobile.jpg') type('image/jpeg')
      );
  }
  .page-header.poi {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      url('../images/header-vista-via-dell-amore-mobile.jpg');
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      image-set(
        url('../images/header-vista-via-dell-amore-mobile.avif') type('image/avif'),
        url('../images/header-vista-via-dell-amore-mobile.webp') type('image/webp'),
        url('../images/header-vista-via-dell-amore-mobile.jpg') type('image/jpeg')
      );
  }
}

/* ---------- XSmall mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .page-header {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-bg-xsmall.jpg');
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-bg-xsmall.avif') type('image/avif'),
        url('../images/header-bg-xsmall.webp') type('image/webp'),
        url('../images/header-bg-xsmall.jpg') type('image/jpeg')
      );
  }
  .page-header.blog {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      url('../images/header-vista-porticciolo-riomaggiore-xsmall.jpg');
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
      image-set(
        url('../images/header-vista-porticciolo-riomaggiore-xsmall.avif') type('image/avif'),
        url('../images/header-vista-porticciolo-riomaggiore-xsmall.webp') type('image/webp'),
        url('../images/header-vista-porticciolo-riomaggiore-xsmall.jpg') type('image/jpeg')
      );
  }
  .page-header.poi {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      url('../images/header-vista-via-dell-amore-xsmall.jpg');
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      image-set(
        url('../images/header-vista-via-dell-amore-xsmall.avif') type('image/avif'),
        url('../images/header-vista-via-dell-amore-xsmall.webp') type('image/webp'),
        url('../images/header-vista-via-dell-amore-xsmall.jpg') type('image/jpeg')
      );
  }
}