/* ===============================
   KUMPULAN PALVAAMO – STYLE.CSS
   Yhtenäinen, toimiva desktop + mobiili
   =============================== */

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

/* ===== PERUSASETUKSET ===== */
html, body {
  min-height: 100%;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #f5f1e8;

  background: url("images/backround.png") no-repeat center center fixed;
  background-size: cover;

  overflow-x: hidden;
}

/* ===============================
   HEADER
   =============================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 150px;
  padding: 0 40px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
  backdrop-filter: blur(8px);

  z-index: 3000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

header::after {
  content: "";
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 100%;
  height: 12px;
  background: radial-gradient(
    ellipse at center,
    rgba(245,241,232,0.5) 0%,
    rgba(245,241,232,0) 70%
  );
  filter: blur(10px);
}

/* ===============================
   LOGO
   =============================== */

.site-logo {
  height: 150px; /* suurempi kuin ennen */
  max-width: 80%;
  object-fit: contain;

  filter:
    drop-shadow(0 0 14px rgba(255, 240, 200, 0.6))
    drop-shadow(0 0 32px rgba(255, 220, 160, 0.4));

  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.03);
}
/* ===============================
   KIELENVALITSIN (klikattava)
   =============================== */

.lang-dropdown {
  position: relative;
  margin-top: 20px;
  cursor: pointer;
  z-index: 4000;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-current img {
  width: 28px;
  height: 28px;
}

.lang-current .arrow {
  font-size: 0.7rem;
  opacity: 0.8;
  transition: transform 0.2s;
}

.lang-dropdown.active .arrow {
  transform: rotate(180deg);
}

.lang-options {
  position: absolute;
  top: 40px;
  left: 0;
  background: rgba(0,0,0,0.95);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.lang-dropdown.active .lang-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-options img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.lang-options img:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* ===============================
   HAMBURGER
   =============================== */

.menu-toggle {
  width: 32px;
  height: 22px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 4000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ===============================
   YLÄNAVIGAATIO (HEADERIN SISÄLLÄ)
   =============================== */

.top-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46px;
  background: #000;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;

  z-index: 3100;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.top-bar a:hover {
  opacity: 0.7;
}

/* ===============================
   SIVUVALIKKO (HAMBURGER)
   =============================== */

.nav-menu {
  position: fixed;
  top: 0;
  right: -50%;
  width: 50%;
  height: 100vh;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: 80px 40px;
  gap: 25px;

  transition: right 0.35s ease;
  z-index: 3500;
}
/* ===============================
   KIELET HAMBURGER-VALIKOSSA
   =============================== */

.menu-languages {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.menu-languages img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-languages img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.nav-menu.active {
  right: 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover {
  color: #f5e7c6;
  transform: translateX(6px);
}

/* ===============================
   OVERLAY
   =============================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3000;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===============================
   HERO ETUSIVU
   =============================== */

.hero {
  min-height: calc(100vh - 150px);
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-content {
  max-width: 700px;
  color: #f8f8f8;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.9;
}

/* ===============================
   MAIN SISÄSIVUT
   =============================== */

main {
  max-width: 900px;
  margin: 180px auto 160px auto;
  padding: 20px;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main p,
main li {
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* ===============================
   GALLERIA
   =============================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

/* ===============================
   KELLUVA ALALAIT A
   =============================== */

.floating-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.floating-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
}

.floating-center {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  opacity: 0.85;
  z-index: 2000;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.floating-left img,
.floating-right img {
  width: 36px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter:
    drop-shadow(0 0 6px rgba(255, 240, 200, 0.6))
    drop-shadow(0 0 16px rgba(255, 200, 120, 0.4));
}

.floating-left img:hover,
.floating-right img:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* ===============================
   MOBIILI
   =============================== */

@media (max-width: 768px) {

  header {
    height: 130px;
    padding: 0 18px;
  }

  .site-logo {
    height: 105px;
  }
  .menu-toggle {
    right: 13px;
  }
  .top-bar {
    height: 42px;
    gap: 18px;
  }

  .top-bar a {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .nav-menu {
    width: 75%;
    right: -85%;
    padding: 70px 30px;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero {
    margin-top: 130px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  main {
    margin: 150px 14px 140px 14px;
    padding: 14px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .floating-left img {
    width: 30px;
  }

  .floating-right img {
    width: 60px;
  }

  .floating-center {
    font-size: 0.8rem;
  }
}

/* ===============================
   LISTAT
   =============================== */

ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul li {
  margin-bottom: 8px;
}
/* ===============================
   YHTEYSTIEDOT – YKSI KORTTI
   =============================== */

.contact-page h1 {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
}

/* h2 sama fontti kuin h1 */
.contact-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #f5e7c6;
}

.contact-card {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.65);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.contact-card p {
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Vain linkit väritetään */
.contact-card a {
  color: #f5e7c6;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: #ffffff;
}

