/* 

--- 01 TYPOGRAPHY SYSTEM


-- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98


-- Fonts:
Bernier
ITC Souvenier

--Font weights: 
Default: 400
500
600
700

--Line heights: 
Default: 1
Small: 1.05
Paragraph default: 1.6

--SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

--- 02 COLORS

Primary: #eed193
Menu color: #fedb5a
--Tints: #
--Shades:
--Grays:
#555

--- 05 SHADOWS

--- 06 BORDER-RADIUS

Default: 9px;

--- 07 WHITESPACE

*/

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

@font-face {
  font-family: "Bernier";
  src:
    url("fonts/BernierRegular.woff2") format("woff2"),
    url("fonts/BernierRegular.woff") format("woff"),
    url("fonts/BernierRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ITC Souvenir";
  src:
    url("fonts/Souvenir-Medium.woff2") format("woff2"),
    url("fonts/Souvenir-Medium.woff") format("woff"),
    url("fonts/Souvenir-Medium.tff") format("truetype");

  font-weight: 500;
  font-style: normal;
}

html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
  overflow-x: hidden;
  background-color: #000000;
}
body {
  overflow-x: hidden;
}
h1 {
  font-family: "Bernier", sans-serif;
  text-align: center;
  font-size: 7rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  padding: 2rem 0 0 0;
  color: rgb(255, 255, 255);
}

h2 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.6rem;
  text-align: center;
}

h3 {
  font-family: "Bernier", sans-serif;
}

p {
  font-family: "ITC Souvenir", sans-serif;
  color: white;
  font-size: 2.4rem;
}

.header {
  /* background-image: url("../img/sideimg.png"); */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.4rem 1.4rem 1.4rem 1rem;
  width: 100%;
  position: fixed;
  transition: all 0.35s ease;
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 1%,
    rgba(0, 0, 0, 0) 90%
  );
  z-index: 999;
}

.main-nav {
  margin-right: -6rem;
}

.mnav-en {
    margin-right: 0rem;
    margin-left: -2.4rem;
}

.mobile-logo {
  display: none;
}
/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 11rem;
  padding-top: 4rem;
  padding-bottom: 0;
  z-index: 999;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 1%,
    rgba(0, 0, 0, 0) 90%
  );
  box-shadow: 0 1.2rem 3.2rem rgba(191, 191, 191, 0.1);
  opacity: 0; /* Start faded */
  transform: scale(0.97);
  animation: stickyFade 0.35s ease forwards;
}

