@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Allura&family=Lora&display=swap');

/* -------------------------
   PERUSTYYLIT
-------------------------- */
body {
  font-family: 'Michroma', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  overflow-x: hidden;
  padding-bottom: 80px;
  color: #000;
}

/* -------------------------
   ETUSIVUN VIDEO (JÄTETTY ENNALLEEN)
-------------------------- */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin-top: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}

/* -------------------------
   INFO-BLOKKI (ETUSIVU)
-------------------------- */
.info-block {
  text-align: center;
  margin-top: 10px;
  color: #dfb6d5;
}

.title {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.name {
  font-size: 0.9em;
  margin-bottom: 5px;
}

.contact {
  font-size: 0.9em;
  margin-bottom: 3px;
}

/* -------------------------
   SITAATTI
-------------------------- */
.philosophy-quote {
  font-family: 'Allura', cursive;
  font-size: 1.8em;
  color: #dfb6d5;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 60px;
  padding: 0 30px;
  line-height: 1.5;
}
/* -------------------------
   KUVAOSIO
-------------------------- */
.project-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 80px auto;
  flex-wrap: wrap;
}

.project-photo {
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-photo:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .project-gallery {
    flex-direction: column;
    align-items: center;
  }
}

/* -------------------------
   FOOTER
-------------------------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: #FFC0CB;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  font-size: 9px;
  font-family: Arial, sans-serif;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.footer .copyright {
  position: absolute;
  right: 60px;
  color: #dfb6d5;
}

.footer a {
  color: #FFC0CB;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer .icon {
  height: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer a:hover {
  color: #FFFFFF;
  transform: translateY(-4px);
}

/* Footer mobiilissa */
@media (max-width: 768px) {
  .footer {
    justify-content: space-between;
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .footer .social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .footer .icon {
    width: 26px;
    height: auto;
  }

  .footer .copyright {
    position: relative;
    margin: 0;
    font-size: 0.7rem;
    text-align: right;
    color: #dfb6d5;
  }
}

/* -------------------------
   HAMPURILAISVALIKKO
-------------------------- */
.menu-icon {
  display: block;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 3;
}

.menu-icon .bar {
  width: 35px;
  height: 4px;
  background-color: #dfb6d5;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.nav-links {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

.nav-links.show {
  display: flex;
}

.nav-links a {
  color: #dfb6d5;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 15px;
  transition: color 0.3s;
  font-family: 'Michroma', sans-serif;
}

.nav-links a:hover {
  color: #fff;
}

/* Animaatio valikon ollessa auki */
.menu-icon.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-icon.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-icon.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* -------------------------
   TULOSSA PIAN -SIVU
-------------------------- */
.coming-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
  color: #dfb6d5;
  font-family: 'Michroma', sans-serif;
  text-align: center;
  padding: 0 20px;
}

.coming-soon h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.coming-soon p {
  font-family: 'Allura', cursive;
  font-size: 1.6rem;
  margin: 0;
}

@media (max-width: 768px) {
  .coming-soon {
    min-height: calc(100vh - 100px);
    padding-bottom: 120px;
  }
}

/* -------------------------
   MINUSTA-SIVUN TEKSTIT
-------------------------- */
.minusta-teksti {
  text-align: center;
  color: #dfb6d5;
  max-width: 700px;
  margin: 60px auto 40px auto;
  padding: 0 20px;
}

.minusta-otsikko {
  font-family: Arial, sans-serif;
  font-size: 3.0rem;
  margin-bottom: 15px;
}

.minusta-leipateksti {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .minusta-teksti {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .minusta-otsikko {
    font-size: 1.9rem;
  }

  .minusta-leipateksti {
   font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
  }
}


/* -------------------------
   VIDEOT: MUUT SIVUT
-------------------------- */
.minusta-header .video-container,
.portfolio-header .video-container,
.yhteys-header .video-container,
.hinnasto-header .video-container,
.palvelut-header .video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin-top: 80px;
}

.minusta-header .hero-video,
.portfolio-header .hero-video,
.yhteys-header .hero-video,
.hinnasto-header .hero-video,
.palvelut-header .hero-video {
  width: auto;
  height: 100%;
  max-width: 90%;
  object-fit: contain;
  z-index: -1;
}

/* Mobiiliversiot */
@media (max-width: 768px) {
  .minusta-header .video-container,
  .portfolio-header .video-container,
  .yhteys-header .video-container,
  .hinnasto-header .video-container,
  .palvelut-header .video-container {
    height: auto;
    margin-top: 60px;
  }

  .minusta-header .hero-video,
  .portfolio-header .hero-video,
  .yhteys-header .hero-video,
  .hinnasto-header .hero-video,
  .palvelut-header .hero-video {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* -------------------------
   PALVELUT - SIVUN "TULOSSA PIAN" TEKSTIN KESKITYS
-------------------------- */
body.palvelut-page .coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 70vh;
  font-family: 'Michroma', sans-serif;
  color: #dfb6d5;
}

/* -------------------------
   ETUSIVU: VIDEON JA YHTEYSTIETOJEN VÄLIN PIENENNYS MOBIILISSA
-------------------------- */
@media (max-width: 768px) {
  .video-container {
    height: auto;
    margin-bottom: 10px; /* pienempi väli videon ja yhteystietojen välillä */
  }

  .info-block {
    margin-top: 0;
  }
}
/* -------------------------
   LOPULLINEN FONTTIKORJAUS: “Sisältö julkaistaan pian”
-------------------------- */
.coming-soon,
.coming-soon * {
  font-family: 'Allura', cursive !important;
  color: #dfb6d5 !important;
  text-align: center !important;
}

.coming-soon {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 40vh !important;
  width: 100% !important;
  padding: 20px !important;
}

.coming-soon p {
  font-family: 'Allura', cursive !important;
  font-size: 1.8rem !important;
  color: #dfb6d5 !important;
  margin: 0 auto !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
/* -------------------------
   PAINIKKEET (KESKITETTYNÄ KUVAGALLERIAN ALLE)
-------------------------- */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* keskitetään sivulle */
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 100px;
}

.custom-btn {
  background-color: #dfb6d5;
  color: #803471; /* 💜 uusi tekstiväri */
  font-family: 'Michroma', sans-serif;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: #e9c4da;
  transform: translateY(-3px);
}

/* Mobiili: hieman pienemmät napit ja vähemmän väliä */
@media (max-width: 768px) {
  .button-container {
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 80px;
  }

  .custom-btn {
    font-size: 0.9rem;
    padding: 12px 30px;
  }
}
/* -------------------------
   ESITTELYTEKSTI
-------------------------- */
.esittely-teksti {
  text-align: center;
  margin: 60px auto 40px auto;
  max-width: 700px;
  padding: 0 20px;
  color: #dfb6d5;
}

.minusta-otsikko {
  font-family: 'Allura', cursive;
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 15px;
  color: #dfb6d5;
}

.ingressi {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #dfb6d5;
}

/* Mobiilissa pienemmät fontit ja tiukempi asettelu */
@media (max-width: 768px) {
  .esittely-teksti {
    margin: 40px auto 30px auto;
  }

  .minusta-otsikko {
    font-size: 1.7rem;
  }

  .ingressi {
    font-size: 0.95rem;
  }
}
/* -------------------------
   FOOTER: WhatsApp + puhelin
-------------------------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 0 6px;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.4);
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 6px;
}

.footer .icon {
  height: 28px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer .icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-icon {
  height: 20px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(83%) sepia(21%) saturate(600%) hue-rotate(300deg) brightness(95%) contrast(95%);
}

.phone-number {
  color: #dfb6d5;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.copyright {
  color: #dfb6d5;
  font-size: 0.7rem;
  text-align: center;
}

/* Mobiilissa hieman suuremmat ikonit ja tiiviimpi asettelu */
@media (max-width: 768px) {
  .footer-icons {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer .icon {
    height: 30px;
  }

  .phone-number {
    display: none; /* mobiilissa piilotetaan numero, jätetään vain luuri */
  }

  .phone-icon {
    height: 26px;
  }

  .copyright {
    position: relative;
    top: -8px; /* nostaa tekstiä ylöspäin */
    font-size: 0.65rem;
    text-align: center;
  }

}
.phone-icon {
  filter: none;
}

/* -------------------------
   LISÄYS: Korjaa footerin tekijänoikeustekstin sijainti mobiilissa
-------------------------- */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer .copyright {
    position: static !important;
    display: block;
    width: 100%;
    text-align: center !important;
    margin-top: 8px;
    font-size: 0.7rem;
    color: #dfb6d5;
  }
}
/* Piilotetaan footer kun mobiilivalikko on auki */
.nav-links.show ~ .footer {
  display: none;
}
.nav-links.show ~ .footer {
  display: none !important;
}

