/* bg-wrapper = taustakuva */
.bg-wrapper {
  min-height: 100vh;
  background-image: url('https://mustikkabombo.fi/wp-content/themes/mustikka-bombo-theme/bg/bg-forest.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* läpinäkyvä overlay */
.bg-overlay {
  position: fixed;
  inset: 0;
    /*background: rgba(255, 255, 250, 0.3);*/
      background: linear-gradient(to bottom, rgba(37, 58, 101, 0.1), rgba(37, 58, 101, 0));
  
  z-index: 1;
  pointer-events: none;
}

/* pääsisältö overlayn päällä */
.site-content {
  position: relative;
  z-index: 2;
}


/* HERO-osa */
.hero-content {
    max-width: 1000px;
  margin: 1.8rem auto;
  text-align: center;
 padding: 1.5rem 1.3rem 1.5rem 1.3rem !important; 
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);

  color: var(--primary-blue);
  text-align: center;
}

.wp-home-logo {
  max-width: 540px;
  margin: auto;
}

.wp-home-bombo-icon {
  width: 111px;
  display: block;
  margin: auto;
  margin-bottom: -2rem;
}

.wp-home-bombo-icon-start {
  display: inline-block;
  height: 2.5em;
  vertical-align: middle;
  margin-top: -10px;
}


/* HERO:n tekstit */
.hero-content p,
.section p {
  margin-bottom: 1.5rem;
  margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* OSIOT */
.section {
  max-width: 1000px;
  margin: 1.8rem auto;
padding: 1.5rem 1.3rem !important;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}


/* ICON GRID */
.icon-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.icon-box {
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.icon-box:hover {
  transform: scale(1.05);
  background-color: #fff;
  color: #253a65;
}

.icon-box span {
  font-weight: bold;
  font-size: 1rem;
}


* {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}





@media (max-width: 900px) {
  .bg-wrapper {
    background-attachment: scroll;
  }




 .hero {
  padding-top: 3rem;
}

.hero-content
{  padding: 1rem 1rem !important;}

.wp-home-logo {      margin: 1rem auto -1rem !important}
}