/* Keyframes for fade and scale-in */
@keyframes stickyFade {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.main-nav-list {
  list-style: none;
  font-family: "ITC Souvenir", sans-serif;
  display: flex;
  gap: 4rem;
  font-weight: 400;

  align-items: center;
  margin-top: 0.4rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: rgb(255, 255, 255);
  /* text-shadow: 0 0 5px #dffcff, 0 0 10px #dffcff, 0 0 20px #dffcff,
    0 0 25px #dffcff, 0 0 30px #ff0000; */
  font-weight: 500;
  font-size: 2rem;
  transition: all 0.6s;
}

.main-nav-link.active,
.main-nav-link.active:link,
.main-nav-link.active:visited {
  color: #ffe066; 
  font-weight: 500;
}

.main-nav-link:hover {
  text-shadow:
    0 0 1px #edaa00,
    0 0 2px #edaa00,
    0 0 2px #edaa00;
}

.logo {
  height: 13rem;
  width: 13rem;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-wrapper .restSelect {
  font-family: "ITC Souvenir";
  background-color: rgb(17, 17, 17);
  color: rgb(255, 255, 255);
  position: absolute;
  left: 50%;
  bottom: -2.8rem; 
  transform: translateX(-50%);
  padding: 0.7rem;
  font-size: 1.6rem;
  border: 0.4rem solid rgb(214, 214, 214);
  border-radius: 5px;

  text-align: center; 
  text-align-last: center;
  -webkit-appearance: none; /* Chrome/Safari */
  -moz-appearance: none; /* Firefox */
  appearance: none;
}
/* MOBILE */

.restSelect {
  visibility: hidden; 
}
.restSelect.ready {
  visibility: visible; 
}

.btn-mobile-nav {
  margin-right: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-mobile-nav {
  height: 6rem;
  width: 6rem;
  color: rgb(218, 218, 218);
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}



.intro-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-btn,
.palaute-btn {
  font-size: 3.2rem;
  text-decoration: none;
  color: #f2f5f6;
  padding: 1.4rem 2.6rem;
  border-radius: 2rem;
  border: 3px solid rgb(241, 244, 246);
  margin-bottom: 4rem;
  background-color: #0b0b0b;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.845);

  /* Essential for precise underline placement */
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1.2; 
  transition: all 0.4s;
}

/* The animated underline - sits right under the text */
.intro-btn::after,
.kantis-link::after,
.lahjis-link::after,
.rest-btn:after,
.palaute-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.6rem; 
  width: 0;
  height: 2px;
  background-color: rgb(232, 236, 238);
  transform: translateX(-50%);
  transition: width 0.45s ease;
  border-radius: 2px;
}

/* Hover states */
.intro-btn:hover,
.rest-btn:hover,
.palaute-btn:hover,
.kantis-link:hover,
.lahjis-link:hover {
  box-shadow: 0 0 13px rgba(255, 255, 255, 0.82);
  text-shadow:
    0 6px 14px rgba(232, 236, 238, 0.9),
    0 0 40px rgba(232, 236, 238, 0.6),
    0 0 60px rgba(232, 236, 238, 0.4);
  background-color: #1c1c1c;
}

.intro-btn:hover::after,
.rest-btn:hover::after,
.palaute-btn:hover::after,
.kantis-link:hover::after,
.lahjis-link:hover::after {
  width: calc(100% - 4rem); 
}

.intro-restaurants {
  display: flex;
  justify-content: center;
  gap: 12rem;
  padding: 4rem;
}

.intro-rest-box {
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 0 14rem rgb(0, 0, 0, 1); 
}

.rafla-img {
  width: 100%;
  height: auto;
  max-width: 54rem;
  max-height: 34rem;
  display: block;
}

.intro-rest-title {
  color: rgb(0, 0, 0);
  background-color: #f0c321;
  padding: 1rem 0;
  margin-top: -0.2rem;
  background: linear-gradient(66deg, #ffe48c 0%, #eb9900 100%);
  margin-bottom: 0;
}

.intro-rest-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 0 2rem 2rem;
  background-color: #fff1c6;
  border-radius: 0 0 2rem 2rem;
  border: 1rem solid #111111;
}
.intro-rest-info-descr {
  color: #111;
  text-align: center;
  margin-bottom: 1rem;
}
.maps {
  font-size: 2.2rem;
  margin-top: 0.4rem;
}

.intro-rest-phone {
  font-size: 2.6rem;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Fading Glowing Border with box-shadow */
.t-line {
  display: table;
  margin: 0 auto;
  border: 0.28rem solid rgb(244, 243, 243);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.473); 
  animation: glowing-fade-box 5s ease-in-out infinite alternate;
  width: 23%;
  border-radius: 8px; 
}

.menu-line {
  width: 10%;
  margin-top: 2rem;
}

@keyframes glowing-fade-box {
  0% {
    box-shadow: 0 0 0.25rem 1px rgba(255, 213, 0, 0.75);
  }
  50% {
    box-shadow: 0 0 0.33rem 1px rgba(220, 251, 255, 0.96);
  }
  100% {
    box-shadow: 0 0 0.42rem 1px rgba(249, 41, 0, 0.776);
  }
}
@keyframes glowing-fade-box2 {
  0% {
    box-shadow: 0 0 0.19rem 1px rgba(255, 214, 9, 0.75); 
  }
  50% {
    box-shadow: 0 0 0.28rem 1px rgb(240, 253, 255); 
  }
  100% {
    box-shadow: 0 0 0.3rem 1px rgba(249, 83, 0, 0.776); 
  }
}

/* Fading Glowing Border with box-shadow */
.t-line2 {
  display: table;
  margin-left: 4rem;
  margin-top: 3rem;
  border: 0.15rem solid rgb(244, 243, 243);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.473);
  animation: glowing-fade-box2 5s ease-in-out infinite alternate;
  width: 20%;
  border-radius: 8px;
  transition:
    width 0.4s ease-in,
    0.4s ease-out;
}

.services:hover .t-line2 {
  width: 45%; 
}

.line2 {
  width: 100%;
  margin-top: -0.2rem;
}

.line3 {
  border: 0.3rem solid rgb(255, 255, 255);
  width: 100% !important;
  margin-top: 1.5rem;
}

.kampj-title {
  margin-top: 10rem;
}

.kampjbox,
.tapahtbox {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap; 
  max-width: 150rem; 
  margin: 0 auto;
  padding: 8rem 2rem;
}
.kampjkuva,
.tapahtkuva {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kampanja-img,
.tapahtuma-img {
  width: 36vw;
  max-width: 43rem;
  height: auto;
  border: 0.6rem solid rgb(218, 218, 218);
  object-fit: cover;
}

/* Single image layout */
.kampjkuva:only-child .kampanja-img,
.tapahtkuva:only-child .tapahtuma-img {
  width: 70vw !important;
  max-width: 65rem !important;
}

.services-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat;
  background-size: auto;
}

.services {
  background: #444;
  /* border: 3px solid white; */
  padding: 3rem;
  color: white;
  align-content: center;
  height: 52rem;
  text-decoration: none;
  display: flex;
  flex-direction: column; 
}

.s1 {
  grid-column: 1 / -1;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 46rem;
}
.s1 .intro-btn {
  width: fit-content;
  margin: 0 auto;
  display: inline-block;
}

.s1::before {
  content: "";
  position: absolute;
  background: url("../img/menu.webp") center/cover no-repeat;
  inset: 0;
  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
  will-change: transform, filter; 
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.s2,
.s3,
.s4,
.s5 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.s2::before {
  content: "";
  position: absolute;
  background: url("../img/ravintolamme-front.webp") center/cover no-repeat;
  inset: 0;
  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
  will-change: transform, filter;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.s3::before {
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/tapahtumat1.webp") center/cover no-repeat;

  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}
.s4::before {
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/tarina-front.webp") center/cover no-repeat;

  filter: blur(5px);
  transform: scale(1.08); 
  z-index: 0;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.s5::before {
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/verkkis-front.webp") center/cover no-repeat;

  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.s1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}
.s2::after,
.s4::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.s1 > *,
.s2 > *,
.s3 > *,
.s4 > *,
.s5 > * {
  position: relative;
  z-index: 2; 
}

.s1:hover::before,
.s2:hover::before,
.s3:hover::before,
.s4:hover::before,
.s5:hover::before {
  transform: scale(1.2) rotate(2deg);
  filter: blur(2px); 
}

.serv-title {
  font-size: 5.2rem;
  margin-left: 4rem;
  margin-top: 20rem;
}

.serv-title1 {
  margin: 0 auto;
  padding: 8rem 0;
  font-size: 6.2rem;
  letter-spacing: 0.2rem;
}

.services-descr {
  padding: 3rem 4rem 0 4rem;
  font-size: 2rem;
  line-height: 1.8;
  letter-spacing: 0.2px;
}

.kantis-lahjis-section {
  margin-top: 12rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0;
  grid-column: 1 / 3;
}

.etu-title {
  color: #ffcd00;

  font-family: "Bernier";
  margin-bottom: 4rem;
}

.kantis-descr,
.lahjis-descr {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-align: center;
}
.lahjis-container,
.kantis-container {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 2rem;
  box-shadow: 0 0 14px 12px rgba(0, 0, 0, 0.47);
  border-radius: 3rem;
}

.kantis-link,
.lahjis-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: white;
  font-size: 2rem;
  padding: 2rem;
  background-color: black;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
 
  position: relative;
  overflow: hidden;
  align-self: center;

  line-height: 1.2; 
  transition: all 0.4s;
}

.kantis-box,
.lahjis-box {
  padding: 8rem 6rem;
  height: 50rem;
  align-content: center;
  background-color: grey;
}
.lahjis-box {
  background-image: url("../img/lahjis.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.kantis-box {
  background: url("../img/kantis.webp") center/cover no-repeat;
}

.galleria-section {
  padding: 10rem 0 0 0;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
    background-image: url("../img/brokencoal.webp");
  background-attachment: fixed;
  background-repeat: repeat;
  background-size: auto;
}

.galleria-section.visible {
  display: block;
  opacity: 1;
}

.gallery-swiper-container {
  width: 100%;
  max-width: none;
  padding: 0 3rem;
}

.gallery-swiper {
  background: transparent;
  width: 100%;
}

.gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 31rem;
  width: 33.33%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-swiper .swiper-slide img:hover {
  transform: scale(1.15);
}

/* Alt-text styling */
.gallery-swiper .swiper-slide .alt-text {
  position: absolute;
  top: 10px; 
  left: 50%;
  transform: translateX(-50%); 
  color: #fff;
  text-shadow:            
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  padding: 5px 10px; 
  font-size: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show alt-text on hover */
.gallery-swiper .swiper-slide:hover .alt-text {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
}
.swiper-pagination-bullet {
  background: #ffffff !important;
}

/* Change arrow color to white */
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  text-shadow:
    0 0 5px #dffcff,
    0 0 10px #dffcff,
    0 0 20px #dffcff;
}

/* Footer */

.front-page .bg-wrap {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%),
    /* top fade */
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%),
    /* bottom fade */ url("../img/background1.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
}

/* Remove footer background globally */
footer.footer {
  background-image: none;
}

/* On all pages except front page — apply footer background image */
body:not(.front-page) footer.footer {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%),
    /* top fade */
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%),
    /* bottom fade */ url("../img/background1.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.insider-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 24rem 8rem 0 8rem;
  gap: 5rem;
  margin: 0 auto; 
  justify-self: center;
}

.icon-and-text {
  display: flex;
  align-items: flex-start;
  gap: 2rem; 
}

.burger-mail {
  margin-bottom: -1rem;
  margin-right: 2rem;
  width: 5rem;
  flex-shrink: 0; 
}

.insider-text {
  display: flex;
  flex-direction: column;
}

.liity-title {
  font-family: "ITC Souvenir";
  color: rgb(238, 232, 217);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.liity-descr {
  margin-top: 2rem;
  margin-right: 10rem;
  font-size: 2rem;
  line-height: 1.5;
}

.insider-enter-box {
  margin-top: 6rem;
  max-width: 100%;
}
.insider-info-box {
  display: flex;
  align-items: center;
}
.email-left {
  color: white;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.email-form input {
  width: 100%;
  padding: 1.4rem;
  font-size: 1.8rem;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: white;
}

.email-form button {
  padding: 1.6rem;
  background: #ffcd00;
  color: black;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.tss {
  text-decoration: none;
  font-size: 1.8rem;
  color: rgb(0, 170, 255);
  margin-top: -0.8rem;
}

.liity-btn {
  margin-right: 50%;
}
.consent-text {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  font-weight: 400;
  font-size: 1.8rem;
}
.consent-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}
/* Position + spacing for recaptcha */
.g-recaptcha {
  margin: 1.5rem 0;
  transform: scale(1); 
  transform-origin: left top;
}

/* Optional: align captcha left with form fields */
.insider-enter-box .g-recaptcha {
  display: flex;
  justify-content: flex-start;
}

.footer {
  width: 100%;
  overflow-x: hidden;
  padding: 24rem 4rem 4rem 4rem;
  color: white;
  text-align: center;
}

.footer-top-line {
  border-top: 3px solid white;
  width: 100%;
  position: relative;
  margin-bottom: 4rem;
}

.footer-logo {
  width: 13rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%); 
  margin-top: -4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 130rem;
  margin: 0 auto;
  gap: 4rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
  line-height: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  line-height: 2.22;
}

.footer-col p {
  font-size: 2rem;
}

.footer-title {
  font-size: 2.4rem;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
}

/* Social buttons */
.some-services {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.btn {
  border: none;
  background: none;
  cursor: pointer;
}
.footer-col .documents {
  margin: auto 0;
  margin-top: 5rem;
}

.documents li a {
  font-size: 1.8rem;
}

.some-buttons {
  margin-top: 0;
  margin-left: 1rem;
  margin-bottom: -0.6rem;
  font-size: 3rem;
  color: white;
  transition: 0.3s;
}

.some-buttons:hover {
  color: #ffcd00;
}

.footer-bottom {
  margin-top: 4rem;
  font-size: 1.8rem;
  opacity: 0.9;
  font-weight: 500;
}

.phoneimg {
  width: 4rem;
  margin-right: 1rem;
  margin-left: -0.6rem;
}

.phonecontact {
  display: flex;
  align-items: center;
  margin-right: 4rem;
  margin-top: -0.4rem;
}

.phonenmb {
  text-align: center;
}

/* Tietosuojaosio */

.tietosuoja-section {
  padding: 30rem 0rem;
}

.ts-bg {
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
  padding: 2rem 10rem;
}

.menu-bg {
      background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;

}

.ts-title {
  font-size: 4.8rem;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  color: rgb(242, 242, 242);
}

.ts-subtitle {
  font-size: 3.2rem;
  text-align: left;
  padding: 4rem;
  color: rgb(242, 242, 242);
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ts-intro-descr {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  padding: 1rem;
  color: rgb(242, 242, 242);
}

.ts-main-content {
  padding: 0rem 4rem 2rem 4rem;
}

.ts-main-content li::marker {
  font-size: 2.6rem; /* adjust size */
  font-weight: bold; /* optional */
}

.ts-main-content li {
  color: rgb(242, 242, 242);
  font-size: 1.8rem;
  font-weight: 400;
}
.ts-content-title {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.1rem;
  margin-left: 0.3rem;
  margin-top: 4rem;
  color: rgb(242, 242, 242);
}

.ts-register-owner {
  display: flex;
  gap: 8rem;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.ts-regown-ids li,
.ts-regown-info li {
  list-style: none;
  padding: 0.4rem;
  color: rgb(255, 255, 255);
}

.ts-main-descr {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  padding: 2rem 0 0 0;
  color: rgb(242, 242, 242);
}

.ul-pyynto {
  padding: 1rem 2rem;
}

.ts-reg-purpose-list {
  padding: 1rem;
}

.ts-reg-purpose-list:last-child {
  padding: 0 2rem;
}

.ts-rpl-title {
  font-size: 2rem;
  margin-top: 2rem;
  font-weight: 500;
  color: rgb(237, 237, 237);
}
.ts-rpl-descr {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  margin-top: 0.8rem;
  font-size: 1.8rem;
  line-height: 1.2;
}
.evastelink {
  color: rgb(0, 110, 255);
}

.esta-analytics {
  margin-left: 2rem;
  margin-top: 1rem;
  font-size: 1.8rem;
}

.esta-analytics li {
  color: white;
}

.rek-suojaus {
  margin-bottom: 2rem;
}
.d2 {
  padding: 0;
}
.descr-end {
  margin-bottom: 2rem;
}

/* Menu */

#choose-restaurant {
  text-align: center;
  display: none;
}
#choose-restaurant .menu-intro {
  font-size: 2rem;
  margin-top: 2rem;
  color: white;
}
#choose-restaurant-campaigns .kamp-intro {
  font-size: 2rem;
  padding: 4rem;
  color: white;
}
.restaurant-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.rest-btn {
  font-size: 2.4rem;
  text-decoration: none;
  color: #f2f5f6;
  padding: 1.4rem 2.6rem;
  border-radius: 2rem;
  border: 3px solid rgb(241, 244, 246);
  margin-bottom: 4rem;
  background-color: #0b0b0b;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.845);

  /* Essential for precise underline placement */
  display: inline-block; 
  position: relative;
  overflow: hidden;
  align-self: center;

  line-height: 1.2;
  transition: all 0.4s;
}

.menu-section {
  display: none;
  padding: 4rem 0 0 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%),
    /* top fade */
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%),
    /* bottom fade */ url("../img/brokencoal2.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
}

.tapahtumat-section {
  display: none;
  padding: 4rem 0;
  background-image: url("../img/brokencoal.webp");

  background-position: center top;
  background-attachment: fixed;
  background-repeat: repeat; 
  background-size: auto;
  width: 100%;
}

.menu-title {
  margin-top: 22rem;
  text-align: center;
}
.menu-title2 {
  margin-top: 6rem;
  font-size: 3.2rem;
  text-align: center;
}

.tapahtline {
  margin-top: 2rem !important;
}

.menu-intro {
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
  color: #ffe066;
  font-size: 2.8rem;
}

.t-line3 {
  display: table;
  margin-left: 0;
  margin-top: 3rem;
  margin-bottom: 6rem;
  margin: 0 auto;

  border: 0.15rem solid rgb(244, 243, 243);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.473); 
  animation: glowing-fade-box2 5s ease-in-out infinite alternate;
  width: 10%;
  border-radius: 8px; /* Optional rounded corners */
  transition:
    width 0.5s ease-in,
    0.5s ease-out;
}

.t-line4 {
  display: table;
  margin-left: 0;
  margin-top: 3rem;
  margin-bottom: 4rem;

  border: 0.3rem solid rgb(255, 255, 255);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.473);
  animation: glowing-fade-box2 5s ease-in-out infinite alternate;
  transition:
    width 0.5s ease-in,
    0.5s ease-out;

  width: 10%;
  border-radius: 8px;
}

