:root {
  --primary-bg: #fff;
  --accent: #FFD600;
  --accent-dark: #C6A400;
  --text: #232323;
  --navbar-height: 72px;
  --header-height: 64px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--primary-bg);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1rem;
  background: var(--primary-bg);
  border-bottom: 1px solid #000;
  position: relative;}

.header-col {
  flex: 1;
}

.header-center {
  flex: 0 0 auto;
}

.header-logo {
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.header-busto {
  width: 27px;
  height: 27px;
  cursor: pointer;
  transition: transform .18s;
  flex-shrink: 0;
}

.header-busto:hover,
.header-busto:focus {
  transform: scale(1.15);
}

.navbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--navbar-height);
  background: var(--primary-bg);
  border-top: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
}

.navbar-list {
  display: flex;
  width: 100%;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  transition: color .15s;
}

.navbar-item.active,
.navbar-item:hover {
  color: var(--accent-dark);
}

.navbar-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
}

.navbar-label {
  font-size: 0.95em;
  font-weight: 500;
}

.main-content {
  padding: 3rem 1.5rem 6rem 1.5rem;
  min-height: 60vh;
  background: #fff url("../assets/bg/hipster_landing_sbiancato.png") no-repeat center center;
  background-size: contain;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  height: 60px;
  .navbar-label { display: none; }
  .navbar-icon { width: 30px; height: 30px; }
}


.header-col {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-col:last-child {
  justify-self: end;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.main {
  position: absolute;
  top: var(--header-height, 64px);
  bottom: var(--navbar-height, 72px);
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 1rem;
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-center {
  max-width: 200px;
  overflow: hidden;
  justify-self: center;
  text-align: center;
}

.header-col:first-child {
  justify-self: start;
}

.header-col:last-child {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-col:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 1rem;
  overflow: visible;
}

.header-busto {
  margin-left: auto;
  margin-right: 0;
  display: block;
}

.header-busto {
  margin-right: 10rem;  /* aumenta la distanza dalla destra */
}

.header-busto {
  margin-right: 5rem;
}

.header-busto {
  margin-right: 5rem;  /* distanza più contenuta dal bordo destro */
}

.host-table-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.host-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.host-name {
  font-weight: bold;
  font-size: 1.2rem;
}

.host-town {
  font-size: 0.9rem;
  color: #555;
}

.host-rating {
  margin: 0.3rem 0;
}

.host-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.host-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.host-person-name {
  font-weight: bold;
}

.host-slogan {
  font-size: 0.8rem;
  color: #666;
}

.host-visit {
  margin-top: 0.5rem;
  align-self: flex-end;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
}
