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

body {
  font-family: "Roboto", sans-serif;
  background: #f1f3f5;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* TEXT =============================== */
.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  text-align: center;
}

.text h1 {
  font-size: 120px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -10px;
  position: relative;
  overflow: hidden;
  height: 150px;
  width: 600px;
}
.text h1 .hide--text {
  position: absolute;
}

.text h2 {
  position: absolute;
  top: 40px;
  left: -80px;
  color: #fcc419;
  z-index: -1;
  font-size: 150px;
}
.text h3 {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.text p .hide--text {
  position: relative;
  display: inline-block;
  transform: rotate(90deg);
  transform-origin: left top;
}

/* Modal =============================== */
.modal {
  display: none; /* piilotettu aluksi */
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center; /* vaakakeskitys */
  align-items: center;     /* pystykeskitys */
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Sulje-nappi */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #222;
}

/* Lomake */
.modal-content form label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}
.modal-content form input,
.modal-content form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.modal-content form textarea {
  resize: vertical;
  min-height: 100px;
}
.modal-content form button {
  margin-top: 20px;
  padding: 12px 20px;
  background: #fcc419;
  color: #222;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-content form button:hover {
  background: #e6b800;
}

/* Tilaa tarjous -nappi */
#tilaaTarjousBtn {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}
#tilaaTarjousBtn:hover {
  color: #fcc419;
  transform: scale(1.05);
}

/* Responsiivisuus */
@media (max-width: 768px) {
  .text p .hide--text {
    transform: none !important;
    display: inline;
  }
}

/* Lomakkeen lähetysviesti */
#formMessage {
  font-weight: 600;
  color: #222;
  margin-top: 15px;
  text-align: center;
  display: none; /* piilotettu aluksi */
  transition: opacity 0.5s ease;
}

/* Kun näkyvissä, fade-in efektillä */
#formMessage.show {
  display: block;
  opacity: 1;
}