.img_box img {
  max-width: 100%;
}

.slider_container .container {
  padding: 0 0.8rem 0.4rem 0.8rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: rgb(240, 240, 240);
  margin-left: 4rem;
  margin-right: 4rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2rem 0 rgb(0, 0, 0, 0.9);
}

.card_slider {
  padding: 4rem 0;
}

.galleria-section h1 {
  padding: 2rem 0;
}
.gallery {
  display: table;
  border: 0.55rem solid rgb(244, 243, 243);
  border-radius: 2rem 2rem 0 0;
  width: 55rem;
  margin: 0 auto;
  box-shadow: 24px 24px 24px rgb(255, 255, 255); 
  animation: glowing-fade-box2 5s ease-in-out infinite alternate;
  transition:
    width 0.5s ease-in,
    0.5s ease-out;
}

.gallery-swiper-container {
  width: 100%;
  max-width: none;
  padding: 0rem 3rem;
  margin-top: -2rem;
}

.gallery-swiper {
  background: transparent;
  width: 100%;
}

.gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  width: 33.33%;
  overflow: hidden;
  position: relative;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-swiper .swiper-slide img:hover {
  transform: scale(1.15);
}

/* Alt-text styling */
.gallery-swiper .swiper-slide .alt-text {
  position: absolute;
  top: 10px; 
  left: 50%;
  transform: translateX(-50%);
  color: #fff; /* White text */
  text-shadow:         
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  padding: 5px 10px; 
  font-size: 2.4rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show alt-text on hover */
.gallery-swiper .swiper-slide:hover .alt-text {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
}
.swiper-pagination-bullet {
  background: #ffffff !important;
}

/* Change arrow color to white */
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  text-shadow:
    0 0 5px #dffcff,
    0 0 10px #dffcff,
    0 0 20px #dffcff;
}

