/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Contenitore principale */
.container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Top bar con logo e contatti */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  padding: 20px;
}

.info-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-box {
  flex: 0 0 auto;
  max-height: 80px;
}

.logo {
  max-height: 80px;
  width: auto;
  display: block;
}

/* Contatti */
.contact-box {
  flex: 1 1 auto;
  padding-left: 20px;
}

.contact p {
  margin: 2px 0;
  font-size: 16px;
  color: #333;
}

/* Slideshow */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #000;
  animation: fadein 1s ease-in-out;
}

/* Animazione dissolvenza */
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-box {
    padding-left: 0;
    margin-top: 10px;
  }

  .contact p {
    font-size: 14px;
  }

  .logo {
    max-height: 60px;
  }
}
