
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  position: relative;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay h1 {
  font-size: 3rem;
}

.overlay p {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* ================= BUTTONS ================= */

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.buttons button {
  padding: 12px 25px;
  border: none;
  background: white;
  color: black;
  font-size: 16px;
  cursor: pointer;
  transition: 0,2s;
}

.buttons button:hover {
  background: #ddd;
}

/* ================= MODAL ================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  overflow-y: auto; /* vieritys */
  padding: 40px 0;
}

.modal-content {
  background: white;
  max-width: 700px;
  width: 90%;
  padding: 30px;
  position: relative;
  text-align: center;
  margin: auto;
}

/* Sulkuruksi */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  cursor: pointer;
}

/* ================= MINUSTA ================= */

.modal-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin: 20px 0;
}

/* ================= GALLERIA ================= */

.gallery-column img {
  width: 100%;
  margin-bottom: 15px;
  cursor: pointer;
}

/* ================= IMAGE VIEWER ================= */

#imageViewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#imageViewer img {
  max-width: 90%;
  max-height: 90%;
}

.nav {
  position: absolute;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.left { left: 30px; }
.right { right: 30px; }

/* ================= CONTACT ================= */

.contact p {
  font-size: 20px;
  margin: 15px 0;
}

/* ================= CURSOR FIX ================= */

.modal,
#imageViewer {
  cursor: pointer;
}

.modal-content,
#viewerImg,
.nav {
  cursor: default;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {
  .overlay h1 {
    font-size: 2rem;
  }

  .buttons {
    flex-direction: column;
  }

  .nav {
    font-size: 40px;
  }
}