.koko {
  text-align: right;
  margin-top: -1rem;
  margin-right: 4rem;
      background-image: url("../img/brokencoal.webp");
  background-attachment: fixed;
  background-repeat: repeat;
  background-size: auto;

}

.kokomenu {
  display: inline-block;
  padding: 1rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: all 0.6s;
  border: 0.4rem solid rgb(244, 243, 243);
  background-color: black;
  
}

.kokotext {
  font-size: 1.8rem;
  color: rgb(177, 177, 177) f;
    background-color: black;

}

.kokomenu:hover {
  color: rgb(255, 255, 255);
  text-shadow:
    0 0 5px #dffcff,
    0 0 10px #dffcff,
    0 0 20px #dffcff;
}

/* Verkkokauppa */

.verkkis-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/verkkis-cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.verkkokauppa-intro {
  padding: 30rem 10rem;
}

.verkkokauppa-section, .intro-area {
  padding: 8em;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
  
}

.aukiolo-flex {
  display: flex;
  color: rgb(241, 241, 241);
  gap: 4rem;
  font-size: 2rem;
  line-height: 2;
}
.aukiolo-flex ul {
  list-style: none;
}

.verkkis-descr {
  font-size: 2rem;
  text-align: center;
  padding: 2rem 12rem;
}

.vk-title {
  text-align: left;
}

