/* Guide Alpine Val di Fiemme - Nuovo sito statico */
:root {
  --color-primary: #1a3c34;
  --color-accent: #c9a227;
  --color-light: #f7f7f7;
  --color-dark: #111;
  --color-text: #333;
  --font-main: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo img { max-height: 110px; }
.main-nav {
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--color-dark);
}
.main-nav a:hover { color: var(--color-accent); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(26,60,52,0.45) 0%, rgba(26,92,72,0.35) 100%), url('mountain-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 5rem 1.5rem 7rem;
  position: relative;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  font-weight: 700;
}
.hero p { font-size: 1.15rem; margin-bottom: 1.25rem; opacity: 0.95; }
.mountain-wave,
.mountain-wave-top {
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  line-height: 0;
}
.mountain-wave { bottom: -1px; }
.mountain-wave-top { top: 0; }
.mountain-wave svg,
.mountain-wave-top svg { width: 100%; height: 100%; }
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #b08d1f; text-decoration: none; }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-light:hover { background: #f0f0f0; }
.btn-secondary { background: var(--color-primary); }
.btn-secondary:hover { background: #122925; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--color-light); }
.activities-section {
  background: var(--color-light);
  background-image: radial-gradient(circle at 10% 20%, rgba(201,162,39,0.05) 0%, transparent 25%), radial-gradient(circle at 90% 80%, rgba(26,60,52,0.04) 0%, transparent 25%);
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 { margin: 0.5rem 0 0.4rem; }
.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26,60,52,0.08);
  color: var(--color-primary);
  font-size: 1.6rem;
}
.section-icon.mountain-icon { background: rgba(201,162,39,0.18); }
.section-icon.map-icon { background: rgba(26,60,52,0.1); }
.section-icon.snow-icon { background: rgba(135,206,235,0.2); }
.section-icon.contact-icon { background: rgba(201,162,39,0.15); }
.section-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}
.activity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.activity-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s;
}
.activity-card:hover { transform: translateY(-4px); }
.activity-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.activity-card h3 { color: var(--color-primary); margin-bottom: 0.75rem; }
.activity-card p { color: var(--color-text); margin-bottom: 1.25rem; }
.activity-gallery {
  margin-bottom: 1.25rem;
  border-radius: 6px;
  overflow: hidden;
}
.activity-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }
.activity-card .btn { margin-top: 0; }
.itineraries { background: #fff; }
.itineraries .section-intro { text-align: center; max-width: 700px; margin: -1.5rem auto 2.5rem; }
.itineraries .card { display: flex; flex-direction: column; }
.itineraries .card h3 { padding-top: 0; }
.itineraries .card .meta { color: #666; font-size: 0.9rem; font-weight: 600; margin: 0 0 0.75rem; padding: 0 1rem; }
.itineraries .card ul { margin: 0 0 1rem; padding: 0 1rem 0 2rem; }
.itineraries .card .btn { margin: auto 1rem 1rem; align-self: flex-start; }
.section h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 2.5rem;
  color: var(--color-primary);
}
.section-title + .grid.cards,
.section-title + .activity-cards { margin-top: 0; }

/* Grid cards */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { padding: 1rem 1rem 0; color: var(--color-primary); }
.card p { padding: 0 1rem 1.5rem; margin: 0; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse .split-media { order: 1; }
.split.reverse .split-text { order: 2; }
.split-media img { border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.split-text h2 { text-align: left; margin-bottom: 1rem; }

/* Contact */
.contact { background: var(--color-light); }
.contact-cta-box {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  padding: 1.75rem;
  text-align: center;
}
.contact-cta-box .lead {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.whatsapp-btn:hover {
  background: #1da851;
  text-decoration: none;
  transform: translateY(-2px);
}
.contact-or {
  margin: 1.25rem 0;
  color: #888;
  font-size: 0.95rem;
  font-weight: 600;
}
.contact-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
}
.phone-link:hover { background: #122925; text-decoration: none; }
.contact-mail a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}
.contact-info {
  flex: 1 1 260px;
}
.contact-info p { margin: 0 0 1rem; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: #25D366; }
.whatsapp-link:hover { text-decoration: none; color: #1da851; }
.wa-icon { font-size: 1.3rem; }

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
  z-index: 1200;
  justify-content: space-around;
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.15rem;
  color: #666;
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.mobile-nav-item:hover { text-decoration: none; color: var(--color-primary); }
.mobile-nav-item.active { color: var(--color-primary); }
.mobile-nav-item.active .mnav-icon { background: rgba(26,60,52,0.1); border-radius: 50%; }
.mnav-icon {
  font-size: 1.35rem;
  line-height: 1;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-nav-cta { color: var(--color-accent); }
.mobile-nav-cta.active, .mobile-nav-cta:hover { color: var(--color-accent); }
.mobile-nav-cta.active .mnav-icon { background: rgba(201,162,39,0.12); }

/* Footer */
.footer-mountains {
  height: 70px;
  line-height: 0;
  margin-bottom: -2px;
}
.footer-mountains svg { width: 100%; height: 100%; }
.site-footer {
  background: var(--color-dark);
  color: #bbb;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.site-footer a { color: #fff; }
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1100;
  text-decoration: none;
}
.whatsapp-float .material-symbols-outlined { font-size: 1.6rem; }
.whatsapp-float:hover { background: #1da851; text-decoration: none; color: #fff; }
.footer-logo img { max-height: 90px; margin: 0 auto 1rem; }
.footer-info { margin-bottom: 1.5rem; }
.copyright { font-size: 0.85rem; color: #888; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.social-link:hover { background: var(--color-accent); color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
.social-link svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.footer-legal { text-align: center; margin-bottom: 1rem; }
.footer-legal a { color: #fff; margin: 0 0.5rem; }
.footer-legal .iubenda-black { text-decoration: underline; }
.footer-legal .iubenda-black:hover { color: var(--color-accent); }

/* Responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media, .split.reverse .split-text { order: unset; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .logo img { max-height: 80px; }
  .nav-wrap { padding: 0.5rem 0; }
  .hero { min-height: 60vh; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 4rem; }
  .whatsapp-float { bottom: 5rem; }
}
