/* ================= PAGINA DOVE SIAMO ================= */
/* ================= SEZIONE POSIZIONE ================= */

.home-about.location-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
}

.home-about.location-section .about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: start;
}

.home-about.location-section .about-text {
  background: transparent;
  padding: 0;
  box-shadow: none;
  max-width: none;
  display: flex;
  flex-direction: column;
}

.home-about.location-section .about-text h2 {
  margin-bottom: 2rem;
}

.location-text-grid {
  display: grid;
  gap: 1.8rem;
}

.location-card {
  background: #f4f9fc;
  padding: 2.2rem 2.6rem;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-right: 3px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12);
}

.location-card p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--primary-dark);
}

.location-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 155, 0, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.location-card a:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ================= COLONNA DESTRA ================= */

.about-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.tripadvisor-bravo {
  width: 100%;
  max-width: 100%;
  margin-top: 75px;
  display: flex;
  justify-content: center;
}

.tripadvisor-bravo iframe,
.tripadvisor-bravo img,
.tripadvisor-bravo div,
.tripadvisor-bravo ul {
  max-width: 100%;
}

.parco-box {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.parco-box img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.location-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.location-image img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s ease, filter 0.35s ease, box-shadow 0.35s ease;
  margin-bottom: 10px;
}

.location-image img:hover {
  transform: scale(1.04);
  filter: brightness(1.04);
  box-shadow:
    0 0 0 3px var(--accent),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

/* ================= GALLERY ================= */

.tremiti-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tremiti-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s ease, filter 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.tremiti-gallery img:hover {
  transform: scale(1.06);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 3px var(--accent),
    0 20px 40px rgba(0, 0, 0, 0.18);
}

/* ================= DESKTOP ================= */

@media (min-width: 900px) {
  .home-about.location-section .about-container {
    gap: 4.5rem;
  }

  .about-side {
    margin-left: 10px;
  }
}

/* ================= TABLET ================= */

@media (max-width: 1000px) {
  .tremiti-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-image img {
    max-width: 300px;
  }
}

/* ================= MOBILE / TABLET ================= */

@media (max-width: 900px) {
  .home-about.location-section .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-side {
    max-width: 320px;
    margin: 0 auto;
  }

  .tripadvisor-bravo {
    margin-top: 0;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .home-about.location-section,
  .location-section {
    padding: 3.5rem 1rem;
  }

  .location-section .about-text h2 {
    text-align: center;
  }

  .location-card {
    padding: 1.5rem;
  }

  .tripadvisor-bravo {
    max-width: 260px;
  }

  .parco-box {
    max-width: 130px;
  }

  .location-image img {
    max-width: 100%;
  }

  .tremiti-gallery {
    grid-template-columns: 1fr;
    padding: 0 1rem 3rem;
  }

  .tremiti-gallery img {
    height: auto;
  }
}

/* ===== SEZIONE MAPPA ===== */


.map-section {
  padding: 2.5rem 1.5rem 4rem;
}

.map-text {
  margin-top: 10px;
}

.map-text .btn-primary,
.map-text .btn-primary:visited,
.map-text .btn-primary:focus {
  color: #ffffff;
  background: var(--accent);
}

.map-text p {
  margin-bottom: 0.8rem;
}

.map-text .btn-primary {
  margin-top: 0.8rem;
}

.map-text .btn-primary:hover {
  color: #ffffff;
  background: var(--accent-hover);
}

.map-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.map-box {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}

.map-box iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