.vk-intro {
  font-size: 2rem;
  padding: 2rem 0rem 0rem 0;
  text-shadow:
    0 0 2px #232323,
    0 0 4px #232323,
    0 0 6px #232323;
}

.verkkis-links {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  gap: 4rem;
}

.verkkis-jaali,
.verkkis-kaakkuri {
  display: flex;
  flex-direction: column;
  font-family: "ITC Souvenir";
  font-size: 2.6rem;
  padding: 4rem;
  border-radius: 15px;
  border: 3px solid rgb(241, 244, 246);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.845);
  background-color: rgba(0, 0, 0, 0.4);
  max-width: 90rem;
}

.verkkis-phone {
  font-size: 1.8rem;
  color: white;
  text-underline-offset: 0.2em;
}
.verkkis-jaali-title {
  font-family: "ITC Souvenir";
  font-size: 3.6rem;
  padding: 0 14rem 2rem 0;
  text-align: left;
}
.verkkis-kaakkuri-title {
  font-family: "ITC Souvenir";
  font-size: 3.6rem;
  padding: 0 5rem 2rem 0;
  text-align: left;
}

.verkkis-jaali p,
.verkkis-kaakkuri p {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 300;
}
.verkkis-subtitle {
  font-family: "Bernier";
  letter-spacing: 0.8px;
  margin-top: 3rem;
  font-size: 2.6rem !important;
}

