:root {
  --box-bg: rgba(29, 49, 97, 0.7);
  --text-color: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #000;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
}

/* Slideshow */
.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.is-active {
  opacity: 1;
}

/* Compass watermark */
.compass {
  position: absolute;
  left: -18%;
  top: 50%;
  transform: translateY(-50%);
  width: 68vw;
  max-width: 900px;
  min-width: 420px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

/* Info box */
.info-box {
  position: absolute;
  left: 52%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--box-bg);
  padding: 32px 40px;
}

.info-box__logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 20px;
}

.info-box__content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
}

.info-box__address,
.info-box__contact {
  margin: 0;
  color: var(--text-color);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
}

/* Dots navigation */
.dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #fff;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dot.is-active {
  background: #fff;
}

/* Tablet */
@media (max-width: 900px) {
  .info-box {
    left: 40%;
    padding: 26px 30px;
  }

  .compass {
    left: -30%;
    width: 90vw;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .info-box {
    left: 30%;
    padding: 20px 22px;
  }

  .info-box__logo {
    width: 130px;
    margin-bottom: 14px;
  }

  .info-box__content {
    flex-direction: column;
    gap: 10px;
  }

  .info-box__address,
  .info-box__contact {
    font-size: 16px;
  }

  .dots {
    bottom: 18px;
  }
}
