@
:root {
  --green-1: #6e8b78;
  --mint: #afc4ac;
  --bg: #f7f3eb;
  --text: #2b2b2b;
  --muted: rgba(43, 43, 43, 0.65);
  --transition: 0.3s ease;

  /* Brand colors */
  --booking-blue: #003580;
  --booking-hover: #0071c2;
  --airbnb-pink: #FF5A5F;
  --airbnb-hover: #FF7E82;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #45E07A;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-stretch: condensed;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.text-scuro{
    color: #2b2b2b;
}

.text-verde{
    color: #62846C;
}

.max-width {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

header h1 {
  font-size: 1.8rem;
  margin: 0;
}

.brand-bg {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-1), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
}

nav a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

main {
  padding: 2rem 0;
}

section {
  margin-bottom: 3rem;
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.grid-2 > div {
  flex: 1;
  min-width: 300px;
}

.card {
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 1rem;
}

img {
  width: 200%;
  border-radius: 8px;
  object-fit: cover;
  transition: var(--transition);
}

img:hover {
  transform: scale(1.03);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

/* Pulsanti */
.fancy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  padding: 0.7rem 1.3rem;
  font-size: 1rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.fancy-btn img {
  height: 22px;
  width: auto;
}

.fancy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.btn-booking {
  background-color: var(--booking-blue);
  color: var(--text);
}
.btn-booking:hover {
  background-color: var(--booking-hover);
}

.btn-airbnb {
  background-color: var(--airbnb-pink);
  color: var(--text);
}
.btn-airbnb:hover {
  background-color: var(--airbnb-hover);
}

.btn-success {
  background-color: var(--whatsapp-green);
  color: white;
}
.btn-success:hover {
  background-color: var(--whatsapp-hover);
}

ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
  color: var(--text);
}

ol li {
  margin-bottom: 0.5rem;
}

iframe {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: var(--muted);
}



.infocard{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}
.infocard:hover{
    transform: skew(1deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 1.5rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .grid-2 {
    flex-direction: column;
  }

  .fancy-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    color: var(--text) !important;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  iframe {
    height: 250px;
  }

  ol {
    font-size: 0.95rem;
  }

  body {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .fancy-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}