.lisatiedot {
  margin-top: 3rem;
  font-family: "ITC Souvenir";
  font-size: 1.6rem;
  text-decoration: none;
}

.lisatiedot a {
  color: white;
  text-underline-offset: 0.2em;
}

.verkkis-link {
  color: white;
  font-size: 2rem;
  text-underline-offset: 0.2em;
}

.kaak-flex {
  display: flex;
  gap: 4rem;
  justify-content: center;
}

.intro-area {
    border-top: 1rem solid #000;
}

/* Ravintolat */

.rest-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/ravintolat-cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.rest-section,
.palaute-cover {
  padding: 30rem 10rem;
}

.rest-title {
  text-align: left;
}

.rest-intro,
.tarina-intro {
  font-size: 2rem;
  padding: 2rem 2rem 0 0;
  width: 65%;
  text-shadow:
    0 0 4px #232323,
    0 0 6px #232323,
    0 0 8px #232323;
}

.restaurants {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 16rem;
  gap: 12rem;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
}

.restaurants-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  background-color: rgb(0, 0, 0);
  box-shadow: 0 0 3rem rgb(0, 0, 0, 1);
  overflow: hidden; 
}

.rest-descr-title {
  margin-top: 5rem;
  color: #111;
}

.rest-title-mobile {
  display: none;
}

.rest-descr {
  grid-row: 1 / 3;
  background-color: #fff1c6;
  border-bottom: 10px solid #111;
  border-radius: 0 0 3rem 0;
  display: flex;
  flex-direction: column;

}

.rest-verkkis {
  margin-top: auto;
  padding: 1rem 4rem 3rem 4rem;
}

.rest-subtitle {
  color: #333;
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
}

.rest-link {
  color: #333;
  font-size: 2.2rem;
  margin-right: 0.8rem;
}
.rest-maps-link {
  color: #333;
  font-size: 1rem;
  margin: 0 auto;
  text-align: center;
}

.rest-descr-info {
  color: #333;
  padding: 2rem 4rem;
  font-size: 2rem;
  line-height: 1.6;
}

.rest-info {
  display: flex;
  justify-content: center;
  gap: 8rem;
  padding: 4rem 0 2rem 0;
  background-color: #fff1c6;
  border-radius: 0 0 0 2rem;
  border: 10px solid #111;
}

.rest-img {
  grid-column: 1 / 2; 
  grid-row: 1 / 2;
  width: 100%;
  height: 36rem;
  object-fit: cover;
  border-right: 10px solid #111; 
}

.lennysin-ravintolat {
  padding: 4rem;
  background-color: rgba(0, 0, 0, 0.5);
  max-width: 90rem;
  margin: 0 auto;
}

.lennysin-raflat-title {
  color: white;
  font-size: 4.8rem;
  margin-bottom: 2rem;
  padding: 0;
}

.lennys-raflat-descr {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.05rem;
  font-weight: 400;
}

.lennysin-ravintolat-menu {
  width: 90rem;
  margin: 0 auto;
}
.lennysin-ravintolat-menu2 {
  width: 90rem;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.lennysin-ravintolat-menu3 {
  width: 90rem;
  margin: 0 auto;
  background-color: #fff1c6;
}

.rest-menu-img {
  width: 100%;
  height: 38rem;
  object-fit: cover;
  border-right: 0;
  border-radius: 0 0 2rem 2rem;
}
.rest-menu-img2 {
  width: 100%;
  height: 38rem;
  object-fit: cover;
  border-right: 0;
}
.raflat-menu-box {
  max-width: 88rem;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  border-radius: 0 0 2rem 2rem;
}

.lennysin-raflat-menu-title {
  font-size: 4.8rem;
  text-align: left;
  margin-left: 4rem;
  padding: 4rem 0 0 0;
}

.lennysin-raflat-menu-title2 {
  font-size: 4.8rem;
  text-align: left;
  margin-left: 4rem;
  padding: 4rem 0 0 0;
  color: black;
}

.lennysin-raflat-menu-subtitle {
  font-family: "ITC Souvenir";
  font-size: 2.4rem;
  text-align: left;
  margin-left: 4rem;
}
.lennysin-raflat-menu-subtitle2 {
  font-family: "ITC Souvenir";
  font-size: 2.4rem;
  text-align: left;
  margin-left: 4rem;
  color: black;
}

.lennys-raflat-menu-descr {
  font-size: 1.8rem;
  padding: 2rem 4rem;
  line-height: 1.7;
  letter-spacing: 0.05rem;
  font-weight: 400;
}
.lennys-raflat-menu-descr2 {
  font-size: 1.8rem;
  padding: 2rem 4rem;
  line-height: 1.7;
  letter-spacing: 0.05rem;
  font-weight: 400;
  color: black;
}

.raflat-menu-btn {
  margin-left: 4rem;
  margin-top: 1rem;
  font-size: 2.4rem;
}

/* Kampanjat */

/* CAMPAIGNS: chooser uses same look/spacing style */
#choose-restaurant-campaigns {
  text-align: center;
  display: none; /* JS will show if no restaurant selected */
}

/* Hide both campaign sections by default */
.kampanjat-section {
  display: none;
}

/* Show active one */
.kampanjat-section.is-active {
  display: block;
}

/* Match events message style */
.ei-kampanjoita {
  text-align: center;
  font-size: 2rem;
  padding: 4rem 4rem 10rem 4rem;
}

/* Tapahtumat */

.tapahtumat-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/tapahtumat-cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tapahtumat-section {
  padding: 8em 16rem;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat;
  background-size: auto;
}

.ei-tapahtumia {
  text-align: center;
  font-size: 2rem;
  padding: 4rem 4rem 16rem 4rem;
}

.tapahtumat-footer-img {
  width: 100%;
}

/* Tarina */

.tarina-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/tarina-front.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tarina-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
  padding: 6rem 12rem;
}

.tarina-title {
  color: #eaeaea;
  font-size: 3.4rem;
  text-align: left;
  padding: 3rem 4rem 3rem 3rem;
  text-decoration: underline;
  letter-spacing: 0.2px;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.8rem;
  text-decoration-color: #fedb5a;
}
.tarina-descr {
  color: #eeeeee;
  /* font-family: "Archivo", sans-serif !important; */
  font-weight: 400;
  padding: 1rem 3rem 2rem 3rem;
  font-size: 2rem;
  line-height: 1.4;
}

.tarina-osa {
  padding: 2rem 0;
  background-color: rgba(0, 0, 0, 0.4);

  /* border-radius: 2rem 0 2rem 0; */
}
.osa1 {
  border-top: 0.4rem solid rgba(255, 204, 0, 0.8);
  border-right: 0.4rem solid rgba(255, 204, 0, 0.8);
}
.osa2 {
  border-left: 0.4rem solid rgba(255, 204, 0, 0.8);
}
.osa3 {
  margin-bottom: 18rem;
  border-right: 0.4rem solid rgba(255, 204, 0, 0.8);
}
.tarina-img {
  display: block;
  width: 100%;
  max-width: 60rem;
  height: auto;
  margin: 0 auto;
  align-self: center;
}

.img1 {
  max-width: 71rem;
  /* height: 60.4rem; */
  border-left: 0.4rem solid rgba(255, 204, 0, 0.8);
}

.img2 {
  height: cover;
  border-right: 0.4rem solid rgba(255, 204, 0, 0.8);
}
.img3 {
  max-width: 46rem;
  border-left: 0.4rem solid rgba(255, 204, 0, 0.8);
  border-bottom: 0.4rem solid rgba(255, 204, 0, 0.8);
}
.resp-tarina-box {
  display: none;
}
.dt-box {
  display: block;
}
.tarina-box {
  place-self: end;
  align-self: center;
}
.tarina-box2 {
  place-self: start;
  align-self: end;
}
.tarina-box3 {
  place-self: start;
}

/* Palaute */

.palaute-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/palaute-cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.palaute-btn {
  font-size: 2.4rem;
  letter-spacing: -0.05rem;
  margin-top: 2rem;
  margin-left: -0.5rem;
}

.feedback-section {
  width: 100%;
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
}
.feedback-section,
.feedback-container {
  max-width: 100%;
  overflow-x: hidden;
}
.palaute-descr {
  padding: 2rem 24rem;
  font-size: 2.4rem;
}

.apply-intro {
  padding: 6rem 28rem 2rem 28rem;
  font-size: 2.4rem;
}

.apply-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("../img/brokencoal.webp");
  background-attachment: fixed; 
  background-repeat: repeat; 
  background-size: auto;
  padding-bottom: 10rem;
}

.feedback-container,
.application-container {
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
  margin-top: 2rem;
}

.application-container {
  margin: 0 auto;
  justify-content: center;
}

/* ---- Title ---- */
.feedback-title,
.yhteys-title {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 4rem;
  color: #ffcd00;
  text-align: left;
}

.yhteys-title {
  font-family: "ITC Souvenir";
  margin-top: 10.5rem;
  text-align: center;
  margin-left: 7.7rem;
  color: white;
  font-size: 3rem;
  letter-spacing: 0.2rem;
}

.yht-list {
  padding: 0rem 0rem 0rem 16rem;
}

.yht-list li {
  list-style: circle;
  margin-top: 2rem;
  font-size: 3rem;
  line-height: 1.5;
}

.yht-list li p {
  font-size: 2rem;
}

.yht-list li p a {
  color: white;
  text-decoration: none;
}

.yht-nmb {
  font-size: 1.8rem !important;
  letter-spacing: -0.1rem;
}

.application-title {
  font-family: "ITC Souvenir";
  font-size: 4.6rem;
  margin-bottom: 2rem;
  color: #ffcd00;
}

/* ---- Form Grid ---- */
.feedback-form,
.application-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Large message box spans full width */
.feedback-form textarea,
.application-form textarea {
  grid-column: 1 / 3;
  height: 22rem;
  resize: none;
  padding: 1.8rem;
  font-size: 1.8rem;
}

/* ---- Inputs & selects ---- */
.feedback-form input,
.feedback-form select,
.feedback-form textarea,
.application-form input,
.application-form select,
.application-form textarea {
  background: rgba(255, 255, 255, 0.97);
  border: none;
  border-radius: 10px;
  padding: 1.6rem 2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: black;
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Placeholder style */
.feedback-form ::placeholder,
.application-form ::placeholder {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000;
  opacity: 0.6;
}

.application-form select {
  grid-column: 1 / 3;
}

/* ---- Submit Button ---- */
.feedback-submit,
.application-submit {
  margin-top: 3rem;
  grid-column: 1 / 3;
  justify-self: end;
}

.feedback-form select,
.application-form select {
  font-family: inherit; 
  font-weight: 700; 
  font-size: 1.8rem;
}

.feedback-submit button,
.application-submit button {
  background: #ffcd00; 
  font-size: 2.4rem;
  font-weight: 800;
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.feedback-submit button:hover,
.application-submit button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Työpaikat */

.tyopaikat-cover {
  width: 100%;
  height: 70rem;
  background-image: url("../img/meilletoihin.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tyo-section {
  padding: 30rem 10rem 10rem 10rem;
}

.tyo-title {
  text-align: left;
}

.avoimet-title {
  font-family: "ITC Souvenir";
  color: white;
  font-size: 2.6rem;
}

/* EVENTS PAGE: hide both restaurant event sections by default */
body.tapahtumat-page #menu-jaali,
body.tapahtumat-page #menu-kaakkuri {
  display: none;
}

/* Show active one */
body.tapahtumat-page .tapahtumat-section.is-active {
  display: block;
}

/* FRONT PAGE: NOT sticky until JS adds .sticky */
body.front-page .header {
  position: absolute; /* <- key change */
  top: 0;
  left: 0;
  right: 0;
}

/* FRONT PAGE: once sticky class is added, make it fixed */
body.front-page.sticky .header {
  position: fixed;
}

/* MENU PAGE: prevent footer flash before JS decides what to show */
body.menu-page footer.footer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
body.menu-page.footer-ready footer.footer {
  opacity: 1;
  pointer-events: auto;
}

/* Campaigns/events sizing based on how many images actually loaded (JS adds these classes) */
.kampjbox.has-1 .kampanja-img,
.tapahtbox.has-1 .tapahtuma-img {
  width: 70vw;
  max-width: 65rem;
}

.kampjbox.has-2 .kampanja-img,
.tapahtbox.has-2 .tapahtuma-img {
  max-width: 66rem;
}
/*
.kampjbox.has-3 .kampanja-img,
.tapahtbox.has-3 .tapahtuma-img {
  width: 36vw;
  max-width: 43rem;
}
*/
.intro-section {
  position: relative;
  width: 100%;
  height: 98vh; /* or 100svh if you prefer */
  overflow: hidden;
}

/* video background */
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.center-logo{
  position: absolute;
  left: 50%;
  bottom: clamp(3rem, 9vh, 11rem); /* “a bit above bottom” */
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 4vw;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* keep it from getting too tall for short viewports */
.cropped-logo{
   width: 70rem;      
  max-width: 55vw; 
  max-height: 55vh; 
  height: auto;
  display: block;
  object-fit: contain;
}
.sticky-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.sticky-lippu {
  width: 120px;
  height: auto;
  display: block;
}

/* Langugage Selector */
.lang-btn {
  background: none;
  border: none;
  color: #fff;          
  font: inherit;
  font-size: 1.6rem;       
  font-weight: 600;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: 100%;
 left: 2rem; 
 background: #111;
  list-style: none;
  margin: 0;
  display: none;
  min-width: 6rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

.lang-menu li a {
  display: block;
  padding: 8px 14px;
  color: #fff;          
  font-size: 2rem;       
  text-decoration: none;
}

.lang-menu li a:hover {
  background: #222;
}

.lang-dropdown {
  position: absolute;
  top: 2rem;
  left: 2rem; 
  z-index: 1100;
}

.lang-dropdown.open .lang-menu {
  display: block;
}


/* ---- Responsive ---- */
/* @media (max-width: 768px) {
  .feedback-form {
    grid-template-columns: 1fr;
  }

  .feedback-form textarea,
  .feedback-submit {
    grid-column: 1 / 2;
  }

  .feedback-title {
    font-size: 4rem;
    text-align: center;
  }
} */